]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Add inlining of the C99 math functions isinf/isnan/signbit/isfinite/isnormal/fpclassi...
[thirdparty/glibc.git] / ChangeLog
1 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
2
3 [BZ #15367]
4 [BZ #17441]
5
6 * math/Makefile: Build test-snan.c with -fsignaling-nans.
7 * math/math.h (fpclassify): Use __builtin_fpclassify when
8 available. (signbit): Use __builtin_signbit(f/l).
9 (isfinite): Use__builtin_isfinite. (isnormal): Use
10 __builtin_isnormal. (isnan): Use __builtin_isnan.
11 (isinf): Use __builtin_isinf_sign.
12
13 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
14
15 * benchtests/Makefile: Add bench-math-inlines, link with libm.
16 * benchtests/bench-math-inlines.c: New benchmark.
17 * benchtests/bench-util.h: New file.
18 * benchtests/bench-util.c: New file.
19 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
20
21 2015-09-18 Carlos O'Donell <carlos@redhat.com>
22
23 * elf/tst-dlmopen1.c: Define TEST_SO.
24 (do_test): Use TEST_SO.
25
26 * elf/dl-load.c: Include libc-internal.h.
27 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
28
29 2015-09-18 Vincent Bernat <vincent@bernat.im>
30
31 [BZ #17887]
32 * time/strptime_l.c (__strptime_internal): Make %z accept
33 [+-]HH:MM time zones.
34
35 2015-09-18 Vincent Bernat <vincent@bernat.im>
36
37 [BZ #17886]
38 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
39 valid time zone.
40
41 2015-09-17 Mike Frysinger <vapier@gentoo.org>
42
43 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
44 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
45 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46 (__ASSUME_FDATASYNC): Delete.
47
48 2015-09-17 Joseph Myers <joseph@codesourcery.com>
49
50 * conform/linknamespace.pl: Require weak undefined symbols to be
51 in the standard namespace.
52 (%strong_syms): Rename to %seen_syms.
53 (%strong_seen): Rename to %seen_where.
54
55 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
56
57 [BZ #18970]
58 * misc/error.c (error): Replace pthread_setcancelstate with
59 __pthread_setcancelstate.
60 (error_at_line): Likewise.
61 * posix/wordexp.c (parse_comm): Likewise.
62 * stdlib/fmtmsg.c (fmtmsg): Likewise.
63 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
64 (__pthread_setcancelstate): This.
65 (pthread_setcancelstate): Add an alias.
66 * nptl/nptl-init.c (pthread_functions): Replace
67 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
68 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
69 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
70 hidden_proto.
71 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
72 it with hidden_def.
73 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
74 (pthread_setcancelstate): Renamed to ...
75 (__pthread_setcancelstate): This.
76 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
77 __libc_ptf_call with __pthread_setcancelstate.
78
79 2015-09-17 Joseph Myers <joseph@codesourcery.com>
80 Andreas Schwab <schwab@suse.de>
81
82 [BZ #17118]
83 * math/s_ctan.c (__ctan): Determine sign of zero real part of
84 result when imaginary part of argument is infinite using sine and
85 cosine.
86 * math/s_ctanf.c (__ctanf): Likewise.
87 * math/s_ctanl.c (__ctanl): Likewise.
88 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
89 of result when real part of argument is infinite using sine and
90 cosine.
91 * math/s_ctanhf.c (__ctanhf): Likewise.
92 * math/s_ctanhl.c (__ctanhl): Likewise.
93 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
94 (ctanh_test_data): Add more tests of ctanh.
95
96 2015-09-17 Joseph Myers <joseph@codesourcery.com>
97
98 [BZ #15384]
99 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
100 bit-mask as in subtraction.
101 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
102 Likewise.
103 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
104 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
105 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
106
107 [BZ #18951]
108 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
109 underflow exception for small results.
110 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
111 Likewise.
112 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
113 Likewise.
114 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
115 Likewise.
116 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
117 Likewise.
118 * math/auto-libm-test-in: Add more tests of tgamma.
119 * math/auto-libm-test-out: Regenerated.
120
121 2015-09-17 Andreas Schwab <schwab@suse.de>
122
123 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
124
125 2015-09-16 Joseph Myers <joseph@codesourcery.com>
126
127 [BZ #18977]
128 * math/bits/mathcalls.h
129 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
130 not declare.
131 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
132 Likewise.
133 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
134 Likewise.
135 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
136 Likewise.
137 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
138 Likewise.
139 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
140 Likewise.
141 * conform/data/math.h-data
142 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
143 function.
144 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
145 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
146 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
147 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
148 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
149 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
150 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
151 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
152 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
153 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
154 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
155
156 [BZ #6803]
157 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
158 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
159 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
160 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
161 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
162 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
163 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
164 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
165 [NO_LONG_DOUBLE] (scalbnl): Likewise.
166 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
167 Likewise.
168 [NO_LONG_DOUBLE] (scalbnl): Likewise.
169 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
170 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
171 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
172 long_double_symbol calls.
173 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
174 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
175 strong alias of __ldexpl.
176 (scalbnl): Define using long_double_symbol.
177 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
178 Remove alias.
179 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
180 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
181 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
182 (scalbln_test_data): Add more errno expectations.
183
184 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
185
186 Cache the host port like we cache the task port. This way we do not
187 need to call the kernel just to get the port. Furthermore, we no
188 longer increase the reference count on every invocation of
189 `mach_host_self'.
190
191 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
192 Protect declarations against the macro expansion.
193 * mach/mach_init.c (__mach_host_self_): New variable.
194 (mach_init): Initialize `__mach_host_self_'.
195 * mach/mach_init.h (__mach_host_self_): New declaration.
196 (__mach_host_self, mach_host_self): New macros.
197 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
198 Release reference.
199
200 2015-09-16 Joseph Myers <joseph@codesourcery.com>
201
202 [BZ #4404]
203 * po/de.po: Update from Translation Project.
204
205 [BZ #16415]
206 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
207 (__expm1l): Remove code to handle positive infinity and overflow.
208 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
209 variable.
210 (__expm1l): Remove code to handle positive infinity and overflow.
211
212 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
213 Paul Pluzhnikov <ppluzhnikov@google.com>
214
215 [BZ #18872]
216 * stdio-common/Makefile (tst-printf-bz18872): New test.
217 (tst-printf-bz18872-mem.out): Likewise.
218 * stdio-common/tst-printf-bz18872.sh: Generate new test.
219 * stdio-common/vfprintf.c: Fix memory leaks.
220
221 2015-09-16 Andreas Schwab <schwab@suse.de>
222
223 [BZ #17244]
224 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
225 Remove extra va_start/va_end calls.
226
227 [BZ #17243]
228 * posix/execl.c (execl): Add missing va_end.
229 * posix/execle.c (execle): Likewise.
230 * posix/execlp.c (execlp): Likewise.
231
232 2015-09-15 Roland McGrath <roland@hack.frob.com>
233
234 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
235 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
236
237 2015-09-15 Joseph Myers <joseph@codesourcery.com>
238
239 [BZ #18967]
240 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
241 undefine around includes of <bits/mathcalls.h>.
242 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
243 not declare function.
244 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
245 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
246 (scalb): Likewise.
247 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
248 not define macro.
249 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
250 variable.
251 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
252 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
253 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
254
255 [BZ #18857]
256 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
257 return non-finite argument without doing ordered comparisons on
258 it.
259
260 [BZ #16296]
261 * math/fenv.h (fegetround): Use __attribute_pure__.
262 * include/fenv.h (__fegetround): Likewise.
263
264 [BZ #18595]
265 * math/s_ctan.c (__ctan): Force underflow exception for results
266 whose real or imaginary part has small absolute value.
267 * math/s_ctanf.c (__ctanf): Likewise.
268 * math/s_ctanh.c (__ctanh): Likewise.
269 * math/s_ctanhf.c (__ctanhf): Likewise.
270 * math/s_ctanhl.c (__ctanhl): Likewise.
271 * math/s_ctanl.c (__ctanl): Likewise.
272 * math/auto-libm-test-in: Do not allow missing underflow for ctan
273 and ctanh. Add more tests of ctan and ctanh.
274
275 [BZ #15918]
276 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
277 handling of cases where one argument is an infinity.
278
279 [BZ #18875]
280 [BZ #18966]
281 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
282 (MO): New macro.
283 (__ieee754_exp10): For small results, force underflow exception
284 and remove excess range and precision from return value.
285 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
286 (MO): New macro.
287 (__ieee754_exp10f): For small results, force underflow exception
288 and remove excess range and precision from return value.
289 * math/auto-libm-test-in: Add more tests of exp10.
290 * math/auto-libm-test-out: Regenerated.
291
292 2015-09-14 Joseph Myers <joseph@codesourcery.com>
293
294 [BZ #18875]
295 [BZ #18961]
296 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
297 (MO): New macro.
298 (__ieee754_exp): For small results, force underflow exception and
299 remove excess range and precision from return value.
300 (__exp_finite): Likewise.
301 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
302 (MO): New macro.
303 (__ieee754_expf): For small results, force underflow exception and
304 remove excess range and precision from return value.
305 (__expf_finite): Likewise.
306 * math/auto-libm-test-in: Add more tests of exp.
307 * math/auto-libm-test-out: Regenerated.
308
309 [BZ #16521]
310 [BZ #18875]
311 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
312 small results.
313 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
314 (MO): New macro.
315 (__ieee754_exp2): For small results, force underflow exception and
316 remove excess range and precision from return value.
317 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
318 (MO): New macro.
319 (__ieee754_exp2f): For small results, force underflow exception
320 and remove excess range and precision from return value.
321 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
322 (MO): New macro.
323 (__ieee754_exp2l): Force underflow exception for small results.
324 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
325 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
326 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
327 (MO): New macro.
328 (__ieee754_exp2l): Force underflow exception for small results.
329 * math/auto-libm-test-in: Add more tests or exp2.
330 * math/auto-libm-test-out: Regenerated.
331
332 2015-09-14 Carlos O'Donell <carlos@redhat.com>
333
334 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
335
336 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
337 /dev/null.
338
339 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
340
341 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
342 io fs process)): Drop spurious backslash.
343
344 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
345
346 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
347 Use sysinfo system call instead of parsing /proc/meminfo.
348 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
349 Likewise.
350
351 2015-09-11 Mike Frysinger <vapier@gentoo.org>
352
353 [BZ #16985]
354 * programs/localedef.c (main): Display argv[remaining] when
355 output_path is NULL.
356
357 2015-09-11 Joseph Myers <joseph@codesourcery.com>
358
359 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
360 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
361 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
362 tanh.
363 * math/auto-libm-test-out: Regenerated.
364 * sysdeps/i386/fpu/libm-test-ulps: Update.
365 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
366 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
368
369 2015-09-11 Roland McGrath <roland@hack.frob.com>
370
371 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
372 Use 'override' keyword to freeze the value here, preventing
373 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
374
375 2015-09-11 Joseph Myers <joseph@codesourcery.com>
376
377 [BZ #14912]
378 * sysdeps/aarch64/bits/atomic.h: Move to ...
379 * sysdeps/aarch64/atomic-machine.h: ...here.
380 (_AARCH64_BITS_ATOMIC_H): Rename macro to
381 _AARCH64_ATOMIC_MACHINE_H.
382 * sysdeps/alpha/bits/atomic.h: Move to ...
383 * sysdeps/alpha/atomic-machine.h: ...here.
384 * sysdeps/arm/bits/atomic.h: Move to ...
385 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
386 * bits/atomic.h: Move to ...
387 * sysdeps/generic/atomic-machine.h: ...here.
388 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
389 * sysdeps/i386/bits/atomic.h: Move to ...
390 * sysdeps/i386/atomic-machine.h: ...here.
391 * sysdeps/ia64/bits/atomic.h: Move to ...
392 * sysdeps/ia64/atomic-machine.h: ...here.
393 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
394 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
395 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
396 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
397 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
398 * sysdeps/microblaze/bits/atomic.h: Move to ...
399 * sysdeps/microblaze/atomic-machine.h: ...here.
400 * sysdeps/mips/bits/atomic.h: Move to ...
401 * sysdeps/mips/atomic-machine.h: ...here.
402 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
403 * sysdeps/powerpc/bits/atomic.h: Move to ...
404 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
405 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
406 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
407 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
408 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
409 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
410 <atomic-machine.h> instead of <bits/atomic.h>.
411 * sysdeps/s390/bits/atomic.h: Move to ...
412 * sysdeps/s390/atomic-machine.h: ...here.
413 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
414 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
415 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
416 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
417 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
418 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
419 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
420 * sysdeps/tile/bits/atomic.h: Move to ...
421 * sysdeps/tile/atomic-machine.h: ...here.
422 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
423 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
424 <sysdeps/tile/atomic-machine.h> instead of
425 <sysdeps/tile/bits/atomic.h>.
426 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
427 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
428 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
429 <sysdeps/tile/atomic-machine.h> instead of
430 <sysdeps/tile/bits/atomic.h>.
431 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
432 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
433 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
434 <sysdeps/arm/atomic-machine.h> instead of
435 <sysdeps/arm/bits/atomic.h>.
436 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
437 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
438 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
439 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
440 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
441 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
442 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
443 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
444 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
445 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
446 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
447 * sysdeps/x86_64/bits/atomic.h: Move to ...
448 * sysdeps/x86_64/atomic-machine.h: ...here.
449 * include/atomic.h: Include <atomic-machine.h> instead of
450 <bits/atomic.h>.
451
452 * sysdeps/mips/mips32/libm-test-ulps: Update.
453 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
454
455 [BZ #18952]
456 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
457 not convert non-integer negative arguments to int to determine the
458 value of signgam.
459 * math/auto-libm-test-in: Add more tests of lgamma.
460 * math/auto-libm-test-out: Regenerated.
461
462 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
463 cosh, csqrt, erfc, expm1 and lgamma.
464 * math/auto-libm-test-out: Regenerated.
465 * sysdeps/i386/fpu/libm-test-ulps: Update.
466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
467
468 2015-09-10 Joseph Myers <joseph@codesourcery.com>
469
470 [BZ #2542]
471 [BZ #2543]
472 [BZ #2558]
473 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
474 __lgamma_neg for arguments from -28.0 to -2.0.
475 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
476 __lgamma_negf for arguments from -15.0 to -2.0.
477 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
478 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
479 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
480 Call __lgamma_negl for arguments from -33.0 to -2.0.
481 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
482 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
483 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
484 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
485 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
486 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
487 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
488 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
489 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
490 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
491 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
492 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
493 (__lgamma_neg): Likewise.
494 (__lgamma_negl): Likewise.
495 (__lgamma_product): Likewise.
496 (__lgamma_productl): Likewise.
497 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
498 * math/auto-libm-test-in: Add more tests of lgamma.
499 * math/auto-libm-test-out: Regenerated.
500 * sysdeps/i386/fpu/libm-test-ulps: Update.
501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
502
503 2015-09-09 Justin Maggard <jmaggard@netgear.com>
504
505 [BZ #18675]
506 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
507
508 2015-09-08 Joseph Myers <joseph@codesourcery.com>
509
510 [BZ #14912]
511 * bits/libc-lock.h: Move to ...
512 * sysdeps/generic/libc-lock.h: ...here.
513 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
514 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
515 * sysdeps/mach/hurd/libc-lock.h: ...here.
516 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
517 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
518 * sysdeps/mach/bits/libc-lock.h: Move to ...
519 * sysdeps/mach/libc-lock.h: ...here.
520 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
521 * sysdeps/nptl/bits/libc-lock.h: Move to ...
522 * sysdeps/nptl/libc-lock.h: ...here.
523 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
524 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
525 * sysdeps/nptl/libc-lockP.h: ...here.
526 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
527 * crypt/crypt_util.c: Include <libc-lock.h> instead of
528 <bits/libc-lock.h>.
529 * dirent/scandir-tail.c: Likewise.
530 * dlfcn/dlerror.c: Likewise.
531 * elf/dl-close.c: Likewise.
532 * elf/dl-iteratephdr.c: Likewise.
533 * elf/dl-lookup.c: Likewise.
534 * elf/dl-open.c: Likewise.
535 * elf/dl-support.c: Likewise.
536 * elf/dl-writev.h: Likewise.
537 * elf/rtld.c: Likewise.
538 * grp/fgetgrent.c: Likewise.
539 * gshadow/fgetsgent.c: Likewise.
540 * gshadow/sgetsgent.c: Likewise.
541 * iconv/gconv_conf.c: Likewise.
542 * iconv/gconv_db.c: Likewise.
543 * iconv/gconv_dl.c: Likewise.
544 * iconv/gconv_int.h: Likewise.
545 * iconv/gconv_trans.c: Likewise.
546 * include/link.h: Likewise.
547 * inet/getnameinfo.c: Likewise.
548 * inet/getnetgrent.c: Likewise.
549 * inet/getnetgrent_r.c: Likewise.
550 * intl/bindtextdom.c: Likewise.
551 * intl/dcigettext.c: Likewise.
552 * intl/finddomain.c: Likewise.
553 * intl/gettextP.h: Likewise.
554 * intl/loadmsgcat.c: Likewise.
555 * intl/localealias.c: Likewise.
556 * intl/textdomain.c: Likewise.
557 * libidn/idn-stub.c: Likewise.
558 * libio/libioP.h: Likewise.
559 * locale/duplocale.c: Likewise.
560 * locale/freelocale.c: Likewise.
561 * locale/newlocale.c: Likewise.
562 * locale/setlocale.c: Likewise.
563 * login/getutent_r.c: Likewise.
564 * login/getutid_r.c: Likewise.
565 * login/getutline_r.c: Likewise.
566 * login/utmp-private.h: Likewise.
567 * login/utmpname.c: Likewise.
568 * malloc/mtrace.c: Likewise.
569 * misc/efgcvt.c: Likewise.
570 * misc/error.c: Likewise.
571 * misc/fstab.c: Likewise.
572 * misc/getpass.c: Likewise.
573 * misc/mntent.c: Likewise.
574 * misc/syslog.c: Likewise.
575 * nis/nis_call.c: Likewise.
576 * nis/nis_callback.c: Likewise.
577 * nis/nss-default.c: Likewise.
578 * nis/nss_compat/compat-grp.c: Likewise.
579 * nis/nss_compat/compat-initgroups.c: Likewise.
580 * nis/nss_compat/compat-pwd.c: Likewise.
581 * nis/nss_compat/compat-spwd.c: Likewise.
582 * nis/nss_nis/nis-alias.c: Likewise.
583 * nis/nss_nis/nis-ethers.c: Likewise.
584 * nis/nss_nis/nis-grp.c: Likewise.
585 * nis/nss_nis/nis-hosts.c: Likewise.
586 * nis/nss_nis/nis-network.c: Likewise.
587 * nis/nss_nis/nis-proto.c: Likewise.
588 * nis/nss_nis/nis-pwd.c: Likewise.
589 * nis/nss_nis/nis-rpc.c: Likewise.
590 * nis/nss_nis/nis-service.c: Likewise.
591 * nis/nss_nis/nis-spwd.c: Likewise.
592 * nis/nss_nisplus/nisplus-alias.c: Likewise.
593 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
594 * nis/nss_nisplus/nisplus-grp.c: Likewise.
595 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
596 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
597 * nis/nss_nisplus/nisplus-network.c: Likewise.
598 * nis/nss_nisplus/nisplus-proto.c: Likewise.
599 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
600 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
601 * nis/nss_nisplus/nisplus-service.c: Likewise.
602 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
603 * nis/ypclnt.c: Likewise.
604 * nptl/libc_pthread_init.c: Likewise.
605 * nss/getXXbyYY.c: Likewise.
606 * nss/getXXent.c: Likewise.
607 * nss/getXXent_r.c: Likewise.
608 * nss/nss_db/db-XXX.c: Likewise.
609 * nss/nss_db/db-netgrp.c: Likewise.
610 * nss/nss_db/nss_db.h: Likewise.
611 * nss/nss_files/files-XXX.c: Likewise.
612 * nss/nss_files/files-alias.c: Likewise.
613 * nss/nsswitch.c: Likewise.
614 * posix/regex_internal.h: Likewise.
615 * posix/wordexp.c: Likewise.
616 * pwd/fgetpwent.c: Likewise.
617 * resolv/res_hconf.c: Likewise.
618 * resolv/res_libc.c: Likewise.
619 * shadow/fgetspent.c: Likewise.
620 * shadow/lckpwdf.c: Likewise.
621 * shadow/sgetspent.c: Likewise.
622 * socket/opensock.c: Likewise.
623 * stdio-common/reg-modifier.c: Likewise.
624 * stdio-common/reg-printf.c: Likewise.
625 * stdio-common/reg-type.c: Likewise.
626 * stdio-common/vfprintf.c: Likewise.
627 * stdio-common/vfscanf.c: Likewise.
628 * stdlib/abort.c: Likewise.
629 * stdlib/cxa_atexit.c: Likewise.
630 * stdlib/fmtmsg.c: Likewise.
631 * stdlib/random.c: Likewise.
632 * stdlib/setenv.c: Likewise.
633 * string/strsignal.c: Likewise.
634 * sunrpc/auth_none.c: Likewise.
635 * sunrpc/bindrsvprt.c: Likewise.
636 * sunrpc/create_xid.c: Likewise.
637 * sunrpc/key_call.c: Likewise.
638 * sunrpc/rpc_thread.c: Likewise.
639 * sysdeps/arm/backtrace.c: Likewise.
640 * sysdeps/generic/ldsodefs.h: Likewise.
641 * sysdeps/generic/stdio-lock.h: Likewise.
642 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
643 * sysdeps/i386/backtrace.c: Likewise.
644 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
645 * sysdeps/m68k/backtrace.c: Likewise.
646 * sysdeps/mach/hurd/cthreads.c: Likewise.
647 * sysdeps/mach/hurd/dirstream.h: Likewise.
648 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
649 * sysdeps/nptl/malloc-machine.h: Likewise.
650 * sysdeps/nptl/stdio-lock.h: Likewise.
651 * sysdeps/posix/dirstream.h: Likewise.
652 * sysdeps/posix/getaddrinfo.c: Likewise.
653 * sysdeps/posix/system.c: Likewise.
654 * sysdeps/pthread/aio_suspend.c: Likewise.
655 * sysdeps/s390/s390-32/backtrace.c: Likewise.
656 * sysdeps/s390/s390-64/backtrace.c: Likewise.
657 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
658 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
659 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
660 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
661 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
662 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
663 * sysdeps/unix/sysv/linux/system.c: Likewise.
664 * sysdeps/x86_64/backtrace.c: Likewise.
665 * time/alt_digit.c: Likewise.
666 * time/era.c: Likewise.
667 * time/tzset.c: Likewise.
668 * wcsmbs/wcsmbsload.c: Likewise.
669 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
670 instead of <bits/libc-lock.h> in comment.
671
672 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
673
674 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
675 Only use .set mips2 if the current ISA is below mips2.
676 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
677 Likewise.
678 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
679 mips32r2 if the current ISA is below mips32r2.
680 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
681 (TLS_IE): Updated to use the TLD_RDHWR macro.
682 (TLS_LE): Likewise.
683 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
684 __ASSEMBLER__ condition.
685
686 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
687
688 Fix parallel build of before-compile targets.
689
690 * sysdeps/mach/Makefile ($(patsubst
691 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
692 mach-before-compile target.
693 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
694 io fs process)): Move rule to dedicated hurd-before-compile target.
695
696 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
697
698 Fix rules generating headers in hurd/ and mach/ when initial make call
699 has subdir= explicitly set.
700
701 * sysdeps/mach/Makefile ($(patsubst
702 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
703 calling $(MAKE).
704 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
705 io fs process)): Force subdir to hurd when calling $(MAKE).
706 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
707 subdir to mach when calling $(MAKE).
708
709 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
710
711 Check sysheaders when looking for Mach and Hurd headers
712
713 * sysdeps/mach/configure.ac: Add sysheaders check.
714 * sysdeps/mach/configure: Regenerate.
715 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
716 * sysdeps/mach/hurd/configure: Regenerate.
717
718 2015-09-04 Roland McGrath <roland@hack.frob.com>
719
720 [BZ #18921]
721 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
722 Fix inverted sense of test of 'o_directory_works' value.
723 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
724 Bernhard Voelker <mail@bernhard-voelker.de>.
725
726 2015-09-04 Joseph Myers <joseph@codesourcery.com>
727
728 [BZ #14912]
729 * bits/linkmap.h: Move to ...
730 * sysdeps/generic/linkmap.h: ...here.
731 * sysdeps/aarch64/bits/linkmap.h: Move to ...
732 * sysdeps/aarch64/linkmap.h: ...here.
733 * sysdeps/arm/bits/linkmap.h: Move to ...
734 * sysdeps/arm/linkmap.h: ...here.
735 * sysdeps/hppa/bits/linkmap.h: Move to ...
736 * sysdeps/hppa/linkmap.h: ...here.
737 * sysdeps/ia64/bits/linkmap.h: Move to ...
738 * sysdeps/ia64/linkmap.h: ...here.
739 * sysdeps/mips/bits/linkmap.h: Move to ...
740 * sysdeps/mips/linkmap.h: ...here.
741 * sysdeps/s390/bits/linkmap.h: Move to ...
742 * sysdeps/s390/linkmap.h: ...here.
743 * sysdeps/sh/bits/linkmap.h: Move to ...
744 * sysdeps/sh/linkmap.h: ...here.
745 * sysdeps/x86/bits/linkmap.h: Move to ...
746 * sysdeps/x86/linkmap.h: ...here.
747 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
748
749 2015-09-04 Andreas Schwab <schwab@suse.de>
750
751 [BZ #18635]
752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
753 (__makecontext): Terminate FDE before return label.
754 (__novec_makecontext): Likewise.
755
756 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
757
758 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
759 first member of struct sv in syscall macro.
760
761 2015-09-04 Joseph Myers <joseph@codesourcery.com>
762
763 [BZ #14912]
764 * bits/stdio-lock.h: Move to ...
765 * sysdeps/generic/stdio-lock.h: ...here.
766 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
767 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
768 * sysdeps/nptl/stdio-lock.h: ...here.
769 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
770 * include/libio.h: Include <stdio-lock.h> instead of
771 <bits/stdio-lock.h>.
772 * sysdeps/nptl/fork.c: Likewise.
773 * sysdeps/pthread/flockfile.c: Likewise.
774 * sysdeps/pthread/ftrylockfile.c: Likewise.
775 * sysdeps/pthread/funlockfile.c: Likewise.
776
777 [BZ #14912]
778 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
779 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
780 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
781 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
782 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
783 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
784 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
785
786 2015-09-03 Roland McGrath <roland@hack.frob.com>
787
788 * elf/Makefile (test-xfail-tst-protected1a): New variable.
789 (test-xfail-tst-protected1b): New variable.
790
791 2015-09-03 Joseph Myers <joseph@codesourcery.com>
792
793 [BZ #14912]
794 * bits/libc-tsd.h: Move to ...
795 * sysdeps/generic/libc-tsd.h: ...here.
796 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
797 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
798 * sysdeps/mach/hurd/libc-tsd.h: ...here.
799 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
800 * include/ctype.h: Include <libc-tsd.h> instead of
801 <bits/libc-tsd.h>.
802 * include/rpc/rpc.h: Likewise.
803 * locale/localeinfo.h: Likewise.
804 * sunrpc/rpc_thread.c: Likewise.
805 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
806 * sysdeps/nptl/malloc-machine.h: Likewise.
807
808 * Makefile (headers): Remove bits/libc-lock.h.
809 * libio/Makefile (headers): Remove bits/stdio-lock.h.
810
811 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
812 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
813 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
814 <bits/stdio-lock.h>.
815 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
816 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
817
818 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
819
820 [BZ #18757]
821 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
822 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
823 BZ #18757.
824
825 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
826
827 * malloc/mtrace.pl: Filter out NULL entries.
828
829 2015-09-01 Joseph Myers <joseph@codesourcery.com>
830
831 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
832 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
833 macro.
834
835 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
836 (TCP_CC_INFO): Likewise.
837 (TCP_SAVE_SYN): Likewise.
838 (TCP_SAVED_SYN): Likewise.
839
840 2015-08-31 Brett Neumeier <brett@neumeier.us>
841
842 [BZ #18870]
843 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
844
845 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
846
847 [BZ #18873]
848 Fix broken overflow check in posix_fallocate
849 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
850 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
851 Fix parenthesization typo.
852
853 2015-08-28 Mike Frysinger <vapier@gentoo.org>
854
855 [BZ #18887]
856 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
857 tst-mntent-blank-passno.
858 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
859 * misc/tst-mntent-blank-corrupt.c: New test.
860 * misc/tst-mntent-blank-passno.c: New test ripped from ...
861 * misc/tst-mntent.c (do_test): ... here.
862
863 2015-08-29 Mike Frysinger <vapier@gentoo.org>
864
865 [BZ #4404]
866 * po/de.po: Fix SIGALRM typo.
867
868 2015-08-28 James Perkins <james@loowit.net>
869
870 * time/tst-strptime2.c (tests): Replace short list of test
871 strings for strptime %z specifier with code which exhaustively
872 tests every combination of sign and 0 to 5 digits. Tests for
873 rejection of invalid strings.
874
875 2015-08-28 James Perkins <james@loowit.net>
876
877 [BZ #16141]
878 * time/strptime_l.c (__strptime_internal): Fix %z minutes
879 calculation, removing incorrect decimal time rounding, so that
880 all minute values result in a valid seconds value.
881 * time/strptime_l.c (__strptime_internal): Extend %z time zone
882 offset range limits to UTC-99:59 through UTC+99:59 to parse
883 current and historical use cases.
884 * time/tst-strptime2.c (tests): Modify and add tests for the
885 strptime %z input field descriptor, specifically conversion of
886 minutes to seconds and validating an offset range of -9959 to
887 +9959.
888
889 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
890 Dmitry V. Levin <ldv@altlinux.org>
891
892 [BZ #18877]
893 * posix/Makefile (tests): Add tst-mmap-offset.
894 * posix/tst-mmap.c: New file.
895 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
896 offset calculation for negative values.
897
898 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
899
900 * sysdeps/i386/init-arch.h: New file.
901 * sysdeps/i386/i586/init-arch.h: Likewise.
902 * sysdeps/i386/i686/init-arch.h: Likewise.
903 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
904 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
905 * sysdeps/x86/cpu-features.h (bit_I586): New.
906 (bit_I686): Likewise.
907 (bit_CX8): Likewise.
908 (bit_CMOV): Likewise.
909 (index_CX8): Likewise.
910 (index_CMOV): Likewise.
911 (index_I586): Likewise.
912 (index_I686): Likewise.
913 (reg_CX8): Likewise.
914 (reg_CMOV): Likewise.
915 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
916 available at compile-time.
917 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
918 available at compile-time.
919 * sysdeps/x86/init-arch.h (USE_I586): New macro.
920 (USE_I686): Likewise.
921
922 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
923
924 * sysdeps/i386/bcopy.S: New file.
925 * sysdeps/i386/bzero.S: Likewise.
926 * sysdeps/i386/memcpy.S: Likewise.
927 * sysdeps/i386/memmove.S: Likewise.
928 * sysdeps/i386/mempcpy.S: Likewise.
929 * sysdeps/i386/memset.S: Likewise.
930 * sysdeps/i386/bzero.c: Removed.
931 * sysdeps/i386/memset.c: Likewise.
932 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
933 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
934 * sysdeps/i386/i586/memset_chk.S: Likewise.
935 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
936 * sysdeps/i386/memcpy_chk.S: Here.
937 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
938 * sysdeps/i386/memmove_chk.S: Here.
939 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
940 * sysdeps/i386/mempcpy_chk.S: Likewise.
941 * sysdeps/i386/i686/memset_chk.S: Moved to ...
942 * sysdeps/i386/memset_chk.S: Likewise.
943
944 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
945
946 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
947 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
948 file, move DIAG_POP_NEEDS_COMMENT to end of file.
949 * soft-fp/fmadf4.c: Ditto.
950 * soft-fp/fmatf4.c: Ditto.
951
952 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
953
954 * sysdeps/i386/i586/Implies: Removed.
955 * sysdeps/i386/i686/Implies: Likewise.
956
957 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
958
959 * sysdeps/i386/i486/strlen.S: Moved to ...
960 * sysdeps/i386/strlen.S: Here.
961
962 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
963
964 * sysdeps/i386/i486/strcat.S: Moved to ...
965 * sysdeps/i386/strcat.S: Here.
966
967 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
968
969 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
970 * sysdeps/i386/pthread_spin_trylock.S: Here.
971 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
972 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
973
974 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
975
976 * sysdeps/i386/i486/string-inlines.c: Moved to ...
977 * sysdeps/i386/string-inlines.c: Here.
978
979 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
980
981 * sysdeps/i386/i486/htonl.S: Moved ...
982 * sysdeps/i386/htonl.S: here.
983
984 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
985
986 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
987 * sysdeps/i386/bits/atomic.h: Here.
988
989 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
990
991 * sysdeps/i386/i486/Versions: Removed.
992
993 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
994
995 [BZ #2898]
996 * misc/mktemp.c: Add mkdtemp to the link_warning message.
997 Based on patch by Aurelien Jarno.
998
999 2015-08-26 Stan Shebs <stanshebs@google.com>
1000
1001 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
1002 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1003
1004 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1005
1006 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
1007 * sysdeps/powerpc/dl-procinfo.c:
1008 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
1009 feature so it shows when LD_SHOW_AUXV=1.
1010
1011 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1012
1013 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1014 (__arch_compare_and_exchange_val_32_acq): Remove and use common
1015 definition. ISA 2.07B no longer requires full sync.
1016
1017 2015-08-26 Mike Frysinger <vapier@gentoo.org>
1018
1019 [BZ #18863]
1020 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
1021 (si_call_addr): Define.
1022 (si_syscall): Define.
1023 (si_arch): Define.
1024
1025 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
1026
1027 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
1028 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
1029 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
1030 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1031 (__memset_zero_constant_len_parameter): New.
1032 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
1033 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1034 (__memset_zero_constant_len_parameter): Don't define if
1035 __memset_chk or USE_AS_BZERO are defined.
1036
1037 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
1038 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
1039 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
1040
1041 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
1042 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
1043 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
1044 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
1045 comments.
1046 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
1047 -mno-mmx for $(all-rtld-routines).
1048 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
1049 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
1050 i386.
1051
1052 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1053
1054 * sysdeps/generic/unwind.h
1055 (_Unwind_Word): Use __mode__(__unwind_word__)
1056 instead of __mode__(__word__).
1057 (_Unwind_Sword): Likewise.
1058
1059 * sysdeps/s390/s390-64/utf8-utf16-z9.c
1060 (MAX_NEEDED_INPUT): New define.
1061 (MAX_NEEDED_OUTPUT): New define.
1062
1063 * NEWS: New item for IBM z13 string optimizations.
1064
1065 * sysdeps/s390/multiarch/memrchr-c.c: New File.
1066 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
1067 * sysdeps/s390/multiarch/memrchr.c: Likewise.
1068 * sysdeps/s390/multiarch/Makefile
1069 (sysdep_routines): Add memrchr functions.
1070 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1071 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
1072
1073 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
1074 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
1075 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
1076 * sysdeps/s390/multiarch/Makefile
1077 (sysdep_routines): Add wmemcmp functions.
1078 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1079 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
1080 * benchtests/bench-wmemcmp.c: New File.
1081 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
1082
1083 * sysdeps/s390/multiarch/wmemset-c.c: New File.
1084 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
1085 * sysdeps/s390/multiarch/wmemset.c: Likewise.
1086 * sysdeps/s390/multiarch/Makefile
1087 (sysdep_routines): Add wmemset functions.
1088 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1089 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
1090 * wcsmbs/wmemset.c: Use WMEMSET if defined.
1091 * string/test-memset.c: Add wmemset support.
1092 * wcsmbs/test-wmemset.c: New File.
1093 * wcsmbs/Makefile (strop-tests): Add wmemset.
1094 * benchtests/bench-memset.c: Add wmemset support.
1095 * benchtests/bench-wmemset.c: New File.
1096 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
1097
1098 * sysdeps/s390/multiarch/memccpy-c.c: New File.
1099 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
1100 * sysdeps/s390/multiarch/memccpy.c: Likewise.
1101 * sysdeps/s390/multiarch/Makefile
1102 (sysdep_routines): Add memccpy functions.
1103 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1104 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
1105 * string/memccpy.c: Use MEMCCPY if defined.
1106
1107 * sysdeps/s390/multiarch/memchr-vx.S: New File.
1108 * sysdeps/s390/multiarch/memchr.c: Likewise.
1109 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
1110 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
1111 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
1112 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
1113 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
1114 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
1115 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
1116 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
1117 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
1118 and rawmemchr functions.
1119 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1120 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
1121 and wmemchr.
1122 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
1123 * string/test-memchr.c: Add wmemchr support.
1124 * wcsmbs/test-wmemchr.c: New File.
1125 * wcsmbs/Makefile (strop-tests): Add wmemchr.
1126 * benchtests/bench-memchr.c: Add wmemchr support.
1127 * benchtests/bench-wmemchr.c: New File.
1128 * benchtests/Makefile (wcsmbs-bench): wmemchr.
1129
1130 * sysdeps/s390/multiarch/strcspn-c.c: New File.
1131 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
1132 * sysdeps/s390/multiarch/strcspn.c: Likewise.
1133 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
1134 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
1135 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
1136 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
1137 wcscspn functions.
1138 * sysdeps/s390/multiarch/ifunc-impl-list.c
1139 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
1140 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
1141 * string/test-strcspn.c: Add wcscspn support.
1142 * wcsmbs/test-wcscspn.c: New File.
1143 * wcsmbs/Makefile (strop-tests): Add wcscspn.
1144 * benchtests/bench-strcspn.c: Add wcscspn support.
1145 * benchtests/bench-wcscspn.c: New File.
1146 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
1147
1148 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
1149 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
1150 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
1151 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
1152 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
1153 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
1154 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
1155 wcspbrk functions.
1156 * sysdeps/s390/multiarch/ifunc-impl-list.c
1157 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
1158 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
1159 * string/test-strpbrk.c: Add wcspbrk support.
1160 * wcsmbs/test-wcspbrk.c: New File.
1161 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
1162 * benchtests/bench-strpbrk.c: Add wcspbrk support.
1163 * benchtests/bench-wcspbrk.c: New File.
1164 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
1165
1166 * sysdeps/s390/multiarch/strspn-c.c: New File.
1167 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
1168 * sysdeps/s390/multiarch/strspn.c: Likewise.
1169 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
1170 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
1171 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
1172 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
1173 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
1174 wcsspn functions.
1175 * sysdeps/s390/multiarch/ifunc-impl-list.c
1176 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
1177 * string/test-strspn.c: Add wcsspn support.
1178 * wcsmbs/test-wcsspn.c: New File.
1179 * wcsmbs/Makefile (strop-tests): Add wcsspn.
1180 * benchtests/bench-strspn.c: Add wcsspn support.
1181 * benchtests/bench-wcsspn.c: New File.
1182 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
1183
1184 * sysdeps/s390/multiarch/strrchr-c.c: New File.
1185 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
1186 * sysdeps/s390/multiarch/strrchr.c: Likewise.
1187 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
1188 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
1189 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
1190 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
1191 wcsrchr functions.
1192 * sysdeps/s390/multiarch/ifunc-impl-list.c
1193 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
1194 * benchtests/bench-wcsrchr.c: New File.
1195 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
1196
1197 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
1198 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
1199 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
1200 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
1201 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
1202 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
1203 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
1204 wcschrnul functions.
1205 * sysdeps/s390/multiarch/ifunc-impl-list.c
1206 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
1207 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
1208 * string/test-strchr.c: Add wcschrnul support.
1209 * wcsmbs/test-wcschrnul.c: New File.
1210 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
1211 * benchtests/bench-strchr.c: Add wcschrnul support.
1212 * benchtests/bench-wcschrnul.c: New File.
1213 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
1214
1215 * sysdeps/s390/multiarch/strchr-c.c: New File.
1216 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
1217 * sysdeps/s390/multiarch/strchr.c: Likewise.
1218 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
1219 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
1220 * sysdeps/s390/multiarch/wcschr.c: Likewise.
1221 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
1222 wcschr functions.
1223 * sysdeps/s390/multiarch/ifunc-impl-list.c
1224 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
1225 * string/strchr.c (STRCHR): Define and use macro.
1226 * benchtests/bench-wcschr.c: New File.
1227 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
1228
1229 * sysdeps/s390/multiarch/strncmp-c.c: New File.
1230 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
1231 * sysdeps/s390/multiarch/strncmp.c: Likewise.
1232 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
1233 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
1234 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
1235 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
1236 wcsncmp functions.
1237 * sysdeps/s390/multiarch/ifunc-impl-list.c
1238 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
1239 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
1240 * benchtests/bench-strncmp.c: Add wcsncmp support.
1241 * benchtests/bench-wcsncmp.c: New File.
1242 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
1243
1244 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
1245 * sysdeps/s390/multiarch/strcmp.c: Likewise.
1246 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
1247 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
1248 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
1249 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
1250 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
1251 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
1252 wcscmp functions.
1253 * sysdeps/s390/multiarch/ifunc-impl-list.c
1254 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
1255 * string/strcmp.c (STRCMP): Define and use macro.
1256 * benchtests/bench-wcscmp.c: New File.
1257 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
1258 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
1259 instead of _HAVE_STRING_ARCH_memchr.
1260
1261 * sysdeps/s390/multiarch/strncat-c.c: New File.
1262 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
1263 * sysdeps/s390/multiarch/strncat.c: Likewise.
1264 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
1265 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
1266 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
1267 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
1268 wcsncat functions.
1269 * sysdeps/s390/multiarch/ifunc-impl-list.c
1270 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
1271 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
1272 * string/test-strncat.c: Add wcsncat support.
1273 * wcsmbs/test-wcsncat.c: New File.
1274 * wcsmbs/Makefile (strop-tests): Add wcsncat.
1275 * benchtests/bench-strncat.c: Add wcsncat support.
1276 * benchtests/bench-wcsncat.c: New File.
1277 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
1278
1279 * sysdeps/s390/multiarch/strcat-c.c: New File.
1280 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
1281 * sysdeps/s390/multiarch/strcat.c: Likewise.
1282 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
1283 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
1284 * sysdeps/s390/multiarch/wcscat.c: Likewise.
1285 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
1286 wcscat functions.
1287 * sysdeps/s390/multiarch/ifunc-impl-list.c
1288 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
1289 * string/strcat.c (STRCAT): Define and use macro.
1290 * wcsmbs/wcscat.c: Use WCSCAT if defined.
1291 * string/test-strcat.c: Add wcscat support.
1292 * wcsmbs/test-wcscat.c: New File.
1293 * wcsmbs/Makefile (strop-tests): Add wcscat.
1294 * benchtests/bench-strcat.c: Add wcscat support.
1295 * benchtests/bench-wcscat.c: New File.
1296 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
1297
1298 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
1299 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
1300 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
1301 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
1302 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
1303 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
1304 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
1305 wcpncpy functions.
1306 * sysdeps/s390/multiarch/ifunc-impl-list.c
1307 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
1308 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
1309 * string/test-stpncpy.c: Add wcpncpy support.
1310 * wcsmbs/test-wcpncpy.c: New File.
1311 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
1312 * benchtests/bench-stpncpy.c: Add wcpncpy support.
1313 * benchtests/bench-wcpncpy.c: New File.
1314 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
1315
1316 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
1317 * sysdeps/s390/multiarch/strncpy.c: Likewise.
1318 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
1319 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
1320 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
1321 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
1322 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
1323 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
1324 wcsncpy functions.
1325 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
1326 * sysdeps/s390/multiarch/ifunc-impl-list.c
1327 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
1328 * string/test-strncpy.c: Add wcsncpy support.
1329 * wcsmbs/test-wcsncpy.c: New File.
1330 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
1331 * benchtests/bench-strncpy.c: Add wcsncpy support.
1332 * benchtests/bench-wcsncpy.c: New File.
1333 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
1334
1335 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
1336 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
1337 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
1338 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
1339 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
1340 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
1341 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
1342 wcpcpy functions.
1343 * string/stpcpy.c: Use STPCPY if defined.
1344 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
1345 * sysdeps/s390/multiarch/ifunc-impl-list.c
1346 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
1347 * string/test-stpcpy.c: Add wcpcpy support.
1348 * wcsmbs/test-wcpcpy.c: New File.
1349 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
1350 * benchtests/bench-stpcpy.c: Add wcpcpy support.
1351 * benchtests/bench-wcpcpy.c: New File.
1352 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
1353
1354 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
1355 * sysdeps/s390/multiarch/strcpy.c: Likewise.
1356 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
1357 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
1358 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
1359 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
1360 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
1361 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
1362 wcscpy functions.
1363 * sysdeps/s390/multiarch/ifunc-impl-list.c
1364 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
1365 * benchtests/bench-wcscpy.c: New File.
1366 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
1367
1368 * sysdeps/s390/multiarch/strnlen-c.c: New File.
1369 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
1370 * sysdeps/s390/multiarch/strnlen.c: Likewise.
1371 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
1372 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
1373 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
1374 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
1375 wcsnlen functions.
1376 * sysdeps/s390/multiarch/ifunc-impl-list.c
1377 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
1378 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
1379 * string/test-strnlen.c: Add wcsnlen support.
1380 * wcsmbs/test-wcsnlen.c: New File.
1381 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
1382 * benchtests/bench-strnlen.c: Add wcsnlen support.
1383 * benchtests/bench-wcsnlen.c: New File.
1384 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
1385
1386 * sysdeps/s390/multiarch/Makefile: New File.
1387 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
1388 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
1389 * sysdeps/s390/multiarch/strlen.c: Likewise.
1390 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
1391 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
1392 * sysdeps/s390/multiarch/wcslen.c: Likewise.
1393 * string/strlen.c (STRLEN): Define and use macro.
1394 * sysdeps/s390/multiarch/ifunc-impl-list.c
1395 (IFUNC_VX_IMPL): New macro function.
1396 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
1397 * benchtests/Makefile (wcsmbs-bench): New variable.
1398 (string-bench-all): Added wcsmbs-bench.
1399 * benchtests/bench-wcslen.c: New File.
1400
1401 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
1402 s390_vx_libc_ifunc2): New macro function.
1403
1404 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
1405 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
1406 assembler support.
1407 * sysdeps/s390/configure: Regenerated.
1408
1409 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
1410 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
1411
1412 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
1413 * sysdeps/s390/dl-procinfo.h: Add vector capability.
1414 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
1415
1416 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1417 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
1418 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
1419 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
1420 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
1421 (memcmp, bcmp): Use __memcmp_default as alias source.
1422 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
1423 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
1424 Rename to __memcmp_default.
1425 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
1426 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
1427 (memcpy): Use __memcpy_default as alias source.
1428 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
1429 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
1430 Rename to __memcpy_default.
1431 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
1432 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
1433 (memset): Use __memset_default as alias source.
1434 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
1435 * sysdeps/s390/s390-32/memset.S (__memset_g5):
1436 Rename to __memset_default.
1437 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
1438 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
1439 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
1440 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
1441 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
1442 (memcmp, bcmp): Use __memcmp_default as alias source.
1443 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
1444 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
1445 Rename to __memcmp_default.
1446 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
1447 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
1448 (memcpy): Use __memcpy_default as alias source.
1449 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
1450 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
1451 Rename to __memcpy_default.
1452 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
1453 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
1454 (memset): Use __memset_default as alias source.
1455 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
1456 * sysdeps/s390/s390-64/memset.S (__memset_z900):
1457 Rename to __memset_default.
1458 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
1459 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
1460
1461 [BZ #18610]
1462 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
1463 __ieee_instruction_pointer to __unused.
1464 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
1465 __ieee_instruction_pointer.
1466 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
1467 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
1468 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1469 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
1470 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
1471 Mark dxc-field as reserved.
1472
1473 2015-08-25 Roland McGrath <roland@hack.frob.com>
1474
1475 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
1476 if the weak reference is not null.
1477
1478 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1479
1480 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
1481
1482 [BZ #11214]
1483 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
1484
1485 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1486
1487 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
1488 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
1489 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
1490 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
1491 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
1492 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
1493 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
1494 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
1495 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
1496 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
1497 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
1498 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
1499 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
1500 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
1501 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
1502 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
1503 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
1504 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
1505
1506 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1507
1508 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
1509 register other than r0 for tabort, it has special meaning.
1510 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
1511 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
1512 transaction before starting syscall.
1513
1514 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1515
1516 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
1517
1518 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1519
1520 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
1521
1522 * sysdeps/x86_64/rtld-memcmp.c: Removed.
1523 * sysdeps/x86_64/rtld-memset.S: Likewise.
1524 * sysdeps/x86_64/rtld-strchr.S: Likewise.
1525 * sysdeps/x86_64/rtld-strlen.S: Likewise.
1526 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
1527 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1528
1529 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
1530
1531 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
1532
1533 * debug/strcpy_chk.c: Improve performance.
1534 * debug/stpcpy_chk.c: Likewise.
1535 * sysdeps/x86_64/strcpy_chk.S: Remove.
1536 * sysdeps/x86_64/stpcpy_chk.S: Remove.
1537
1538 [BZ #18240]
1539 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
1540
1541 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1542
1543 [BZ #15128]
1544 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
1545 ifuncmain8.
1546 (modules-names): Add ifuncmod8.
1547 ($(objpfx)ifuncmain8): New rule.
1548 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
1549 <cpuid.h>.
1550 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
1551 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
1552 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
1553 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
1554 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
1555 * sysdeps/x86_64/dl-trampoline.h: Likewise.
1556 * sysdeps/x86_64/ifuncmain8.c: New file.
1557 * sysdeps/x86_64/ifuncmod8.c: Likewise.
1558 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
1559 Removed.
1560 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
1561 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
1562 Change rtld_savespace_sse to __glibc_unused2.
1563 (RTLD_CHECK_FOREIGN_CALL): Removed.
1564 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
1565 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
1566 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
1567
1568 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1569
1570 * sysdeps/aarch64/bzero.S (__bzero): Remove.
1571
1572 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1573
1574 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
1575 Unconditionally set __fpcr to avoid uninialized warning.
1576 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
1577
1578 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1579
1580 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
1581 is corrupt.
1582
1583 * malloc/arena.c (arena_get2): Drop unused argument.
1584 (arena_lock): Adjust.
1585 (arena_get_retry): Likewise.
1586
1587 2015-08-24 Andreas Schwab <schwab@suse.de>
1588
1589 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
1590 Don't define.
1591 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1592 (__ASSUME_IPC64): Don't undef.
1593 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
1594 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1595 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1596 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
1597 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
1598 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
1599 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
1600 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
1601 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
1602 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
1603 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
1604 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
1605 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
1606 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
1607 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
1608 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
1609 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
1610 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
1611 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
1612 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
1613 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
1614
1615 2015-08-21 Mike Frysinger <vapier@gentoo.org>
1616
1617 * manual/Makefile (install): Only build manual when perl is available.
1618
1619 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1620
1621 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
1622 '#undef memcpy' by '#undef memchr'.
1623
1624 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1625
1626 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
1627 memchr not point to the internal __GI_memchr implementation.
1628
1629 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1630
1631 * timezone/Makefile (CFLAGS-zdump.c): Remove
1632 -Wno-strict-prototypes.
1633 (CFLAGS-zic.c): Likewise.
1634 (CFLAGS-ialloc.c): Likewise.
1635 (CFLAGS-scheck.c): Likewise.
1636
1637 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
1638 -Wno-error=undef.
1639
1640 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1641
1642 * i386/i686/multiarch/strcasestr-c.c: Removed.
1643 * x86_64/multiarch/strcasestr.c: Likewise.
1644 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1645 Remove strcasestr.
1646
1647 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1648
1649 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
1650
1651 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
1652 variables for high and low parts before possibly modifying them.
1653
1654 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1655
1656 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
1657 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
1658 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
1659 of "multiarch/init-arch.h".
1660 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
1661 * sysdeps/x86/init-arch.h: This.
1662
1663 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1664
1665 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
1666 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
1667
1668 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
1669
1670 [BZ #17787]
1671 * manual/macros.texi: Add twoexp macro.
1672 * manual/filesys.texi: Fix exponents.
1673 * manual/llio.texi: Likewise.
1674 * manual/stdio.texi: Likewise.
1675
1676 2015-08-20 Florian Weimer <fweimer@redhat.com>
1677
1678 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
1679 incorrect use.
1680
1681 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1682
1683 [BZ #18370]
1684 * math/s_csqrt.c (__csqrt): Force underflow exception for results
1685 whose real or imaginary part has small absolute value.
1686 * math/s_csqrtf.c (__csqrtf): Likewise.
1687 * math/s_csqrtl.c (__csqrtl): Likewise.
1688 * math/auto-libm-test-in: Add more tests of csqrt.
1689 * math/auto-libm-test-out: Regenerated.
1690 * sysdeps/i386/fpu/libm-test-ulps: Update.
1691
1692 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1693
1694 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
1695 __ppc_set_ppr_very_low): New functions.
1696 * manual/platform.texi: Add documentation about
1697 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
1698
1699 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
1700
1701 * string/stpncpy.c (stpncpy): Improve performance using
1702 __strnlen/memcpy/memset.
1703
1704 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
1705
1706 [BZ #18796]
1707 * scripts/test-installation.pl: Don't add -lmvec to build options if
1708 libmvec wasn't built.
1709
1710 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1711
1712 [BZ #14341]
1713 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
1714 case when there is a gap between DT_REL and DT_JMPREL sections.
1715 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
1716 (LDFLAGS-tst-split-dynreloc): New.
1717 (tst-split-dynreloc-ENV): Likewise.
1718 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
1719 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
1720
1721 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1722
1723 [BZ #18822]
1724 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
1725 attribute_hidden.
1726 (__xstat64_conv): Likewise.
1727 (__xstat32_conv): Likewise.
1728
1729 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1730
1731 [BZ #18822]
1732 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
1733 Don't load %ebx when calling __setcontext. Call __setcontext
1734 with HIDDEN_JUMPTARGET.
1735 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
1736 libc_hidden_def.
1737
1738 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1739
1740 * sysdeps/i386/i686/Makefile
1741 [$(subdir) == string] (sysdep_routines): Moved to ...
1742 * sysdeps/i386/Makefile: Here.
1743 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
1744 * sysdeps/i386/cacheinfo.c: Here.
1745 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
1746 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
1747 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
1748 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
1749
1750 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1751
1752 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
1753 __i586__ is defined.
1754 (HAS_I686): Defined to 1 if __i686__ is defined.
1755
1756 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1757
1758 * elf/Makefile [$(have-z-execstack) = yes]
1759 (CPPFLAGS-tst-execstack.c): New variable.
1760
1761 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
1762 conditional to [defined UTMPX || _HAVE_UT_TYPE].
1763 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
1764 UTMPX || _HAVE_UT_TV].
1765 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
1766 UTMPX || _HAVE_UT_TV - 0].
1767
1768 2015-08-18 Joseph Myers <joseph@codesourcery.com>
1769
1770 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
1771 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
1772 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
1773
1774 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1775
1776 * sysdeps/powerpc/dl-procinfo.c:
1777 (_dl_powerpc_cap_flags): Added missing strings for some
1778 hwcap features.
1779 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
1780
1781 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
1782
1783 Port the 0x7efe...feff pattern to GCC 6.
1784 See Steve Ellcey's bug report in:
1785 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
1786 * string/memrchr.c (MEMRCHR):
1787 * string/rawmemchr.c (RAWMEMCHR):
1788 * string/strchr.c (strchr):
1789 * string/strchrnul.c (STRCHRNUL):
1790 Rewrite code to avoid issues with signed shift overflow.
1791
1792 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
1793
1794 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
1795 whether cpuid is available only if HAS_CPUID is 0.
1796 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
1797 (HAS_I586): Likewise.
1798 (HAS_I686): Likewise.
1799
1800 2015-08-18 Zack Weinberg <zackw@panix.com>
1801
1802 * misc/Versions (libc): Add GLIBC_2.23.
1803
1804 2015-08-18 Alan Modra <amodra@gmail.com>
1805
1806 [BZ #18421]
1807 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
1808 .Lp__global.
1809 (_start): Load %dp via .Lp__global.
1810 [!SHARED]: Use .section .rodata.
1811
1812 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1813
1814 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
1815 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
1816
1817 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1818
1819 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
1820 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
1821
1822 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1823
1824 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
1825 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
1826
1827 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1828
1829 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
1830 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
1831
1832 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1833
1834 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
1835 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
1836
1837 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1838
1839 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
1840 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
1841
1842 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1843
1844 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
1845
1846 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1847
1848 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
1849 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
1850 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1851 (__ASSUME_LWS_CAS): Delete.
1852
1853 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1854
1855 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
1856 * sysdeps/hppa/configure: Regenerated.
1857 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
1858 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
1859 * sysdeps/hppa/nptl/tls.h: Likewise.
1860
1861 2015-08-17 Joseph Myers <joseph@codesourcery.com>
1862
1863 [BZ #18823]
1864 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
1865 for scaling up small arguments.
1866 * math/s_csqrtf.c (__csqrtf): Likewise.
1867 * math/s_csqrtl.c (__csqrtl): Likewise.
1868 * math/auto-libm-test-in: Add more tests of csqrt.
1869 * math/auto-libm-test-out: Regenerated.
1870
1871 2015-08-17 Andreas Schwab <schwab@suse.de>
1872
1873 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
1874 version set GLIBC_2.19.
1875
1876 2015-08-16 Zack Weinberg <zackw@panix.com>
1877
1878 [BZ #18681]
1879 * misc/regexp.h: This interface is no longer supported.
1880 Remove all contents, leaving only an #error directive.
1881 * misc/regexp.c (loc1, loc2, locs, step, advance):
1882 Demote to compatibility symbols.
1883
1884 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
1885
1886 [BZ #18084]
1887 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
1888 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
1889 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
1890 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
1891 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
1892 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
1893 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
1894 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
1895 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
1896
1897 2015-08-15 Zack Weinberg <zackw@panix.com>
1898
1899 [BZ #18795]
1900 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
1901 buffer length is known to be too large, not if it's known to be
1902 small enough.
1903 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
1904 overflow at runtime, involving a length parameter, twice: once
1905 with a compile-time constant length parameter, once without.
1906
1907 2015-08-14 Joseph Myers <joseph@codesourcery.com>
1908
1909 [BZ #18824]
1910 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
1911 scaling x * y up instead of down.
1912 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1913 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1914 * math/auto-libm-test-in: Add more tests of fma.
1915 * math/auto-libm-test-out: Regenerated.
1916
1917 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1918
1919 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1920
1921 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1922
1923 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
1924 unnecessary movq.
1925 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
1926 Likewise.
1927
1928 2015-08-13 Joseph Myers <joseph@codesourcery.com>
1929
1930 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1931 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
1932 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
1933 and tgamma.
1934 * math/auto-libm-test-out: Regenerated.
1935 * sysdeps/i386/fpu/libm-test-ulps: Update.
1936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1937
1938 [BZ #16520]
1939 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
1940 (__tanh): Force underflow exception for arguments with small
1941 absolute value.
1942 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
1943 (__tanhf): Force underflow exception for arguments with small
1944 absolute value.
1945 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
1946 (__tanhl): Force underflow exception for arguments with small
1947 absolute value.
1948 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
1949 (__tanhl): Force underflow exception for arguments with small
1950 absolute value.
1951 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
1952 (__tanhl): Force underflow exception for arguments with small
1953 absolute value.
1954 * math/auto-libm-test-in: Add more tests of tanh.
1955 * math/auto-libm-test-out: Regenerated.
1956 * sysdeps/i386/fpu/libm-test-ulps: Update.
1957
1958 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1959
1960 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
1961 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
1962
1963 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1964
1965 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
1966 <cpuid.h>.
1967
1968 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1969
1970 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
1971 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
1972
1973 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1974
1975 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
1976 Remove $(objpfx)init-arch.o.
1977 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
1978 init-arch.
1979 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
1980 (INIT_ARCH_EXT): Defined as empty.
1981 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
1982 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
1983 __init_cpu_features call. Replace HAS_XXX with
1984 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1985 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
1986 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
1987 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
1988 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
1989 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1990 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
1991 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
1992 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1993 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
1994 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
1995 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1996 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
1997 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
1998 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1999 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
2000 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
2001 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2002 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2003 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
2004 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
2005 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2006 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
2007 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
2008 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2009 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
2010 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
2011 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2012 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
2013 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
2014 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2015 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
2016 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
2017 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2018 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
2019 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
2020
2021 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2022
2023 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
2024 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2025 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2026 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2027 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
2028 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
2029 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
2030 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
2031 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
2032 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
2033 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
2034 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
2035 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2036 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2037 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2038 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2039 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2040 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2041 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2042 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2043 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2044 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2045 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2046 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2047 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2048 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2049 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2050 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2051 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2052 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2053 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2054 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2055 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2056 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2057 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2058 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2059 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2060 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2061 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2062 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2063 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2064 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2065 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2066
2067 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2068
2069 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
2070 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2071 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
2072 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2073 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2074 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
2075 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2076 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
2077 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
2078 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2079 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2080 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
2081 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
2082 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
2083 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
2084 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
2085 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
2086 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
2087 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
2088 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
2089 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2090 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
2091 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
2092 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2093 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2094 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
2095 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
2096 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
2097 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2098 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2099 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2100 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2101 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2102 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2103 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2104 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2105 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2106 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2107 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2108 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2109 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2110 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2111 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2112
2113 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2114
2115 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
2116 (dl_platform_init): Call init_cpu_features.
2117 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
2118 * sysdeps/i386/i686/cacheinfo.c
2119 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
2120 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
2121 * sysdeps/i386/i686/multiarch/Versions: Removed.
2122 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
2123 Removed.
2124 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
2125 * sysdeps/unix/sysv/linux/x86/Makefile
2126 (libpthread-sysdep_routines): Remove init-arch.
2127 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
2128 <sysdeps/x86_64/dl-procinfo.c> instead of
2129 sysdeps/generic/dl-procinfo.c>.
2130 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
2131 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
2132 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
2133 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
2134 [$(subdir) == elf] (tests-static): Add
2135 tst-get-cpu-features-static.
2136 * sysdeps/x86/Versions: New file.
2137 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
2138 * sysdeps/x86/cpu-features.c: Likewise.
2139 * sysdeps/x86/cpu-features.h: Likewise.
2140 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
2141 * sysdeps/x86/libc-start.c: Likewise.
2142 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2143 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
2144 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
2145 * sysdeps/x86_64/dl-procinfo.c: Likewise.
2146 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
2147 Assume USE_MULTIARCH is defined and don't check it.
2148 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
2149 (is_amd): Likewise.
2150 (max_cpuid): Likewise.
2151 (intel_check_word): Likewise.
2152 (__cache_sysconf): Don't call __init_cpu_features.
2153 (__x86_preferred_memory_instruction): Removed.
2154 (init_cacheinfo): Don't call __init_cpu_features. Replace
2155 __cpu_features with GLRO(dl_x86_cpu_features).
2156 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
2157 (dl_platform_init): Call init_cpu_features.
2158 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
2159 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
2160 * sysdeps/x86_64/multiarch/Versions: Removed.
2161 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
2162 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
2163 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
2164 Removed.
2165 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
2166
2167 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2168
2169 [BZ #18820]
2170 * libio/Makefile (test-fmemopen-mem): New test.
2171 * libio/test-fmemopen.c (do_bz18820): New test.
2172 * libio/fmemopen.c (__fmemopen): Fix memory leak.
2173 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
2174
2175 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2176
2177 [BZ #16734]
2178 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
2179 (FREE_BUF): Delete.
2180 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
2181 * libio/genops.c (_IO_setb): Use malloc and free directly.
2182 (_IO_default_doallocate, _IO_default_finish): Likewise.
2183 ( _IO_unbuffer_all): Likewise.
2184 ( libc_freeres_fn): Likewise.
2185 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2186 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
2187 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
2188 (_IO_wdefault_doallocate): Likewise.
2189
2190 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2191
2192 [BZ #18086]
2193 * sysdeps/posix/nice.c (nice): Restore old errno.
2194 * posix/tst-nice.c (do_test): Add test for BZ #18086.
2195
2196 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
2197
2198 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
2199
2200 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2201
2202 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
2203 __bcopy and add a weak_alias to bcopy.
2204 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
2205 for static build.
2206
2207 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
2208 cleanup macro usage.
2209 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
2210 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
2211 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2212 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
2213 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2214 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
2215 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
2216 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2217 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2218 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
2219 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2220 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
2221 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2222 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
2223 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2224 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
2225 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
2226 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
2227 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2228
2229 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
2230 libc_hidden_def.
2231 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
2232
2233 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
2234 (sysdep_routines): Add strstr-ppc64.
2235 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
2236
2237 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
2238
2239 [BZ #18778]
2240 * elf/Makefile (tests): Add Add tst-nodelete2.
2241 (modules-names): Add tst-nodelete2mod.
2242 (tst-nodelete2mod.so-no-z-defs): New.
2243 ($(objpfx)tst-nodelete2): Likewise.
2244 ($(objpfx)tst-nodelete2.out): Likewise.
2245 (LDFLAGS-tst-nodelete2): Likewise.
2246 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
2247 out of loop through all loaded libraries.
2248 * elf/tst-nodelete2.c: New file.
2249 * elf/tst-nodelete2mod.c: Likewise.
2250 * elf/tst-znodelete-zlib.cc: Delete.
2251
2252 2015-08-11 Andreas Schwab <schwab@suse.de>
2253
2254 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
2255 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
2256 (__openat64_nocancel): Likewise.
2257
2258 2015-08-11 Joseph Myers <joseph@codesourcery.com>
2259
2260 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
2261 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
2262 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
2263 * math/auto-libm-test-out: Regenerated.
2264 * sysdeps/i386/fpu/libm-test-ulps: Update.
2265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2266
2267 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2268
2269 [BZ #18790]
2270 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
2271 threshold for returning +/- 1.
2272 * math/auto-libm-test-in: Add more tests of tanh.
2273 * math/auto-libm-test-out: Regenerated.
2274 * sysdeps/i386/fpu/libm-test-ulps: Update.
2275
2276 2015-08-10 Andreas Schwab <schwab@suse.de>
2277
2278 [BZ #18781]
2279 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
2280 MORE_OFLAGS to oflag.
2281 * io/test-lfs.c (do_test): Test openat64.
2282
2283 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2284
2285 [BZ #18789]
2286 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
2287 smaller threshold for returning the argument.
2288 * math/auto-libm-test-in: Add more tests of sinh.
2289 * math/auto-libm-test-out: Regenerated.
2290 * sysdeps/i386/fpu/libm-test-ulps: Update.
2291
2292 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
2293
2294 [BZ #18674]
2295 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
2296 break.
2297
2298 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
2299
2300 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
2301 (generated): Don't add $(addprefix z.,$(tzfiles)).
2302
2303 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2304
2305 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
2306 * scripts/sysd-rules.awk: Likewise.
2307
2308 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2309
2310 * iconvdata/tst-tables.sh: Change echo -n to printf.
2311 * nss/db-Makefile: Likewise.
2312 * posix/tst-getconf.sh: Likewise.
2313 * stdio-common/tst-unbputc.sh: Likewise.
2314
2315 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2316
2317 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
2318 MADV_*_PAGES defines behind this feature check.
2319
2320 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
2321
2322 [BZ #18480]
2323 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
2324 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
2325 Define.
2326 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
2327 LOAD_REGS_5, LOAD_REGS_6): Update.
2328 (INTERNAL_SYSCALL): Update using new LOAD defines.
2329 (INTERNAL_SYSCALL_NCS): Likewise.
2330 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
2331
2332 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2333
2334 [BZ #16734]
2335 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
2336
2337 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2338
2339 [BZ #17905]
2340 * catgets/Makefile (tst-catgets-mem): New test.
2341 * catgets/catgets.c (catopen): Don't use unbounded alloca.
2342 * catgets/open_catalog.c (__open_catalog): Likewise.
2343 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
2344
2345 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
2346
2347 [BZ #18787]
2348 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
2349 clobber registers.
2350 (atomic_compare_and_exchange_val_acq): Use register asms to assign
2351 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
2352 Cast return to __typeof (oldval).
2353
2354 2015-08-08 Mike Frysinger <vapier@gentoo.org>
2355
2356 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
2357 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
2358 and delete sys/syscall.h include.
2359
2360 2015-08-07 Joseph Myers <joseph@codesourcery.com>
2361
2362 [BZ #16517]
2363 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
2364 (tan): Force underflow exception for arguments with small absolute
2365 value.
2366 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
2367 (__kernel_tanf): Force underflow exception for arguments with
2368 small absolute value.
2369 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
2370 (__kernel_tanl): Force underflow exception for arguments with
2371 small absolute value.
2372 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
2373 (__kernel_tanl): Force underflow exception for arguments with
2374 small absolute value.
2375 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
2376 (__kernel_tanl): Force underflow exception for arguments with
2377 small absolute value.
2378 * math/auto-libm-test-in: Add more tests of tan.
2379 * math/auto-libm-test-out: Regenerated.
2380
2381 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2382
2383 Fix sysdeps/i386/fpu/s_scalbn.S build
2384
2385 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
2386
2387 2015-08-07 Mike Frysinger <vapier@gentoo.org>
2388
2389 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2390
2391 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2392
2393 Fix gcrt0.o compilation
2394
2395 When static-start-installed-name is different from
2396 start-installed-name, we must not use the shared objects.
2397
2398 * csu/Makefile
2399 (extra-objs): Add gmon-start.o when building shared library and
2400 $(static-start-installed-name) is different from
2401 $(start-installed-name).
2402 $(objpfx)g$(static-start-installed-name): When building shared
2403 library and $(static-start-installed-name) is different from
2404 $(static-start-installed-name), revert to non-shared rule,
2405 i.e. using $(objpfx)% and gmon-start.o.
2406
2407 2015-08-06 Joseph Myers <joseph@codesourcery.com>
2408
2409 [BZ #16519]
2410 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
2411 (__ieee754_sinh): Force underflow exception for arguments with
2412 small absolute value.
2413 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
2414 (__ieee754_sinhf): Force underflow exception for arguments with
2415 small absolute value.
2416 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
2417 (__ieee754_sinhl): Force underflow exception for arguments with
2418 small absolute value.
2419 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
2420 (__ieee754_sinhl): Force underflow exception for arguments with
2421 small absolute value.
2422 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
2423 (__ieee754_sinhl): Force underflow exception for arguments with
2424 small absolute value.
2425 * math/auto-libm-test-in: Add more tests of sinh.
2426 * math/auto-libm-test-out: Regenerated.
2427 * sysdeps/i386/fpu/libm-test-ulps: Update.
2428
2429 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2430
2431 * libio/oldfileops.c: Include unistd.h.
2432
2433 2015-08-06 Mike Frysinger <vapier@gentoo.org>
2434
2435 * stdlib/isomac.c: Include ctype.h.
2436
2437 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
2438
2439 * dirent/tst-seekdir.c (main): Converted to ...
2440 (do_test): ... this.
2441 (TEST_FUNCTION): New macro.
2442 Include test-skeleton.c.
2443 * elf/tst-dlmodcount.c (main): Converted to ...
2444 (do_test): ... this.
2445 (TEST_FUNCTION): New macro.
2446 Include test-skeleton.c.
2447 * elf/tst-order-main.c (main): Converted to ...
2448 (do_test): ... this.
2449 (TEST_FUNCTION): New macro.
2450 Include test-skeleton.c.
2451 * elf/tst-pie2.c (main): Converted to ...
2452 (do_test): ... this.
2453 (TEST_FUNCTION): New macro.
2454 Include test-skeleton.c.
2455 * inet/tst-ether_aton.c (main): Converted to ...
2456 (do_test): ... this.
2457 (TEST_FUNCTION): New macro.
2458 Include test-skeleton.c.
2459 * misc/tst-mntent.c (main): Converted to ...
2460 (do_test): ... this.
2461 (TEST_FUNCTION): New macro.
2462 Include test-skeleton.c.
2463 * misc/tst-tsearch.c (main): Converted to ...
2464 (do_test): ... this.
2465 (TEST_FUNCTION): New macro.
2466 Include test-skeleton.c.
2467 * posix/tst-regexloc.c (main): Converted to ...
2468 (do_test): ... this.
2469 (TEST_FUNCTION): New macro.
2470 Include test-skeleton.c.
2471 * resolv/tst-aton.c (main): Converted to ...
2472 (do_test): ... this.
2473 (TEST_FUNCTION): New macro.
2474 Include test-skeleton.c.
2475 * stdio-common/test-fwrite.c (main): Converted to ...
2476 (do_test): ... this.
2477 (TEST_FUNCTION): New macro.
2478 Include test-skeleton.c.
2479 * stdio-common/tst-ferror.c (main): Converted to ...
2480 (do_test): ... this.
2481 (TEST_FUNCTION): New macro.
2482 Include test-skeleton.c.
2483 * stdio-common/tst-printf.c (main): Converted to ...
2484 (do_test): ... this.
2485 (TEST_FUNCTION): New macro.
2486 Include test-skeleton.c.
2487 * stdio-common/tst-printfsz.c (main): Converted to ...
2488 (do_test): ... this.
2489 (TEST_FUNCTION): New macro.
2490 Include test-skeleton.c.
2491 * stdlib/tst-strtod.c (main): Converted to ...
2492 (do_test): ... this.
2493 (TEST_FUNCTION): New macro.
2494 Include test-skeleton.c.
2495 * string/tst-strlen.c (main): Converted to ...
2496 (do_test): ... this.
2497 (TEST_FUNCTION): New macro.
2498 Include test-skeleton.c.
2499 * string/tst-svc.c (main): Converted to ...
2500 (do_test): ... this.
2501 (TEST_FUNCTION): New macro.
2502 Include test-skeleton.c.
2503 * time/tst-strptime.c (main): Converted to ...
2504 (do_test): ... this.
2505 (TEST_FUNCTION): New macro.
2506 Include test-skeleton.c.
2507 * timezone/tst-timezone.c (main): Converted to ...
2508 (do_test): ... this.
2509 (TEST_FUNCTION): New macro.
2510 Include test-skeleton.c.
2511
2512 2015-08-05 Zack Weinberg <zackw@panix.com>
2513
2514 * misc/regexp.h: Update comments.
2515
2516 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
2517
2518 [BZ #18635]
2519 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
2520 before return label.
2521
2522 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2523
2524 [BZ #18661]
2525 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
2526 when calling __errno_location.
2527 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
2528 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
2529
2530 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2531
2532 [BZ #18661]
2533 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
2534 (__lll_timedwait_tid): Align stack to 16 bytes when calling
2535 __gettimeofday.
2536
2537 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2538
2539 [BZ #18661]
2540 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2541 (__start_context): Don't use pop to restore %rdi so that stack
2542 is aligned to 16 bytes when calling __setcontext.
2543
2544 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2545
2546 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
2547 only for libc.
2548 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2549
2550 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2551
2552 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
2553 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
2554 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
2555
2556 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2557
2558 * string/memccpy.c (memccpy):
2559 Improve performance by using memchr/memcpy/__mempcpy.
2560
2561 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2562
2563 * string/strncpy.c (strncpy):
2564 Improve performance by using __strnlen/memcpy.
2565
2566 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2567
2568 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2569 Optimize to avoid an unnecessary FPCR read.
2570
2571 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2572
2573 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2574 Optimize to reduce FPCR/FPSR accesses.
2575
2576 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2577
2578 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
2579 dead->data[category] != NULL.
2580
2581 2015-08-05 Joseph Myers <joseph@codesourcery.com>
2582
2583 [BZ #18647]
2584 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
2585 and |x| close to 1, use absolute value of x when computing log.
2586 * math/auto-libm-test-in: Add more tests of pow.
2587 * math/auto-libm-test-out: Regenerated.
2588
2589 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2590
2591 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
2592 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
2593 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
2594
2595 2015-08-05 Marko Myllynen <myllynen@redhat.com>
2596
2597 [BZ #18525]
2598 * locales/km_KH: Remove timezone definition.
2599 * locales/lo_LA: Likewise.
2600 * locales/my_MM: Likewise.
2601 * locales/nan_TW@latin: Likewise.
2602 * locales/th_TH: Likewise.
2603 * locales/uk_UA: Likewise.
2604
2605 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
2606
2607 [BZ #18265]
2608 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
2609 (wcsncat): Likewise.
2610 (wcscmp): Likewise.
2611 (wcsncmp): Likewise.
2612
2613 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2614
2615 * test-skeleton.c (usage): New function.
2616 (main): Call usage when opt is '?'.
2617
2618 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2619
2620 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
2621 before first use.
2622
2623 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2624
2625 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
2626 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
2627 in there too.
2628
2629 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
2630
2631 * version.h (RELEASE): Set to "development".
2632 (VERSION): Set to "2.22.90"
2633
2634 * version.h (RELEASE): Set to "stable".
2635 (VERSION): Set to "2.22"
2636 * include/features.h (__GLIBC_MINOR__): Set to 22.
2637
2638 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
2639
2640 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
2641 Restructure macro to avoid "value computed is not used" warning.
2642 (atomic_compare_and_exchange_val_acq): Likewise.
2643
2644 2015-08-04 Andreas Schwab <schwab@suse.de>
2645
2646 [BZ #18635]
2647 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
2648 ret.
2649 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
2650
2651 2015-08-01 Carlos O'Donell <carlos@redhat.com>
2652
2653 * po/pl.po: Updated translation.
2654 * po/uk.po: Likewise.
2655 * po/fi.po: Likewise.
2656 * po/ko.po: Likewise.
2657 * po/ru.po: Likewise.
2658 * po/vi.po: Likewise.
2659
2660 2015-07-31 Zack Weinberg <zackw@panix.com>
2661
2662 [BZ #18681]
2663 * regexp.h: Add unconditional #warning stating that this header
2664 will be removed soon. Revise banner comment to match.
2665 (compile): Consistently use ERROR instead of RETURN to report
2666 errors (partial fix for bz#18681).
2667 * regexp.c: Don't include regexp.h. Remove some unnecessary
2668 declarations.
2669
2670 2015-07-31 Carlos O'Donell <carlos@redhat.com>
2671
2672 * po/libc.pot: Regenerated.
2673
2674 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
2675
2676 [BZ #18740]
2677 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
2678 float-vlen4-arch-ext-cflags): Removed.
2679 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
2680 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
2681
2682 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2683
2684 [BZ #14113]
2685 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
2686 aligned to __aligned__.
2687 (pthread_cond_t, pthread_rwlock_t): Likewise.
2688
2689 2015-07-30 Torvald Riegel <triegel@redhat.com>
2690
2691 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
2692
2693 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2694
2695 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
2696 (struct sigaction): Change sa_flags from a long to an int, and add
2697 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
2698
2699 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2700
2701 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
2702 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
2703 sysdeps/generic/sysdep.h include.
2704 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
2705 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
2706 sysdeps/hppa/sysdep.h.
2707 (ENTRY, PSEUDO): Undefine before defining.
2708
2709 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2710
2711 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
2712 from scratch to use INTERNAL_SYSCALL.
2713
2714 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
2715
2716 [BZ #18078]
2717 * scripts/check-localplt.awk: Support alternate relocations.
2718 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
2719 sections.
2720 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
2721 malloc entries with + REL R_386_GLOB_DAT.
2722 * sysdeps/x86_64/localplt.data: New file.
2723
2724 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
2725
2726 [BZ #18731]
2727 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
2728 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2729 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2730
2731 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2732
2733 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
2734
2735 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2736
2737 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
2738 directly in terms of __sync_fetch_and_add and delete (int) cast.
2739
2740 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2741
2742 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
2743 the -D_ASM_IA64_CURRENT_H flag.
2744
2745 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2746
2747 [BZ #18641]
2748 * pwd/pwd.h (putpwent): Delete __nonnull markings.
2749
2750 2015-07-27 Andreas Schwab <schwab@suse.de>
2751
2752 * conform/conformtest.pl (checknamespace): Filter out string
2753 literals while tokenizing.
2754
2755 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2756
2757 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2758 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
2759 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2760
2761 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2762
2763 * nptl/tst-join7mod.c: Add #include <string.h>.
2764
2765 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2766
2767 * sysdeps/nios2/libm-test-ulps: Update.
2768
2769 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2770
2771 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
2772 Fix order of arguments to the rt_sigprocmask syscall.
2773 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
2774 Likewise.
2775
2776 2015-07-24 Roland McGrath <roland@hack.frob.com>
2777
2778 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
2779
2780 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2781
2782 [BZ #18457]
2783 * nptl/Makefile (tests): New test case tst-join7.
2784 (modules-names): New test case module tst-join7mod.
2785 * nptl/tst-join7.c: New file.
2786 * nptl/tst-join7mod.c: New file.
2787 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
2788 all translation units in libc.so, libpthread.so and rtld.
2789
2790 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2791
2792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2793
2794 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
2795
2796 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
2797 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2798 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2799 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2800 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2801 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2802 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2803 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2804 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2805 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2806 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2807 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2808 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
2809 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
2810 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
2811 implementation.
2812
2813 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2814
2815 [BZ #17711]
2816 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2817 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
2818 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2819 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2820 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
2821 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2822
2823 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2824
2825 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
2826 instead of just saying load lock in the comments.
2827
2828 2015-07-23 Roland McGrath <roland@hack.frob.com>
2829
2830 * sysdeps/unix/Subdirs: Moved ...
2831 * sysdeps/posix/Subdirs: ... here.
2832 * login/pty.h (struct termios, struct winsize): Add forward decls.
2833 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
2834 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
2835 * sysdeps/arm/nacl/libc.abilist: Updated.
2836 * sysdeps/nacl/libutil.abilist: New file.
2837
2838 * bits/signum.h: Update comments to mention 1003.1-2013 too.
2839 (SIGWINCH): New macro.
2840
2841 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
2842 * sysdeps/arm/nacl/libc.abilist: Add it.
2843
2844 2015-07-23 Mike Frysinger <vapier@gentoo.org>
2845
2846 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
2847
2848 2015-07-23 Mike Frysinger <vapier@gentoo.org>
2849
2850 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2851 Swap __glibc_reserved0 and sa_flags order.
2852
2853 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2854
2855 [BZ #18657]
2856 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
2857 are pending TLS destructor calls.
2858 * include/link.h (struct link_map): Add concurrency note for
2859 L_TLS_DTOR_COUNT.
2860 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
2861 Don't touch the link map flag. Atomically increment
2862 l_tls_dtor_count.
2863 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
2864 Avoid taking the load lock and don't touch the link map flag.
2865 * stdlib/tst-tls-atexit-nodelete.c: New test case.
2866 * stdlib/Makefile (tests): Use it.
2867 * stdlib/tst-tls-atexit.c (do_test): dlopen
2868 tst-tls-atexit-lib.so again before dlclose. Add conditionals
2869 to allow tst-tls-atexit-nodelete test case to use it.
2870
2871 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2872
2873 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
2874 to bits/types.h.
2875 (msgqnum_t): New typedef.
2876 (msglen_t): Likewise.
2877 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
2878 and msg_qbytes type to msglen_t.
2879
2880 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2881
2882 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
2883 pad0 to __glibc_reserved0.
2884 (struct stat64): Likewise.
2885
2886 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2887
2888 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2889 Change sa_flags from a long to an int and add __glibc_reserved0 before
2890 it for padding.
2891
2892 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2893
2894 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
2895 anonymous by deleting "siginfo" name.
2896
2897 2015-07-21 Roland McGrath <roland@hack.frob.com>
2898
2899 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
2900 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
2901 rather than __nacl_irt_filename.
2902 * sysdeps/nacl/xstat.c (__xstat): Likewise.
2903
2904 * NEWS: New item for arm-nacl port.
2905 * sysdeps/arm/nacl/libc.abilist: New file.
2906 * sysdeps/nacl/ld.abilist: New file.
2907 * sysdeps/nacl/libBrokenLocale.abilist: New file.
2908 * sysdeps/nacl/libanl.abilist: New file.
2909 * sysdeps/nacl/libcrypt.abilist: New file.
2910 * sysdeps/nacl/libdl.abilist: New file.
2911 * sysdeps/nacl/libm.abilist: New file.
2912 * sysdeps/nacl/libpthread.abilist: New file.
2913 * sysdeps/nacl/libresolv.abilist: New file.
2914 * sysdeps/nacl/librt.abilist: New file.
2915
2916 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
2917
2918 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
2919 __startcontext to initialize the new context.
2920 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
2921 up CFI directive to forbid further backtracing.
2922
2923 2015-07-21 Marko Myllynen <myllynen@redhat.com>
2924
2925 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
2926 reference.
2927 * charmaps/ANSI_X3.4-1968: Likewise.
2928 * charmaps/BS_4730: Likewise.
2929 * charmaps/BS_VIEWDATA: Likewise.
2930 * charmaps/CP1250: Likewise.
2931 * charmaps/CP1251: Likewise.
2932 * charmaps/CP1252: Likewise.
2933 * charmaps/CP1253: Likewise.
2934 * charmaps/CP1254: Likewise.
2935 * charmaps/CP1255: Likewise.
2936 * charmaps/CP1256: Likewise.
2937 * charmaps/CSN_369103: Likewise.
2938 * charmaps/EBCDIC-DK-NO: Likewise.
2939 * charmaps/GB_1988-80: Likewise.
2940 * charmaps/GREEK-CCITT: Likewise.
2941 * charmaps/GREEK7: Likewise.
2942 * charmaps/INIS-8: Likewise.
2943 * charmaps/ISIRI-3342: Likewise.
2944 * charmaps/ISO_2033-1983: Likewise.
2945 * charmaps/ISO_5427-EXT: Likewise.
2946 * locales/POSIX: Likewise.
2947 * locales/ar_SA: Likewise.
2948 * locales/be_BY: Likewise.
2949 * locales/be_BY@latin: Likewise.
2950 * locales/ca_ES: Likewise.
2951 * locales/cs_CZ: Likewise.
2952 * locales/da_DK: Likewise.
2953 * locales/de_BE: Likewise.
2954 * locales/de_CH: Likewise.
2955 * locales/de_LU: Likewise.
2956 * locales/en_AU: Likewise.
2957 * locales/en_BW: Likewise.
2958 * locales/en_CA: Likewise.
2959 * locales/en_DK: Likewise.
2960 * locales/en_GB: Likewise.
2961 * locales/en_IE: Likewise.
2962 * locales/en_NZ: Likewise.
2963 * locales/en_ZA: Likewise.
2964 * locales/en_ZW: Likewise.
2965 * locales/es_AR: Likewise.
2966 * locales/es_BO: Likewise.
2967 * locales/es_CL: Likewise.
2968 * locales/es_CO: Likewise.
2969 * locales/es_DO: Likewise.
2970 * locales/es_EC: Likewise.
2971 * locales/es_ES: Likewise.
2972 * locales/es_HN: Likewise.
2973 * locales/es_MX: Likewise.
2974 * locales/es_PA: Likewise.
2975 * locales/es_PE: Likewise.
2976 * locales/es_PY: Likewise.
2977 * locales/es_SV: Likewise.
2978 * locales/es_US: Likewise.
2979 * locales/es_UY: Likewise.
2980 * locales/es_VE: Likewise.
2981 * locales/et_EE: Likewise.
2982 * locales/fa_IR: Likewise.
2983 * locales/fo_FO: Likewise.
2984 * locales/fr_CA: Likewise.
2985 * locales/fr_CH: Likewise.
2986 * locales/gv_GB: Likewise.
2987 * locales/he_IL: Likewise.
2988 * locales/hr_HR: Likewise.
2989 * locales/id_ID: Likewise.
2990 * locales/is_IS: Likewise.
2991 * locales/it_CH: Likewise.
2992 * locales/iw_IL: Likewise.
2993 * locales/kl_GL: Likewise.
2994 * locales/ko_KR: Likewise.
2995 * locales/kw_GB: Likewise.
2996 * locales/lg_UG: Likewise.
2997 * locales/lt_LT: Likewise.
2998 * locales/lv_LV: Likewise.
2999 * locales/mi_NZ: Likewise.
3000 * locales/nhn_MX: Likewise.
3001 * locales/nl_BE: Likewise.
3002 * locales/pl_PL: Likewise.
3003 * locales/sk_SK: Likewise.
3004 * locales/sl_SI: Likewise.
3005 * locales/sv_FI: Likewise.
3006 * locales/tl_PH: Likewise.
3007 * locales/tr_TR: Likewise.
3008 * locales/vi_VN: Likewise.
3009
3010 2015-07-21 Khem Raj <raj.khem@gmail.com>
3011
3012 [BZ #17475]
3013 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
3014 of tu_IN and bh_IN.
3015
3016 2015-07-21 Mike Frysinger <vapier@gentoo.org>
3017
3018 [BZ #18694]
3019 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
3020 bits/wordsize.h.
3021 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
3022
3023 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3024
3025 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
3026 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
3027 (spawn_thread): New function.
3028 (load): Rename to reg_dtor_and_close. Move dlopen to...
3029 (do_test): ... here. Use IS_LOADED to test for its
3030 availability.
3031
3032 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
3033
3034 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3035
3036 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
3037
3038 [BZ #18696]
3039 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
3040 si_addr_bnd.
3041 (si_lower): New.
3042 (si_upper): Likewise.
3043
3044 2015-07-16 David S. Miller <davem@davemloft.net>
3045
3046 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
3047
3048 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3049
3050 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
3051 buffer.
3052 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
3053 fail output information.
3054
3055 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3056
3057 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
3058 and strstr-ppc64..
3059 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3060 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
3061 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
3062 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
3063 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
3064
3065 2015-07-16 Mike Frysinger <vapier@gentoo.org>
3066
3067 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3068 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3069 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3070 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3071
3072 2015-07-16 Mike Frysinger <vapier@gentoo.org>
3073
3074 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3075 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
3076 rtld_hidden_proto.
3077 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
3078
3079 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3080
3081 * tst-nodelete-opened.c (do_test): Add comment to clarify how
3082 the test can fail.
3083
3084 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
3085
3086 [BZ #18676]
3087 * elf/tst-nodelete-opened.c: New test case.
3088 * elf/tst-nodelete-opened-lib.c: New test case module.
3089 * elf/Makefile (tests, modules-names): Use them.
3090 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
3091 early.
3092
3093 2015-07-15 David S. Miller <davem@davemloft.net>
3094
3095 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
3096 futex-intenal.h
3097 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
3098 * sysdeps/sparc/sparc64/Makefile: Likewise.
3099 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3100 Remove space from macro define.
3101 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
3102
3103 2015-07-15 Pravin Satpute <psatpute@redhat.com>
3104
3105 [BZ #17475]
3106 * locale/iso-639.def: Update Bhili and Tulu language codes as
3107 per iso639-3.
3108
3109 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
3110
3111 * elf/tst-leaks1.c (main): Converted to ...
3112 (do_test): ... this.
3113 (TEST_FUNCTION): New macro.
3114 Include test-skeleton.c.
3115 * localedata/tst-langinfo.c (main): Converted to ...
3116 (do_test): ... this.
3117 (TEST_FUNCTION): New macro.
3118 Include test-skeleton.c.
3119 * math/test-fpucw.c (main): Converted to ...
3120 (do_test): ... this.
3121 (TEST_FUNCTION): New macro.
3122 Include test-skeleton.c.
3123 * math/test-tgmath.c (main): Converted to ...
3124 (do_test): ... this.
3125 (TEST_FUNCTION): New macro.
3126 Include test-skeleton.c.
3127 * math/test-tgmath2.c (main): Converted to ...
3128 (do_test): ... this.
3129 (TEST_FUNCTION): New macro.
3130 Include test-skeleton.c.
3131 * setjmp/tst-setjmp.c (main): Converted to ...
3132 (do_test): ... this.
3133 (TEST_FUNCTION): New macro.
3134 Include test-skeleton.c.
3135 * stdio-common/tst-sscanf.c (main): Converted to ...
3136 (do_test): ... this.
3137 (TEST_FUNCTION): New macro.
3138 Include test-skeleton.c.
3139 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
3140 (do_test): ... this.
3141 (TEST_FUNCTION): New macro.
3142 Include test-skeleton.c.
3143
3144 * elf/tst-audit9.c (main): Converted to ...
3145 (do_test): ... this.
3146 (TEST_FUNCTION): New macro.
3147 Include test-skeleton.c.
3148
3149 2015-07-15 Mike Frysinger <vapier@gentoo.org>
3150
3151 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
3152
3153 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3154
3155 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
3156 New variable.
3157
3158 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3159
3160 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3161
3162 2015-07-14 Roland McGrath <roland@hack.frob.com>
3163
3164 * sysdeps/generic/dl-fileid.h: New file.
3165 * sysdeps/posix/dl-fileid.h: New file.
3166 * sysdeps/nacl/dl-fileid.h: New file.
3167 * include/link.h: Include <dl-fileid.h>.
3168 (struct link_map): Replace l_dev and l_ino with l_file_id.
3169 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
3170 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
3171 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
3172
3173 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3174
3175 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
3176
3177 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3178
3179 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
3180 Add iff $CXX is set.
3181 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
3182 Likewise.
3183 (tst-nodelete-zmodiff): Likewise.
3184 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
3185
3186 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3187
3188 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
3189
3190 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
3191
3192 * sysdeps/aarch64/fpu/math_private.h
3193 (define math_opt_barrier): Add AArch64 version.
3194 (math_force_eval): Likewise.
3195
3196 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
3197
3198 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
3199
3200 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
3201
3202 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
3203 %ld with %jd and cast to intmax_t.
3204 (do_test_length_zero): Likewise.
3205
3206 2015-07-10 Roland McGrath <roland@hack.frob.com>
3207
3208 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
3209
3210 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
3211
3212 * sysdeps/tile/libm-test-ulps: Regenerated.
3213
3214 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
3215 Comment out the whole function, not just its body.
3216
3217 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3218
3219 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
3220 locks.
3221
3222 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
3223
3224 2015-07-10 Torvald Riegel <triegel@redhat.com>
3225
3226 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
3227 (sem_assume_only_signals_cause_futex_EINTR): Remove.
3228
3229 2015-07-10 Torvald Riegel <triegel@redhat.com>
3230
3231 * sysdeps/nptl/futex-internal.h: New file.
3232 * sysdeps/nacl/futex-internal.h: New file.
3233 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
3234 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
3235 error checking.
3236 (setxid_unmark_thread): Likewise.
3237 (__nptl_setxid): Likewise.
3238 (__wait_lookup_done): Likewise.
3239 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
3240 * nptl/nptl-init.c (sighandler_setxid): Likewise.
3241 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3242 * nptl/pthread_once.c (clear_once_control): Likewise.
3243 (__pthread_once_slow): Likewise.
3244 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
3245 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
3246 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
3247 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3248 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
3249 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
3250 Likewise.
3251 (__pthread_rwlock_rdlock): Likewise.
3252 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3253 Likewise.
3254 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3255 Likewise.
3256 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3257 Likewise.
3258 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
3259 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
3260 Likewise.
3261 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
3262 __ASSUME_PRIVATE_FUTEX check.
3263 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
3264 Check that shared futexes are supported.
3265 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
3266 wrappers with error checking.
3267 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
3268 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
3269 * nptl/pthread_barrierattr_setpshared.c
3270 (pthread_barrierattr_setpshared): Check that shared futexes are
3271 supported.
3272 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
3273 Likewise.
3274 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
3275 Likewise.
3276 * nptl/sem_init.c (futex_private_if_supported): Remove.
3277 (__new_sem_init): Adapt and check that shared futexes are supported.
3278 * nptl/sem_open.c (sem_open): Likewise.
3279 * nptl/sem_post.c (futex_wake): Remove.
3280 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
3281 (do_futex_wait): Use futex wrappers with error checking.
3282 * nptl/sem_wait.c: Include lowlevellock.h.
3283 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
3284 Use futex_supports_pshared.
3285 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
3286 Use futex wrappers with error checking.
3287 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
3288 Likewise.
3289 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
3290 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
3291 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
3292 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
3293 (futex_wake): Likewise.
3294 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
3295 (do_futex_wait): Use futex wrappers with error checking.
3296 (__new_sem_wait_slow): Update EINTR handling.
3297 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
3298
3299 2015-07-09 Martin Sebor <msebor@redhat.com>
3300
3301 [BZ #18435]
3302 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3303 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
3304 * nptl/Makefile (test-xfail-tst-once5): Define.
3305
3306 2015-07-09 Roland McGrath <roland@hack.frob.com>
3307
3308 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
3309 * elf/dl-minimal.c: For readability, reorder some definitions and
3310 introduce more page breaks. Include <stdio.h>.
3311 (__libc_fatal): New function.
3312
3313 * include/unistd.h: Add rtld_hidden_proto for _exit.
3314 * posix/_exit.c: Add rtld_hidden_def.
3315 * sysdeps/mach/hurd/_exit.c: Likewise.
3316 * sysdeps/nacl/_exit.c: Likewise.
3317 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
3318 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
3319
3320 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
3321
3322 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
3323 bndmov encoding with zero displacement.
3324
3325 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
3326 H.J. Lu <hongjiu.lu@intel.com>
3327
3328 [BZ #18134]
3329 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
3330 * sysdeps/i386/configure: Regenerated.
3331 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3332 (_dl_runtime_profile): Save and restore Intel MPX return bound
3333 registers when calling _dl_call_pltexit. Add
3334 PRESERVE_BND_REGS_PREFIX before return.
3335 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
3336 (LRV_BND1_OFFSET): Likewise.
3337 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
3338 lrv_bnd1.
3339 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
3340 typo in bndmov encoding.
3341 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
3342 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
3343 branch instructions to preserve bounds.
3344
3345 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3346
3347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3348 [GLIBC_2.22]: Add fmemopen.
3349
3350 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
3351
3352 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
3353 returns an error, also try to use host port from __mach_host_self for
3354 the __vm_wire call.
3355 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
3356
3357 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3358
3359 [BZ #18400]
3360 [BZ #18648]
3361 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
3362 Fix pr_uid and pr_gid members.
3363 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
3364 definition to elf_greg_t.
3365
3366 2015-07-08 Roland McGrath <roland@hack.frob.com>
3367
3368 [BZ #18383]
3369 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
3370 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
3371 * sysdeps/arm/configure: Regenerated.
3372 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
3373 (test-xfail-tst-tlsalign-static): Variable removed.
3374
3375 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
3376 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
3377 rather than explicit 'ln -s'.
3378
3379 * resolv/rpc/netdb.h: New file.
3380 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
3381
3382 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3383
3384 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
3385 length buffers.
3386 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3387 test-skeleton.c.
3388
3389 [BZ #6544]
3390 [BZ #11216]
3391 [BZ #12836]
3392 [BZ #13151]
3393 [BZ #13152]
3394 [BZ #14292]
3395 * include/stdio.h (fmemopen): Remove hidden prototype.
3396 (__fmemopen): Add new hidden prototype.
3397 * libio/Makefile: Add oldfmemopen object.
3398 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
3399 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
3400 compliance.
3401 * libio/oldfmemopen.c: New file: old fmemopen implementation for
3402 symbol compatibility.
3403 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
3404 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
3405 fmemopen.
3406 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
3407 on append and read mode.
3408 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
3409 fmemopen.
3410 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
3411 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
3412 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
3413 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
3414 Likewise.
3415 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3416 [GLIBC_2.22]: Likewise.
3417 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
3418 Likewise.
3419 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
3420 Likewise.
3421 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3422 [GLIBC_2.22]: Likewise.
3423 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3424 [GLIBC_2.22]: Likewise.
3425 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3426 [GLIBC_2.22]: Likewise.
3427 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3428 [GLIBC_2.22]: Likewise.
3429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3430 [GLIBC_2.22]: Likewise.
3431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3432 [GLIBC_2.22]: Likewise.
3433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3434 [GLIBC_2.22]: Likewise.
3435 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
3436 Likewise.
3437 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
3438 Likewise.
3439 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
3440 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3441 [GLIBC_2.22]: Likewise.
3442 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3443 [GLIBC_2.22]: Likewise.
3444 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3445 [GLIBC_2.22]: Likewise.
3446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3447 [GLIBC_2.22]: Likewise.
3448 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
3449 Likewise.
3450 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
3451 Likewise.
3452 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
3453 Likewise.
3454 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
3455 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
3456
3457 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3458
3459 [BZ #18643]
3460 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
3461 IPV6_PATHMTU, and IPV6_DONTFRAG.
3462
3463 2015-07-08 Feng Gao <gfree.wind@gmail.com>
3464
3465 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
3466 and _IO_UNBUFFERED.
3467 * libio/oldfileops.c: Likewise.
3468 * libio/wfileops.c: Likewise.
3469
3470 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3471
3472 * nscd/selinux.c: Delete selinux/flask.h include.
3473
3474 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3475
3476 [BZ #18641]
3477 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
3478 (putpwent): Likewise.
3479 (getpwnam): Likewise.
3480 (getpwent_r): Likewise.
3481 (getpwuid_r): Likewise.
3482 (getpwnam_r): Likewise.
3483 (fgetpwent_r): Likewise.
3484
3485 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3486
3487 [BZ #18557]
3488 * inet/rcmd.c (__validuser2_sa): Check user first to
3489 short-circuit host check.
3490
3491 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
3492 Mikhail Ilin <m.ilin@samsung.com>
3493
3494 [BZ #17833]
3495 * elf/Makefile (tests): Add tst-nodelete.
3496 (modules-names): Add tst-nodelete-uniquemod.
3497 (tst-nodelete-uniquemod.so-no-z-defs): New.
3498 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
3499 (tst-nodelete-zmod.so-no-z-defs): Likewise.
3500 ($(objpfx)tst-nodelete): Likewise.
3501 ($(objpfx)tst-nodelete.out): Likewise.
3502 (LDFLAGS-tst-nodelete): Likewise.
3503 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
3504 * elf/dl-close.c (_dl_close_worker): Add a parameter to
3505 implement forced object deletion.
3506 (_dl_close): Pass false to _dl_close_worker.
3507 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
3508 * elf/tst-nodelete.cc: New file.
3509 * elf/tst-nodeletelib.cc: Likewise.
3510 * elf/tst-znodeletelib.cc: Likewise.
3511 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
3512
3513 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3514
3515 [BZ #18508]
3516 * stdlib/Makefile ($(objpfx)tst-makecontext3):
3517 Depend on $(libdl).
3518 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
3519 is not called infinitely times.
3520 (backtrace_helper): New function.
3521 (trace_arg): New struct.
3522 (st1): Enlarge stack size.
3523 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3524 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
3525 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3526 Likewise.
3527
3528 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3529
3530 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3531
3532 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3533
3534 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
3535 Include sys/types.h instead of bits/types.h.
3536 Remove inclusion of bits/wordsize.h.
3537
3538 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3539
3540 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
3541 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
3542 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
3543 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
3544 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
3545 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
3546
3547 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3548
3549 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
3550 link-defines.sym.
3551 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
3552 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
3553 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
3554 and LR_SIZE.
3555 * sysdeps/i386/link-defines.sym: New file.
3556
3557 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3558
3559 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
3560 (modules-names): Add tst-auditmod3a tst-auditmod3b.
3561 ($(objpfx)tst-audit3): New rule.
3562 ($(objpfx)tst-audit3.out): Likewise.
3563 * sysdeps/i386/tst-audit3.c: New file.
3564 * sysdeps/i386/tst-audit3.h: Likewise.
3565 * sysdeps/i386/tst-auditmod3a.c: Likewise.
3566 * sysdeps/i386/tst-auditmod3b.c: Likewise.
3567
3568 2015-07-07 Torvald Riegel <triegel@redhat.com>
3569
3570 [BZ #18633]
3571 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
3572 pointer in C code.
3573 (__strcat_c): Likewise.
3574 (__strcat_g): Likewise.
3575
3576 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
3577
3578 [BZ #18592]
3579 * misc/sbrk.c: Set errno to ENOMEM on overflow.
3580
3581 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3582
3583 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
3584 New function. (__ieee754_sqrtf): New function.
3585 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
3586 New function.
3587 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
3588 New function.
3589
3590 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3591
3592 * sysdeps/ieee754/support.c: Remove unused file.
3593
3594 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
3595
3596 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
3597 registers instead of d ones so the layout is kernel abi compatible.
3598 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
3599 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
3600 Likewise.
3601
3602 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3603
3604 * sysdeps/aarch64/libm-test-ulps: Regenerated.
3605
3606 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3607
3608 [BZ #18619]
3609 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
3610 and return argument in case of subnormal argument.
3611
3612 2015-07-01 Martin Sebor <msebor@redhat.com>
3613
3614 [BZ #18435]
3615 * nptl/Makefile: Add tst-once5.cc.
3616 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3617 Remove macro redefinitions.
3618 * nptl/tst-once5.cc: New test.
3619
3620 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3621
3622 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3623
3624 * sysdeps/arm/libm-test-ulps: Regenerated.
3625
3626 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3627 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3628
3629 2015-06-30 Torvald Riegel <triegel@redhat.com>
3630
3631 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
3632 lll_lock_wait_private and lll_futex_wake probes.
3633
3634 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3635 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
3636 Likewise.
3637 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
3638 atomic_spin_nop.
3639 * sysdeps/x86_64/bits/atomic.h: Likewise.
3640 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
3641 to atomic_spin_nop and move ...
3642 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3643 ... here and ...
3644 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
3645 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3646 atomic_spin_nop instead of BUSY_WAIT_NOP.
3647 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
3648 Likewise.
3649 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
3650 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3651 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
3652 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
3653 instead of atomic_delay.
3654
3655 2015-06-29 Joseph Myers <joseph@codesourcery.com>
3656
3657 [BZ #18613]
3658 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
3659 X_ADJ not X when adjusting exponent.
3660 (__ieee754_gamma_r): Do intermediate computations in
3661 round-to-nearest then adjust overflowing and underflowing results
3662 as needed.
3663 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
3664 of X_ADJ not X when adjusting exponent.
3665 (__ieee754_gammaf_r): Do intermediate computations in
3666 round-to-nearest then adjust overflowing and underflowing results
3667 as needed.
3668 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
3669 log of X_ADJ not X when adjusting exponent.
3670 (__ieee754_gammal_r): Do intermediate computations in
3671 round-to-nearest then adjust overflowing and underflowing results
3672 as needed. Use 1.0L not 1.0f as numerator of division.
3673 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
3674 log of X_ADJ not X when adjusting exponent.
3675 (__ieee754_gammal_r): Do intermediate computations in
3676 round-to-nearest then adjust overflowing and underflowing results
3677 as needed. Use 1.0L not 1.0f as numerator of division.
3678 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
3679 of X_ADJ not X when adjusting exponent.
3680 (__ieee754_gammal_r): Do intermediate computations in
3681 round-to-nearest then adjust overflowing and underflowing results
3682 as needed. Use 1.0L not 1.0f as numerator of division.
3683 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
3684 to auto-libm-test-in.
3685 (tgamma_test): Use ALL_RM_TEST.
3686 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
3687 tests of tgamma with spurious-overflow.
3688 * math/auto-libm-test-out: Regenerated.
3689 * math/gen-libm-have-vector-test.sh: Do not check for START.
3690 * sysdeps/i386/fpu/libm-test-ulps: Update.
3691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3692
3693 [BZ #18612]
3694 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
3695 arguments, just return 0.5 times the argument, with underflow
3696 forced as needed.
3697 * math/auto-libm-test-in: Add more tests of j1.
3698 * math/auto-libm-test-out: Regenerated.
3699
3700 [BZ #16559]
3701 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
3702 (__ieee754_j1): Force underflow exception for small results.
3703 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3704 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
3705 (__ieee754_j1f): Force underflow exception for small results.
3706 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3707 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3708 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3709 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
3710 (__ieee754_j1l): Force underflow exception for small results.
3711 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3712 * math/auto-libm-test-in: Add more tests of j1 and jn.
3713 * math/auto-libm-test-out: Regenerated.
3714
3715 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
3716 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
3717 (PF_MPLS): Likewise.
3718 (AF_IB): Likewise.
3719 (AF_MPLS): Likewise.
3720 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
3721 value and macro.
3722 (MS_RMT_MASK): Include MS_LAZYTIME.
3723
3724 2015-06-26 Mel Gorman <mgorman@suse.de>
3725
3726 [BZ #18502]
3727 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
3728 already minimal.
3729
3730 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
3731
3732 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
3733 (DT_MIPS_NUM): Update.
3734 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
3735 DT_MIPS_RLD_MAP_REL.
3736
3737 2015-06-25 Joseph Myers <joseph@codesourcery.com>
3738
3739 [BZ #16559]
3740 [BZ #18602]
3741 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
3742 round-to-nearest internally then recompute results that
3743 underflowed to zero in the original rounding mode.
3744 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3745 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3746 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3747 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
3748 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
3749 * sysdeps/i386/fpu/libm-test-ulps: Update.
3750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3751
3752 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
3753
3754 * NEWS: Fixed description of link with vector math library.
3755
3756 2015-06-25 Andreas Schwab <schwab@suse.de>
3757
3758 [BZ #18549]
3759 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
3760 * libio/test-fmemopen.c (do_test): Add test for it.
3761
3762 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
3763
3764 [BZ #17841]
3765 * Makeconfig (no-pie-ldflag): New.
3766 (+link): Set to $(+link-pie) if default to PIE.
3767 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
3768 * config.make.in (build-pie-default): New.
3769 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
3770 is default. AC_SUBST.
3771 * configure: Regenerated.
3772 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
3773
3774 2015-06-24 Roland McGrath <roland@hack.frob.com>
3775
3776 * nptl/descr.h (struct pthread): Change type of field setxid_futex
3777 to 'unsigned int'.
3778
3779 * resolv/gai_misc.h (struct waitlist): Change type of field
3780 counterp to 'volatile unsigned int *'.
3781 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
3782 FUTEXADDR and OLDVAL.
3783 * resolv/getaddrinfo_a.c (getaddrinfo_a):
3784 Give local variable TOTAL type 'volatile unsigned int'.
3785 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3786 * resolv/gai_suspend.c (gai_suspend):
3787 Give local variable CNTR type 'unsigned int'.
3788
3789 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
3790 counterp to 'volatile unsigned int *'.
3791 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
3792 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
3793 (aio_suspend): Give local variable CNTR type 'unsigned int'.
3794 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
3795 Give local variable TOTAL type 'volatile unsigned int'.
3796 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3797
3798 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
3799
3800 [BZ #18383]
3801 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
3802 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
3803 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
3804 comment for i386/x86-64.
3805 (test-xfail-tst-tlsalign-extern-static): Removed.
3806
3807 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3808
3809 * math/test-double.h: New file.
3810 * math/test-float.h: Likewise.
3811 * math/test-ldouble.h: Likewise.
3812 * math/test-math-inline.h: Likewise.
3813 * math/test-math-no-inline.h: Likewise.
3814 * math/test-math-scalar.h: Likewise.
3815 * math/test-math-vector.h: Likewise.
3816 * math/test-vec-loop.h: Remove file. Contents moved into
3817 test-math-vector.h.
3818 * math/libm-test.inc (MATHCONST): Do not document macro.
3819 * math/test-double.c: Include test-double.h, test-math-no-inline.h
3820 and test-math-scalar.h.
3821 (FUNC): Remove macro.
3822 (FUNC_TEST): Likewise.
3823 (FLOAT): Likewise.
3824 (MATHCONST): Likewise.
3825 (PRINTF_EXPR): Likewise.
3826 (PRINTF_XEXPR): Likewise.
3827 (PRINTF_NEXPR): Likewise.
3828 (TEST_DOUBLE): Likewise.
3829 (TEST_MATHVEC): Likewise.
3830 (__NO_MATH_INLINES): Likewise.
3831 * math/test-float.c: Include test-float.h, test-math-no-inline.h
3832 and test-math-scalar.h.
3833 (FUNC): Remove macro.
3834 (FUNC_TEST): Likewise.
3835 (FLOAT): Likewise.
3836 (MATHCONST): Likewise.
3837 (PRINTF_EXPR): Likewise.
3838 (PRINTF_XEXPR): Likewise.
3839 (PRINTF_NEXPR): Likewise.
3840 (TEST_FLOAT): Likewise.
3841 (TEST_MATHVEC): Likewise.
3842 (__NO_MATH_INLINES): Likewise.
3843 * math/test-idouble.c: Include test-double.h, test-math-inline.h
3844 and test-math-scalar.h.
3845 (FUNC): Remove macro.
3846 (FUNC_TEST): Likewise.
3847 (FLOAT): Likewise.
3848 (MATHCONST): Likewise.
3849 (PRINTF_EXPR): Likewise.
3850 (PRINTF_XEXPR): Likewise.
3851 (PRINTF_NEXPR): Likewise.
3852 (TEST_DOUBLE): Likewise.
3853 (TEST_MATHVEC): Likewise.
3854 (TEST_INLINE): Likewise.
3855 (__NO_MATH_INLINES): Likewise.
3856 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
3857 test-math-scalar.h.
3858 (FUNC): Remove macro.
3859 (FUNC_TEST): Likewise.
3860 (FLOAT): Likewise.
3861 (MATHCONST): Likewise.
3862 (PRINTF_EXPR): Likewise.
3863 (PRINTF_XEXPR): Likewise.
3864 (PRINTF_NEXPR): Likewise.
3865 (TEST_FLOAT): Likewise.
3866 (TEST_MATHVEC): Likewise.
3867 (TEST_INLINE): Likewise.
3868 (__NO_MATH_INLINES): Likewise.
3869 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
3870 and test-math-scalar.h.
3871 (FUNC): Remove macro.
3872 (FUNC_TEST): Likewise.
3873 (FLOAT): Likewise.
3874 (MATHCONST): Likewise.
3875 (PRINTF_EXPR): Likewise.
3876 (PRINTF_XEXPR): Likewise.
3877 (PRINTF_NEXPR): Likewise.
3878 (TEST_LDOUBLE): Likewise.
3879 (TEST_MATHVEC): Likewise.
3880 (TEST_INLINE): Likewise.
3881 (__NO_MATH_INLINES): Likewise.
3882 * math/test-ldouble.c: Include test-ldouble.h,
3883 test-math-no-inline.h and test-math-scalar.h.
3884 (FUNC): Remove macro.
3885 (FUNC_TEST): Likewise.
3886 (FLOAT): Likewise.
3887 (MATHCONST): Likewise.
3888 (PRINTF_EXPR): Likewise.
3889 (PRINTF_XEXPR): Likewise.
3890 (PRINTF_NEXPR): Likewise.
3891 (TEST_LDOUBLE): Likewise.
3892 (TEST_MATHVEC): Likewise.
3893 (__NO_MATH_INLINES): Likewise.
3894 * math/test-double-vlen2.h: Include test-double.h,
3895 test-math-no-inline.h and test-math-vector.h.
3896 (FLOAT): Remove macro.
3897 (FUNC): Likewise.
3898 (MATHCONST): Likewise.
3899 (PRINTF_EXPR): Likewise.
3900 (PRINTF_XEXPR): Likewise.
3901 (PRINTF_NEXPR): Likewise.
3902 (TEST_DOUBLE): Likewise.
3903 (TEST_MATHVEC): Likewise.
3904 (__NO_MATH_INLINES): Likewise.
3905 (CNCT): Likewise.
3906 (CONCAT): Likewise.
3907 (WRAPPER_NAME): Likewise.
3908 (WRAPPER_DECL): Likewise.
3909 (WRAPPER_DECL_ff): Likewise.
3910 (WRAPPER_DECL_fFF): Likewise.
3911 (VECTOR_WRAPPER): Likewise.
3912 (VECTOR_WRAPPER_ff): Likewise.
3913 (VECTOR_WRAPPER_fFF): Likewise.
3914 (VEC_LEN): New macro.
3915 * math/test-double-vlen4.h: Include test-double.h,
3916 test-math-no-inline.h and test-math-vector.h.
3917 (FLOAT): Remove macro.
3918 (FUNC): Likewise.
3919 (MATHCONST): Likewise.
3920 (PRINTF_EXPR): Likewise.
3921 (PRINTF_XEXPR): Likewise.
3922 (PRINTF_NEXPR): Likewise.
3923 (TEST_DOUBLE): Likewise.
3924 (TEST_MATHVEC): Likewise.
3925 (__NO_MATH_INLINES): Likewise.
3926 (CNCT): Likewise.
3927 (CONCAT): Likewise.
3928 (WRAPPER_NAME): Likewise.
3929 (WRAPPER_DECL): Likewise.
3930 (WRAPPER_DECL_ff): Likewise.
3931 (WRAPPER_DECL_fFF): Likewise.
3932 (VECTOR_WRAPPER): Likewise.
3933 (VECTOR_WRAPPER_ff): Likewise.
3934 (VECTOR_WRAPPER_fFF): Likewise.
3935 (VEC_LEN): New macro.
3936 * math/test-double-vlen8.h: Include test-double.h,
3937 test-math-no-inline.h and test-math-vector.h.
3938 (FLOAT): Remove macro.
3939 (FUNC): Likewise.
3940 (MATHCONST): Likewise.
3941 (PRINTF_EXPR): Likewise.
3942 (PRINTF_XEXPR): Likewise.
3943 (PRINTF_NEXPR): Likewise.
3944 (TEST_DOUBLE): Likewise.
3945 (TEST_MATHVEC): Likewise.
3946 (__NO_MATH_INLINES): Likewise.
3947 (CNCT): Likewise.
3948 (CONCAT): Likewise.
3949 (WRAPPER_NAME): Likewise.
3950 (WRAPPER_DECL): Likewise.
3951 (WRAPPER_DECL_ff): Likewise.
3952 (WRAPPER_DECL_fFF): Likewise.
3953 (VECTOR_WRAPPER): Likewise.
3954 (VECTOR_WRAPPER_ff): Likewise.
3955 (VECTOR_WRAPPER_fFF): Likewise.
3956 (VEC_LEN): New macro.
3957 * math/test-float-vlen4.h: Include test-float.h,
3958 test-math-no-inline.h and test-math-vector.h.
3959 (FLOAT): Remove macro.
3960 (FUNC): Likewise.
3961 (MATHCONST): Likewise.
3962 (PRINTF_EXPR): Likewise.
3963 (PRINTF_XEXPR): Likewise.
3964 (PRINTF_NEXPR): Likewise.
3965 (TEST_FLOAT): Likewise.
3966 (TEST_MATHVEC): Likewise.
3967 (__NO_MATH_INLINES): Likewise.
3968 (CNCT): Likewise.
3969 (CONCAT): Likewise.
3970 (WRAPPER_NAME): Likewise.
3971 (WRAPPER_DECL): Likewise.
3972 (WRAPPER_DECL_ff): Likewise.
3973 (WRAPPER_DECL_fFF): Likewise.
3974 (VECTOR_WRAPPER): Likewise.
3975 (VECTOR_WRAPPER_ff): Likewise.
3976 (VECTOR_WRAPPER_fFF): Likewise.
3977 (VEC_LEN): New macro.
3978 * math/test-float-vlen8.h: Include test-float.h,
3979 test-math-no-inline.h and test-math-vector.h.
3980 (FLOAT): Remove macro.
3981 (FUNC): Likewise.
3982 (MATHCONST): Likewise.
3983 (PRINTF_EXPR): Likewise.
3984 (PRINTF_XEXPR): Likewise.
3985 (PRINTF_NEXPR): Likewise.
3986 (TEST_FLOAT): Likewise.
3987 (TEST_MATHVEC): Likewise.
3988 (__NO_MATH_INLINES): Likewise.
3989 (CNCT): Likewise.
3990 (CONCAT): Likewise.
3991 (WRAPPER_NAME): Likewise.
3992 (WRAPPER_DECL): Likewise.
3993 (WRAPPER_DECL_ff): Likewise.
3994 (WRAPPER_DECL_fFF): Likewise.
3995 (VECTOR_WRAPPER): Likewise.
3996 (VECTOR_WRAPPER_ff): Likewise.
3997 (VECTOR_WRAPPER_fFF): Likewise.
3998 (VEC_LEN): New macro.
3999 * math/test-float-vlen16.h: Include test-float.h,
4000 test-math-no-inline.h and test-math-vector.h.
4001 (FLOAT): Remove macro.
4002 (FUNC): Likewise.
4003 (MATHCONST): Likewise.
4004 (PRINTF_EXPR): Likewise.
4005 (PRINTF_XEXPR): Likewise.
4006 (PRINTF_NEXPR): Likewise.
4007 (TEST_FLOAT): Likewise.
4008 (TEST_MATHVEC): Likewise.
4009 (__NO_MATH_INLINES): Likewise.
4010 (CNCT): Likewise.
4011 (CONCAT): Likewise.
4012 (WRAPPER_NAME): Likewise.
4013 (WRAPPER_DECL): Likewise.
4014 (WRAPPER_DECL_ff): Likewise.
4015 (WRAPPER_DECL_fFF): Likewise.
4016 (VECTOR_WRAPPER): Likewise.
4017 (VECTOR_WRAPPER_ff): Likewise.
4018 (VECTOR_WRAPPER_fFF): Likewise.
4019 (VEC_LEN): New macro.
4020 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
4021 test-vec-loop.h.
4022 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4023 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4024 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4025 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4026 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4027 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4028 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4029
4030 2015-06-24 Roland McGrath <roland@hack.frob.com>
4031
4032 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
4033 (__getlogin_r): ... this.
4034
4035 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4036
4037 [BZ #18594]
4038 * math/s_ccosh.c (__ccosh): Compare with least normal value
4039 instead of comparing class with FP_SUBNORMAL.
4040 * math/s_ccoshf.c (__ccoshf): Likewise.
4041 * math/s_ccoshl.c (__ccoshl): Likewise.
4042 * math/s_cexp.c (__cexp): Likewise.
4043 * math/s_cexpf.c (__cexpf): Likewise.
4044 * math/s_cexpl.c (__cexpl): Likewise.
4045 * math/s_csin.c (__csin): Likewise.
4046 * math/s_csinf.c (__csinf): Likewise.
4047 * math/s_csinh.c (__csinh): Likewise.
4048 * math/s_csinhf.c (__csinhf): Likewise.
4049 * math/s_csinhl.c (__csinhl): Likewise.
4050 * math/s_csinl.c (__csinl): Likewise.
4051 * math/s_ctan.c (__ctan): Likewise.
4052 * math/s_ctanf.c (__ctanf): Likewise.
4053 * math/s_ctanh.c (__ctanh): Likewise.
4054 * math/s_ctanhf.c (__ctanhf): Likewise.
4055 * math/s_ctanhl.c (__ctanhl): Likewise.
4056 * math/s_ctanl.c (__ctanl): Likewise.
4057 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
4058 csin, csinh, ctan and ctanh.
4059 * math/auto-libm-test-out: Regenerated.
4060 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
4061 * sysdeps/i386/fpu/libm-test-ulps: Update.
4062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4063
4064 2015-06-24 Roland McGrath <roland@hack.frob.com>
4065
4066 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
4067 return value is wrong, print the expected value too.
4068
4069 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
4070
4071 [BZ #18585]
4072 * elf/readlib.c (is_gdb_python_file): New.
4073 (process_file): Don't issue errors on filenames with -gdb.py
4074 suffix.
4075
4076 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4077
4078 * math/auto-libm-test-in: Add more tests of csin and csinh.
4079 * math/auto-libm-test-out: Regenerated.
4080 * math/libm-test.inc (csin_test_data): Remove tests moved to
4081 auto-libm-test-in.
4082 (csinh_test_data): Likewise.
4083
4084 [BZ #18593]
4085 * math/s_csin.c (__csin): Negate before rather than after possibly
4086 overflowing multiplication.
4087 * math/s_csinf.c (__csinf): Likewise.
4088 * math/s_csinh.c (__csinh): Likewise.
4089 * math/s_csinhf.c (__csinhf): Likewise.
4090 * math/s_csinhl.c (__csinhl): Likewise.
4091 * math/s_csinl.c (__csinl): Likewise.
4092 * math/auto-libm-test-in: Add some tests of csin and csinh.
4093 * math/auto-libm-test-out: Regenerated.
4094 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
4095 (csinh_test_data): Likewise.
4096 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4097
4098 [BZ #18586]
4099 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
4100 underflow exception for small results.
4101
4102 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
4103
4104 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4105 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
4106 variable and included header.
4107 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
4108 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
4109 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
4110 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
4111 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
4112 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
4113 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
4114 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
4115 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
4116 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
4117 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
4118 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
4119 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
4120 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
4121 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
4122 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
4123
4124 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4125
4126 [BZ #16526]
4127 [BZ #16538]
4128 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
4129 (__sin): Force underflow exception for arguments with small
4130 absolute value.
4131 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
4132 (__kernel_sinf): Force underflow exception for arguments with
4133 small absolute value.
4134 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
4135 (__kernel_sincosl): Force underflow exception for arguments with
4136 small absolute value.
4137 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
4138 (__kernel_sinl): Force underflow exception for arguments with
4139 small absolute value.
4140 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
4141 (__kernel_sincosl): Force underflow exception for arguments with
4142 small absolute value.
4143 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
4144 (__kernel_sinl): Force underflow exception for arguments with
4145 small absolute value.
4146 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
4147 (__kernel_sinl): Force underflow exception for arguments with
4148 small absolute value.
4149 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
4150 (__kernel_sinf): Force underflow exception for arguments with
4151 small absolute value.
4152 * math/auto-libm-test-in: Add more tests of sin and sincos.
4153 * math/auto-libm-test-out: Regenerated.
4154
4155 [BZ #18245]
4156 [BZ #18583]
4157 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
4158 (__kernel_standard_l): Use feholdexcept and fesetenv around
4159 conversion to double instead of special-casing overflow and
4160 underflow.
4161 * math/libm-test.inc (fmod_test_data): Add more tests.
4162 (remainder_test_data): Likewise.
4163 (sqrt_test_data): Likewise.
4164
4165 2015-06-23 Torvald Riegel <triegel@redhat.com>
4166
4167 [BZ #17403]
4168 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
4169 atomic_read_barrier, atomic_write_barrier): Define.
4170 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
4171 atomic_read_barrier, atomic_write_barrier): Define.
4172
4173 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4174
4175 * math/Makefile [$(PERL) != no]
4176 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
4177 dependency on libm-test.stmp below the inclusion of Rules.
4178
4179 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
4180
4181 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4182 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
4183 and included header.
4184 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
4185 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
4186 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
4187 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
4188 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
4189 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
4190 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
4191 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
4192 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
4193 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
4194 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
4195 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
4196 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
4197 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
4198 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
4199 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
4200 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
4201 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
4202 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
4203
4204 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4205
4206 [BZ #18371]
4207 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
4208 intermediate but not final result might underflow.
4209 * math/s_csqrtf.c (__csqrtf): Likewise.
4210 * math/s_csqrtl.c (__csqrtl): Likewise.
4211 * math/auto-libm-test-in: Add more tests of csqrt.
4212 * math/auto-libm-test-out: Regenerated.
4213 * sysdeps/i386/fpu/libm-test-ulps: Update.
4214
4215 [BZ #18219]
4216 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
4217 threshold on absolute value of exponent for which scaling is used.
4218 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4219 * math/auto-libm-test-in: Add more tests of exp2.
4220 * math/auto-libm-test-out: Regenerated.
4221
4222 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
4223
4224 [BZ #17977]
4225 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
4226 when initializing interface list, based on the bug analysis
4227 and the patch proposed by Eric Newton.
4228 * resolv/tst-res_hconf_reorder.c: New test.
4229 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
4230 tst-res_hconf_reorder.
4231 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
4232 and $(shared-thread-library).
4233 (tst-res_hconf_reorder-ENV): New variable.
4234
4235 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
4236 in comment.
4237
4238 2015-06-22 Joseph Myers <joseph@codesourcery.com>
4239
4240 [BZ #16353]
4241 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
4242 (__expm1): Force underflow exception for arguments with small
4243 absolute value.
4244 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
4245 (__expm1f): Force underflow exception for arguments with small
4246 absolute value.
4247 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
4248 (__expm1): Force underflow exception for arguments with small
4249 absolute value.
4250 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
4251 (__expm1f): Force underflow exception for arguments with small
4252 absolute value.
4253 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4254 Check for small arguments before calling __expm1.
4255 * math/auto-libm-test-in: Do not mark underflow exceptions as
4256 possibly missing for bug 16353.
4257 * math/auto-libm-test-out: Regenerated.
4258
4259 2015-06-22 Andreas Schwab <schwab@suse.de>
4260
4261 [BZ #18513]
4262 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
4263 PTR queries.
4264
4265 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
4266
4267 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
4268
4269 * string/strcoll_l.c: Remove unused struct element idxnow.
4270
4271 2015-06-21 Joseph Myers <joseph@codesourcery.com>
4272
4273 [BZ #18569]
4274 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
4275 underflow and return argument in case of subnormal argument.
4276 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4277 Likewise.
4278 * math/auto-libm-test-in: Add more tests of expm1.
4279 * math/auto-libm-test-out: Regenerated.
4280
4281 [BZ #16361]
4282 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4283 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4284 tiny results.
4285 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4286 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4287 tiny results.
4288 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
4289 mark underflow exceptions as possibly missing for bug 16361.
4290 * math/auto-libm-test-out: Regenerated.
4291
4292 2015-06-19 Joseph Myers <joseph@codesourcery.com>
4293
4294 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
4295 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
4296 Remove variable.
4297 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4298 (test-xfail-XOPEN2K8/utmpx.h/conform).
4299
4300 * conform/conformtest.pl ($xerrors): New variable.
4301 (note_error): New function.
4302 (compiletest): New argument $xfail. Use not_error.
4303 (runtest): Likewise.
4304 (top level): Handle xfail- lines. Update calls to compiletest and
4305 runtest. Handle xfail- and optional- in headers listed with
4306 allow-header.
4307 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
4308 (O_EXEC): Likewise.
4309 (O_SEARCH): Likewise.
4310 * conform/data/stropts.h-data (ioctl): Likewise.
4311 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
4312 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
4313 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
4314 (msghdr.msg_controllen): Likewise.
4315 (cmsghdr.cmsg_len): Likewise.
4316 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
4317 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
4318 variable.
4319 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4320 (test-xfail-XPG4/stropts.h/conform): Likewise.
4321 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4322 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4323 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4324 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4325 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4326 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4327 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4328 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4329 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4330 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4331 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4332 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4333 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4334 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4335 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4336 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4337 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4338 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4339 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4340
4341 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
4342
4343 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
4344 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
4345 definitions for proper unfolding of __MATHDECL_VEC.
4346
4347 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4348
4349 * benchtests/bench-strcoll.c:
4350 Include string.h.
4351 (main): Remove unused variable res.
4352
4353 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4354
4355 * timezone/Makefile (%/UTC %/Universal):
4356 Generate test-result files for UTC and Universal.
4357
4358 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4359
4360 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4361
4362 2015-06-18 Joseph Myers <joseph@codesourcery.com>
4363
4364 [BZ #16350]
4365 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
4366 for arguments with small absolute value.
4367 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
4368 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
4369 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
4370 (__asinh): Force underflow exception for arguments with small
4371 absolute value.
4372 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
4373 (__asinhf): Force underflow exception for arguments with small
4374 absolute value.
4375 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
4376 (__asinhl): Force underflow exception for arguments with small
4377 absolute value.
4378 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
4379 (__asinhl): Force underflow exception for arguments with small
4380 absolute value.
4381 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
4382 (__asinhl): Force underflow exception for arguments with small
4383 absolute value.
4384 * math/auto-libm-test-in: Do not mark underflow exceptions as
4385 possibly missing for bug 16350.
4386 * math/auto-libm-test-out: Regenerated.
4387
4388 * include/bits/ipc.h: Remove file.
4389 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
4390 variable.
4391 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4392 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4393 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4394 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4395 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4396 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4397 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4398 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4399 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4400
4401 * math/auto-libm-test-in: Remove spurious underflow allowance for
4402 tests of cexp.
4403 * math/auto-libm-test-out: Regenerated.
4404
4405 [BZ #18558]
4406 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
4407 unconditional definition.
4408 (MCAST_BLOCK_SOURCE): Likewise.
4409 (MCAST_UNBLOCK_SOURCE): Likewise.
4410 (MCAST_LEAVE_GROUP): Likewise.
4411 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4412 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4413 (MCAST_MSFILTER): Likewise.
4414 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
4415 Remove variable.
4416 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4417 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4418 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4419 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4420 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4421
4422 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
4423
4424 * NEWS: Mention addition of x86_64 vector sincosf.
4425 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
4426 * math/test-float-vlen4.h: Likewise.
4427 * math/test-float-vlen8.h: Likewise.
4428 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4429 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
4430 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4431 * sysdeps/x86_64/fpu/Versions: New versions added.
4432 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4433 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4434 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4435 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
4436 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4437 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
4438 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4439 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
4440 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4441 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
4442 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
4443 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
4444 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
4445 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
4446 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
4447 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
4448 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
4449 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4450 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4451 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4452 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4453 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4454 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4455 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4456
4457 * NEWS: Mention addition of x86_64 vector sincos.
4458 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
4459 * math/math.h (__MATHDECL_VEC): New macro.
4460 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
4461 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
4462 declaration under condition.
4463 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
4464 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
4465 TEST_VEC_LOOP change.
4466 * math/test-double-vlen4.h: Likewise.
4467 * math/test-double-vlen8.h: Likewise.
4468 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
4469 * math/test-float-vlen4.h: Likewise.
4470 * math/test-float-vlen8.h: Likewise.
4471 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4472 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
4473 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4474 * sysdeps/x86_64/fpu/Versions: New versions added.
4475 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4476 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4477 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4478 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
4479 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
4480 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
4481 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
4482 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
4483 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
4484 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
4485 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
4486 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
4487 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
4488 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
4489 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
4490 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
4491 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
4492 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4493 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4494 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4495 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4496 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4497 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4498 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4499
4500 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4501 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4502 redirections for powf.
4503 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4504 * sysdeps/x86_64/fpu/Versions: New versions added.
4505 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4506 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4507 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4508 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
4509 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
4510 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
4511 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
4512 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
4513 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
4514 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
4515 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
4516 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
4517 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
4518 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
4519 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
4520 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
4521 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
4522 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4523 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4524 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4525 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4526 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4527 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4528 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4529 * math/test-float-vlen16.h: Fixed 2 argument macro.
4530 * math/test-float-vlen4.h: Likewise.
4531 * math/test-float-vlen8.h: Likewise.
4532 * NEWS: Mention addition of x86_64 vector powf.
4533
4534 2015-06-17 Joseph Myers <joseph@codesourcery.com>
4535
4536 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4537 and redefine.
4538 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4539 and redefine.
4540 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
4541 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4542 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4543
4544 [BZ #18553]
4545 * resource/getpriority.c (getpriority): Rename to __getpriority
4546 and define as weak alias of __getpriority.
4547 * resource/setpriority.c (setpriority): Rename to __setpriority
4548 and define as weak alias of __setpriority.
4549 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
4550 __getpriority and define as weak alias of __getpriority.
4551 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
4552 __setpriority and define as weak alias of __setpriority.
4553 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
4554 strong name.
4555 (setpriority): Use __setpriority as strong name.
4556 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
4557 __getpriority and define as weak alias of __getpriority.
4558 * include/sys/resource.h (__getpriority): Declare. Use
4559 libc_hidden_proto.
4560 (__setpriority): Likewise.
4561 (getpriority): Don't use libc_hidden_proto.
4562 (setpriority): Likewise.
4563 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
4564 getpriority. Call __setpriority instead of setpriority.
4565 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
4566 Remove variable.
4567
4568 [BZ #18547]
4569 * misc/getttyent.c (getttynam): Rename to __getttynam and define
4570 as weak alias of __getttynam. Use prototype function definition.
4571 Call __setttyent, __getttyent and __endttyent instead of
4572 setttyent, getttyent and endttyent.
4573 (getttyent): Rename to __getttyent and define as weak alias of
4574 __getttyent. Call __setttyent instead of setttyent. Call
4575 __fgets_unlocked instead of fgets_unlocked.
4576 (setttyent): Rename to __setttyent and define as weak alias of
4577 __setttyent.
4578 (endttyent): Rename to __endttyent and define as weak alias of
4579 __endttyent.
4580 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
4581 (__setttyent): Likewise.
4582 (__endttyent): Likewise.
4583 (getttyent): Don't use libc_hidden_proto.
4584 (setttyent): Likewise.
4585 (endttyent): Likewise.
4586 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
4587 __endttyent instead of setttyent, getttyent and endttyent.
4588 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
4589 Remove variable.
4590
4591 [BZ #18546]
4592 * socket/recv.c (__recv): Use libc_hidden_def.
4593 * socket/socket.c (__socket): Likewise.
4594 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4595 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
4596 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
4597 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
4598 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
4599 libc_hidden_def.
4600 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
4601 libc_hidden_weak.
4602 * include/sys/socket.h (__socket): Do not use attribute_hidden.
4603 Use libc_hidden_proto.
4604 (__recv): Likewise.
4605 * socket/Versions (libc): Export __recv and __socket at version
4606 GLIBC_PRIVATE.
4607 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
4608 instead of recv.
4609 (init_mq_netlink): Call __socket instead of socket.
4610 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
4611 Remove variable.
4612
4613 [BZ #18545]
4614 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
4615 __mq_timedreceive and define as alias of __mq_timedreceive. Use
4616 hidden_weak.
4617 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
4618 define as alias of __mq_timedsend. Use hidden_weak.
4619 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
4620 __mq_timedsend as strong name.
4621 (mq_timedreceive): Use __mq_timedreceive as strong name.
4622 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
4623 (__mq_timedreceive): Likewise.
4624 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
4625 __mq_timedreceive instead of mq_timedreceive.
4626 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
4627 instead of mq_timedsend.
4628 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
4629 Remove variable.
4630
4631 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
4632 hidden_def and hidden_weak instead of libc_hidden_def and
4633 libc_hidden_weak.
4634 (top level): Refer to hidden_def in comment.
4635 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
4636 macro. Use it instead of libc_hidden_def.
4637 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
4638 specify __GI_* name explicitly.
4639 (mq_timedreceive): Likewise.
4640 (mq_setattr): Likewise.
4641
4642 [BZ #18544]
4643 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
4644 __pthread_barrier_init and define as weak alias of
4645 __pthread_barrier_init.
4646 * sysdeps/sparc/nptl/pthread_barrier_init.c
4647 (pthread_barrier_init): Likewise.
4648 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
4649 __pthread_barrier_wait and define as weak alias of
4650 __pthread_barrier_wait.
4651 * sysdeps/sparc/nptl/pthread_barrier_wait.c
4652 (pthread_barrier_wait): Likewise.
4653 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4654 (pthread_barrier_wait): Likewise.
4655 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
4656 (pthread_barrier_wait): Likewise.
4657 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
4658 (pthread_barrier_wait): Likewise.
4659 * nptl/Versions (libpthread): Export __pthread_barrier_init and
4660 __pthread_barrier_wait at version GLIBC_PRIVATE.
4661 * include/pthread.h (__pthread_barrier_init): Declare.
4662 (__pthread_barrier_wait): Likewise.
4663 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
4664 Call __pthread_barrier_wait instead of pthread_barrier_wait.
4665 (helper_thread): Likewise.
4666 (init_mq_netlink): Call __pthread_barrier_init instead of
4667 pthread_barrier_init.
4668
4669 [BZ #18542]
4670 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
4671 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
4672 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
4673 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
4674 vswscanf.
4675 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
4676 Remove variable.
4677
4678 [BZ #18540]
4679 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
4680 strong alias of _IO_fflush. Use libc_hidden_def.
4681 * libio/iofflush_u.c (fflush_unlocked): Rename to
4682 __fflush_unlocked and define as weak alias of __fflush_unlocked.
4683 Use libc_hidden_weak.
4684 * include/stdio.h (__fflush_unlocked): Declare. Use
4685 libc_hidden_proto.
4686 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
4687 fflush_unlocked.
4688 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
4689 Remove variable.
4690
4691 [BZ #18539]
4692 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
4693 define as weak alias of __addseverity.
4694 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
4695 Remove variable.
4696 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4697 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4698 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4699
4700 [BZ #18536]
4701 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
4702 (__tfind): Likewise.
4703 (__tdelete): Likewise.
4704 (__twalk): Likewise.
4705 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
4706 __twalk to GLIBC_PRIVATE.
4707 * include/search.h (__tsearch): Use libc_hidden_proto.
4708 (__tfind): Likewise.
4709 (__tdelete): Likewise.
4710 (__twalk): Likewise.
4711 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
4712 Call __tdelete instead of tdelete.
4713 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
4714 tfind. Call __tsearch instead of tsearch.
4715 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
4716 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
4717 Remove variable.
4718 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4719
4720 [BZ #18534]
4721 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
4722 (dprintf): Define as a weak alias of __dprintf, not a strong
4723 alias.
4724 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
4725 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
4726 dprintf.
4727 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
4728 Remove variable.
4729 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4730 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4731
4732 [BZ #18533]
4733 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
4734 not a strong alias.
4735 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
4736 Remove variable.
4737
4738 [BZ #18532]
4739 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
4740 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
4741 (in6addr_loopback): Rename to __in6addr_loopback and define as
4742 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
4743 * include/netinet/in.h (__in6addr_loopback): Declare. Use
4744 libc_hidden_proto.
4745 (__in6addr_any): Likewise.
4746 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
4747 in6addr_any.
4748 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
4749 variable.
4750 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4751
4752 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
4753
4754 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
4755 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
4756 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4757 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4758 redirections for pow.
4759 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4760 * sysdeps/x86_64/fpu/Versions: New versions added.
4761 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4762 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4763 build of SSE, AVX2 and AVX512 IFUNC versions.
4764 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
4765 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
4766 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
4767 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
4768 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
4769 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
4770 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
4771 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
4772 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
4773 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
4774 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
4775 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
4776 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
4777 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
4778 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4779 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4780 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4781 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4782 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4783 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4784 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4785 * NEWS: Mention addition of x86_64 vector pow.
4786
4787 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4788 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4789 redirections for expf.
4790 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4791 * sysdeps/x86_64/fpu/Versions: New versions added.
4792 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4793 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4794 build of SSE, AVX2 and AVX512 IFUNC versions.
4795 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
4796 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
4797 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
4798 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
4799 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
4800 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
4801 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
4802 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
4803 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
4804 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
4805 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
4806 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
4807 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
4808 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4809 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4810 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4811 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4812 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4813 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4814 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4815 * NEWS: Mention addition of x86_64 vector expf.
4816
4817 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
4818 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
4819 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4820 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4821 redirections for exp.
4822 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4823 * sysdeps/x86_64/fpu/Versions: New versions added.
4824 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4825 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4826 build of SSE, AVX2 and AVX512 IFUNC versions.
4827 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
4828 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
4829 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
4830 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
4831 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
4832 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
4833 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
4834 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
4835 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
4836 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
4837 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
4838 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
4839 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
4840 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4841 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4842 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4843 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4844 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4845 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4846 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4847 * NEWS: Mention addition of x86_64 vector exp.
4848
4849 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4850 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4851 redirections for logf.
4852 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4853 * sysdeps/x86_64/fpu/Versions: New versions added.
4854 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4855 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4856 build of SSE, AVX2 and AVX512 IFUNC versions.
4857 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
4858 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
4859 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
4860 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
4861 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
4862 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
4863 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
4864 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
4865 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
4866 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
4867 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
4868 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
4869 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
4870 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4871 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4872 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4873 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4874 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4875 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4876 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4877 * NEWS: Mention addition of x86_64 vector logf.
4878
4879 * bits/libm-simd-decl-stubs.h: Added stubs for log.
4880 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
4881 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4882 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4883 redirections for log.
4884 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4885 * sysdeps/x86_64/fpu/Versions: New versions added.
4886 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4887 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4888 build of SSE, AVX2 and AVX512 IFUNC versions.
4889 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
4890 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
4891 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
4892 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
4893 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
4894 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
4895 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
4896 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
4897 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
4898 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
4899 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
4900 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
4901 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
4902 test.
4903 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4904 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4905 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4906 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4907 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4908 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4909 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4910 * NEWS: Mention addition of x86_64 vector log.
4911
4912 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
4913
4914 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
4915 cfi_adjust_cfa_offset argument.
4916 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
4917 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
4918
4919 [BZ #18034]
4920 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
4921 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
4922 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
4923 ordering using ldar.
4924 (_dl_tlsdesc_dynamic): Likewise.
4925 (_dl_tlsdesc_return_lazy): Likewise.
4926 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
4927 relaxed atomics instead of volatile and synchronize with release store.
4928 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
4929 volatile.
4930 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4931
4932 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
4933
4934 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4935 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
4936 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4937 * sysdeps/x86_64/fpu/Versions: New versions added.
4938 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4939 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4940 build of SSE, AVX2 and AVX512 IFUNC versions.
4941 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
4942 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
4943 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
4944 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
4945 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
4946 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
4947 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
4948 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
4949 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
4950 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
4951 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
4952 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
4953 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
4954 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4955 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4956 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4957 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4958 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4959 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4960 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4961 * NEWS: Mention addition of x86_64 vector sinf.
4962
4963 2015-06-14 Joseph Myers <joseph@codesourcery.com>
4964
4965 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
4966 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
4967 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
4968 Remove variable.
4969 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4970 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4971
4972 2015-06-12 Joseph Myers <joseph@codesourcery.com>
4973
4974 [BZ #18530]
4975 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
4976 strong alias of _IO_fputs. Use libc_hidden_def.
4977 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
4978 and define as weak alias of __fputs_unlocked. Use
4979 libc_hidden_weak.
4980 * include/stdio.h (__fputs_unlocked): Declare. Use
4981 libc_hidden_proto.
4982 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
4983 fputs_unlocked.
4984
4985 [BZ #18529]
4986 * resolv/netdb.h [__USE_POSIX]: Change condition to
4987 [__USE_XOPEN2K].
4988 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
4989 not expect.
4990 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
4991 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
4992 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
4993 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
4994 [XPG4 || UNIX98] (AI_ALL): Likewise.
4995 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
4996 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
4997 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
4998 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
4999 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
5000 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
5001 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
5002 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
5003 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
5004 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
5005 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
5006 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
5007 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
5008 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
5009 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
5010 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
5011 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
5012 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
5013 [XPG4 || UNIX98] (gai_strerror): Likewise.
5014 [XPG4 || UNIX98] (getaddrinfo): Likewise.
5015 [XPG4 || UNIX98] (getnameinfo): Likewise.
5016
5017 [BZ #18528]
5018 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
5019 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
5020 __USE_XOPEN2K8].
5021 (getgrent): Likewise.
5022 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
5023 expect.
5024 [XPG3 || POSIX2008] (endgrent): Likewise.
5025 [XPG3] (setgrent): Likewise.
5026 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
5027 variable.
5028 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5029
5030 [BZ #18527]
5031 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
5032 define as weak alias of __getlogin_r. Use libc_hidden_weak.
5033 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
5034 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
5035 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
5036 * include/unistd.h (__getlogin_r): Declare. Use
5037 libc_hidden_proto.
5038 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
5039 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
5040 variable.
5041 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5042 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5043 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5044
5045 2015-06-12 Martin Sebor <msebor@redhat.com>
5046
5047 [BZ #18512]
5048 * Makerules (check-install-supported): New target.
5049 (install): Add check-install-supported as a dependency.
5050 * manual/install.texi (Installing the C Library): Document
5051 that overriding prefix and exec_prefix is not supported.
5052 Mention DESTDIR.
5053 * INSTALL: Regenerate from the above.
5054
5055 2015-06-12 Joseph Myers <joseph@codesourcery.com>
5056
5057 [BZ #18519]
5058 * posix/Versions (libc): Export __libc_pread at version
5059 GLIBC_PRIVATE.
5060 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
5061 instead of pread.
5062 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
5063 variable.
5064
5065 [BZ #18522]
5066 * misc/efgcvt_r.c
5067 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
5068 (cvt_symbol): Use weak_alias instead of strong_alias.
5069 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
5070 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
5071 Remove variable.
5072 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5073 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5074
5075 [BZ #18520]
5076 * inet/herrno.c (h_errno): Rename to __h_errno.
5077 (__libc_h_errno): Define as alias of __h_errno not h_errno.
5078 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
5079 to __h_errno instead of h_errno.
5080 * nptl/herrno.c (h_errno): Rename to __h_errno.
5081 (__h_errno_location): Refer to __h_errno not h_errno.
5082 * resolv/Versions (h_errno): Rename to __h_errno.
5083 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
5084 Remove variable.
5085 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5086
5087 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
5088
5089 * configure.ac: More strict check for AVX512 assembler support.
5090 * configure: Regenerated.
5091
5092 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
5093 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
5094 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5095 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
5096 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5097 * sysdeps/x86_64/fpu/Versions: New versions added.
5098 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5099 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5100 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5101 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
5102 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
5103 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
5104 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
5105 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
5106 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
5107 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
5108 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
5109 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
5110 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
5111 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
5112 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
5113 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
5114 test.
5115 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5116 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5117 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5118 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5119 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5120 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5121 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5122 * NEWS: Mention addition of x86_64 vector sin.
5123
5124 2015-06-11 Florian Weimer <fweimer@redhat.com>
5125
5126 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
5127 comment.
5128
5129 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
5130
5131 [BZ #18479]
5132 * nptl/pt-interp.c: New file.
5133 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
5134 Add pt-interp.
5135 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
5136 $(common-objpfx)runtime-linker.h.
5137
5138 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
5139
5140 * Makeconfig (+interp): Remove unused variable.
5141 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
5142 only. Depend on $(common-objpfx)runtime-linker.h instead of
5143 $(elf-objpfx)runtime-linker.h.
5144 ($(elf-objpfx)runtime-linker.h): Rename to
5145 $(common-objpfx)runtime-linker.h and move ...
5146 * Makerules [$(build-shared) = yes]: ... here.
5147 * elf/interp.c: Include <runtime-linker.h> instead of
5148 <elf/runtime-linker.h>.
5149
5150 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5151
5152 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
5153 (__gettimeofday_syscall): Remove vsyscall fallback.
5154 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
5155 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
5156 Add syscall fallback function.
5157 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
5158 if vDSO is not present.
5159 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
5160 fallback function.
5161 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
5162 present.
5163 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
5164 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5165
5166 2015-06-09 Joseph Myers <joseph@codesourcery.com>
5167
5168 [BZ #18497]
5169 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
5170 of wcscmp.
5171 (wcscmp): Define as weak alias of WCSCMP.
5172 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
5173 wcscoll.
5174 (USE_HIDDEN_DEF): Define.
5175 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
5176 __wcscoll. Don't use libc_hidden_weak.
5177 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
5178 wcscmp.
5179 * sysdeps/i386/i686/multiarch/wcscmp-c.c
5180 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
5181 __GI_wcscmp.
5182 (weak_alias): Undefine and redefine.
5183 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
5184 __wcscmp and define as weak alias of __wcscmp.
5185 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
5186 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
5187 (__wcscoll): Likewise.
5188 (wcscmp): Don't use libc_hidden_proto.
5189 (wcscoll): Likewise.
5190 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
5191 wcscoll.
5192 * posix/regexec.c (check_node_accept_bytes): Likewise.
5193 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
5194 variable.
5195 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5196 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5197
5198 [BZ #18507]
5199 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
5200 __fstatvfs and define as weak alias of __fstatvfs. Use
5201 libc_hidden_weak.
5202 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
5203 and define as weak alias of __statvfs. Use libc_hidden_weak.
5204 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
5205 Define as alias of __fstatvfs, not fstatvfs.
5206 (fstatvfs64): Likewise.
5207 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
5208 Define as alias of __statvfs, not statvfs.
5209 (statvfs64): Likewise.
5210 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
5211 Remove variable.
5212
5213 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5214
5215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5216 (HAVE_GETCPU_VSYSCALL): Define.
5217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5218 (HAVE_GETCPU_VSYSCALL): Likewise.
5219 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
5220 * sysdeps/unix/sysv/linux/sched_getcpu.c
5221 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
5222 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
5223 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
5224 prototype.
5225 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5226 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
5227 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
5228 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
5229 Define.
5230 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
5231 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5232 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
5233 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5234
5235 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
5236
5237 * sysdeps/x86_64/fpu/Makefile: New file.
5238 * sysdeps/x86_64/fpu/Versions: New file.
5239 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
5240 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
5241 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
5242 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
5243 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
5244 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
5245 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
5246 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
5247 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
5248 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
5249 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
5250 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
5251 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
5252 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5253 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5254 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
5255 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
5256 * sysdeps/x86_64/configure.ac: Options for libmvec build.
5257 * sysdeps/x86_64/configure: Regenerated.
5258 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
5259 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
5260 * manual/install.texi (Configuring and compiling): Document
5261 --disable-mathvec.
5262 * INSTALL: Regenerated.
5263 * NEWS: Mention addition of libmvec and x86_64 vector cos.
5264
5265 * math/Makefile: Added rules for vector tests.
5266 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
5267 declaration under condition.
5268 * math/test-double-vlen2.h: New file.
5269 * math/test-double-vlen4.h: New file.
5270 * math/test-double-vlen8.h: New file.
5271 * math/test-vec-loop.h: Added initialization macro.
5272 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
5273 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
5274 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
5275 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
5276 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
5277 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
5278 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
5279 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
5280 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
5281 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
5282 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
5283
5284 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5285 * sysdeps/x86_64/fpu/Versions: New versions added.
5286 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
5287 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
5288 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
5289 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
5290 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
5291 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
5292 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
5293 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
5294 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
5295 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
5296 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
5297 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
5298 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
5299 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5300 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5301 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5302 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
5303 * NEWS: Mention addition of x86_64 vector cosf.
5304
5305 * math/Makefile: Added CFLAGS for new tests.
5306 * math/test-float-vlen16.h: New file.
5307 * math/test-float-vlen4.h: New file.
5308 * math/test-float-vlen8.h: New file.
5309 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
5310 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
5311 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5312 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
5313 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
5314 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
5315 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
5316 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
5317 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
5318 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
5319 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
5320
5321 2015-06-09 Marko Myllynen <myllynen@redhat.com>
5322
5323 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
5324 * locale/programs/ld-ctype.c: Likewise.
5325
5326 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
5327
5328 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
5329 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
5330 bit_ZMM16_31_state): New macro.
5331 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5332 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
5333
5334 2015-06-08 Joseph Myers <joseph@codesourcery.com>
5335
5336 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
5337
5338 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
5339
5340 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
5341
5342 2015-06-05 Joseph Myers <joseph@codesourcery.com>
5343
5344 [BZ #18498]
5345 * libio/memstream.c (open_memstream): Rename to __open_memstream
5346 and define as weak alias of __open_memstream.
5347 * include/stdio.h (__open_memstream): Declare. Use
5348 libc_hidden_proto.
5349 (open_memstream): Don't use libc_hidden_proto.
5350 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
5351 open_memstream.
5352 * posix/getopt.c (_getopt_internal_r): Likewise.
5353 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
5354 variable.
5355 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5356 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5357 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5358
5359 [BZ #18496]
5360 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
5361 instead of wcrtomb.
5362
5363 [BZ #18483]
5364 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
5365 [__USE_XOPEN2K8]. Remove redundant #endif.
5366 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
5367 Remove redundant #if.
5368 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
5369 Remove variable.
5370 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5371 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5372
5373 [BZ #18495]
5374 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
5375 (__iswlower): Likewise.
5376 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
5377 (__iswlower): Likewise.
5378 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
5379 instead of towlower.
5380 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
5381 instead of iswlower. Call __towupper instead of towupper.
5382 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
5383 instead of iswalnum.
5384
5385 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5386
5387 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
5388 errors to stderr.
5389
5390 2015-06-05 Florian Weimer <fweimer@redhat.com>
5391
5392 [BZ #15661]
5393 [BZ #17322]
5394 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
5395 Check for overflow properly. Check for O_APPEND. Ignore large
5396 file system block sizes. Add comments about problems.
5397 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
5398 * manual/filesys.texi (Storage Allocation): New node.
5399
5400 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5401
5402 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
5403 cancellable syscalls.
5404 (SYS_ify): Add guard to no redefine it.
5405 (INLINE_SYSCALL): Likewise.
5406 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
5407 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
5408 SYSCALL_CANCEL instead.
5409 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
5410 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5411 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5412 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5413 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5414 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
5415 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
5416 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
5417 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5418 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5419 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
5420 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
5421 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
5422 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
5423 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
5424 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5425 Likewise.
5426 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5427 (__libc_pread64): Likewise.
5428 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
5429 (__libc_preadv): Likewise.
5430 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
5431 (__libc_readv64): Likewise.
5432 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5433 (__libc_pwrite): Likewise.
5434 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5435 (__libc_pwrite64): Likewise.
5436 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
5437 (__libc_pwritev): Likewise.
5438 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
5439 (__libc_pwritev64): Likewise.
5440 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
5441 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
5442 (sync_file_range): Likewise.
5443 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
5444 Likewise.
5445 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
5446 Likewise.
5447 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5448 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5449 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5450 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5451 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5452 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5453 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5454 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
5455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5456 Likewise.
5457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5458 (__libc_read64): Likewise.
5459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
5460 Likewise.
5461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
5462 Likewise.
5463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
5464 Likewise.
5465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
5466 Likewise.
5467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5468 (__libc_pread64): Likewise.
5469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
5470 Likewise.
5471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5472 (__libc_pwrite64): Likewise.
5473 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
5474 (sync_file_range): Likewise.
5475 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
5476 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5477 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5478 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
5479 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
5480 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5481 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5482 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
5483 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
5484 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5485 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5486 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5487 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5488 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5489 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
5490 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5491 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5492 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5493 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5494 Likewise.
5495 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
5496 Likewise.
5497 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
5498 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
5499 Likewise.
5500 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
5501 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
5502 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
5503 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
5504 Likewise.
5505 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
5506 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
5507 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
5508 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
5509 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
5510
5511 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
5512
5513 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
5514 Include dl-vdso.
5515 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
5516 Use VDSO routines for gettimeofday, clock_gettime if
5517 available.
5518 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
5519 Declare VDSO symbols.
5520 * sysdeps/unix/sysv/linux/arm/sysdep.h:
5521 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
5522 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5523 * sysdeps/unix/sysv/linux/arm/Versions: Add
5524 __vdso_clock_gettime.
5525
5526 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5527
5528 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
5529 be an inline implementation regardless of library is built within.
5530 (open_not_cancel_2): Likewise.
5531 (__read_nocancel): Likewise.
5532 (__write_nocancel): Likewise.
5533 (openat_not_cancel): Likewise.
5534 (openat_not_cancel_3): Likewise.
5535 (openat64_not_cancel): Likewise.
5536 (openat64_not_cancel_3): Likewise.
5537 (__close_nocancel): Likewise.
5538 (pause_not_cancel): Likewise.
5539 (nanosleep_not_cancel): Likewise.
5540 (sigsuspend_not_cancel): Likewise.
5541
5542 2015-06-04 Torvald Riegel <triegel@redhat.com>
5543
5544 [BZ #14958]
5545 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
5546 wake-up.
5547 (__pthread_rwlock_rdlock_slow): Likewise.
5548 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5549 Likewise.
5550 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
5551 Likewise.
5552 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
5553 * nptl/tst-rwlock16.c: New file.
5554 * nptl/Makefile (tests): Add new test.
5555
5556 2015-06-04 Torvald Riegel <triegel@redhat.com>
5557
5558 [BZ #18324]
5559 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
5560 missing wake-up of readers.
5561 * nptl/tst-rwlock15.c: New file.
5562 * nptl/Makefile (tests): Add new test.
5563
5564 2015-06-03 Roland McGrath <roland@hack.frob.com>
5565
5566 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
5567 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
5568 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
5569 and __nacl_supply_interface_rtld.
5570 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
5571 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
5572 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
5573 Add __nacl_supply_interface_rtld.
5574 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
5575
5576 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5577
5578 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
5579 isfinite.
5580 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5581 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
5582
5583 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5584
5585 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
5586 __signbit* with standard C99 macros.
5587 * math/e_exp10l.c: Likewise.
5588 * math/e_exp2l.c: Likewise.
5589 * math/e_scalb.c: Likewise.
5590 * math/e_scalbf.c: Likewise.
5591 * math/e_scalbl.c: Likewise.
5592 * math/s_ldexp.c: Likewise.
5593 * math/s_ldexpf.c: Likewise.
5594 * math/s_ldexpl.c: Likewise.
5595 * math/w_atan2.c: Likewise.
5596 * math/w_atan2f.c: Likewise.
5597 * math/w_atan2l.c: Likewise.
5598 * math/w_cosh.c: Likewise.
5599 * math/w_coshf.c: Likewise.
5600 * math/w_coshl.c: Likewise.
5601 * math/w_exp10.c: Likewise.
5602 * math/w_exp10f.c: Likewise.
5603 * math/w_exp10l.c: Likewise.
5604 * math/w_exp2.c: Likewise.
5605 * math/w_exp2f.c: Likewise.
5606 * math/w_exp2l.c: Likewise.
5607 * math/w_fmod.c: Likewise.
5608 * math/w_fmodf.c: Likewise.
5609 * math/w_fmodl.c: Likewise.
5610 * math/w_hypot.c: Likewise.
5611 * math/w_hypotf.c: Likewise.
5612 * math/w_hypotl.c: Likewise.
5613 * math/w_jnl.c: Likewise.
5614 * math/w_lgamma.c: Likewise.
5615 * math/w_lgamma_r.c: Likewise.
5616 * math/w_lgammaf.c: Likewise.
5617 * math/w_lgammaf_r.c: Likewise.
5618 * math/w_lgammal.c: Likewise.
5619 * math/w_lgammal_r.c: Likewise.
5620 * math/w_pow.c: Likewise.
5621 * math/w_powf.c: Likewise.
5622 * math/w_powl.c: Likewise.
5623 * math/w_remainder.c: Likewise.
5624 * math/w_remainderf.c: Likewise.
5625 * math/w_remainderl.c: Likewise.
5626 * math/w_scalb.c: Likewise.
5627 * math/w_scalbf.c: Likewise.
5628 * math/w_scalbl.c: Likewise.
5629 * math/w_scalbln.c: Likewise.
5630 * math/w_scalblnf.c: Likewise.
5631 * math/w_scalblnl.c: Likewise.
5632 * math/w_sinh.c: Likewise.
5633 * math/w_sinhf.c: Likewise.
5634 * math/w_sinhl.c: Likewise.
5635 * math/w_tgamma.c: Likewise.
5636 * math/w_tgammaf.c: Likewise.
5637 * math/w_tgammal.c: Likewise.
5638 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5639 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
5640 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5641 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5642 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5643 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5644 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5645 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5646 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5647 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5648 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5649 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5650 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5651 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5652 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5653 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5654 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5655 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5656 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5657 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5658 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5659 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5660 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5661 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5662 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5663 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5664 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
5665 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5666 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5667 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5668 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
5669 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
5670 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
5671 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
5672 * stdio-common/printf_fp.c: Likewise.
5673 * stdio-common/printf_fphex.c: Likewise.
5674 * stdio-common/printf_size.c: Likewise.
5675
5676 2015-06-03 Joseph Myers <joseph@codesourcery.com>
5677
5678 [BZ #18470]
5679 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
5680 strnlen.
5681 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
5682 Remove variable.
5683 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5684 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5685 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5686 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5687 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5688 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5689 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5690 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5691 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5692 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5693
5694 [BZ #18468]
5695 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
5696 weak alias of __wmemchr. Use libc_hidden_weak.
5697 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
5698 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
5699 instead of wmemchr.
5700
5701 2015-06-02 Roland McGrath <roland@hack.frob.com>
5702
5703 [BZ #18383]
5704 * elf/tst-tlsalign-extern.c: New file.
5705 * elf/tst-tlsalign-extern-static.c: New file.
5706 * elf/tst-tlsalign-vars.c: New file.
5707 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
5708 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
5709 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
5710 ($(objpfx)tst-tlsalign-extern-static): Likewise.
5711 (test-xfail-tst-tlsalign-extern-static): New variable.
5712
5713 2015-06-02 Joseph Myers <joseph@codesourcery.com>
5714
5715 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
5716 Use variable name _sc_err instead of err.
5717 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
5718 instead of ret.
5719 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
5720 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
5721 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
5722 (INLINE_SYSCALL): Likewise.
5723
5724 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
5725 * include/string.h (__strnlen): Use libc_hidden_proto.
5726 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
5727 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
5728 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
5729 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
5730 (libc_hidden_def): Undefine and redefine.
5731 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
5732 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
5733 __GI_strnlen.
5734 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
5735 libc_hidden_def.
5736 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
5737
5738 [BZ #18469]
5739 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
5740 weak alias of __towlower. Use libc_hidden_weak.
5741 (towupper): Rename to __towupper and define as weak alias of
5742 __towupper. Use libc_hidden_weak.
5743 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
5744 (__towupper): Likewise.
5745 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
5746 __towlower instead of towlower.
5747
5748 2015-06-02 Roland McGrath <roland@hack.frob.com>
5749
5750 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
5751 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
5752
5753 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
5754
5755 * sysdeps/aarch64/libm-test-ulps: Update.
5756
5757 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5758
5759 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
5760 Define.
5761 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5762 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5763 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5764 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5765 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
5766 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
5767 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
5768
5769 2015-06-01 Martin Sebor <msebor@redhat.com>
5770
5771 [BZ #18116]
5772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5773 (__setcontext): Use extended four-operand version of mtsf whenever
5774 possible.
5775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5776 (__novec_swapcontext): Likewise.
5777
5778 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5779
5780 * benchtests/scripts/compare_bench.py: New file.
5781 * benchtests/scripts/import_bench.py (mean): New function.
5782 (split_list): Likewise.
5783 (do_for_all_timings): Likewise.
5784 (compress_timings): Likewise.
5785
5786 * benchtests/scripts/import_bench.py: New file.
5787 * benchtests/scripts/validate_benchout.py: Import import_bench
5788 instead of jsonschema.
5789 (validate_bench): Remove function.
5790 (main): Use import_bench.
5791
5792 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
5793
5794 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
5795 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
5796
5797 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5798
5799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5800
5801 2015-05-28 Roland McGrath <roland@hack.frob.com>
5802
5803 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
5804 set THREAD_SELF->tid to a magic value and futex-wake it.
5805 Pass its address to the thread_exit system call.
5806 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
5807 bit is clear.
5808 * sysdeps/nacl/lowlevellock.h: New file.
5809 * sysdeps/nacl/lll_timedwait_tid.c: New file.
5810
5811 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
5812 Add TIMEOUT to current time, don't subtract it.
5813
5814 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
5815
5816 [BZ #2981]
5817 [BZ #18422]
5818 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
5819 ($(objpfx)tst-audit2.out): Also depend on
5820 $(objpfx)tst-auditmod9b.so.
5821 * elf/tst-audit2.c: Include <dlfcn.h>.
5822 (calloc_called): New.
5823 (calloc): Allow to be called more than once.
5824 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
5825
5826 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
5827
5828 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
5829 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
5830
5831 2015-05-27 Marko Myllynen <myllynen@redhat.com>
5832
5833 * stdlib/monetary.h: Fix comment.
5834
5835 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
5836
5837 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
5838 Avoid using variables in #defines that might cause shadowing.
5839 (INTERNAL_VSYSCALL_CALL): Likewise.
5840
5841 2015-05-26 Roland McGrath <roland@hack.frob.com>
5842
5843 * sysdeps/nacl/lll_timedlock_wait.c: New file.
5844
5845 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
5846 * nptl/lll_timedlock_wait.c: ... to this new file.
5847 * nptl/Makefile (libpthread-routines): Add it.
5848 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
5849 * nptl/lll_timedwait_tid.c: ... to this new file.
5850 * nptl/Makefile (libpthread-routines): Add it.
5851 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
5852 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
5853 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
5854 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
5855 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
5856 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
5857 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
5858 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
5859 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
5860 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
5861
5862 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5863
5864 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
5865 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5866 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5867 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
5868 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5869 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5870 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5871 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5872 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5873 * sysdeps/unix/sysv/linux/tile/sysdep.h
5874 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5875 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
5876 using vDSO syscall macro.
5877
5878 2015-05-26 Andriy Rysin <arysin@gmail.com>
5879
5880 [BZ #17293]
5881 * uk_UA: Fix sorting order for Ukrainian locale
5882
5883 2015-05-26 Marko Myllynen <myllynen@redhat.com>
5884
5885 * stdlib/monetary.h: Fix comment.
5886
5887 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5888
5889 [BZ #18234]
5890 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
5891 st_mtim and st_ctim members.
5892 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
5893 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
5894 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
5895 (struct stat64): Likewise.
5896 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
5897 (struct stat64): Likewise.
5898 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
5899 (struct stat64): Likewise.
5900
5901 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5902
5903 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
5904 Define and include sysdep-vdso.h.
5905 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
5906 Likewise.
5907 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
5908 Likewise.
5909 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
5910 Define with VDSO_SYMBOL and use PTR_MANGLE.
5911 (__vdso_clock_gettime): Likewise.
5912 (__vdso_clock_getres): Likewise.
5913 (_libc_vdso_platform_setup): Likewise.
5914 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5915 Likewise.
5916 (_libc_vdso_platform_setup): Likewise.
5917 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
5918 Likewise.
5919 (__vdso_clock_gettime): Likewise.
5920 (__vdso_clock_getres): Likewise.
5921 (__vdso_get_tbfreq): Likewise.
5922 (__vdso_getcpu): Likewise.
5923 (__vdso_time): Likewise.
5924 (__vdso_sigtramp_rt64): Likewise.
5925 (__vdso_signtramp32): Likewise.
5926 (__vdso_sigtramp_rt32): Likewise.
5927 (_libc_vdso_platform_setup): Likewise.
5928 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
5929 Likewise.
5930 (__vdso_clock_gettime): Likewise.
5931 (__vdso_clock_getres): Likewise.
5932 (_libc_vdso_platform_setup): Likewise.
5933 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
5934 Likewise.
5935 (__vdso_clock_gettime): Likewise.
5936 (_libc_vdso_platform_setup): Likewise.
5937 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5938 Likewise.
5939 (__vdso_getcpu): Likewise.
5940 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
5941 Use VDSO_SYMBOL macro to define.
5942 (__vdso_clock_gettime): Likewise.
5943 (__vdso_clock_getres): Likewise.
5944 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
5945 Likewise.
5946 (__vdso_clock_gettime): Likewise.
5947 (__vdso_clock_getres): Likewise.
5948 (__vdso_get_tbfreq): Likewise.
5949 (__vdso_getcpu): Likewise.
5950 (__vdso_time): Likewise.
5951 (__vdso_sigtramp_rt64): Likewise.
5952 (__vdso_signtramp32): Likewise.
5953 (__vdso_sigtramp_rt32): Likewise.
5954 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
5955 Likewise.
5956 (__vdso_clock_gettime): Likewise.
5957 (__vdso_clock_getres): Likewise.
5958 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
5959 Likewise.
5960 (__vdso_clock_gettime): Likewise.
5961 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5962 Likewise.
5963 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
5964 macro.
5965 (INTERNAL_VSYSCALL): Likewise.
5966 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
5967 Remove macro.
5968 (INTERNAL_VSYSCALL): Likewise.
5969 (INTERNAL_VSYSCALL_NCS): Likewise.
5970 (INTERNAL_VSYSCALL_CALL): New macro.
5971 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5972 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
5973 Likewise.
5974 (INTERNAL_VSYSCALL): Likewise.
5975 (INTERNAL_VSYSCALL_NCS): Likewise.
5976 (INTERNAL_VSYSCALL_CALL): New macro.
5977 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5979 (INLINE_VSYSCALL): Remove macro.
5980 (INTERNAL_VSYSCALL): Remove macro.
5981 (INTERNAL_VSYSCALL_NCS): Remove macro.
5982 (INTERNAL_VSYSCALL_CALL): New macro.
5983 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
5984 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
5985 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5986 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
5987 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5989 (INLINE_VSYSCALL): Remove macro.
5990 (INTERNAL_VSYSCALL): Likewise.
5991 (INTERNAL_VSYSCALL_NCS): Likewise.
5992 (INTERNAL_VSYSCALL_CALL): New macro.
5993 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
5994 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
5995 PTR_DEMANGLE on vDSO pointer.
5996 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5997 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
5998 macro.
5999 (INTERNAL_SYSCALL): Likewise.
6000 (INTERNAL_VSYSCALL_NCS): Remove macro.
6001 (INTERNAL_VSYSCALL_CALL): New macro.
6002 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
6003 Remove macro.
6004 (INTERNAL_VSYSCALL): Likewise.
6005 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
6006 sysdep-vdso.h instead of libc-vdso.h.
6007 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
6008 definition.
6009 (INLINE_VSYSCALL): Likewise.
6010 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
6011 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
6012 definition.
6013 (INLINE_VSYSCALL): Likewise.
6014 (INTERNAL_VSYSCALL): Likewise.
6015 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6016 * sysdeps/unix/sysv/linux/timespec_get.c
6017 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6018 (timespec_get): Use ANSI prototype.
6019 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
6020 and definition for Linux.
6021
6022 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
6023
6024 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
6025 * include/libc-symbols.h: libmvec_hidden_* macro series added.
6026
6027 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
6028
6029 [BZ #2981]
6030 [BZ #18410]
6031 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
6032 for missing DT_PLTRELSZ.
6033
6034 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
6035
6036 Remove obsolete aliases that broke 'locale -a'
6037 [BZ #18412]
6038 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
6039 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
6040 breaking some applications that use 'locale -a' output.
6041 Change the encoding of this file from Latin-1 to ASCII to avoid
6042 other potential problems with people grepping this file.
6043
6044 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6045
6046 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
6047 -fasynchronous-unwind-tables.
6048 (CFLAGS-sendto.c): Likewise.
6049 (CFLAGS-sendmsg.c): Likewise.
6050 (CFLAGS-connect.c): Likewise.
6051 (CFLAGS-recvmsg.c): Likewise.
6052 (CFLAGS-recvfrom.c): Likewise.
6053 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
6054 (SOCKETCALL): New macro: non-cancellable socketcall.
6055 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
6056 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
6057 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
6058 * sysdeps/unix/sysv/linux/accept.c: New file.
6059 * sysdeps/unix/sysv/linux/bind.c: Likewise.
6060 * sysdeps/unix/sysv/linux/connect.c: Likewise.
6061 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
6062 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
6063 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
6064 * sysdeps/unix/sysv/linux/listen.c: Likewise.
6065 * sysdeps/unix/sysv/linux/recv.c: Likewise.
6066 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
6067 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
6068 * sysdeps/unix/sysv/linux/send.c: Likewise.
6069 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
6070 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
6071 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
6072 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
6073 * sysdeps/unix/sysv/linux/socket.c: Likewise.
6074 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
6075 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
6076 prototype.
6077 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
6078 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6079 instead of __internal_xxx function.
6080 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
6081 prototype.
6082 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
6083 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6084 instead of __internal_xxx function.
6085 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
6086 prototype.
6087 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
6088 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6089 instead of __internal_xxx function.
6090 * sysdeps/unix/sysv/linux/accept.S: Remove file.
6091 * sysdeps/unix/sysv/linux/bind.S: Likewise.
6092 * sysdeps/unix/sysv/linux/connect.S: Likewise.
6093 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
6094 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
6095 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
6096 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
6097 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
6098 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
6099 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
6100 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
6101 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6102 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
6103 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
6104 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
6105 * sysdeps/unix/sysv/linux/listen.S: Likewise.
6106 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
6107 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
6108 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
6109 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
6110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
6111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
6112 * sysdeps/unix/sysv/linux/recv.S: Likewise.
6113 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
6114 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
6115 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
6116 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6117 * sysdeps/unix/sysv/linux/send.S: Likewise.
6118 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
6119 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
6120 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
6121 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
6122 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
6123 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
6124 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
6125 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
6126 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
6127 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
6128 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
6129 socketcall is implemented in GLIBC.
6130
6131 2015-05-22 Joseph Myers <joseph@codesourcery.com>
6132
6133 * soft-fp/fmadf4.c: Include <libc-internal.h>.
6134 (__fma): Ignore uninitialized warnings around packing.
6135 * soft-fp/fmasf4.c: Include <libc-internal.h>.
6136 (__fmaf): Ignore uninitialized warnings around packing.
6137 * soft-fp/fmatf4.c: Include <libc-internal.h>.
6138 (__fmal): Ignore uninitialized warnings around packing.
6139
6140 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
6141 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6142 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
6143 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6144
6145 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
6146 switch statement into default case.
6147 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
6148
6149 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
6150 a conditional in forcing "inexact".
6151 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6152 Likewise.
6153
6154 2015-05-22 Roland McGrath <roland@hack.frob.com>
6155
6156 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6157 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
6158 for each INTERNAL_SYSCALL use.
6159
6160 2015-05-22 Joseph Myers <joseph@codesourcery.com>
6161
6162 [BZ #438]
6163 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
6164 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
6165 variable.
6166
6167 [BZ #18444]
6168 * string/basename.c (basename): Rename to __basename and define as
6169 weak alias of __basename. Use libc_hidden_weak.
6170 * include/string.h (__basename): Declare. Use libc_hidden_proto.
6171 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
6172 __basename instead of basename.
6173 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
6174 Remove variable.
6175 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6176
6177 2015-05-18 Florian Weimer <fweimer@redhat.com>
6178
6179 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
6180 (_IO_JUMPS_FILE_plus): New.
6181 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
6182 _IO_CAST_FIELD_ACCESS.
6183 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
6184 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
6185 * libio/freopen.c (freopen): Likewise.
6186 * libio/freopen64.c (freopen64): Likewise.
6187 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
6188 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
6189 * libio/iofwide.c (_IO_fwide): Likewise.
6190 * libio/memstream.c (open_memstream): Likewise.
6191 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6192 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6193 * libio/oldiopopen.c (_IO_old_popen): Likewise.
6194
6195 2015-05-21 Joseph Myers <joseph@codesourcery.com>
6196
6197 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
6198 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
6199 NADJ.
6200 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
6201 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
6202 NADJ.
6203 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
6204 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
6205 NADJ.
6206
6207 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
6208 (p == 4) case.
6209
6210 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
6211 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
6212 Remove variable.
6213 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6214 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6215 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6216
6217 2015-05-21 Florian Weimer <fweimer@redhat.com>
6218
6219 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
6220 Adjust jump table label generation macros.
6221
6222 2015-05-21 Florian Weimer <fweimer@redhat.com>
6223
6224 * stdio-common/vfprintf.c (vfprintf): Move local variables
6225 args_malloced, specs, specs_malloced, and the code after
6226 do_positional to the printf_positional function.
6227 (printf_positional): New function.
6228
6229 2015-05-21 Florian Weimer <fweimer@redhat.com>
6230
6231 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
6232 function.
6233 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
6234 STEP4_TABLE, process_arg): Move macro definitions
6235 out of the vfprintf function. (Cosmetic change only.)
6236
6237 2015-05-21 Carlos O'Donell <carlos@redhat.com>
6238
6239 * benchtests/Makefile (stdio-common-bench): Define.
6240 (benchset): Add stdio-common-bench.
6241 * sprintf-inputs: New file.
6242 * sprintf-source.c: New file.
6243
6244 2015-05-21 Andreas Schwab <schwab@suse.de>
6245
6246 [BZ #13028]
6247 [BZ #17053]
6248 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
6249 of struct __res_state.
6250 * resolv/res_send.c (__libc_res_nsend): Likewise.
6251 (get_nsaddr): New function.
6252 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
6253 statp directly.
6254
6255 2015-05-20 Joseph Myers <joseph@codesourcery.com>
6256
6257 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
6258 -D_POSIX_C_SOURCE=199506L.
6259
6260 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
6261
6262 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
6263 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
6264 Do not mention otherwise.
6265 [POSIX] (_XOPEN_VERSION): Do not expect.
6266 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
6267 [POSIX] (_POSIX2_C_BIND): Likewise.
6268 [POSIX] (_POSIX2_VERSION): Likewise.
6269 [POSIX] (_XOPEN_XPG2): Likewise.
6270 [POSIX] (_XOPEN_XPG3): Likewise.
6271 [POSIX] (_XOPEN_XPG4): Likewise.
6272 [POSIX] (_XOPEN_UNIX): Likewise.
6273 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
6274 [POSIX] (_POSIX_BARRIERS): Likewise.
6275 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
6276 [POSIX] (_POSIX_CPUTIME): Likewise.
6277 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
6278 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
6279 [POSIX] (_POSIX_SHELL): Likewise.
6280 [POSIX] (_POSIX_SPAWN): Likewise.
6281 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
6282 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
6283 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
6284 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
6285 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
6286 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
6287 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
6288 [POSIX] (_XBS5_LP64_OFF64): Likewise.
6289 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
6290 [POSIX] (_POSIX_TIMEOUTS): Likewise.
6291 [POSIX] (_POSIX2_PBS): Likewise.
6292 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
6293 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
6294 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
6295 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
6296 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
6297 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
6298 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
6299 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
6300 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
6301 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
6302 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
6303 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
6304 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
6305 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
6306 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
6307 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
6308 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
6309 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
6310 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
6311 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
6312 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
6313 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
6314 [POSIX] (_SC_2_C_BIND): Likewise.
6315 [POSIX] (_SC_2_C_VERSION): Likewise.
6316 [POSIX] (_SC_2_PBS): Likewise.
6317 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
6318 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
6319 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
6320 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
6321 [POSIX] (_SC_2_PBS_TRACK): Likewise.
6322 [POSIX] (_SC_ATEXIT_MAX): Likewise.
6323 [POSIX] (_SC_BARRIERS): Likewise.
6324 [POSIX] (_SC_BASE): Likewise.
6325 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
6326 [POSIX] (_SC_DEVICE_IO): Likewise.
6327 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
6328 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
6329 [POSIX] (_SC_FD_MGMT): Likewise.
6330 [POSIX] (_SC_FIFO): Likewise.
6331 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
6332 [POSIX] (_SC_FILE_LOCKING): Likewise.
6333 [POSIX] (_SC_FILE_SYSTEM): Likewise.
6334 [POSIX] (_SC_IOV_MAX): Likewise.
6335 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
6336 [POSIX] (_SC_NETWORKING): Likewise.
6337 [POSIX] (_SC_PAGE_SIZE): Likewise.
6338 [POSIX] (_SC_PASS_MAX): Likewise.
6339 [POSIX] (_SC_PIPE): Likewise.
6340 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
6341 [POSIX] (_SC_REGEXP): Likewise.
6342 [POSIX] (_SC_SHELL): Likewise.
6343 [POSIX] (_SC_SIGNALS): Likewise.
6344 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
6345 [POSIX] (_SC_SPIN_LOCKS): Likewise.
6346 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
6347 [POSIX] (_SC_USER_GROUPS): Likewise.
6348 [POSIX] (_SC_USER_GROUPS_R): Likewise.
6349 [POSIX] (_SC_STREAMS): Likewise.
6350 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
6351 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
6352 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
6353 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
6354 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
6355 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
6356 [POSIX] (_PC_FILESIZEBITS): Likewise.
6357 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
6358 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
6359 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
6360 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
6361 [POSIX] (uid_t): Likewise.
6362 [POSIX] (gid_t): Likewise.
6363 [POSIX] (off_t): Likewise.
6364 [POSIX] (pid_t): Likewise.
6365 [POSIX] (cuserid): Allow.
6366 (_SC_2_CHAR_TERM): Require constant.
6367 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
6368 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
6369 variable.
6370
6371 2015-05-20 Roland McGrath <roland@hack.frob.com>
6372
6373 * sysdeps/nacl/pthread-pids.h: New file.
6374 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
6375 (create_thread): Use __nacl_get_tid to initialize PD->tid.
6376
6377 * nptl/pthread-pids.h: New file.
6378 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
6379 * nptl/nptl-init.c: Include <pthread-pids.h>.
6380 (__pthread_initialize_minimal_internal):
6381 Call __pthread_initialize_pids instead of set_tid_address syscall.
6382
6383 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
6384 * sysdeps/posix/usleep.c: ... here.
6385
6386 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6387
6388 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
6389 call_pselect6 object.
6390 [$(subdir) = io]: Remove call_sync_file_range object.
6391 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
6392 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
6393 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
6394 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
6395
6396 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
6397
6398 * math/s_cproj.c: Add include "math_private.h".
6399 * math/s_cprojf.c: Likewise.
6400 * math/s_cprojl.c: Likewise.
6401
6402 2015-05-19 Joseph Myers <joseph@codesourcery.com>
6403
6404 [BZ #18244]
6405 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
6406 high mantissa bit when testing whether P is a NaN.
6407 * math/libm-test.inc (remainder_test_data): Add more tests.
6408 (remquo_test_data): Likewise.
6409
6410 [BZ #18049]
6411 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
6412 below -32, return the argument, with underflow if subnormal.
6413 * math/auto-libm-test-in: Add more tests of atanh.
6414 * math/auto-libm-test-out: Regenerated.
6415
6416 2015-05-19 Roland McGrath <roland@hack.frob.com>
6417
6418 [BZ #18434]
6419 * nptl/tst-sem15.c: New file.
6420 * nptl/Makefile (tests): Add it.
6421 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
6422 s/<</>>/ to fix typo in EOVERFLOW check.
6423 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
6424
6425 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6426
6427 * manual/strings.texi (envz_remove): Fix typo in safety
6428 annotations.
6429
6430 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
6431 Steve Ellcey <sellcey@imgtec.com>
6432
6433 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
6434 in order to avoid strict alias warnings.
6435 (iruserok_af): Ditto for ra.
6436
6437 2015-05-19 James Lemke <jwlemke@codesourcery.com>
6438
6439 [BZ #17581]
6440 * malloc/hooks.c
6441 (magicbyte): Convert to a function and avoid returning 0x01.
6442 (mem2mem_check): Avoid using a length byte equal to the magic byte.
6443 (mem2chunk_check): Fix unsigned comparisons to zero.
6444 Hoist defs of sz and magic.
6445
6446 2015-05-19 Richard Henderson <rth@redhat.com>
6447
6448 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
6449
6450 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6451
6452 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6453
6454 [BZ #16159]
6455 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
6456 * malloc/arena.c (arena_lock): Check if arena is corrupt.
6457 (reused_arena): Find a non-corrupt arena.
6458 (heap_trim): Pass arena to unlink.
6459 * malloc/hooks.c (malloc_check_get_size): Pass arena to
6460 malloc_printerr.
6461 (top_check): Likewise.
6462 (free_check): Likewise.
6463 (realloc_check): Likewise.
6464 * malloc/malloc.c (malloc_printerr): Add arena argument.
6465 (unlink): Likewise.
6466 (munmap_chunk): Adjust.
6467 (ARENA_CORRUPTION_BIT): New macro.
6468 (arena_is_corrupt): Likewise.
6469 (set_arena_corrupt): Likewise.
6470 (sysmalloc): Use mmap if there are no usable arenas.
6471 (_int_malloc): Likewise.
6472 (__libc_malloc): Don't fail if arena_get returns NULL.
6473 (_mid_memalign): Likewise.
6474 (__libc_calloc): Likewise.
6475 (__libc_realloc): Adjust for additional argument to
6476 malloc_printerr.
6477 (_int_free): Likewise.
6478 (malloc_consolidate): Likewise.
6479 (_int_realloc): Likewise.
6480 (_int_memalign): Don't touch corrupt arenas.
6481 * malloc/tst-malloc-backtrace.c: New test case.
6482
6483 * Makefile (summarize-tests): Fix return value on success.
6484
6485 * manual/string.texi (Envz Functions): Add envz_remove.
6486
6487 2015-05-18 Roland McGrath <roland@hack.frob.com>
6488
6489 * sysdeps/posix/opendir.c: Include <stdbool.h>.
6490 (invalid_name): New function, broken out of ...
6491 (__opendirat): ... here. Call it.
6492 (need_isdir_precheck): New function, broken out of ...
6493 (__opendirat): ... here. Call it.
6494 Use __fxstatat64, not __xstatat64.
6495 (opendir_oflags): New function, broken out of ...
6496 (__opendirat): ... here. Call it.
6497 (opendir_tail): New function, broken out of ...
6498 (__opendirat): ... here. Call it.
6499 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
6500 opendir_tail, rather than punting to __opendirat.
6501 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
6502
6503 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6504
6505 * .gitignore: Ignore generated *.pyc.
6506
6507 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
6508
6509 * include/stdio.h: Define __need_wint_t.
6510 * test-skeleton.c: Avoid `for' loop initial declaration.
6511 * nptl/tst-initializers1.c: Use test-skeleton.c.
6512
6513 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6514
6515 [BZ #18418]
6516 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
6517
6518 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6519
6520 [BZ #16352]
6521 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
6522 (__ieee754_atanh): Force underflow exception for results with
6523 small absolute value.
6524 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
6525 (__ieee754_atanhf): Force underflow exception for results with
6526 small absolute value.
6527 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
6528 (__ieee754_atanh): Force underflow exception for results with
6529 small absolute value.
6530 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
6531 (__ieee754_atanhf): Force underflow exception for results with
6532 small absolute value.
6533 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
6534 (__ieee754_atanhl): Force underflow exception for results with
6535 small absolute value.
6536 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
6537 (__ieee754_atanhl): Force underflow exception for results with
6538 small absolute value.
6539 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
6540 (__ieee754_atanhl): Force underflow exception for results with
6541 small absolute value.
6542 * math/auto-libm-test-in: Do not allow missing underflow
6543 exceptions from atanh.
6544 * math/auto-libm-test-out: Regenerated.
6545
6546 [BZ #18221]
6547 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
6548 2**-28 as threshold for returning x or +/- 1/x.
6549 * math/auto-libm-test-in: Add more tests of tan.
6550 * math/auto-libm-test-out: Regenerated.
6551
6552 [BZ #18220]
6553 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6554 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
6555 * math/auto-libm-test-in: Add another test of lgamma.
6556 * math/auto-libm-test-out: Regenerated.
6557
6558 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
6559
6560 * stdio-common/printf_fp.c (___printf_fp): Use abs.
6561 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
6562 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
6563 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
6564 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
6565 (ADD2A): Use fabs. (SUB2A): Use fabs.
6566 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
6567 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
6568 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
6569 (log1): Use fabs. (my_log2): Use fabs.
6570 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
6571 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
6572 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
6573 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
6574 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
6575 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
6576 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
6577 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
6578 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
6579 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
6580 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
6581
6582 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6583
6584 [BZ #18217]
6585 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
6586 as threshold for returning 1 - x.
6587 * math/auto-libm-test-in: Add more tests of erfc.
6588 * math/auto-libm-test-out: Regenerated.
6589
6590 2015-05-14 Joseph Myers <joseph@codesourcery.com>
6591
6592 [BZ #18196]
6593 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
6594 threshold for large arguments.
6595 * math/auto-libm-test-in: Add another test of atan.
6596 * math/auto-libm-test-out: Regenerated.
6597
6598 [BZ #16339]
6599 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
6600 (__log1p): Force underflow exception for results with small
6601 absolute value.
6602 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
6603 (__log1pf): Force underflow exception for results with small
6604 absolute value.
6605 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
6606 (__log1p): Force underflow exception for results with small
6607 absolute value.
6608 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
6609 (__log1pf): Force underflow exception for results with small
6610 absolute value.
6611 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
6612 (__log1pl): Force underflow exception for results with small
6613 absolute value.
6614 * math/auto-libm-test-in: Do not allow missing underflow
6615 exceptions from log1p.
6616 * math/auto-libm-test-out: Regenerated.
6617
6618 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
6619 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6620
6621 [BZ #16704]
6622 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
6623
6624 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
6625
6626 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
6627 (libmvec): New variable.
6628 * configure.ac: Added option for mathvec build.
6629 * configure: Regenerated.
6630 * mathvec/Depend: New file.
6631 * mathvec/Makefile: New file.
6632 * shlib-versions: Added libmvec.
6633 * math/Makefile: Added rule for libm.so installation.
6634
6635 * bits/math-vector.h: New file.
6636 * bits/libm-simd-decl-stubs.h: New header.
6637 * math/Makefile (headers): Added new header
6638 libm-simd-decl-stubs.h.
6639 * math/math.h (__MATHCALL_VEC): New macro.
6640
6641 * math/gen-libm-have-vector-test.sh: Script generates series of macros
6642 for conditions in testing functions.
6643 * math/Makefile: Added call of libm-have-vector-test.sh.
6644 * math/libm-test.inc (HAVE_VECTOR): New macros.
6645
6646 * math/libm-test.inc: START refactored.
6647 * math/test-double.c (TEST_MATHVEC): Add define.
6648 * math/test-float.c: Likewise.
6649 * math/test-idouble.c: Likewise.
6650 * math/test-ifloat.c: Likewise.
6651 * math/test-ildoubl.c: Likewise.
6652 * math/test-ldouble.c: Likewise.
6653 * sysdeps/generic/math-tests-arch.h
6654 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
6655 architecture check.
6656
6657 * math/test-double.c (FUNC_TEST): New macro.
6658 * math/test-float.c: Likewise.
6659 * math/test-idouble.c: Likewise.
6660 * math/test-ifloat.c: Likewise.
6661 * math/test-ildoubl.c: Likewise.
6662 * math/test-ldouble.c: Likewise.
6663 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
6664
6665 2015-05-13 Roland McGrath <roland@hack.frob.com>
6666
6667 * sysdeps/nacl/fdopendir.c: New file.
6668
6669 * dirent/scandir-tail.c: New file.
6670 * dirent/scandir64-tail.c: New file.
6671 * dirent/Makefile (routines): Add them.
6672 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
6673 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
6674 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
6675 [!SCANDIR] (SCANDIR_TAIL): New macro.
6676 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
6677 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
6678 (SCANDIRAT): Macro removed.
6679 (SCANDIR_TAIL): New macro.
6680 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
6681 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
6682 (SCANDIRAT): Just call __opendirat and __scandir_tail.
6683 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
6684 (READDIR): Macro removed.
6685 (SCANDIR_TAIL): New macro.
6686 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
6687 (SCANDIR_TAIL): New macro.
6688
6689 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
6690 * dirent/scandir-cancel.c: ... to this new file.
6691 * dirent/Makefile (routines): Add it.
6692 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
6693 * sysdeps/unix/sysv/linux/i386/scandir64.c
6694 (SKIP_SCANDIR_CANCEL): Macro removed.
6695 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
6696
6697 * dirent/tst-scandir.c: New file.
6698 * dirent/tst-scandir64.c: New file.
6699 * dirent/Makefile (tests): Add them.
6700
6701 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
6702
6703 [BZ #18409]
6704 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
6705
6706 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
6707
6708 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
6709 list.
6710
6711 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
6712
6713 * benchtests/bench-strcoll.c: New benchmark.
6714 * benchtests/Makefile: Generate locales and run benchmark.
6715 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
6716 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6717 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
6718 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
6719 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
6720 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
6721 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
6722 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
6723 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
6724 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
6725 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
6726 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
6727 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
6728 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
6729 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
6730 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
6731 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
6732 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
6733 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
6734 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
6735 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
6736 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
6737 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
6738 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
6739
6740 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
6741
6742 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
6743 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6744
6745 2015-05-12 Roland McGrath <roland@hack.frob.com>
6746
6747 * posix/uname-values.h: New file.
6748 * posix/uname.c: Include that instead of <config-name.h>.
6749 * sysdeps/nacl/uname-values.h: New file.
6750 * sysdeps/arm/nacl/uname-values.h: New file.
6751
6752 2015-05-12 Joseph Myers <joseph@codesourcery.com>
6753
6754 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
6755 splitting into fields.
6756
6757 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
6758
6759 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
6760 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
6761 * locale/localeinfo.h: Add enum collation_encoding_type.
6762 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
6763 * programs/ld-collate.c (collate_output): Add encoding type info.
6764 * string/strcoll_l.c (STRDIFF): New function.
6765 * (STRCOLL): Use STRDIFF to skip over equal prefix.
6766 * wcsmbs/wcscoll_l.c: Define STRDIFF.
6767
6768 2015-05-11 Joseph Myers <joseph@codesourcery.com>
6769
6770 [BZ #18397]
6771 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
6772 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
6773 <fpu_control.h> instead of <math/fpu_control.c>.
6774 * sysdeps/mips/mips32/fpu/Makefile: New file.
6775
6776 2015-05-11 Andreas Schwab <schwab@suse.de>
6777
6778 [BZ #18007]
6779 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
6780 nss_endgrent.
6781 (_nss_compat_endgrent): Call nss_endgrent.
6782 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
6783 nss_endpwent.
6784 (_nss_compat_endpwent): Call nss_endpwent.
6785 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
6786 needent, call nss_setspent only if non-zero.
6787 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
6788 (internal_endspent): Don't call nss_endspent.
6789 (_nss_compat_endspent): Call nss_endspent.
6790 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
6791 Remove. All uses removed.
6792 (internal_setent): Remove parameter stayopen, add parameter
6793 stream. Use it instead of global variable.
6794 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
6795 (internal_endent, internal_getent): Add parameter stream. Use it
6796 instead of global variable.
6797 (CONCAT(_nss_files_end,ENTNAME))
6798 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
6799 (_nss_files_get##name##_r): Pass local stream. Remove locking.
6800 * nss/nss_files/files-alias.c (position, last_use): Remove. All
6801 uses removed.
6802 (internal_setent, internal_endent): Add parameter stream. Use it
6803 instead of global variable.
6804 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
6805 stream.
6806 (get_next_alias): Add parameter stream.
6807 (_nss_files_getaliasent_r): Pass global stream.
6808 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
6809 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
6810 (_nss_files_gethostbyname4_r): Pass local stream to
6811 internal_setent, internal_getent and internal_endent. Remove
6812 locking.
6813
6814 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6815
6816 * tst-strfmon1.c (tests): Update expected currency symbol.
6817
6818 2015-05-08 Roland McGrath <roland@hack.frob.com>
6819
6820 * sysdeps/nacl/gethostname.c: New file.
6821
6822 2015-05-08 Joseph Myers <joseph@codesourcery.com>
6823
6824 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
6825 and sinh.
6826 * math/auto-libm-test-out: Regenerated.
6827 * sysdeps/i386/fpu/libm-test-ulps: Update.
6828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6829
6830 2015-05-08 Carlos O'Donell <carlos@redhat.com>
6831
6832 [BZ #18125]
6833 * stdlib/tst-setcontext3.c: New file.
6834 * stdlib/tst-setcontext3.sh: New file.
6835 * stdlib/Makefile (tests): Add tst-setcontext3.
6836 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
6837 to verify test program created output file.
6838 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
6839 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
6840 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
6841 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
6842
6843 2015-05-06 Roland McGrath <roland@hack.frob.com>
6844
6845 [BZ #18383]
6846 * elf/tst-tlsalign.c: New file.
6847 * elf/tst-tlsalign-static.c: New file.
6848 * elf/tst-tlsalign-lib.c: New file.
6849 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
6850 (tests-static): Add tst-tlsalign-static.
6851 (modules-names): Add tst-tlsalign-lib.
6852 (test-xfail-tst-tlsalign): New variable.
6853 (test-xfail-tst-tlsalign-static): New variable.
6854
6855 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
6856 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
6857
6858 2015-05-06 Joseph Myers <joseph@codesourcery.com>
6859
6860 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
6861 csqrt, erfc, sin and sincos.
6862 * math/auto-libm-test-out: Regenerated.
6863 * sysdeps/i386/fpu/libm-test-ulps: Update.
6864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6865
6866 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
6867
6868 * sysdeps/aarch64/libm-test-ulps: Update.
6869
6870 2015-05-05 Joseph Myers <joseph@codesourcery.com>
6871
6872 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
6873 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
6874 * math/auto-libm-test-out: Regenerated.
6875 * sysdeps/i386/fpu/libm-test-ulps: Update.
6876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6877
6878 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
6879
6880 [BZ #18265]
6881 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
6882 (wcsncpy): Likewise.
6883
6884 2015-05-05 Florian Weimer <fweimer@redhat.com>
6885
6886 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6887 Assume __ASSUME_FALLOCATE is always true.
6888 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6889 (__posix_fallocate64_l64): Likweise.
6890 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
6891 (posix_fallocate): Likewise.
6892 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
6893 (__posix_fallocate64_l64): Likewise.
6894 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6895 [!__ASSUME_FALLOCATE]: Add comment.
6896
6897 2015-05-05 Florian Weimer <fweimer@redhat.com>
6898
6899 * sysdeps/unix/sysv/linux/i386/Makefile
6900 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
6901 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
6902 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
6903 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
6904 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
6905 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
6906 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
6907
6908 2015-05-02 Joseph Myers <joseph@codesourcery.com>
6909
6910 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
6911 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
6912 tgamma.
6913 * math/auto-libm-test-out: Regenerated.
6914 * sysdeps/i386/fpu/libm-test-ulps: Update.
6915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6916
6917 2015-05-01 Joseph Myers <joseph@codesourcery.com>
6918
6919 * math/auto-libm-test-in: Add more tests of tgamma.
6920 * math/auto-libm-test-out: Regenerated.
6921 * sysdeps/i386/fpu/libm-test-ulps: Update.
6922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6923
6924 * math/auto-libm-test-in: Add more tests of tanh.
6925 * math/auto-libm-test-out: Regenerated.
6926 * sysdeps/i386/fpu/libm-test-ulps: Update.
6927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6928
6929 * math/auto-libm-test-in: Add more tests of tan.
6930 * math/auto-libm-test-out: Regenerated.
6931 * sysdeps/i386/fpu/libm-test-ulps: Update.
6932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6933
6934 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
6935 * math/auto-libm-test-out: Regenerated.
6936 * sysdeps/i386/fpu/libm-test-ulps: Update.
6937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6938
6939 * math/auto-libm-test-in: Add another test of pow.
6940 * math/auto-libm-test-out: Regenerated.
6941 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6942
6943 * math/auto-libm-test-in: Add more tests of lgamma.
6944 * math/auto-libm-test-out: Regenerated.
6945 * sysdeps/i386/fpu/libm-test-ulps: Update.
6946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6947
6948 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
6949 log1p.
6950 * math/auto-libm-test-out: Regenerated.
6951 * sysdeps/i386/fpu/libm-test-ulps: Update.
6952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6953
6954 2015-05-01 Mark Wielaard <mjw@redhat.com>
6955
6956 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
6957 Elf64_Chdr structs and ELFCOMPRESS constants.
6958
6959 2015-05-01 Joseph Myers <joseph@codesourcery.com>
6960
6961 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
6962 expm1.
6963 * math/auto-libm-test-out: Regenerated.
6964 * sysdeps/i386/fpu/libm-test-ulps: Update.
6965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6966
6967 * math/auto-libm-test-in: Add more tests of erf and erfc.
6968 * math/auto-libm-test-out: Regenerated.
6969 * sysdeps/i386/fpu/libm-test-ulps: Update.
6970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6971
6972 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
6973
6974 * config.h.in (HAVE_AARCH64_BE): Add.
6975
6976 2015-04-30 Joseph Myers <joseph@codesourcery.com>
6977
6978 * math/auto-libm-test-in: Add more tests of csqrt.
6979 * math/auto-libm-test-out: Regenerated.
6980 * sysdeps/i386/fpu/libm-test-ulps: Update.
6981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6982
6983 * math/auto-libm-test-in: Add more tests of cosh and sinh.
6984 * math/auto-libm-test-out: Regenerated.
6985 * sysdeps/i386/fpu/libm-test-ulps: Update.
6986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6987
6988 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
6989
6990 2015-04-29 Roland McGrath <roland@hack.frob.com>
6991
6992 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
6993 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
6994
6995 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
6996 (euidaccess, eaccess): Define as weak aliases.
6997
6998 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
6999 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
7000 but __suseconds_t is often 'long int' so some sources assume that
7001 type is being used (e.g. they use %ld to print tv_usec).
7002
7003 2015-04-29 Florian Weimer <fweimer@redhat.com>
7004
7005 [BZ #18007]
7006 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
7007 (CVE-2014-8121)
7008 * nss/tst-nss-getpwent.c: New file.
7009 * nss/Makefile (tests): Add new test.
7010
7011 2015-04-28 Joseph Myers <joseph@codesourcery.com>
7012
7013 [BZ #18346]
7014 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
7015 exponents less than 48 as cases where high part of mantissa needs
7016 examining to determine whether argument is integral.
7017 * math/libm-test.inc (round_test_data): Add more tests.
7018
7019 2015-04-28 Mark Wielaard <mjw@redhat.com>
7020
7021 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
7022
7023 2015-04-27 David S. Miller <davem@davemloft.net>
7024
7025 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
7026 __tls_get_addr.
7027 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
7028
7029 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
7030
7031 [BZ#18333]
7032 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
7033
7034 2015-04-27 Florian Weimer <fweimer@redhat.com>
7035
7036 [BZ#18333]
7037 * time/tzset.c (parse_tzname): Return error on memory allocation
7038 failure.
7039 * test-skeleton.c (struct temp_name_list): Change type of name
7040 member to non-const.
7041 (add_temp_file): Create a copy of the file name.
7042 (delete_temp_files): Deallocate memory.
7043 (create_temp_file): Add comment.
7044
7045 2015-04-24 Florian Weimer <fweimer@redhat.com>
7046
7047 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
7048 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
7049
7050 2015-04-24 Roland McGrath <roland@hack.frob.com>
7051
7052 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
7053 * sysdeps/arm/configure: Regenerated.
7054
7055 2015-04-24 Florian Weimer <fweimer@redhat.com>
7056
7057 [BZ #17715]
7058 * time/tzfile.c (__tzfile_read): Check for large values of
7059 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
7060 * time/tzset.c (__tzstring_len): New function, based on the old
7061 __tzstring function.
7062 (__tzstring): Call __tzstring_len.
7063 (parse_tzname): New helper function extracted from
7064 __tzset_parse_tz. Call __tzstring_len, without making a copy of
7065 the input string.
7066 (parse_offset): New helper function extracted from
7067 __tzset_parse_tz. Replace switch with fallthrough with
7068 initialization before sscanf.
7069 (parse_rule): Likewise.
7070 (__tzset_parse_tz): Rewrite using the new helper functions. Use
7071 new-style function definition.
7072 * timezone/Makefile (tests): Add tst-tzset.
7073 (tst-tzset.out): Dependencies on time zone files.
7074 (tst-tzset-ENV): Set TZDIR.
7075 (testdata/XT%): Copy crafted time zone files.
7076 * timezone/README: Mention crafted time zone files.
7077 * timezone/testdata/XT1, timezone/testdata/XT2,
7078 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
7079 files.
7080 * timezone/tst-tzset.c: New test.
7081
7082 2015-04-24 Florian Weimer <fweimer@redhat.com>
7083
7084 * Makeconfig (+gccwarn): Remove -Winline.
7085
7086 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7087
7088 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
7089
7090 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7091
7092 * NEWS: Mention sysconf() cache information support for s390.
7093 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
7094
7095 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
7096
7097 * math/k_casinh.c (__kernel_casinh): Use __copysign.
7098 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
7099 (__nearbyint): Likewise.
7100 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
7101 (copysignl): Likewise.
7102
7103 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
7104
7105 [BZ #18287]
7106 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
7107 based on padding. (CVE-2015-1781)
7108
7109 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7110
7111 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
7112 libc-vdso.h.
7113 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
7114 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
7115 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
7116 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7117 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7118 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
7119 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
7120 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7121 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7122 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
7123 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7124 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7125 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
7126 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
7127 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7128 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
7129 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
7130 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
7131 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
7132 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
7133 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
7134 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
7135 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
7136
7137 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
7138
7139 * stdlib/setenv.c (__add_to_environ):
7140 Dump core quickly if setenv (..., NULL, ...) is called.
7141 This time, do it the right way, and pacify GCC with a pragma.
7142
7143 2015-04-17 Roland McGrath <roland@hack.frob.com>
7144
7145 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
7146 IMAP->l_prev cannot be null, and #if out the code for the contrary
7147 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
7148 believe that NS (&_dl_ns[NSID]) could point outside the array.
7149
7150 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
7151 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
7152 before using NSID as an index.
7153
7154 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
7155
7156 [BZ #17825]
7157 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
7158 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
7159 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7160
7161 2015-04-17 Roland McGrath <roland@hack.frob.com>
7162
7163 Add preliminary port to Google Native Client on ARM.
7164 * abi-tags (.*-.*-nacl.*): New entry.
7165 * sysdeps/arm/nacl: New directory.
7166 * sysdeps/nacl: New directory.
7167
7168 2015-04-16 David S. Miller <davem@davemloft.net>
7169
7170 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
7171 lowlevellock-futex.h
7172
7173 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
7174
7175 * sysdeps/tile/configure.ac: New file.
7176 * sysdeps/tile/configure: Regenerated.
7177
7178 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7179
7180 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
7181 conditionals for weak_alias and libc_hidden_weak.
7182 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
7183 libc_hidden_weak and weak_alias.
7184 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
7185 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
7186 and weak_alias for static one.
7187
7188 2015-04-15 David S. Miller <davem@davemloft.net>
7189
7190 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7191
7192 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7193
7194 [BZ #18206]
7195 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
7196 Use signed comparision instead of substraction to avoid
7197 overflow bug.
7198 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
7199 Take the sign of ret.
7200 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
7201 Do not expect precise return values. Only the sign matters.
7202 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
7203 * wcsmbs/test-wcsncmp.c: New File.
7204 * string/test-strncmp.c: Add wcsncmp support.
7205
7206 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7207
7208 [BZ #6792]
7209 * math/w_log1p.c: New file.
7210 * math/w_log1pf.c: Likewise.
7211 * math/w_log1pl.c: Likewise.
7212 * math/Makefile (libm-calls): Add w_log1p.
7213 * math/s_log1pl.c (log1pl): Remove weak_alias.
7214 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
7215 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
7216 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
7217 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
7218 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
7219 [NO_LONG_DOUBLE] (log1pl): Likewise.
7220 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
7221 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
7222 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
7223 (log1p): Remove long_double_symbol.
7224 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
7225 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
7226 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
7227 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
7228 remove weak_alias for corresponding log1p function.
7229 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
7230 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
7231 * sysdeps/ia64/fpu/w_log1p.c: New file.
7232 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
7233 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
7234 * math/libm-test.inc (log1p_test_data): Add errno expectations.
7235
7236 2015-04-10 Joseph Myers <joseph@codesourcery.com>
7237
7238 [BZ #18247]
7239 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
7240 decimal exponent by 1.
7241 * stdlib/tst-strtod-round-data: Add more tests.
7242 * stdlib/tst-strtod-round.c (tests): Regenerated.
7243
7244 2015-04-09 Joseph Myers <joseph@codesourcery.com>
7245
7246 * math/auto-libm-test-in: Add more tests of clog and clog10.
7247 * math/auto-libm-test-out: Regenerated.
7248 * sysdeps/i386/fpu/libm-test-ulps: Update.
7249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7250
7251 2015-04-09 Roland McGrath <roland@hack.frob.com>
7252
7253 * Makeconfig (module-cppflags): Exclude all .v.i files.
7254 (skip-module-cppflags): Variable removed.
7255
7256 * configure.ac (libc_config_ok): Initialize before reading
7257 preconfigure scripts, not after.
7258 * configure: Regenerated.
7259
7260 * test-skeleton.c (TIMEOUT): Move #define to top level.
7261 (main): Grok environment variable TEST_DIRECT. If set, print
7262 test expectation details into that file and then behave as if
7263 given --direct.
7264
7265 2015-04-09 Florian Weimer <fweimer@redhat.com>
7266
7267 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
7268 warning on 32-bit.
7269
7270 2015-04-08 David S. Miller <davem@davemloft.net>
7271
7272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7273
7274 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7275
7276 * math/auto-libm-test-in: Add more tests of atanh.
7277 * math/auto-libm-test-out: Regenerated.
7278 * sysdeps/i386/fpu/libm-test-ulps: Update.
7279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7280
7281 * math/auto-libm-test-in: Add more tests of atan.
7282 * math/auto-libm-test-out: Regenerated.
7283 * sysdeps/i386/fpu/libm-test-ulps: Update.
7284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7285
7286 2015-04-08 Florian Weimer <fweimer@redhat.com>
7287
7288 * elf/pldd.c (main): Rewrite to use struct
7289 scratch_buffer instead of extend_alloca.
7290 * elf/pldd-xx.c (find_maps): Likewise.
7291 * grp/initgroups.c: Include <scratch_buffer.h> instead of
7292 <alloca.h>.
7293 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
7294 scratch_buffer instead of extend_alloca.
7295 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
7296 grp/compat-initgroups.c.
7297 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
7298 Rewrite to use struct scratch_buffer instead of extend_alloca.
7299 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
7300 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7301
7302 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7303
7304 * math/auto-libm-test-in: Add more tests of cbrt.
7305 * math/auto-libm-test-out: Regenerated.
7306 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7307
7308 * math/auto-libm-test-in: Add more tests of cabs.
7309 * math/auto-libm-test-out: Regenerated.
7310 * sysdeps/i386/fpu/libm-test-ulps: Update.
7311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7312
7313 [BZ #18210]
7314 [BZ #18211]
7315 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
7316 (__ieee754_atan2): Set FE_TONEAREST mode for internal
7317 computations.
7318 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
7319 clog10.
7320 * math/auto-libm-test-out: Regenerated.
7321 * sysdeps/i386/fpu/libm-test-ulps: Update.
7322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7323
7324 [BZ #18197]
7325 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
7326 (atan): Set FE_TONEAREST mode for internal computations.
7327 * math/auto-libm-test-in: Add more tests of atan.
7328 * math/auto-libm-test-out: Regenerated.
7329
7330 2015-04-07 James Cowgill <james410@cowgill.org.uk>
7331
7332 [BZ #17930]
7333 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
7334
7335 2015-04-07 Florian Weimer <fweimer@redhat.com>
7336
7337 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
7338
7339 2015-04-07 Florian Weimer <fweimer@redhat.com>
7340
7341 * include/scratch_buffer.h: New file.
7342 * malloc/scratch_buffer_grow.c: Likewise.
7343 * malloc/scratch_buffer_grow_preserve.c: Likewise.
7344 * malloc/scratch_buffer_set_array_size.c: Likewise.
7345 * malloc/tst-scratch_buffer.c: Likewise.
7346 * malloc/Makefile (routines): Add scratch_buffer_grow.
7347 (tests): Add test case.
7348 * malloc/Versions (GLIBC_PRIVATE): Export
7349 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
7350 __libc_scratch_buffer_set_array_size.
7351
7352 2015-04-06 Richard Henderson <rth@redhat.com>
7353
7354 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
7355 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7356
7357 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
7358 unsigned int before printing.
7359
7360 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7361
7362 [BZ #17596]
7363 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
7364 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7365
7366 2015-04-02 Florian Weimer <fweimer@redhat.com>
7367
7368 * include/libc-internal.h (libc_max_align_t): Define.
7369
7370 2015-04-02 Andreas Schwab <schwab@suse.de>
7371
7372 [BZ #16850]
7373 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
7374
7375 2015-04-02 Mel Gorman <mgorman@suse.de>
7376
7377 [BZ #17195]
7378 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
7379 as well as the main arena.
7380
7381 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7382
7383 [BZ #18185]
7384 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
7385 sharing L2 cache to 2 for Silvermont/Knights Landing.
7386
7387 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7388
7389 [BZ #17711]
7390 * config.make.in (have-protected-data): New.
7391 * configure.ac: Check linker support for protected data symbol.
7392 * configure: Regenerated.
7393 * elf/Makefile (modules-names): Add tst-protected1moda and
7394 tst-protected1modb if $(have-protected-data) is yes.
7395 (tests): Add tst-protected1a and tst-protected1b if
7396 $(have-protected-data) is yes.
7397 ($(objpfx)tst-protected1a): New.
7398 ($(objpfx)tst-protected1b): Likewise.
7399 (tst-protected1modb.so-no-z-defs): Likewise.
7400 * elf/tst-protected1a.c: New file.
7401 * elf/tst-protected1b.c: Likewise.
7402 * elf/tst-protected1mod.h: Likewise.
7403 * elf/tst-protected1moda.c: Likewise.
7404 * elf/tst-protected1modb.c: Likewise.
7405
7406 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7407
7408 [BZ #17711]
7409 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
7410 indicates it is called from do_lookup_x on relocation against
7411 protected data, skip the data definion in the executable from
7412 copy reloc.
7413 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
7414 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
7415 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
7416 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
7417 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
7418 otherwise to 0.
7419 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7420 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
7421 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
7422 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7423 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
7424 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
7425
7426 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
7427
7428 * sysdeps/nptl/pthread.h: Remove duplicate definition of
7429 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
7430
7431 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
7432
7433 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
7434 THREAD_SETMEM_NC.
7435 * sysdeps/x86_64/nptl/tls.h: Ditto.
7436
7437 2015-03-27 Roland McGrath <roland@hack.frob.com>
7438
7439 * dlfcn/tststatic.c (main): Converted to ...
7440 (do_test): ... this.
7441 (TEST_FUNCTION): New macro.
7442 Include test-skeleton.c.
7443
7444 2015-03-26 Alan Modra <amodra@gmail.com>
7445
7446 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
7447 Don't segfault if ifunc resolver returns a NULL. Do set plt to
7448 zero for undefined weak.
7449 (elf_machine_plt_conflict): Similarly.
7450
7451 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7452
7453 * math/auto-libm-test-in: Add more tests of acosh, asinh and
7454 atanh.
7455 * math/auto-libm-test-out: Regenerated.
7456 * sysdeps/i386/fpu/libm-test-ulps: Update.
7457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7458
7459 * math/auto-libm-test-in: Add another test of asin.
7460 * math/auto-libm-test-out: Regenerated.
7461 * sysdeps/i386/fpu/libm-test-ulps: Update.
7462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7463
7464 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
7465 Remove macro.
7466 (LLL_EBX_REG): Likewise.
7467 (LLL_ENTER_KERNEL): Likewise.
7468
7469 * math/auto-libm-test-in: Add more tests of asin.
7470 * math/auto-libm-test-out: Regenerated.
7471 * sysdeps/i386/fpu/libm-test-ulps: Update.
7472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7473
7474 [BZ #18138]
7475 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
7476 libc_do_syscall_args): New structure.
7477 (INTERNAL_SYSCALL_MAIN_0): New macro.
7478 (INTERNAL_SYSCALL_MAIN_1): Likewise.
7479 (INTERNAL_SYSCALL_MAIN_2): Likewise.
7480 (INTERNAL_SYSCALL_MAIN_3): Likewise.
7481 (INTERNAL_SYSCALL_MAIN_4): Likewise.
7482 (INTERNAL_SYSCALL_MAIN_5): Likewise.
7483 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
7484 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
7485 Replace conditional definitions by conditional definitions of ....
7486 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
7487 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
7488 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
7489 (libpthread-sysdep_routines): Add libc-do-syscall.
7490 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
7491 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
7492 to __NR_futex not 240.
7493
7494 2015-03-25 Alan Modra <amodra@gmail.com>
7495
7496 * NEWS: Advertise TLS optimization.
7497 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
7498 (DT_PPC_NUM): Increment.
7499 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
7500 (CHECK_STATIC_TLS): Use here.
7501 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
7502 TLS descriptors.
7503 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7504 * sysdeps/powerpc/dl-tls.c: New file.
7505 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
7506 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
7507 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
7508 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
7509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
7510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
7511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
7512
7513 2015-03-25 Alan Modra <amodra@gmail.com>
7514
7515 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
7516 for overlapping .opd entries" to "support...".
7517 * sysdeps/powerpc/powerpc64/configure: Regenerate
7518
7519 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7520
7521 * math/auto-libm-test-in: Add more tests of acos.
7522 * math/auto-libm-test-out: Regenerated.
7523 * sysdeps/i386/fpu/libm-test-ulps: Update.
7524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7525
7526 * math/auto-libm-test-in: Add more tests of expm1.
7527 * math/auto-libm-test-out: Regenerated.
7528 * sysdeps/i386/fpu/libm-test-ulps: Update.
7529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7530
7531 2015-03-24 Joseph Myers <joseph@codesourcery.com>
7532
7533 * math/auto-libm-test-in: Add more tests of cosh and sinh.
7534 * math/auto-libm-test-out: Regenerated.
7535 * sysdeps/i386/fpu/libm-test-ulps: Update.
7536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7537
7538 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7540
7541 * math/auto-libm-test-in: Add more tests of log2.
7542 * math/auto-libm-test-out: Regenerated.
7543 * sysdeps/i386/fpu/libm-test-ulps: Update.
7544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7545
7546 2015-03-23 Roland McGrath <roland@hack.frob.com>
7547
7548 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
7549 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
7550 _IO_IS_APPENDING bit in READ_WRITE instead.
7551
7552 2015-03-23 Florian Weimer <fweimer@redhat.com>
7553
7554 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7555 (__determine_cpumask_size): Replace extend_alloca with a
7556 variable-length array. Do not treat res == 0 as an error.
7557
7558 2015-03-23 Florian Weimer <fweimer@redhat.com>
7559
7560 [BZ #18100]
7561 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
7562 and integer overflow.
7563 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
7564 (main): Add integer overflow tests.
7565 * manual/pattern.texi (Calling Wordexp): Document additional use
7566 for WRDE_SYNTAX.
7567
7568 2015-03-23 Alan Modra <amodra@gmail.com>
7569
7570 * config.h.in: Remove HAVE_ASM_PPC_REL16.
7571 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
7572 and false branch of conditional.
7573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7574 Likewise.
7575
7576 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
7577
7578 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
7579 libc-modules.h
7580 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
7581 unused declaration of _hurd_intr_rpc_msg_in_trap.
7582 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
7583 defined instead of whether it is non-zero.
7584 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
7585 input constraint instead of both input and output constraint. Use ecx
7586 clobber instead of %ecx.
7587 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
7588 mutex_unlock): Use a statement expression instead of an expression list.
7589 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
7590 type to vm_size_t instead of vm_address_t.
7591 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
7592 defined instead of whether it is non-zero.
7593 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
7594 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
7595 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
7596 comparisons with mapaddr.
7597 * nscd/nscd-client.h: Include <time.h>.
7598 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
7599 9th parameter to __vm_region instead of int.
7600 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
7601 * scripts/check-local-headers.sh (exclude): Add device/,
7602 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
7603 cthreads.h.
7604
7605 2015-03-19 Roland McGrath <roland@hack.frob.com>
7606
7607 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
7608 to account for alignment padding.
7609 * sysdeps/arm/memmove.S: Likewise.
7610
7611 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
7612
7613 * sysdeps/unix/sysv/linux/generic/README: New file.
7614
7615 2015-03-18 Joseph Myers <joseph@codesourcery.com>
7616
7617 [BZ #18138]
7618 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
7619 (futex_abstimed_wait)
7620 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
7621 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
7622 of lll_futex_timed_wait.
7623
7624 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
7625
7626 [BZ #17542]
7627 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
7628
7629 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
7630
7631 [BZ #17090]
7632 [BZ #17620]
7633 [BZ #17621]
7634 [BZ #17628]
7635 * NEWS: Update.
7636 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
7637 entries with Static TLS too. Skip entries past the end of the
7638 allocated DTV, from Alan Modra.
7639 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
7640 Static TLS DTV entry set up from...
7641 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
7642 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
7643 * nptl/allocatestack.c (init_one_static_tls): ... and here...
7644 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
7645 for Static TLS.
7646 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
7647 that the slot we find is associated with the given map before
7648 using its generation count.
7649 * nptl_db/db_info.c: Include ldsodefs.h.
7650 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
7651 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
7652 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
7653 (link_map::l_tls_offset): New struct field.
7654 (dtv_t::counter): Likewise.
7655 (rtld_global): New struct.
7656 (_rtld_global): New rtld variable.
7657 (dl_tls_dtv_slotinfo_list): New rtld global field.
7658 (dtv_slotinfo_list): New struct.
7659 (dtv_slotinfo): Likewise.
7660 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
7661 (td_lookup): Rename to...
7662 (td_mod_lookup): ... this. Use new mod parameter instead of
7663 LIBPTHREAD_SO.
7664 * nptl_db/td_thr_tlsbase.c: Include link.h.
7665 (dtv_slotinfo_list, dtv_slotinfo): New functions.
7666 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
7667 addresses even if the DTV is out of date or missing them.
7668 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
7669 index zero-length arrays.
7670 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
7671 (td_lookup): Make it a macro implemented in terms of...
7672 (td_mod_lookup): ... this declaration.
7673 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
7674 (DB_MAIN_VARIABLE): Likewise.
7675
7676 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
7677
7678 [BZ #18134]
7679 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
7680
7681 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
7682
7683 * stdlib/setenv.c (__add_to_environ): Revert previous change.
7684
7685 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
7686
7687 [BZ #18128]
7688 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
7689 (atomic_add, atomic_increment_and_test)
7690 (atomic_decrement_and_test): Fix 64-bit arithmetic.
7691
7692 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
7693
7694 * stdlib/setenv.c (__add_to_environ):
7695 Dump core quickly if setenv (..., NULL, ...) is called.
7696
7697 2015-03-13 Roland McGrath <roland@hack.frob.com>
7698
7699 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
7700 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
7701 all the necessary asm magic in one place.
7702 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
7703 using those.
7704
7705 2015-03-13 Carlos O'Donell <carlos@redhat.com>
7706
7707 [BZ #14906]
7708 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
7709 traced file mtime. Use consistent log message.
7710 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
7711 (register_traced_file): Call install_watches. Always set mtime.
7712 (invalidate_cache): Iterate over all trace files. Call install_watches.
7713 (inotify_check_files): Don't inline. Handle watching parent
7714 directories and configuration file movement in and out.
7715 (handle_inotify_events): New function.
7716 (main_loop_poll): Call handle_inotify_events.
7717 (main_loop_epoll): Likewise.
7718 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
7719 (struct traced_file): Use array of inotify fds. Add parent directory,
7720 and basename.
7721 (struct database_dyn): Remove unused file_mtime.
7722 (init_traced_file): New inline function.
7723 (define_traced_file): New macro.
7724 * nss/nss_db/db-init.c: Use define_traced_file.
7725 (_nss_db_init): Use init_traced_file.
7726 * nss/nss_files/files-init.c: Use define_traced_file.
7727 (_nss_files_init): Use init_traced_file.
7728
7729 2015-03-12 Joseph Myers <joseph@codesourcery.com>
7730
7731 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
7732 [_LIBC]: Do not include <stdlib.h>.
7733 [!_LIBC] (abort): Remove declaration.
7734 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
7735 _FP_STATIC_ASSERT instead of conditionally calling abort.
7736 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
7737 (_FP_EXTEND_CNAN): Likewise.
7738 (FP_TRUNC): Likewise.
7739 (__FP_CLZ): Likewise.
7740 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
7741
7742 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
7743
7744 * manual/string.texi (XPG basename): Fix prototype.
7745
7746 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7747
7748 [BZ #18080]
7749 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
7750 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7751 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
7752 (__setcontext): Likewise.
7753 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
7754 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7755 Call rt_sigprocmask syscall one time to set new signal mask
7756 and retrieve the current signal mask instead of two calls.
7757 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
7758 (__swapcontext): Likewise.
7759 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
7760 * stdlib/tst-setcontext2.c: New file.
7761
7762 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7763
7764 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7765
7766 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
7767
7768 [BZ #18093]
7769 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
7770 the wrong size.
7771
7772 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7773
7774 [BZ #18043]
7775 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
7776
7777 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7778
7779 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
7780 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
7781 Remove define.
7782 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
7783 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
7784 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
7785 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
7786 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
7787 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
7788 define.
7789 * nptl_db/td_symbol_list.c (td_lookup): Remove
7790 HAVE_ASM_GLOBAL_DOT_NAME code.
7791 * sysdeps/powerpc/powerpc64/configure.ac: Remove
7792 HAVE_ASM_GLOBAL_DOT_NAME check.
7793 * sysdeps/powerpc/powerpc64/configure: Regenerate.
7794 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
7795 (DOT_LABEL): Remove define.
7796 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
7797 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
7798 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
7799 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
7800 (__TLS_GET_ADDR): Likewise.
7801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
7802 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
7803
7804 2015-03-11 Carlos O'Donell <carlos@redhat.com>
7805
7806 [BZ #18111]
7807 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
7808 (_FPU_SETCW): Initialize cw from fpsr before storing.
7809 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
7810 (fesetexceptflag): Rewrite using fpu_control.h.
7811 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
7812
7813 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
7814
7815 [BZ #18110]
7816 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
7817 asms.
7818 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7819
7820 2015-03-11 Joseph Myers <joseph@codesourcery.com>
7821
7822 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
7823 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
7824 abort.
7825 (_FP_FMA): Likewise.
7826 (_FP_DIV): Likewise.
7827
7828 2015-03-10 Roland McGrath <roland@hack.frob.com>
7829
7830 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
7831 with 0 in that case.
7832 * Makefile (summarize-tests): New canned sequence, factored out of
7833 commands for targets tests and xtests. Display summary lines that
7834 don't start with PASS: or XFAIL: rather than ones that do start with
7835 ERROR: or FAIL:. Make the commands fail if any summary lines fail
7836 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
7837 do start with ERROR: or FAIL:.
7838 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
7839 (except for [$(build-shared) = yes]).
7840 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
7841 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
7842 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
7843 * nptl/Makefile: Revert 2015-03-04 changes.
7844 [$(CXX) empty] (tests-unsupported): New variable.
7845 * debug/Makefile: Likewise.
7846
7847 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
7848 gnulib file. Replace __attribute with __attribute__ throughout.
7849
7850 2015-03-10 Carlos O'Donell <carlos@redhat.com>
7851
7852 * sysdeps/hppa/fpu/libm-test-ulps: Update.
7853
7854 2015-03-10 Joseph Myers <joseph@codesourcery.com>
7855
7856 [BZ #18104]
7857 * math/auto-libm-test-in: Add another test of pow.
7858 * math/auto-libm-test-out: Regenerated.
7859
7860 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7861
7862 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
7863 $(config-cflags-nofma).
7864
7865 2015-03-10 Joseph Myers <joseph@codesourcery.com>
7866
7867 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
7868 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
7869 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
7870 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
7871 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
7872 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
7873 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
7874 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
7875 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
7876 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
7877 Add comment on closing #endif.
7878
7879 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7880
7881 * posix/wordexp.c (CHAR_IN_SET): New macro.
7882 (parse_param): Use it.
7883
7884 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7885
7886 * sysdeps/powerpc/fpu/libm-test-ulps: update.
7887
7888 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7889
7890 [BZ #18043]
7891 * posix/wordexp.c (parse_param): Fix buffer overflow.
7892 * posix/wordexp-test.c (test_case): Add test case.
7893
7894 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7895
7896 [BZ #18042]
7897 * posix/wordexp.c (parse_backtick): Fix off-by-one.
7898 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
7899
7900 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7901
7902 [BZ #18043]
7903 * posix/wordexp-test.c (test_case): Add test for BZ #18043
7904 (do_bz18043): Delete.
7905 (at_page_end): New.
7906 (testit): Refactor to have words at the edge of unreadable page.
7907
7908 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7909
7910 [BZ #16734]
7911 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
7912 Cleanup read-only streams as well.
7913 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
7914
7915 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7916
7917 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
7918 <bits/libc-lockP.h>
7919
7920 2015-03-07 Joseph Myers <joseph@codesourcery.com>
7921
7922 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
7923 on [__KERNEL__].
7924 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
7925 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
7926 * soft-fp/op-common.h (_FP_DECL): Likewise.
7927
7928 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
7929
7930 * elf/ifuncdep2.c (global): Replace
7931 __attribute__((visibility("protected"))) with
7932 asm (".protected global").
7933 * elf/ifuncmod1.c (global): Likewise.
7934 * elf/ifuncmod5.c (global): Likewise.
7935
7936 2015-03-06 Joseph Myers <joseph@codesourcery.com>
7937
7938 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
7939 <asm/sfp-machine.h> instead of <sfp-machine.h>.
7940
7941 2015-03-06 Roland McGrath <roland@hack.frob.com>
7942
7943 * manual/install.texi (Configuring and compiling):
7944 Document test-wrapper-env-only.
7945 * INSTALL: Regenerated.
7946
7947 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7948
7949 [BZ #18043]
7950 * posix/wordexp.c (parse_param): Fix buffer overflow.
7951 * posix/wordexp-test.c (do_bz18043): Add test case.
7952
7953 2015-03-06 Vincent Bernat <vincent@bernat.im>
7954
7955 * time/tst-strptime2.c (do_test): Ensure failing tests are
7956 reported correctly.
7957 * time/tst-strptime3.c (do_test): Likewise.
7958
7959 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
7960
7961 Fix aio_error thread-safety.
7962 * sysdeps/pthread/aio_error.c: New file
7963 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
7964 synchronization.
7965
7966 2015-03-06 Florian Weimer <fweimer@redhat.com>
7967
7968 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
7969 (group_number, vfprintf): Use it.
7970 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
7971 (JUMP, REF): Use it.
7972 (WORK_BUFFER_SIZE): New enum constant.
7973 (process_arg, vfprintf): Use it.
7974
7975 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
7976
7977 * manual/errno.texi (Error Messages): Complete example function
7978 by adding missing #define.
7979 (program_invocation_name): Add statement indicating GNU
7980 extension and reference which header file declares the variable.
7981 (program_invocation_short_name): Likewise.
7982
7983 2015-03-06 Mike Frysinger <vapier@gentoo.org>
7984
7985 * manual/errno.texi (Error Messages): Delete strerror ISO C89
7986 compatibility note.
7987
7988 2015-03-05 Roland McGrath <roland@hack.frob.com>
7989
7990 * Makeconfig (test-wrapper-env-only): New variable.
7991 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
7992 then use that with $(test-wrapper-env-only) rather than using
7993 $(test-wrapper-env) $(run-program-env) $($*-ENV).
7994
7995 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
7996
7997 [BZ #18082]
7998 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
7999 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
8000 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
8001 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
8002 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
8003 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
8004 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
8005 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
8006 Likewise.
8007 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
8008 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
8009 Likewise.
8010 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
8011 Likewise.
8012 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
8013 Likewise.
8014 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
8015 Likewise.
8016 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
8017 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
8018 Likewise.
8019 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
8020 Likewise.
8021 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
8022 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
8023
8024 2015-03-04 Roland McGrath <roland@hack.frob.com>
8025
8026 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
8027 (ETH_ALEN): New macro.
8028 (struct ether_addr): Use it for length of ether_addr_octet.
8029
8030 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
8031 (setdb): Don't call __nss_configure_lookup for "rpc".
8032 (do_test): Don't call test_rpc.
8033 (output_rpcent, test_rpc): Functions moved ...
8034 * sunrpc/test-rpcent.c: ... to this new file.
8035 * sunrpc/Makefile (tests): Add it.
8036
8037 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
8038 __xpg_sigpause.
8039 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
8040 * nptl/tst-signal6.c: Likewise.
8041 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
8042 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
8043
8044 * configure.ac (libc_cv_cxx_link_ok): New check.
8045 Reset CXX to empty if it fails to link.
8046 * configure: Regenerated.
8047 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
8048 bug-atexit3-lib only if $(CXX) is nonempty.
8049 * nptl/Makefile (tests): Likewise for tst-cancel24.
8050 (tests, tests-static): Likewise for tst-cancel24-static.
8051 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
8052 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
8053 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
8054 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
8055
8056 2015-03-04 Andreas Schwab <schwab@suse.de>
8057
8058 [BZ #17631]
8059 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
8060 for non-GCC compilers.
8061 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8062 Likewise.
8063
8064 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8065
8066 [BZ #17776]
8067 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
8068 integer before bitwise and assembly operations.
8069 (feclearexcept): Likewise.
8070 * math/test-fenvinline.c: New file.
8071 * math/Makefile: Add test-fenvinline test.
8072
8073 2015-03-03 Alan Modra <amodra@gmail.com>
8074
8075 [BZ #16512]
8076 * scripts/localplt.awk: Strip off symbol version.
8077 * NEWS: Mention bug fix.
8078
8079 2015-03-02 Roland McGrath <roland@hack.frob.com>
8080
8081 * sysdeps/pthread/timer_routines.c
8082 (timer_free_list, thread_free_list, thread_active_list): Make static.
8083
8084 2015-03-02 Joseph Myers <joseph@codesourcery.com>
8085
8086 [BZ #17779]
8087 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8088 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8089 Undefine.
8090 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8091 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8092 Likewise.
8093 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8094 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8095 Likewise.
8096
8097 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8098
8099 [BZ #18036]
8100 * posix/fnmatch_loop.c (END): Detect invalid pattern.
8101 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
8102
8103 2015-03-02 Andreas Schwab <schwab@suse.de>
8104
8105 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
8106 variable name.
8107
8108 2015-03-02 Florian Weimer <fweimer@redhat.com>
8109
8110 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
8111 Return error status.
8112
8113 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
8114
8115 [BZ #15969]
8116 * locale/findlocale.c (_nl_find_locale): Introduce const
8117 version of loc_name and drop unsafe type casts.
8118
8119 2015-02-27 Roland McGrath <roland@hack.frob.com>
8120
8121 * dlfcn/tststatic2.c (main): Converted to ...
8122 (do_test): ... this.
8123 (TEST_FUNCTION): New macro.
8124 Include test-skeleton.c.
8125
8126 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
8127
8128 [BZ #17711]
8129 * elf/Makefile (tests): Add vismain only if PIE is enabled.
8130 (tests-pie): Add vismain.
8131 (CFLAGS-vismain.c): New.
8132 * elf/vismain.c: Add comments for PIE requirement.
8133
8134 2015-02-27 Joseph Myers <joseph@codesourcery.com>
8135
8136 [BZ #18046]
8137 [BZ #18047]
8138 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
8139 0x1p-56L as threshold for just returning the argument.
8140 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
8141 0x1p-32L as threshold for just returning the argument.
8142 * math/auto-libm-test-in: Add more tests of atanh.
8143 * math/auto-libm-test-out: Regenerated.
8144 * sysdeps/i386/fpu/libm-test-ulps: Update.
8145 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
8146
8147 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
8148
8149 * string/bcopy.c (bcopy): Call memmove for performance.
8150
8151 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
8152
8153 * string/bzero.c (__bzero): Call memset for performance.
8154
8155 2015-02-27 John David Anglin <dave.anglin@bell.net>
8156
8157 [BZ #18068]
8158 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
8159 to 00100000.
8160
8161 2015-02-27 Joseph Myers <joseph@codesourcery.com>
8162
8163 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
8164
8165 2015-02-26 Joseph Myers <joseph@codesourcery.com>
8166
8167 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
8168 (__kernel_standard): Use CSTR macro when setting exc.name.
8169 * sysdeps/ieee754/Makefile [$(subdir) = math]
8170 (CFLAGS-k_standard.c): Remove variable.
8171
8172 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
8173 setting p and q from "else if" to "else".
8174 (qzero): Likewise.
8175 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
8176 (qone): Likewise.
8177 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
8178 (qzerof): Likewise.
8179 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
8180 (qonef): Likewise.
8181 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
8182 (qzero): Likewise.
8183 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
8184 (qone): Likewise.
8185
8186 [BZ #18038]
8187 [BZ #18039]
8188 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
8189 return pi/2 for arguments below 0x1p-113L.
8190 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
8191 return pi/2 for arguments below 0x1p-106L.
8192 * math/auto-libm-test-in: Add more tests of acos.
8193 * math/auto-libm-test-out: Regenerated.
8194
8195 [BZ #16351]
8196 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
8197 (MO): New macro.
8198 (__ieee754_asin): Force underflow exception for results with small
8199 absolute value.
8200 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
8201 (MO): New macro.
8202 (__ieee754_asinf): Force underflow exception for results with
8203 small absolute value.
8204 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
8205 (__ieee754_asin): Force underflow exception for results with small
8206 absolute value.
8207 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
8208 (__ieee754_asinf): Force underflow exception for results with
8209 small absolute value.
8210 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
8211 (__ieee754_asinl): Force underflow exception for results with
8212 small absolute value.
8213 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
8214 (__ieee754_asinl): Force underflow exception for results with
8215 small absolute value.
8216 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
8217 (__ieee754_asinl): Force underflow exception for results with
8218 small absolute value.
8219 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8220 Include <math.h>.
8221 * math/auto-libm-test-in: Do not mark underflow exceptions as
8222 possibly missing for bug 16351.
8223 * math/auto-libm-test-out: Regenerated.
8224
8225 [BZ #18030]
8226 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
8227 of power of 2 down when low part has opposite sign.
8228 * math/libm-test.inc (logb_test_data): Add more tests.
8229
8230 2015-02-26 Andreas Schwab <schwab@suse.de>
8231
8232 [BZ #18032]
8233 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
8234 over collating symbol inside a bracket expression. Minor cleanup.
8235 * posix/tst-fnmatch3.c (do_test): Add test case.
8236
8237 2015-02-26 Joseph Myers <joseph@codesourcery.com>
8238
8239 [BZ #18029]
8240 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
8241 Adjust exponent of power of 2 down when low part has opposite
8242 sign.
8243 * math/libm-test.inc (ilogb_test_data): Add more tests.
8244
8245 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
8246
8247 [BZ #15969]
8248 * locale/findlocale.c (_nl_find_locale): Fix constness error in
8249 the previous change.
8250
8251 [BZ #15969]
8252 * locale/findlocale.c (_nl_find_locale): Retry archive search
8253 after alias expansion.
8254
8255 2015-02-25 Roland McGrath <roland@hack.frob.com>
8256
8257 * iconv/tst-iconv3.c (main): Converted to ...
8258 (do_test): ... this.
8259 (TEST_FUNCTION): New macro.
8260 Include test-skeleton.c.
8261
8262 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
8263 (convert): Make function static.
8264 (test_unalign): Likewise. Add const to argument pointee types.
8265 (main): Replace with static function do_test.
8266 Print "Succeeded." only if RET is zero.
8267 (TEST_FUNCTION): New macro.
8268 Include test-skeleton.c.
8269
8270 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
8271 returns a null pointer.
8272
8273 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8274
8275 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
8276 to __memcpy_ppc only for static builds.
8277
8278 2015-02-25 Joseph Myers <joseph@codesourcery.com>
8279
8280 [BZ #18020]
8281 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
8282 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
8283 * math/auto-libm-test-in: Add more tests of asinh.
8284 * math/auto-libm-test-out: Regenerated.
8285 * sysdeps/i386/fpu/libm-test-ulps: Update.
8286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8287
8288 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
8289
8290 [BZ #15850]
8291 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
8292 and ip6_mtuinfo definitions here.
8293 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
8294 in this define too. Update comment.
8295
8296 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
8297
8298 * elf/sprof.c (load_shobj): Tweak error message to match others.
8299
8300 2015-02-24 Kevin Easton <kevin@guarana.org>
8301
8302 [BZ #16145] (partial fix)
8303 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
8304 to reduce lock contention.
8305
8306 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
8307
8308 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
8309 (struct timex): Update time comment.
8310 (ADJ_SETOFFSET): Define.
8311
8312 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8313
8314 [BZ #18019]
8315 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8316 2**56 not 2**28 as threshold for log (2x) formula.
8317 * math/auto-libm-test-in: Add more tests of acosh.
8318 * math/auto-libm-test-out: Regenerated.
8319 * sysdeps/i386/fpu/libm-test-ulps: Update.
8320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8321
8322 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8323
8324 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
8325 parenthesis around the buf assignment.
8326 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
8327
8328 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8329
8330 [BZ #16783]
8331 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
8332 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
8333 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
8334 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8335 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8336 * math/libm-test.inc (scalb_test_data): Add more tests.
8337
8338 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8339
8340 [BZ #17916]
8341 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
8342 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
8343
8344 2015-02-24 Eric Rannaud <e@nanocritical.com>
8345
8346 [BZ #17523]
8347 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
8348 * io/bits/fcntl2.h (open): Use it.
8349 (openat): Likewise.
8350 * io/open.c (__libc_open): Likewise.
8351 * io/open64.c (__libc_open64): Likewise.
8352 * io/open64_2.c (__open64_2): Likewise.
8353 * io/open_2.c (__open_2): Likewise.
8354 * io/openat.c (__openat): Likewise.
8355 * io/openat64.c (__openat64): Likewise.
8356 * io/openat64_2.c (__openat64_2): Likewise.
8357 * io/openat_2.c (__openat_2): Likewise.
8358 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
8359 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8360 * sysdeps/posix/open64.c (__libc_open64): Likewise.
8361 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8362 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
8363 (__open_nocancel): Likewise.
8364 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
8365 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
8366 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
8367
8368 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8369
8370 [BZ #14841]
8371 * resolv/gethnamaddr.c (getanswer): Skip logging if
8372 RES_USE_DNSSEC is set.
8373 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8374
8375 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8376
8377 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
8378
8379 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
8380
8381 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8382 201304L, for Unicode 7.
8383
8384 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
8385
8386 [BZ #17836]
8387 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
8388 shared library. Add gmon-start.os otherwise.
8389 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
8390 $(objpfx)gmon-start.os if builing shared library.
8391 ($(objpfx)g$(static-start-installed-name)): Likewise.
8392
8393 2015-02-23 Andreas Schwab <schwab@suse.de>
8394
8395 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
8396
8397 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8398
8399 [BZ #17269]
8400 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
8401 (enlarge_userbuf): Likewise.
8402
8403 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
8404
8405 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
8406 * math/atest-exp.c (TIMEOUT): Adjust to 200.
8407 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
8408 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
8409
8410 2015-02-20 Joseph Myers <joseph@codesourcery.com>
8411
8412 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
8413 expression inside statement expression.
8414
8415 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8416
8417 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
8418 <sysdeps/nptl/lowlevellock.h> and remove macros and
8419 functions that are now defined there.
8420 (SYS_futex): Remove.
8421 (lll_compare_and_swap): Remove.
8422 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
8423
8424 2015-02-19 Joseph Myers <joseph@codesourcery.com>
8425
8426 [BZ #17999]
8427 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
8428 instead of scandirat.
8429 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
8430 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
8431 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
8432 __scandirat.
8433 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
8434 (__scandirat): Declare. Use libc_hidden_proto.
8435 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
8436 Remove variable.
8437 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8438
8439 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8440
8441 [BZ #15319]
8442 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
8443 (MO): New macro.
8444 (__ieee754_atan2): For results with small absolute value, force
8445 underflow exception and remove excess range and precision from
8446 return value.
8447 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
8448 (MO): New macro.
8449 (__ieee754_atan2f): For results with small absolute value, force
8450 underflow exception and remove excess range and precision from
8451 return value.
8452 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
8453 (MO): New macro.
8454 (__atan): For results with small absolute value, force underflow
8455 exception and remove excess range and precision from return value.
8456 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
8457 (MO): New macro.
8458 (__atanf): For results with small absolute value, force underflow
8459 exception and remove excess range and precision from return value.
8460 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
8461 <math.h>.
8462 (__ieee754_atan2): Force underflow exception for results with
8463 small absolute value.
8464 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
8465 <math_private.h>.
8466 (atan): Force underflow exception for results with small absolute
8467 value.
8468 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
8469 (__atanf): Force underflow exception for results with small
8470 absolute value.
8471 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
8472 <math.h>.
8473 (__atanl): Force underflow exception for results with small
8474 absolute value.
8475 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
8476 (__atanl): Force underflow exception for results with small
8477 absolute value.
8478 * sysdeps/x86/fpu/bits/mathinline.h
8479 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
8480 (__ieee754_atan2): Only define inline for long double.
8481 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
8482 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
8483 * math/auto-libm-test-in: Do not mark underflow exceptions as
8484 possibly missing for bug 15319. Add more tests of atan2.
8485 * math/auto-libm-test-out: Regenerated.
8486 * math/libm-test.inc (casin_test_data): Do not mark underflow
8487 exceptions as possibly missing for bug 15319.
8488 (casinh_test_data): Likewise.
8489 * sysdeps/i386/fpu/libm-test-ulps: Update.
8490
8491 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
8492
8493 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
8494 * sysdeps/mips/bits/endian.h: Fix comments.
8495
8496 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8497
8498 [BZ #17996]
8499 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
8500 (hdestroy_r): Likewise.
8501 (hsearch_r): Likewise.
8502 (__hcreate_r): Declare and use libc_hidden_proto.
8503 (__hdestroy_r): Likewise.
8504 (__hsearch_r): Likewise.
8505 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
8506 (hcreate): Call __hcreate_r instead of hcreate_r.
8507 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
8508 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
8509 as weak alias of __hcreate_r.
8510 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
8511 __hdestroy_r.
8512 (hsearch_r): Rename to __hsearch_r and define as weak alias of
8513 __hsearch_r.
8514 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
8515 Remove variable.
8516 (test-xfail-XPG4/search.h/linknamespace): Likewise.
8517 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8518 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8519 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8520
8521 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8522
8523 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
8524 arena_lock into a single arena_get.
8525
8526 2015-02-17 Carlos O'Donell <carlos@redhat.com>
8527
8528 * dl-reloc.c: Inlucde libc-internal.h.
8529 (_dl_try_allocate_static_tls): Call ALIGN_UP.
8530 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
8531 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
8532 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
8533 (grow_heap): Likewise.
8534 * malloc/malloc.c: Include libc-internal.h.
8535 (do_check_malloc): Call powerof2.
8536 (sysmalloc): Use pagesize. Call ALIGN_UP.
8537 (systrim): Use pagesize.
8538 (mremap_chunk): Use pagesize. Call ALIGN_UP.
8539 (__libc_valloc): Use pagesize.
8540 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
8541
8542 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8543
8544 [BZ #17991]
8545 * include/sys/resource.h (__getrlimit64): Declare. Use
8546 libc_hidden_proto.
8547 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
8548 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
8549 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
8550 getrlimit64.
8551 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
8552 __getrlimit64.
8553 [!getrlimit64] (getrlimit64): Define as weak alias of
8554 __getrlimit64. Use libc_hidden_weak.
8555 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
8556 using __getrlimit64 not __new_getrlimit64.
8557 (__GI_getrlimit64): Likewise.
8558 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
8559 Likewise.
8560 (__GI_getrlimit64): Likewise.
8561 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
8562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
8563 (getrlimit): Add __getrlimit64 alias.
8564 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
8565 Likewise.
8566 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
8567 Remove variable.
8568 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8569 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8570
8571 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8572
8573 * libio/fileops.c: Add missing sys/mman.h
8574 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
8575
8576 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8577
8578 * manual/math.texi (Errors in Math Functions): Clarify goals
8579 regarding inexact and underflow exceptions.
8580
8581 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8582
8583 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
8584 * sysdeps/mips/memset.S: Ditto.
8585
8586 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8587
8588 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
8589
8590 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8591
8592 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
8593 (__v1longjmp): Remove versioned symbol.
8594 (__v1siglongjmp): Remove alias and versioned symbol.
8595 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
8596 (__v2siglongjmp): Likewise.
8597
8598 2015-02-16 Torvald Riegel <triegel@redhat.com>
8599
8600 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
8601
8602 2015-02-16 Mike Frysinger <vapier@gentoo.org>
8603
8604 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
8605
8606 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8607
8608 [BZ #17987]
8609 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
8610 zero result does not depend on the sign resulting from
8611 subtraction.
8612 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8613 Likewise.
8614 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8615 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8616 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8617 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8618 * math/libm-test.inc (remquo_test_data): Add more tests.
8619
8620 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
8621
8622 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
8623 Problem reported by J William Piggott.
8624
8625 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8626
8627 [BZ #17978]
8628 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
8629 products 4 * y and 2 * y where those would overflow.
8630 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8631 Likewise.
8632 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8633 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8634 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8635 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8636 * math/libm-test.inc (remquo_test_data): Add more tests.
8637
8638 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
8639
8640 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
8641 [defined _COMPILING_NEWLIB].
8642 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
8643 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
8644
8645 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
8646 [!defined __mips_isa_rev || __mips_isa_rev < 6].
8647
8648 2015-02-16 Torvald Riegel <triegel@redhat.com>
8649
8650 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
8651 acquired.
8652
8653 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
8654
8655 [BZ #17792]
8656 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
8657 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
8658 HOST_STACK_END_ADDR): Likewise.
8659
8660 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
8661
8662 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
8663 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
8664 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
8665
8666 2015-02-13 Roland McGrath <roland@hack.frob.com>
8667
8668 * sysdeps/generic/c++-types.data: New file.
8669 * sysdeps/generic/ld.abilist: New file.
8670 * sysdeps/generic/libBrokenLocale.abilist: New file.
8671 * sysdeps/generic/libanl.abilist: New file.
8672 * sysdeps/generic/libc.abilist: New file.
8673 * sysdeps/generic/libcrypt.abilist: New file.
8674 * sysdeps/generic/libdl.abilist: New file.
8675 * sysdeps/generic/libm.abilist: New file.
8676 * sysdeps/generic/libpthread.abilist: New file.
8677 * sysdeps/generic/libresolv.abilist: New file.
8678 * sysdeps/generic/librt.abilist: New file.
8679
8680 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8681
8682 [BZ #17569]
8683 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8684 Compute absolute value of x as modified by fmod, not original
8685 value of x.
8686 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
8687 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
8688 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
8689 RUN_TEST_ffI_f1_mod8.
8690 (remquo_test_data): Add more tests.
8691
8692 2015-02-13 Roland McGrath <roland@hack.frob.com>
8693
8694 * sysdeps/init_array/pt-crti.S: New file.
8695
8696 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8697
8698 [BZ #17967]
8699 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
8700 __builtin_fmaf instead of relying on contraction of a * b + c.
8701
8702 2015-02-12 J William Piggott <elseifthen@gmx.com>
8703
8704 [BZ #17969]
8705 * manual/time.texi: correct the zoneinfo path in the TZ Variable
8706 node.
8707
8708 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8709
8710 [BZ #17964]
8711 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
8712 __builtin_fma instead of relying on contraction of a * b + c.
8713
8714 2015-02-12 Roland McGrath <roland@hack.frob.com>
8715
8716 * Makeconfig (ASFLAGS): Add -Werror=undef.
8717 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
8718 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
8719 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
8720
8721 * Makeconfig (after-link): New variable.
8722 (+link-pie, +link-pie-tests): Use it.
8723 (+link-static, +link-static-tests): Likewise.
8724 (+link, +link-tests): Likewise.
8725 * Makerules (build-module, build-module-asneeded): Likewise.
8726 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
8727 Likewise.
8728 * elf/Makefile ($(objpfx)ld.so): Likewise.
8729
8730 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
8731
8732 [BZ #17965]
8733 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
8734 both struct timeval and struct timespec.
8735
8736 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8737
8738 [BZ #16560]
8739 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8740 and redefine.
8741 (__ieee754_exp2l): Do not multiply small fractional parts by
8742 M_LN2l.
8743 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
8744 small argument.
8745 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8746 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8747 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
8748 * math/auto-libm-test-in: Add more tests of exp2.
8749 * math/auto-libm-test-out: Regenerated.
8750
8751 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8752
8753 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
8754 unaligned path.
8755
8756 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8757
8758 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
8759 little endian.
8760
8761 2015-02-12 Andreas Schwab <schwab@suse.de>
8762
8763 [BZ #15790]
8764 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
8765 Filter out elision flags from value returned in kind.
8766 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
8767 * nptl/tst-pthread-mutexattr.c: New file.
8768
8769 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
8770
8771 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
8772 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
8773 into gnu-gnu, and update comment to refer to abi-tags.
8774
8775 2015-02-11 Joseph Myers <joseph@codesourcery.com>
8776
8777 [BZ #15467]
8778 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
8779 (__sincos): Set errno to EDOM for infinite argument.
8780 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
8781 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
8782 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
8783 (__sincosl): Set errno to EDOM for infinite argument.
8784 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
8785 (__sincosl): Set errno to EDOM for infinite argument.
8786 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
8787 (__sincosl): Set errno to EDOM for infinite argument.
8788 * math/libm-test.inc (sincos_test_data): Test errno setting.
8789
8790 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
8791
8792 * string/strxfrm_l.c: Remove #define STRCMP.
8793 * string/strcoll_l.c: Remove #define STRLEN.
8794 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
8795 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
8796
8797 2015-02-10 Joseph Myers <joseph@codesourcery.com>
8798
8799 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
8800 * sysdeps/mips/mips32/sfp-machine.h: ... here.
8801 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
8802 * sysdeps/mips/mips64/Makefile: ... here.
8803 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
8804 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
8805 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
8806 * sysdeps/mips/mips64/sfp-machine.h: ... here.
8807 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
8808 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
8809 * sysdeps/mips/mips64/n64/Implies: Likewise.
8810
8811 2015-02-10 Roland McGrath <roland@hack.frob.com>
8812
8813 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
8814 <sys/time.h>, <string.h>, and <errno.h>.
8815 (dest_offset, dest_address, value, zero): Remove unused variables.
8816 (ldouble): Remove typedef.
8817 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
8818 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
8819 1). Fix code style.
8820 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
8821 (check): Function removed.
8822 (CHECK): New macro.
8823 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
8824 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
8825 Don't call set_sigaction_FP and remove_sigaction_FP here.
8826 (ldouble_test): Just use 'long double' as macro argument, no need for
8827 the 'ldouble' typedef.
8828 (do_test): Set up SIGFPE handler at start, using plain signal rather
8829 than sigaction. Fix code style.
8830
8831 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
8832
8833 [BZ #17949]
8834 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
8835 jump label.
8836
8837 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8838
8839 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
8840 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8841
8842 * sysdeps/powerpc/configure.ac: Remove file.
8843 * sysdeps/powerpc/configure: Likewise.
8844
8845 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8846 [sysdep_routines]: Remove wordcopy-power6 object.
8847 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8848 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
8849 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
8850 (__memmove_ppc32): Likewise.
8851 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
8852 file.
8853 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
8854 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
8855 Remove preprocessor.
8856
8857 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8858 [sysdep_routines]: Remove wide chars objects.
8859 [wcsmbs]: New rule for wide char objects.
8860
8861 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8862 Remove wordcopy-power6 obejct.
8863 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
8864 Use local call for wordcopy and memcpy symbols.
8865 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
8866 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
8867 implementation for loader.
8868 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
8869
8870 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8871 Remove wordcopy-power7 object.
8872 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
8873 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
8874 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
8875 (_wordcopy_fwd_dest_aligned): Likewise.
8876 (_wordcopy_bwd_aligned): Likewise.
8877 (_wordcopy_bwd_dest_aligned): Likewise.
8878
8879 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
8880 Rewrite to call __memmove_ppc instead of include default
8881 implementation.
8882
8883 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8884 Remove wide chars objects.
8885 [wcsmbs]: New rule for wide char objects.
8886
8887 2015-02-09 Andreas Schwab <schwab@suse.de>
8888
8889 [BZ #17912]
8890 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
8891 in terms of __O_DIRECTORY.
8892
8893 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8894
8895 * time/getdate.c: Include <stdbool.h>.
8896 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
8897 call PTR_MANGLE.
8898 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
8899 PTR_DEMANGLE.
8900
8901 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
8902
8903 Add ersatz _Static_assert on older C hosts
8904 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
8905 pre-C11 C platform that is not known to support _Static_assert.
8906
8907 2015-02-07 Richard Braun <rbraun@sceen.net>
8908
8909 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
8910 sigstate.
8911 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
8912
8913 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
8914
8915 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
8916 priority against unexistent AIO_PRIO_DELTA_MAX.
8917 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
8918 instead of int.
8919 * misc/fchflags.c (fchflags): Likewise.
8920 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
8921 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
8922 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
8923 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
8924 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
8925 Declare macros.
8926 [__USE_MISC] (chflags, fchflags): Declare functions.
8927 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
8928 EINVAL when nfds is greater than FD_SETSIZE.
8929 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
8930 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
8931 45.
8932 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
8933 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
8934 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
8935 MACH_RCV_TIMED_OUT.
8936 * hurd/hurd/signal.h (_hurd_self_sigstate,
8937 _hurd_critical_section_lock, _hurd_critical_section_unlock):
8938 Explicit casts from void *.
8939 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
8940 * abi-tags: Rename gnu-gnu os into gnu.
8941
8942 [BZ #4719]
8943 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
8944 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
8945 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
8946 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
8947 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
8948 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
8949
8950 [BZ #17944]
8951 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
8952 duplicates ADDR->sun_path with sockaddr LEN limitation.
8953 * sysdeps/mach/hurd/connect.c: Include <string.h>
8954 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
8955 * sysdeps/mach/hurd/sendmsg.c: Likewise.
8956 * sysdeps/mach/hurd/sendto.c: Likewise.
8957 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
8958 implementing it by hand.
8959
8960 2015-02-06 Roland McGrath <roland@hack.frob.com>
8961
8962 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
8963 Use sfi_breg on ldr.
8964 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
8965 Likewise.
8966
8967 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
8968 it's defined.
8969 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
8970 Test SIGSETXID only if it's defined.
8971
8972 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
8973
8974 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
8975 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
8976
8977 * nptl/tst-align2.c: Moved ...
8978 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
8979 * nptl/Makefile (tests): Remove tst-align2.
8980 * sysdeps/unix/sysv/linux/Makefile
8981 [$(subdir) = nptl] (tests): Add tst-align-clone.
8982 * nptl/tst-getpid1.c: Moved ...
8983 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
8984 * nptl/tst-getpid2.c: Moved ...
8985 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
8986 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
8987 * sysdeps/unix/sysv/linux/Makefile
8988 [$(subdir) = nptl] (tests): ... here.
8989 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
8990 * sysdeps/unix/sysv/linux/Makefile
8991 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
8992
8993 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
8994 Drop trailing \n from perror argument. Use return rather than exit.
8995
8996 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
8997 on [SA_SIGINFO].
8998 * nptl/tst-cancel21.c (do_test): Likewise.
8999 * debug/tst-backtrace6.c: Include <signal.h> first thing.
9000 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
9001 [!SA_SIGINFO]: Make it a stub test.
9002
9003 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
9004 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
9005
9006 * posix/tst-getlogin.c: Move to ...
9007 * login/tst-getlogin.c: ... here.
9008 * posix/Makefile (tests): Move tst-getlogin to ...
9009 * login/Makefile (tests): ... here.
9010
9011 * libio/tst-atime.c (do_test): Move local variables SV and E
9012 inside [ST_NOATIME] conditional.
9013
9014 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
9015
9016 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
9017
9018 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
9019 (wait_code): New function replaces macro.
9020 Call nanosleep rather than syscall.
9021
9022 * nptl/pt-system.c: Rewritten. Put everything under
9023 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9024 Use IFUNC to redirect when possible.
9025
9026 * nptl/pt-longjmp.c: Rewritten. Put everything under
9027 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9028 Use IFUNC to redirect when possible.
9029
9030 * nptl/pt-fork.c: Rewritten. Put everything under
9031 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9032 Use IFUNC to redirect when possible.
9033 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
9034
9035 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
9036 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
9037 unconditionally nowadays. This included the only reference to
9038 __vdso_clock_gettime that appears outside libc proper.
9039 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
9040 Remove version set (containing only __vdso_clock_gettime).
9041 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
9042 Add attribute_hidden.
9043 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
9044 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
9045 libc_hidden_data_def.
9046 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9047 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9048
9049 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
9050 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
9051 setrpcent, and getrpcport to ...
9052 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
9053 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
9054 getrpcbynumber_r, and getrpcent_r to ...
9055 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
9056 * inet/getrpcbyname.c: Moved ...
9057 * sunrpc/getrpcbyname.c: ... here.
9058 * inet/getrpcbyname_r.c: Moved ...
9059 * sunrpc/getrpcbyname_r.c: ... here.
9060 * inet/getrpcbynumber.c: Moved ...
9061 * sunrpc/getrpcbynumber.c: ... here.
9062 * inet/getrpcbynumber_r.c: Moved ...
9063 * sunrpc/getrpcbynumber_r.c: ... here.
9064 * inet/getrpcent.c: Moved ...
9065 * sunrpc/getrpcent.c: ... here.
9066 * inet/getrpcent_r.c: Moved ...
9067 * sunrpc/getrpcent_r.c: ... here.
9068 * inet/Makefile (routines): Move those to ...
9069 * sunrpc/Makefile (routines): ... here.
9070 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
9071 the $(subdirs) list.
9072 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
9073 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
9074 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
9075 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
9076
9077 * elf/Makefile (routines): Include $(all-dl-routines), not just
9078 $(dl-routines).
9079 (rtld-routines): Likewise. Use = rather than :=.
9080 * sysdeps/aarch64/Makefile [$(subdir) = elf]
9081 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
9082 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
9083 * sysdeps/arm/Makefile: Likewise.
9084 * sysdeps/i386/Makefile: Likewise.
9085 * sysdeps/x86_64/Makefile: Likewise.
9086 * sysdeps/hppa/Makefile [$(subdir) = elf]
9087 (sysdep_routines, sysdep-rtld-routines): Don't add
9088 $(sysdep-dl-routines) to these.
9089 * sysdeps/ia64/Makefile: Likewise.
9090 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
9091 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
9092 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
9093 Don't add dl-static to these; sysdep-dl-routines alone is enough.
9094 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
9095 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
9096 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
9097 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
9098 * sysdeps/powerpc/Makefile [$(subdir) = elf]
9099 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
9100 these; sysdep-dl-routines alone is enough.
9101
9102 2015-02-06 Joseph Myers <joseph@codesourcery.com>
9103
9104 [BZ #17932]
9105 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
9106 where multiplication results in zero and third argument is finite
9107 and nonzero.
9108 * math/auto-libm-test-in: Add more tests of fma.
9109 * math/auto-libm-test-out: Regenerated.
9110
9111 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
9112 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
9113 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
9114 (_FP_CMP_EQ): Likewise.
9115 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
9116
9117 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
9118 extra argument CHECK_NAN. Redefine as wrapper around
9119 _FP_EXTEND_CNAN.
9120
9121 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
9122
9123 * version.h (RELEASE): Set to "stable".
9124 (VERSION): Set to "2.21"
9125 * include/features.h (__GLIBC_MINOR__): Set to 21.
9126
9127 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
9128
9129 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9130 Paul Eggert <eggert@cs.ucla.edu>
9131
9132 [BZ #16618]
9133 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
9134 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
9135 size in bytes. Store needed elements in wpmax. Use needed size
9136 in bytes for extend_alloca.
9137
9138 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
9139
9140 * manual/install.texi: Latest tested versions are GCC 4.9.2,
9141 binutls 2.25, and texinfo 5.2.
9142 * INSTALL: Regenerate.
9143 * sysdeps/nios2/configure: Regenerate.
9144 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
9145 * manual/contrib.texi: Update.
9146 * po/be.po: Update.
9147 * po/bg.po: Update.
9148 * po/ca.po: Update.
9149 * po/cs.po: Update.
9150 * po/da.po: Update.
9151 * po/de.po: Update.
9152 * po/el.po: Update.
9153 * po/eo.po: Update.
9154 * po/es.po: Update.
9155 * po/fi.po: Update.
9156 * po/fr.po: Update.
9157 * po/gl.po: Update.
9158 * po/hr.po: Update.
9159 * po/hu.po: Update.
9160 * po/ia.po: Update.
9161 * po/id.po: Update.
9162 * po/it.po: Update.
9163 * po/ja.po: Update.
9164 * po/ko.po: Update.
9165 * po/lt.po: Update.
9166 * po/nb.po: Update.
9167 * po/nl.po: Update.
9168 * po/pl.po: Update.
9169 * po/pt_BR.po: Update.
9170 * po/ru.po: Update.
9171 * po/rw.po: Update.
9172 * po/sk.po: Update.
9173 * po/sl.po: Update.
9174 * po/sv.po: Update.
9175 * po/tr.po: Update.
9176 * po/uk.po: Update.
9177 * po/vi.po: Update.
9178 * po/zh_CN.po: Update.
9179 * po/zh_TW.po: Update.
9180
9181 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
9182 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
9183 * sysdeps/hppa/dl-irel.h: Remove #warning.
9184 * sysdeps/hppa/entry.h: Provide prototype for
9185 __canonicalize_funcptr_for_compare and cast argument.
9186 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
9187 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
9188 * sysdeps/hppa/sotruss-lib.c: New file.
9189 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
9190 (atomic_compare_and_exchange_val_acq): Use __typeof__.
9191 (atomic_compare_and_exchange_bool_acq): Likewise.
9192 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
9193 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
9194
9195 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
9196 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
9197 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
9198
9199 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9200
9201 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
9202 called function in non-PIC case.
9203
9204 2015-01-31 David S. Miller <davem@davemloft.net>
9205
9206 * sysdeps/sparc/sparc32/bits/atomic.h
9207 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
9208 unlock not after it.
9209 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
9210 volatile register usage warnings from the compiler.
9211
9212 * sysdeps/sparc/nptl/sem_init.c: Delete.
9213 * sysdeps/sparc/nptl/sem_post.c: Delete.
9214 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
9215 * sysdeps/sparc/nptl/sem_wait.c: Delete.
9216 * sysdeps/sparc/sparc32/sem_init.c: New file.
9217 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
9218 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
9219 padding explicitly initialized.
9220 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
9221 padding for in-semaphore spinlock.
9222 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
9223 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
9224 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
9225 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
9226 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
9227 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
9228 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
9229 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
9230 version.
9231 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
9232 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
9233
9234 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
9235
9236 [BZ #17801]
9237 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9238 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
9239 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
9240 New.
9241 (index_AVX_Fast_Unaligned_Load): Likewise.
9242 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
9243 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
9244 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
9245 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
9246 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
9247 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
9248 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
9249 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
9250 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
9251
9252 2015-01-29 Andreas Schwab <schwab@suse.de>
9253
9254 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
9255
9256 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9257
9258 [BZ #17892]
9259 * nscd/nscd_stat.c (send_stats): Initialize DATA.
9260
9261 2015-01-28 Martin Sebor <msebor@redhat.com>
9262
9263 * math/README.libm-test: Clarify. Add "How to read the test output."
9264
9265 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
9266
9267 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
9268 Define to 0.
9269
9270 2015-01-28 Joseph Myers <joseph@codesourcery.com>
9271
9272 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
9273 (__HAVE_64B_ATOMICS): Define to 0.
9274
9275 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9276
9277 [BZ #17885]
9278 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
9279 value to set as new flag.
9280
9281 [BZ #16576]
9282 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
9283 and use _ARCH_PPCSQ instead.
9284 (__ieee754_sqrt): Likewise.
9285 (__ieee754_sqrtf): Likewise.
9286 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
9287 _ARCH_PPCSQ is defined.
9288 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
9289 fsqrt instruction.
9290 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
9291 _ARCH_PPCSQ is defined.
9292 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
9293 fsqrts instruction.
9294 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
9295
9296 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9297
9298 * iconv/loop.c: Suppress array out of bound warning caused by GCC
9299 bug (GCC BZ #64739).
9300
9301 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
9302
9303 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
9304 Mark _retval as used.
9305 (lll_futex_wake_unlock): Likewise.
9306 (lll_futex_timed_wait_requeue_pi): Likewise.
9307
9308 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9309 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
9310 register variables.
9311
9312 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
9313 libm_hidden_def.
9314
9315 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
9316 (__bswap_64): Mark as __always_inline.
9317
9318 2015-01-25 Bram <bug_rh@spam.wizbit.be>
9319
9320 [BZ #15378]
9321 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
9322 when none of the search directories exist.
9323
9324 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9325
9326 [BZ #17869]
9327 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
9328 power8 in .machine directive.
9329
9330 [BZ #17868]
9331 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
9332 set dependency from opd value.
9333
9334 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9335
9336 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9337 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
9338 architecture.
9339
9340 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9341
9342 [BZ #17870]
9343 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
9344 with uint64_t.
9345 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
9346 (uint64_t) 1.
9347 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
9348 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
9349 Replace 1UL with (uint64_t) 1.
9350 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
9351 int with uint64_t.
9352
9353 2015-01-23 Roland McGrath <roland@hack.frob.com>
9354
9355 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
9356 (if_freenameindex): Likewise.
9357
9358 * resource/getrlimit64.c: Add missing libc_hidden_def.
9359
9360 2015-01-22 Joseph Myers <joseph@codesourcery.com>
9361
9362 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
9363 __label__.
9364 (_FP_FMA): Likewise.
9365 (_FP_TO_INT_ROUND): Likewise.
9366 (_FP_FROM_INT): Likewise.
9367
9368 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9369
9370 [BZ #16418]
9371 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
9372 Make code racy and cancel safe.
9373
9374 2015-01-21 Carlos O'Donell <carlos@redhat.com>
9375
9376 * sysdeps/arm/unwind-resume.h: Fix copyright year.
9377 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
9378 attribution.
9379
9380 * pwd/tst-getpw.c: Rewrite.
9381
9382 [BZ #17702]
9383 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
9384 (modules-names): Add moddummy1 and moddummy2.
9385 ($(objpfx)tst-rec-dlopen): Define.
9386 * dlfcn/moddummy1.c: New file.
9387 * dlfcn/moddummy2.c: New file.
9388 * dlfcn/tst-rec-dlopen.c: New file.
9389 * elf/dl-cache.c (_dl_load_cache_lookup):
9390 Return char*. Copy result with alloca/strcpy/strdup.
9391 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
9392 returns char*. Free cached. If not saving realname
9393 free cached.
9394 * elf/dl-open.c (dl_open_worker): Do not assert that
9395 _r_debug->r_state is RT_CONSISTENT.
9396 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
9397 returns char*.
9398
9399 2015-01-21 Torvald Riegel <triegel@redhat.com>
9400 Carlos O'Donell <carlos@redhat.com>
9401
9402 [BZ #12674]
9403 * nptl/sem_waitcommon.c: New file.
9404 * nptl/sem_wait.c: Include sem_waitcommon.c.
9405 (__sem_wait_cleanup, do_futex_wait): Remove.
9406 (__new_sem_wait): Adapt.
9407 (__new_sem_trywait): New function.
9408 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
9409 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
9410 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
9411 (sem_timedwait): Adapt.
9412 * nptl/sem_post.c (__new_sem_post): Adapt.
9413 (futex_wake): New function.
9414 (__old_sem_post): Add release MO fence.
9415 * nptl/sem_open.c (sem_open): Adapt.
9416 * nptl/sem_init.c (__new_sem_init): Adapt.
9417 (futex_private_if_supported): New function.
9418 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
9419 (__old_sem_getvalue): Add using previous code.
9420 * sysdeps/nptl/internaltypes.h: Adapt.
9421 * nptl/tst-sem13.c (do_test): Adapt.
9422 * nptl/tst-sem11.c (main): Adapt.
9423 * nptl/sem_trywait.c: Remove.
9424 * nptl/DESIGN-sem.txt: Remove.
9425 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
9426 (gen-as-const-headers): Remove structsem.sym.
9427 * nptl/structsem.sym: Remove.
9428 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
9429 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
9430 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
9431 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
9432 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
9433 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
9434 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
9435 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
9436 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
9437 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
9438 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
9439 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
9440 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
9441 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
9442 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
9443 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
9444 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
9445 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
9446 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
9447 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
9448 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
9449 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
9450
9451 2015-01-20 Carlos O'Donell <carlos@redhat.com>
9452
9453 * INSTALL: Regenerated.
9454
9455 * po/libc.pot: Regenerated.
9456
9457 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
9458 Sandra Loosemore <sandra@codesourcery.com>
9459 Andrew Jenner <andrew@codesourcery.com>
9460 Joseph Myers <joseph@codesourcery.com>
9461 Nathan Sidwell <nathan@codesourcery.com>
9462
9463 * NEWS: Mention new Nios II port.
9464 * sysdeps/nios2/Implies: New file.
9465 * sysdeps/nios2/Makefile: New file.
9466 * sysdeps/nios2/Subdirs: New file.
9467 * sysdeps/nios2/Versions: New file.
9468 * sysdeps/nios2/__longjmp.S: New file.
9469 * sysdeps/nios2/abort-instr.h: New file.
9470 * sysdeps/nios2/backtrace.c: New file.
9471 * sysdeps/nios2/bits/endian.h: New file.
9472 * sysdeps/nios2/bits/fenv.h: New file.
9473 * sysdeps/nios2/bits/link.h: New file.
9474 * sysdeps/nios2/bits/setjmp.h: New file.
9475 * sysdeps/nios2/bsd-_setjmp.S: New file.
9476 * sysdeps/nios2/bsd-setjmp.S: New file.
9477 * sysdeps/nios2/configure: New generated file.
9478 * sysdeps/nios2/configure.ac: New file.
9479 * sysdeps/nios2/crti.S: New file.
9480 * sysdeps/nios2/crtn.S: New file.
9481 * sysdeps/nios2/dl-init.c: New file.
9482 * sysdeps/nios2/dl-machine.h: New file.
9483 * sysdeps/nios2/dl-sysdep.h: New file.
9484 * sysdeps/nios2/dl-tls.h: New file.
9485 * sysdeps/nios2/dl-trampoline.S: New file.
9486 * sysdeps/nios2/gccframe.h: New file.
9487 * sysdeps/nios2/gmp-mparam.h: New file.
9488 * sysdeps/nios2/jmpbuf-offsets.h: New file.
9489 * sysdeps/nios2/jmpbuf-unwind.h: New file.
9490 * sysdeps/nios2/ldsodefs.h: New file.
9491 * sysdeps/nios2/libc-tls.c: New file.
9492 * sysdeps/nios2/libm-test-ulps: New file.
9493 * sysdeps/nios2/machine-gmon.h: New file.
9494 * sysdeps/nios2/math-tests.h: New file.
9495 * sysdeps/nios2/math_private.h: New file.
9496 * sysdeps/nios2/memusage.h: New file.
9497 * sysdeps/nios2/nptl/Makefile: New file.
9498 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
9499 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
9500 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
9501 * sysdeps/nios2/nptl/pthreaddef.h: New file.
9502 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
9503 * sysdeps/nios2/nptl/tls.h: New file.
9504 * sysdeps/nios2/preconfigure: New file.
9505 * sysdeps/nios2/s_fma.c: New file.
9506 * sysdeps/nios2/s_fmaf.c: New file.
9507 * sysdeps/nios2/setjmp.S: New file.
9508 * sysdeps/nios2/sfp-machine.h: New file.
9509 * sysdeps/nios2/sotruss-lib.c: New file.
9510 * sysdeps/nios2/stackguard-macros.h: New file.
9511 * sysdeps/nios2/stackinfo.h: New file.
9512 * sysdeps/nios2/start.S: New file.
9513 * sysdeps/nios2/sysdep.h: New file.
9514 * sysdeps/nios2/tls-macros.h: New file.
9515 * sysdeps/nios2/tst-audit.h: New file.
9516 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
9517 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
9518 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
9519 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
9520 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
9521 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
9522 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
9523 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
9524 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
9525 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
9526 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
9527 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
9528 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
9529 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
9530 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
9531 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
9532 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
9533 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
9534 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
9535 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
9536 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
9537 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
9538 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
9539 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
9540 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
9541 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
9542 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
9543 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
9544 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
9545 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
9546 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
9547 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
9548 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
9549 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
9550 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
9551 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
9552 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
9553 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
9554 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
9555 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
9556 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
9557 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
9558 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
9559 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
9560
9561 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9562
9563 [BZ #17844]
9564 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
9565 (getutent): Use weak_alias in non SHARED case
9566 and default_symbol_version in SHARED case.
9567 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
9568 (getutent_r, pututline): Likewise.
9569 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
9570 (getutid): Likewise.
9571 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
9572 (getutid_r): Likewise.
9573 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
9574 (getutline): Likewise.
9575 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
9576 (getutline_r): Likewise.
9577 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
9578 (updwtmp): Likewise.
9579
9580 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9581
9582 [BZ #17848]
9583 * sysdeps/s390/s390-32/memcmp.S
9584 (memcmp_g5): Rename to __memcmp_g5.
9585 * sysdeps/s390/s390-32/memcpy.S
9586 (memcpy_g5): Rename to __memcpy_g5.
9587 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9588 (memcpy_mvcle) Rename to __memcpy_mvcle.
9589 * sysdeps/s390/s390-32/memset.S
9590 (memset_g5): Rename to __memset_g5.
9591 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9592 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9593 and use prefixed functions.
9594 * sysdeps/s390/s390-32/multiarch/memcmp.S
9595 (memcmp_z196): Rename to __memcmp_z196.
9596 (memcmp_z10): Rename to __memcmp_z10.
9597 (memcmp): Set alias to __memcmp_g5.
9598 (bcmp): Set alias to __memcmp_g5.
9599 * sysdeps/s390/s390-32/multiarch/memcpy.S
9600 (memcpy_z196): Rename to __memcpy_z196.
9601 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9602 (memcpy_z10): Rename to __memcpy_z10.
9603 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9604 (memcpy): Set alias to __memcpy_g5.
9605 * sysdeps/s390/s390-32/multiarch/memset.S
9606 (memset_z196): Rename to __memset_z196.
9607 Jump to __memset_mvcle instead of memset_mvcle.
9608 (memset_z10): Rename to __memset_z10.
9609 Jump to __memset_mvcle instead of memset_mvcle.
9610 (memset_mvcle) Rename to __memset_mvcle.
9611 (memset): Set alias to __memset_g5.
9612 * sysdeps/s390/s390-64/memcmp.S
9613 (memcmp_z900): Rename to __memcmp_z900.
9614 * sysdeps/s390/s390-64/memcpy.S
9615 (memcpy_z900): Rename to __memcpy_z900.
9616 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9617 (memcpy_mvcle) Rename to __memcpy_mvcle.
9618 * sysdeps/s390/s390-64/memset.S
9619 (memset_z900): Rename to __memset_z900.
9620 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
9621 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9622 and use prefixed functions.
9623 * sysdeps/s390/s390-64/multiarch/memcmp.S
9624 (memcmp_z196): Rename to __memcmp_z196.
9625 (memcmp_z10): Rename to __memcmp_z10.
9626 (memcmp): Set alias to __memcmp_z900.
9627 (bcmp): Set alias to __memcmp_z900.
9628 * sysdeps/s390/s390-64/multiarch/memcpy.S
9629 (memcpy_z196): Rename to __memcpy_z196.
9630 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9631 (memcpy_z10): Rename to __memcpy_z10.
9632 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9633 (memcpy): Set alias to __memcpy_z900.
9634 * sysdeps/s390/s390-64/multiarch/memset.S
9635 (memset_z196): Rename to __memset_z196.
9636 Jump to __memset_mvcle instead of memset_mvcle.
9637 (memset_z10): Rename to __memset_z10.
9638 Jump to __memset_mvcle instead of memset_mvcle.
9639 (memset_mvcle) Rename to __memset_mvcle.
9640 (memset): Set alias to __memset_z900.
9641
9642 2015-01-14 Joseph Myers <joseph@codesourcery.com>
9643
9644 [BZ #17748]
9645 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
9646 __fesetenv instead of fesetenv.
9647
9648 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9649
9650 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
9651 macro.
9652
9653 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9654
9655 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
9656 regression on LE.
9657
9658 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
9659 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
9660 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9661 strncmp-power8 object.
9662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9663 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
9664 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
9665 * NEWS: Update.
9666
9667 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9668 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9669
9670 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
9671 trailing byte check.
9672
9673 2015-01-13 David S. Miller <davem@davemloft.net>
9674
9675 * include/signal.h (__sigreturn): Guard with __USE_MISC.
9676
9677 2015-01-13 Roland McGrath <roland@hack.frob.com>
9678
9679 * login/logout.c (logout): Use memset rather than bzero.
9680 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
9681 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
9682 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
9683 (_gethtbyaddr): Likewise.
9684 * locale/programs/simple-hash.c (bcopy): Macro removed.
9685
9686 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9687
9688 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9689 Add strcmp-power8 object.
9690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9691 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
9692 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
9693 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
9694 __strcmp_power8 implementation.
9695 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
9696 * NEWS: Update.
9697
9698 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9699 Add strncpy-power8 and stpncpy-power8 objects.
9700 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9701 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
9702 implementations.
9703 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
9704 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
9705 __stpncpy_power8 implementation.
9706 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
9707 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
9708 __strncpy_power8 implementation.
9709 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
9710 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
9711 * NEWS: Update.
9712
9713 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
9714 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
9715 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
9716
9717 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9718 strncat-power8 object.
9719 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
9720 __strcat_power8 implementation.
9721 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9722 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
9723 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
9724 optimized strcat for power8.
9725
9726 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9727 strcpy-power8 and stpcpy-power8 objects.
9728 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9729 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
9730 implementations.
9731 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
9732 multiarch stpcpy implementation for POWER8.
9733 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
9734 multiarch strcpy implementation for POWER8.
9735 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
9736 __strcpy_power8 function.
9737 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
9738 stpcpy for POWER8.
9739 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
9740 strcpy for POWER8.
9741 * NEWS: Update.
9742
9743 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
9744
9745 [BZ #16009]
9746 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
9747 weights and rules. Use do_xfrm_cached if data fits in cache,
9748 do_xfrm otherwise. Moved former main loop to...
9749 * (do_xfrm_cached): New function.
9750 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
9751 find_idx, find_position and stack_push.
9752 * (find_idx): New function.
9753 * (find_position): Likewise.
9754 * localedata/sort-test.sh: Added test run for do_xfrm.
9755 * localedata/xfrm-test.c (main): Added command line option
9756 -nocache to run the test with strings that are too large for
9757 the STRXFRM cache.
9758
9759 2015-01-13 Torvald Riegel <triegel@redhat.com>
9760
9761 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
9762 variable to lll_futex_wake call, not the value itself.
9763
9764 2015-01-12 Joseph Myers <joseph@codesourcery.com>
9765
9766 [BZ #17803]
9767 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
9768 twom64. Adjust value to 0x1p-64L.
9769 (__scalblnl): Only return standard underflowing result for K <=
9770 -64 not K <= -63; adjust exponent for underflowing result by 64
9771 not 63.
9772 * math/libm-test.inc (scalbn_test_data): Add more tests.
9773 (scalbln_test_data): Likewise.
9774
9775 [BZ #17834]
9776 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
9777 0x1p63L.
9778 (__scalblnl): Get new exponent of adjusted subnormal value from ES
9779 not HX.
9780 * math/libm-test.inc (scalbn_test_data): Add more tests.
9781 (scalbln_test_data): Likewise.
9782
9783 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9784 Stefani Seibold <stefani@seibold.net>
9785
9786 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
9787 (sysdep_routines): Add dl-vdso here, ...
9788 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
9789 (sysdep_routines): ... not here.
9790 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
9791 fallback when vDSO is not presented.
9792 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
9793 Define with libc_hidden_proto/libc_hidden_data_def definitions.
9794 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
9795 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
9796 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
9797 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
9798 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
9799 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
9800 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
9801 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
9802 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
9803 fallback configurable symbol when vDSO is not available.
9804 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
9805 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
9806 be able to redefine fallback symbol when vDSO is not available.
9807 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
9808 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
9809
9810 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9811
9812 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
9813 (TLS_INIT_TP): Add tm_capable initialization.
9814 (TLS_DEFINE_INIT_TP): Likewise.
9815 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
9816 TCB.
9817 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
9818 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
9819 calculation.
9820 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
9821 transactoion is lock elision is built and TCB tm_capable is set.
9822 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
9823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9824 (INTERNAL_SYSCALL_NCS): Likewise.
9825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9826 (INTERNAL_SYSCALL_NCS): Likewise.
9827 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
9828
9829 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
9830 for powerpc.
9831 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9832 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
9833 and remove it for 32 bits case.
9834 [pthread_rwlock_t] (__rwelision): New field for lock elision.
9835 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
9836 initialization.
9837 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
9838 Disable lock elision with rdlocks if elision is not available.
9839
9840 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
9841 (sysdep_routines): Add lock elision objects.
9842 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9843 [pthread_mutex_t] (__spins): Rework to add lock elision field.
9844 [pthread_mutex_t] (__elision): Add field.
9845 [__PTHREAD_SPINS]: Adjust to init lock elision field.
9846 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
9847 elision definitions for powerpc.
9848 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
9849 implementation of lock elision for powerpc.
9850 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
9851 implementation of timed lock elision for powerpc.
9852 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
9853 implementation of trylock with lock elision for powerpc.
9854 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
9855 implementaion of unlock for lock elision for powerpc.
9856 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
9857 automatic enable lock elision for mutexes.
9858 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
9859 transaction execution definitions for powerpc.
9860 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
9861 definitions.
9862 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
9863 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
9864 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
9865 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
9866 * NEWS: Update.
9867
9868 2015-01-09 Roland McGrath <roland@hack.frob.com>
9869
9870 * sysdeps/posix/shm-directory.c: Use <> rather than ""
9871 for #include of <shm-directory.h>.
9872
9873 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
9874
9875 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
9876 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
9877
9878 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
9879
9880 [BZ #17791]
9881 * NEWS: Mention bug fix.
9882 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
9883 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
9884 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
9885
9886 2015-01-09 Torvald Riegel <triegel@redhat.com>
9887
9888 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
9889
9890 2015-01-09 Torvald Riegel <triegel@redhat.com>
9891
9892 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
9893
9894 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9895
9896 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
9897 pointer and cast to uintptr_t.
9898
9899 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9900
9901 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
9902 removed.
9903 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
9904
9905 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9906
9907 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
9908 of 0.
9909
9910 2015-01-08 Roland McGrath <roland@hack.frob.com>
9911
9912 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
9913 <nptl/pthreadP.h> instead.
9914 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
9915
9916 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
9917 already defined.
9918 [__SIGRTMIN] (init): Function removed.
9919 [__SIGRTMIN] (initialized): Variable removed.
9920 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
9921 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
9922 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
9923 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
9924 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
9925 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
9926 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
9927 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
9928 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
9929 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
9930 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
9931 * sysdeps/nptl/allocrtsig.c: New file.
9932 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
9933 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
9934 * sysdeps/generic/testrtsig.h: File removed.
9935
9936 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
9937 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
9938
9939 * nptl/nptl-init.c (pthread_functions): Conditionalize
9940 .ptr__nptl_setxid initialization on [SIGSETXID].
9941
9942 * sysdeps/nptl/sys/procfs.h: New file.
9943 * nptl_db/Makefile (headers): Add it.
9944 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
9945
9946 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
9947 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
9948 * nptl/pthread_attr_setaffinity.c: Include it.
9949 * nptl/pthread_setattr_default_np.c: Likewise.
9950 * nptl/check-cpuset.h: New file.
9951
9952 2015-01-08 Richard Henderson <rth@redhat.com>
9953
9954 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
9955 (CFLAGS-tst-execstack-prog.c): Likewise.
9956 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
9957
9958 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
9959 Sandra Loosemore <sandra@codesourcery.com>
9960 Andrew Jenner <andrew@codesourcery.com>
9961 Joseph Myers <joseph@codesourcery.com>
9962 Nathan Sidwell <nathan@codesourcery.com>
9963
9964 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
9965 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
9966 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
9967 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
9968 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
9969 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
9970 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
9971 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
9972 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
9973 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
9974 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
9975 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
9976 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
9977 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
9978 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
9979 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
9980 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
9981
9982 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9983
9984 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
9985 timespec struct member in syscall macro.
9986 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9987 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
9988 first timeval struct member in syscall macro.
9989 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
9990
9991 2015-01-07 Joseph Myers <joseph@codesourcery.com>
9992
9993 [BZ #17748]
9994 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
9995 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
9996 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
9997 __feupdateenv and define as weak alias of __feupdateenv. Use
9998 libm_hidden_weak.
9999 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
10000 libm_hidden_def.
10001 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
10002 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
10003 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
10004 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
10005 libm_hidden_def.
10006 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
10007 __feupdateenv and define as weak alias of __feupdateenv. Use
10008 libm_hidden_weak.
10009 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
10010 libm_hidden_def.
10011 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
10012 __feupdateenv and define as weak alias of __feupdateenv. Use
10013 libm_hidden_weak.
10014 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
10015 libm_hidden_def.
10016 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10017 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10018 (__feupdateenv): Likewise.
10019 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
10020 __feupdateenv and define as weak alias of __feupdateenv. Use
10021 libm_hidden_weak.
10022 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10023 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
10024 libm_hidden_def.
10025 * sysdeps/tile/math_private.h (__feupdateenv): New inline
10026 function.
10027 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
10028 libm_hidden_def.
10029 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
10030 __feupdateenv instead of feupdateenv.
10031 (default_libc_feupdateenv_test): Likewise.
10032 (libc_feresetround_ctx): Likewise.
10033
10034 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10035
10036 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
10037 prototype.
10038
10039 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
10040
10041 * posix/regcomp.c (parse_bracket_exp): Initialize type to
10042 COLL_SYM in a couple of places to avoid uninitialized variable
10043 wanings on tilegx gcc 4.8.2.
10044
10045 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
10046
10047 * sysdeps/aarch64/strcpy.S: New file.
10048 * sysdeps/aarch64/stpcpy.S: New file.
10049 * NEWS: Updated.
10050
10051 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
10052
10053 * sysdeps/aarch64/strrchr.S: New file.
10054 * NEWS: Updated.
10055
10056 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
10057
10058 [BZ #17658]
10059 * stdlib/setenv.c: Fix memory leak when setting large,
10060 duplicate string.
10061
10062 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
10063
10064 [BZ #17273]
10065 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
10066 and tabs from buffer before parsing fstab entry.
10067 * misc/tst-mntent.c (main): Add test for mount entry with
10068 trailing spaces and tabs.
10069
10070 2015-01-06 Joseph Myers <joseph@codesourcery.com>
10071
10072 [BZ #17748]
10073 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
10074 * math/fesetround.c (fesetround): Rename to __fesetround and
10075 define as weak alias of __fesetround. Use libm_hidden_weak.
10076 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
10077 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
10078 * sysdeps/arm/fesetround.c (fesetround): Likewise.
10079 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
10080 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
10081 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
10082 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
10083 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
10084 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
10085 __fesetround_inline.
10086 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
10087 __fesetround_inline instead of __fesetround.
10088 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
10089 __fesetround and define as weak alias of __fesetround. Use
10090 libm_hidden_weak. Call __fesetround_inline instead of
10091 __fesetround.
10092 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
10093 __fesetround and define as weak alias of __fesetround. Use
10094 libm_hidden_weak.
10095 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
10096 Likewise.
10097 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
10098 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10099 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
10100 * sysdeps/tile/math_private.h (__fesetround): New inline function.
10101 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
10102 __fesetround and define as weak alias of __fesetround. Use
10103 libm_hidden_weak.
10104 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
10105 __fesetround instead of fesetround.
10106 (default_libc_feholdexcept_setround): Likewise.
10107 (libc_feholdsetround_ctx): Likewise.
10108 (libc_feholdsetround_noex_ctx): Likewise.
10109
10110 [BZ #17748]
10111 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
10112 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
10113 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10114 and define as weak alias of __fesetenv. Use libm_hidden_weak.
10115 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10116 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
10117 define as weak alias of __fesetenv. Use libm_hidden_weak.
10118 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
10119 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10120 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10121 define as weak alias of __fesetenv. Use libm_hidden_weak.
10122 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10123 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10124 define as weak alias of __fesetenv. Use libm_hidden_weak.
10125 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
10126 libm_hidden_def.
10127 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
10128 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
10129 Likewise.
10130 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10131 define as weak alias of __fesetenv. Use libm_hidden_weak.
10132 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10133 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10134 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
10135 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10136 and define as weak alias of __fesetenv. Use libm_hidden_weak.
10137 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
10138 __fesetenv instead of fesetenv.
10139 (libc_feresetround_noex_ctx): Likewise.
10140 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10141 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
10142 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
10143 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10144 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10145 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10146 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10147 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10148 (__feupdateenv): Likewise.
10149 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10150 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10151 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10152 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
10153
10154 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
10155
10156 [BZ #17806]
10157 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
10158 addresses have been freed.
10159
10160 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
10161
10162 * resolv/res_init.c (__res_vinit): Improve comments about nserv
10163 and nservall.
10164
10165 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
10166
10167 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
10168 Clean up check_pf allocation pattern. addresses
10169
10170 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10171
10172 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
10173 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
10174 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
10175 * nptl/pthread_exit.c (__pthread_exit): Likewise.
10176 * nptl/pthread_join.c (pthread_join): Likewise.
10177 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
10178 * sysdeps/posix/waitid.c (__waitid): Likewise.
10179 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
10180 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
10181 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
10182 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
10183 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
10184 Likewise.
10185 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
10186 (__libc_pread64): Likewise.
10187 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
10188 (__libc_pwrite): Likewise.
10189 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
10190 (__libc_pwrite64): Likewsie.
10191 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
10192 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
10193 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
10194 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
10195 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
10196 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
10197 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
10199 Likewise.
10200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10201 (__libc_pread64): Likewise.
10202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
10203 Likewise.
10204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10205 (__libc_pwrite64): Likewise.
10206 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
10207 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
10208 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
10209 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
10210 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10211 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10212 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
10213 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
10214 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
10215 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
10216 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
10217 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
10218 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
10219 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
10220 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10221 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
10222 Likewise.
10223
10224 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
10225
10226 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
10227 (CFLAGS-test-double.c): Likewise.
10228 (CFLAGS-test-ldouble.c): Likewise.
10229 (CPPFLAGS-test-ifloat.c): Likewise.
10230 (CPPFLAGS-test-idouble.c): Likewise.
10231 (CPPFLAGS-test-ildoubl.c): Likewise.
10232 (CFLAGS-test-test-fenv.c): Remove variable.
10233 (CFLAGS-test-misc.c): Likewise.
10234
10235 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
10236
10237 [BZ #17797]
10238 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
10239 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
10240 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
10241 CLOCKS_PER_SEC == 1000000.
10242 * time/clocktest.c (main): Replace %ld with %jd and cast to
10243 intmax_t.
10244
10245 2015-01-05 Roland McGrath <roland@hack.frob.com>
10246
10247 * sysdeps/generic/unwind-resume.h: New file.
10248 * sysdeps/gnu/unwind-resume.c: Include it.
10249 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
10250 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
10251 argument list.
10252 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
10253 global rather than static.
10254 (_Unwind_Resume): Update user.
10255 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
10256 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
10257 rather than static. Add __attribute__ ((cold)).
10258 (_Unwind_Resume, __gcc_personality_v0): Update callers.
10259 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
10260 * sysdeps/arm/arm-unwind-resume.S: New file.
10261 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
10262 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
10263 * sysdeps/arm/Makefile [$(subdir) = csu]
10264 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
10265 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10266 Add rt-arm-unwind-resume.
10267 [$(subdir) = nptl]
10268 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10269 Add pt-arm-unwind-resume.
10270 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
10271 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
10272
10273 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10274
10275 [BZ #17748]
10276 * include/fenv.h (__feholdexcept): Declare. Use
10277 libm_hidden_proto.
10278 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
10279 define as weak alias of __feholdexcept. Use libm_hidden_weak.
10280 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10281 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
10282 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
10283 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
10284 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
10285 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10286 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
10287 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
10288 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10289 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
10290 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
10291 (feholdexcept): Likewise.
10292 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10293 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10294 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10295 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10296 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
10297 __feholdexcept instead of feholdexcept.
10298 (default_libc_feholdexcept_setround): Likewise.
10299
10300 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10301
10302 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
10303 to avoid using stl/str to align destination.
10304
10305 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10306
10307 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
10308
10309 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10310
10311 [BZ #17796]
10312 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
10313 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
10314 Define as weak alias not strong alias.
10315
10316 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10317
10318 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
10319 bltzal with addiupc.
10320 (RTLD_START): Ditto.
10321
10322 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
10323
10324 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
10325 for __vdso_* functions in declarations.
10326 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
10327 definitions.
10328 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
10329 INTERNAL_VSYSCALL): Use struct return types to check for error.
10330
10331 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
10332 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
10333 function with cast from llround().
10334 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
10335 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10336 Define.
10337
10338 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10339
10340 [BZ #17793]
10341 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
10342 Define as weak alias not strong alias.
10343
10344 [BZ #17635]
10345 * ctype/ctype-c99.c: New file. isblank implementation moved from
10346 ...
10347 * ctype/ctype-extn.c: ... here.
10348 (__isblank_l): Move to ...
10349 * ctype/ctype-c99_l.c: ... here. New file.
10350 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
10351 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
10352 Remove variable.
10353 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10354 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10355 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10356 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10357 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10358
10359 [BZ #17777]
10360 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
10361 (posix_fadvise64): Define as weak alias not strong alias.
10362 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10363 (posix_fallocate64): Likewise.
10364 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
10365 Remove variable.
10366 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10367 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10368 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10369 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10370 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10371
10372 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
10373
10374 [BZ #16191]
10375 * NEWS: Mention bug fix.
10376 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
10377 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
10378 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
10379 (HOST_STACK_END_ADDR): Likewise.
10380
10381 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10382
10383 [BZ #17748]
10384 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
10385 * math/fegetround.c (fegetround): Rename to __fegetround and
10386 define as weak alias of __fegetround. Use libm_hidden_weak.
10387 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
10388 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
10389 * sysdeps/arm/fegetround.c (fegetround): Likewise.
10390 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
10391 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10392 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
10393 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
10394 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
10395 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10396 Undefine after rather than before function definition; use
10397 parentheses around function name in definition.
10398 (__fegetround): Also undefine macro after function definition.
10399 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
10400 __fegetround and define as weak alias of __fegetround. Use
10401 libm_hidden_weak. Do not undefine as macro.
10402 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10403 Likewise.
10404 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
10405 __fegetround and define as weak alias of __fegetround. Use
10406 libm_hidden_weak.
10407 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10408 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10409 * sysdeps/tile/math_private.h (__fegetround): New inline function.
10410 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
10411 __fegetround and define as weak alias of __fegetround. Use
10412 libm_hidden_weak.
10413 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
10414 __fegetround instead of fegetround.
10415
10416 [BZ #17782]
10417 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
10418 Condition macro definition on [__USE_MISC].
10419
10420 [BZ #17781]
10421 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
10422 (struct sigaction): Change type of sa_flags field to int.
10423
10424 [BZ #17780]
10425 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
10426 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
10427 __glibc_reserved0.
10428
10429 * nptl/version.c (banner): Use single year in copyright notice.
10430
10431 * NEWS: Update copyright dates.
10432 * catgets/gencat.c (print_version): Likewise.
10433 * csu/version.c (banner): Likewise.
10434 * debug/catchsegv.sh: Likewise.
10435 * debug/pcprofiledump.c (print_version): Likewise.
10436 * debug/xtrace.sh (do_version): Likewise.
10437 * elf/ldconfig.c (print_version): Likewise.
10438 * elf/ldd.bash.in: Likewise.
10439 * elf/pldd.c (print_version): Likewise.
10440 * elf/sotruss.sh: Likewise.
10441 * elf/sprof.c (print_version): Likewise.
10442 * iconv/iconv_prog.c (print_version): Likewise.
10443 * iconv/iconvconfig.c (print_version): Likewise.
10444 * locale/programs/locale.c (print_version): Likewise.
10445 * locale/programs/localedef.c (print_version): Likewise.
10446 * login/programs/pt_chown.c (print_version): Likewise.
10447 * malloc/memusage.sh (do_version): Likewise.
10448 * malloc/memusagestat.c (print_version): Likewise.
10449 * malloc/mtrace.pl: Likewise.
10450 * manual/libc.texinfo: Likewise.
10451 * nptl/version.c (banner): Likewise.
10452 * nscd/nscd.c (print_version): Likewise.
10453 * nss/getent.c (print_version): Likewise.
10454 * nss/makedb.c (print_version): Likewise.
10455 * posix/getconf.c (main): Likewise.
10456 * scripts/test-installation.pl: Likewise.
10457 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10458
10459 2015-01-02 Will Newton <will.newton@linaro.org>
10460
10461 * sysdeps/arm/armv7/configure: Removed.
10462 * sysdeps/arm/armv7/configure.ac: Likewise.
10463
10464 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10465
10466 * All files with FSF copyright notices: Update copyright dates
10467 using scripts/update-copyrights.
10468 * intl/plural.c: Regenerated.
10469 * locale/programs/charmap-kw.h: Likewise.
10470 * locale/programs/locfile-kw.h: Likewise.
10471
10472 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10473
10474 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
10475
10476 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10477
10478 [BZ #17748]
10479 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
10480 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
10481 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10482 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10483 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10484 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
10485 define as weak alias of __fegetenv. Use libm_hidden_weak.
10486 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
10487 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10488 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10489 define as weak alias of __fegetenv. Use libm_hidden_weak.
10490 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10491 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10492 define as weak alias of __fegetenv. Use libm_hidden_weak.
10493 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
10494 libm_hidden_def.
10495 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
10496 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
10497 Likewise.
10498 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10499 define as weak alias of __fegetenv. Use libm_hidden_weak.
10500 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10501 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10502 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
10503 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10504 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10505 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
10506 __fegetenv instead of fegetenv.
10507 (libc_feholdsetround_noex_ctx): Likewise.
10508
10509 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
10510
10511 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
10512 (Elf_MIPS_ABIFlags_v0): New structure.
10513 (EF_MIPS_FP64): Define.
10514 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
10515 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
10516 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
10517 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
10518 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
10519 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
10520 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
10521 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
10522 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
10523 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
10524 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
10525 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
10526 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
10527 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
10528 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
10529 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
10530 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
10531 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
10532 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
10533 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
10534 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
10535 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
10536 field.
10537 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
10538 EF_MIPS_FP64.
10539 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
10540 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
10541 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
10542 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
10543 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
10544 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
10545 * sysdeps/mips/tst-abi-interlink.c: Likewise.
10546 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
10547 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
10548 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
10549 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
10550 record the current FP ABI extension.
10551 (mips-mode-switch): Define to show if kernel headers support mode
10552 switching.
10553 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10554 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
10555 supported SYSV ABI version to 3.
10556 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
10557 feature.
10558
10559 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10560 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10561
10562 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
10563 path.
10564 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
10565
10566 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10567
10568 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
10569 __fegetround and redefine to call __fegetround. Remove condition
10570 on [!__NO_MATH_INLINES].
10571 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
10572 function.
10573 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
10574 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10575 Remove macro.
10576 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
10577 instead of <fenv_libc.h>.
10578 (__llrintl): Call fegetround instead of __fegetround.
10579 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
10580 instead of <fenv_libc.h>.
10581 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10582 (__lrintl): Call fegetround instead of __fegetround.
10583 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
10584 instead of <fenv_libc.h>.
10585 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10586 (__rintl): Call fegetround instead of __fegetround.
10587
10588 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10589
10590 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
10591 arrays.
10592
10593 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10594
10595 [BZ #17775]
10596 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
10597 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
10598 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
10599
10600 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10601
10602 * sysdeps/i386/tls-macros.h: Include <features.h>.
10603 (TLS_LE): Use non-PIC version for GCC >= 5.0.
10604 (TLS_IE): Likewise.
10605 (TLS_LD): Likewise.
10606 (TLS_GD): Likewise.
10607 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
10608 define for GCC >= 5.0.
10609
10610 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
10611
10612 * math/test-fenv.c (test_single_exception, set_single_exc,
10613 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
10614 feexcp_mask_test, feenable_test, fe_single_test): Add
10615 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
10616 case where they are not used.
10617 * math/libm-test.inc: Likewise.
10618 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
10619 unused in the absence of FP rounding/exception support.
10620 * stdio-common/tst-printf-round.c: Likewise.
10621 * stdlib/tst-strtod-round.c: Likewise.
10622 * stdlib/tst-strtod-underflow.c: Likewise.
10623
10624 2014-12-30 Joseph Myers <joseph@codesourcery.com>
10625
10626 [BZ #17723]
10627 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
10628 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
10629 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10630 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10631 libm_hidden_weak.
10632 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
10633 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10634 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
10635 libm_hidden_def.
10636 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10637 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10638 libm_hidden_weak.
10639 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
10640 Likewise.
10641 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
10642 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10643 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10644 libm_hidden_weak.
10645 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10646 libm_hidden_def.
10647 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10648 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
10649 (__feraiseexcept): Likewise.
10650 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10651 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10652 libm_hidden_weak.
10653 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10654 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10655 libm_hidden_def.
10656 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
10657 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
10658 Use libm_hidden_def.
10659 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
10660 libm_hidden_def.
10661 (feraiseexcept): Define as weak not strong alias. Use
10662 libm_hidden_weak.
10663 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
10664 New inline function. Factored out of ...
10665 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
10666 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
10667 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
10668 feraiseexcept.
10669 * math/w_acos.c (__acos): Likewise.
10670 * math/w_asin.c (__asin): Likewise.
10671 * math/w_ilogb.c (__ilogb): Likewise.
10672 * math/w_j0.c (y0): Likewise.
10673 * math/w_j1.c (y1): Likewise.
10674 * math/w_jn.c (yn): Likewise.
10675 * math/w_log.c (__log): Likewise.
10676 * math/w_log10.c (__log10): Likewise.
10677 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
10678 * sysdeps/aarch64/fpu/math_private.h
10679 (libc_feupdateenv_test_aarch64): Likewise.
10680 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10681 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
10682 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
10683 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10684 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10685 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10686 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
10687 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10688 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10689 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10690
10691 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10692
10693 [BZ #17732]
10694 * io/test-utime.c (main): Replace %ld with %jd and cast to
10695 intmax_t.
10696 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
10697 * nptl/tst-mutex5.c: Include <stdint.h>.
10698 (do_test): Replace %ld with %jd and cast to intmax_t.
10699 * posix/tst-regex.c (run_test): Likewise.
10700 (run_test_backwards): Likewise.
10701 * rt/tst-clock.c: Include <stdint.h>.
10702 (clock_test): Replace %ld with %jd and cast to intmax_t.
10703 * rt/tst-cpuclock1.c: Include <stdint.h>.
10704 (do_test): Replace %lu with %ju and cast to uintmax_t.
10705 * rt/tst-cpuclock2.c: Include <stdint.h>.
10706 (do_test): Replace %lu with %ju and cast to uintmax_t.
10707 * rt/tst-mqueue1.c: Include <stdint.h>.
10708 (check_attrs): Replace %ld with %jd and cast to intmax_t.
10709 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
10710 intmax_t.
10711 * rt/tst-mqueue4.c (do_test): Likewise.
10712 * rt/tst-timer4.c: Include <stdint.h>.
10713 (check_ts): Replace %ld with %jd and cast to intmax_t.
10714 (do_test): Likewise.
10715 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
10716 and cast to intmax_t.
10717 * sysdeps/pthread/tst-timer.c (main): Likewise.
10718 * time/clocktest.c (main): Likewise.
10719 * time/tst-posixtz.c (do_test): Likewise.
10720 * timezone/tst-timezone.c (main): Likewise.
10721
10722 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10723 H.J. Lu <hongjiu.lu@intel.com>
10724
10725 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
10726 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
10727 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
10728 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
10729 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
10730 version if bit_Fast_Unaligned_Load is set.
10731 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10732 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10733 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10734 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10735 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10736 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10737 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10738 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
10739 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
10740 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
10741 to 4.
10742 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
10743 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
10744 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
10745 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
10746
10747 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
10748
10749 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
10750 instead of #if to avoid a Wundef warning.
10751 * stdlib/tst-limits.c (do_test): Likewise.
10752
10753 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
10754 parallel other exception macros.
10755 (fegetenv): Convert from macro to extern inline so that it applies
10756 retroactively to inline functions already seen by the compiler.
10757 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
10758
10759 * posix/Makefile (before-compile): Use $(objpfx) for
10760 posix-conf-vars-def.h.
10761
10762 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10763
10764 * posix/getconf.c (main): Use size_t for type of I.
10765 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
10766 NSPEC.
10767
10768 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
10769 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
10770 * posix/posix-envs.def: Likewise.
10771 * sysdeps/posix/sysconf.c: Likewise.
10772 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
10773 (specs): Remove array.
10774 * scripts/gen-posix-conf-vars.awk: Support generation of specs
10775 array.
10776
10777 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
10778 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
10779 (__sysconf): Use CONF_IS_* macros.
10780
10781 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
10782 ($(objpfx)posix-conf-vars-def.h): New target.
10783 * posix/posix-conf-vars.list: New file.
10784 * posix/posix-conf-vars.h: New file.
10785 * posix/confstr.c: Include posix-conf-vars.h.
10786 (confstr): Use CONF_IS_* macros.
10787 * posix/posix-envs.def: Include posix-conf-vars.h. Use
10788 CONF_IS_* macros.
10789 * scripts/gen-posix-conf-vars.awk: New file.
10790
10791 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
10792
10793 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
10794 fegetround): Add no-op macros to avoid linknamespace issues.
10795
10796 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
10797 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
10798
10799 * sysdeps/unix/sysv/linux/tile/sysdep.h
10800 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
10801 assembly-specific section to avoid a redefinition warning.
10802
10803 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
10804 long before casting to pointer to avoid a cast warning.
10805
10806 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
10807
10808 * sysdeps/tile/tilegx/Implies: New file.
10809
10810 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
10811
10812 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
10813
10814 2014-12-23 Florian Weimer <fweimer@redhat.com>
10815
10816 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
10817
10818 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10819
10820 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
10821 not define.
10822 * sysdeps/unix/sysv/linux/utimes.c: Do not include
10823 <kernel-features.h>.
10824 (__utimes) [__NR_utimes]: Make code unconditional.
10825 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
10826 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10827 (__ASSUME_UTIMES): Do not undefine.
10828 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10829 (__ASSUME_UTIMES): Likewise.
10830 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10831 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
10832 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
10833 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
10834
10835 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
10836
10837 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
10838
10839 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
10840
10841 [BZ #17747]
10842 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
10843 alias to weak alias for j0l, y0l.
10844 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
10845 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
10846
10847 [BZ #17746]
10848 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
10849 conversion.
10850
10851 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
10852
10853 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
10854 to zero if not already defined.
10855
10856 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10857
10858 [BZ #17724]
10859 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
10860 (__kernel_standard_f): Remove. Moved to k_standardf.c.
10861 (__kernel_standard_l): Remove. Moved to k_standardl.c with
10862 (char *) casts added.
10863 * sysdeps/ieee754/k_standardf.c: New file.
10864 * sysdeps/ieee754/k_standardl.c: Likewise.
10865 * math/Makefile (libm-support): Remove k_standard.
10866 (libm-calls): Add k_standard.
10867
10868 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10869
10870 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10871 Optimize to avoid an unnecessary FPCR read.
10872
10873 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10874
10875 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10876 Optimize to reduce FPCR/FPSR accesses.
10877
10878 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10879
10880 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
10881 Call libc_fetestexcept_aarch64.
10882
10883 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10884
10885 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
10886 Call libc_fesetround_aarch64.
10887
10888 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10889
10890 [BZ #17733]
10891 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
10892 (__bind): Do not define as weak alias.
10893 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
10894 define.
10895 (__getsockname): Do not define as weak alias.
10896
10897 2014-12-22 Will Newton <will.newton@linaro.org>
10898
10899 * manual/install.texi: Document that we require bison 2.7
10900 or above.
10901 * INSTALL: Regenerate.
10902 * configure.ac: Use AC_CHECK_PROG_VER instead of
10903 AC_PATH_PROG when checking for bison and check for
10904 version 2.7 or above.
10905 * configure: Regenerate.
10906
10907 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
10908
10909 [BZ #17745]
10910 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
10911 * sysdeps/tile/ffsll.c (ffsll): To here.
10912
10913 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
10914
10915 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
10916
10917 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
10918 if not defined.
10919 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
10920 definition.
10921 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10922 hidden ___tls_get_addr.
10923 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10924 hidden __tls_get_addr.
10925 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
10926 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
10927 Likewise.
10928
10929 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
10930
10931 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
10932 _dl_init call.
10933
10934 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
10935
10936 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
10937 from "call _dl_init@PLT".
10938 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
10939
10940 2014-12-21 Anders Kaseorg <andersk@mit.edu>
10941
10942 * manual/search.texi: (Array Sort Function): Clarify stable sorting
10943 guarantees.
10944
10945 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
10946
10947 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
10948
10949 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
10950
10951 [BZ #17744]
10952 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
10953 strnlen.
10954
10955 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
10956
10957 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
10958 of multu on MIPSr6.
10959 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
10960 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
10961 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
10962 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
10963 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
10964
10965 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
10966
10967 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
10968 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
10969 (PTR_SUBU): Use subu for mips32r6/mips64r6.
10970 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
10971 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
10972 mips32r6/mips64r6.
10973 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
10974
10975 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
10976
10977 * string/strncat.c (STRNCAT): Simplify implementation.
10978
10979 2014-12-19 David S. Miller <davem@davemloft.net>
10980
10981 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
10982 access the quad as both a long double and as a series of 4 words.
10983
10984 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
10985 link_map->l_info array access.
10986
10987 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
10988
10989 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
10990
10991 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
10992 * math/atest-exp2.c (TIMEOUT): Likewise.
10993 * math/atest-sincos.c (TIMEOUT): Likewise.
10994
10995 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
10996
10997 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
10998 -Wno-error with -fno-builtin-lround.
10999
11000 2014-12-19 Torvald Riegel <triegel@redhat.com>
11001
11002 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
11003 Contains futex constants and functions moved over from ...
11004 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
11005 <lowlevellock-futex.h>.
11006 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
11007 (lll_timedwait_tid): Add comments and parentheses around macro
11008 arguments.
11009
11010 2014-12-19 Torvald Riegel <triegel@redhat.com>
11011
11012 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
11013 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
11014 (__lll_private_flag): Remove.
11015 (lll_futex_wait): Likewise.
11016 (lll_futex_timed_wait): Likewise.
11017 (lll_futex_wake): Likewise.
11018 (lll_futex_requeue): Likewise.
11019 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
11020 (__lll_timedwait_tid): Spell out argument names.
11021 (lll_timedwait_tid): Add comments and parentheses around macro
11022 arguments.
11023 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
11024 LLL_SHARED and LLL_PRIVATE usable from assembly code.
11025
11026 2014-12-19 Torvald Riegel <triegel@redhat.com>
11027
11028 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
11029 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11030 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11031 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
11032 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
11033 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
11034 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
11035 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
11036 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
11037 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
11038 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
11039 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
11040 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
11041 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
11042 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
11043 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
11044 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
11045 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
11046 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
11047
11048 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11049
11050 * sysdeps/x86_64/x32/Makefile: New file.
11051
11052 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11053
11054 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
11055 1L with (mp_limb_t) 1.
11056
11057 2014-12-17 Roland McGrath <roland@hack.frob.com>
11058
11059 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
11060 * nptl/libc_pthread_init.c: ... here.
11061 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
11062 * nptl/register-atfork.c: ... here.
11063
11064 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
11065 Use pthread_sigmask rather than INTERNAL_SYSCALL.
11066 Use assert_perror to check its return value.
11067 (__gai_create_helper_thread): Likewise.
11068
11069 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
11070
11071 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
11072
11073 2014-12-17 Joseph Myers <joseph@codesourcery.com>
11074
11075 [BZ #17725]
11076 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
11077 __profil_counter.
11078 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
11079 Likewise.
11080 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
11081 Likewise.
11082 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
11083 Likewise.
11084 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
11085 (profil_counter): Likewise.
11086 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
11087 (profil_counter): Likewise.
11088 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
11089 Likewise.
11090 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
11091 Likewise.
11092 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
11093 (profil_counter): Likewise.
11094 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
11095 Likewise.
11096 [!__profil_counter] (profil_counter): Define as weak alias of
11097 __profil_counter.
11098 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
11099 (profil_counter): Rename to __profil_counter.
11100 [!__profil_counter] (profil_counter): Define as weak alias of
11101 __profil_counter.
11102 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
11103 (profil_counter): Rename to __profil_counter.
11104 [!__profil_counter] (profil_counter): Define as weak alias of
11105 __profil_counter.
11106 * sysdeps/posix/profil.c: Update comment referring to
11107 profil_counter.
11108 (__profil): Use __profil_counter instead of profil_counter.
11109 * sysdeps/posix/sprofil.c (profil_counter): Rename to
11110 __profil_counter. Use __profil_counter_ushort and
11111 __profil_counter_uint in definitions.
11112 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
11113 instead of profil_counter_uint and profil_counter_ushort.
11114
11115 [BZ #17722]
11116 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
11117 define as weak alias of __inet_makeaddr.
11118 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
11119 as weak alias of __inet_addr.
11120 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
11121 as weak alias of __inet_pton. Use libc_hidden_weak.
11122 * include/arpa/inet.h (__inet_pton): Declare. Use
11123 libc_hidden_proto.
11124 (inet_makeaddr): Don't use libc_hidden_proto.
11125 (__inet_makeaddr): Declare. Use libc_hidden_proto.
11126 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
11127 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
11128 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
11129 Remove variable.
11130 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11131 (test-xfail-POSIX/time.h/linknamespace): Likewise.
11132
11133 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
11134
11135 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
11136
11137 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11138
11139 * stdio-common/bug-vfprintf-nargs.c (do_test):
11140 Cast value to intptr_t to avoid format warning
11141 for usage with PRIdPTR printing macro.
11142
11143 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11144
11145 * libio/tst-widetext.c (do_test):
11146 Use format type %td instead of %Zd for ptrdiff_t
11147 in order to avoid format warning.
11148
11149 2014-12-17 Andreas Schwab <schwab@suse.de>
11150
11151 * nscd/mem.c (gc): Add size_t cast to match printf format.
11152
11153 2014-12-16 Roland McGrath <roland@hack.frob.com>
11154
11155 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
11156 (init): Apply PTR_MANGLE to pointers before storing them.
11157 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
11158 before using them.
11159
11160 2014-12-16 Joseph Myers <joseph@codesourcery.com>
11161
11162 [BZ #17719]
11163 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
11164 define as weak alias of __memrchr.
11165 (__memrchr): Do not define as strong alias of memrchr.
11166 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
11167 Remove variable.
11168 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11169 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11170 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11171
11172 [BZ #17717]
11173 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
11174 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
11175 (if_indextoname): Rename to __if_indextoname and define as weak
11176 alias of __if_indextoname. Use libc_hidden_weak.
11177 (if_freenameindex): Rename to __if_freenameindex and define as
11178 weak alias of __if_freenameindex.
11179 (if_nameindex): Rename to __if_nameindex and define as weak alias
11180 of __if_nameindex.
11181 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
11182 __if_nametoindex and define as weak alias of __if_nametoindex.
11183 Use libc_hidden_weak.
11184 (if_freenameindex): Rename to __if_freenameindex and define as
11185 weak alias of __if_freenameindex.
11186 (if_nameindex): Rename to __if_nameindex and define as weak alias
11187 of __if_nameindex.
11188 (if_indextoname): Rename to __if_indextoname and define as weak
11189 alias of __if_indextoname. Use libc_hidden_weak.
11190 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
11191 __if_nametoindex and define as weak alias of __if_nametoindex.
11192 Use libc_hidden_weak.
11193 (if_freenameindex): Rename to __if_freenameindex and define as
11194 weak alias of __if_freenameindex. Use libc_hidden_weak.
11195 (if_nameindex_netlink): Use __if_freenameindex instead of
11196 if_freenameindex.
11197 (if_nameindex): Rename to __if_nameindex and define as weak alias
11198 of __if_nameindex. Use libc_hidden_weak.
11199 (if_indextoname): Rename to __if_indextoname and define as weak
11200 alias of __if_indextoname. Use libc_hidden_weak.
11201 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
11202 libc_hidden_proto.
11203 [!_ISOMAC] (__if_freenameindex): Likewise.
11204 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
11205 if_nametoindex.
11206 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
11207 variable.
11208 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11209 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11210 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11211 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11212 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11213 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11214 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11215
11216 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
11217 Remove variable.
11218 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11219 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11220
11221 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11222
11223 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
11224 subscript above bounds'
11225
11226 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
11227 bounds.
11228
11229 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
11230
11231 * libio/tst-fopenloc.c: Use test-skeleton.c.
11232
11233 * stdlib/tst-bsearch.c: Use test-skeleton.c.
11234 (entry): Rename to ITEM.
11235 (do_test, comp): Adjust.
11236
11237 * stdio-common/tst-fseek.c: Use test-skeleton.c.
11238
11239 2014-12-16 Torvald Riegel <triegel@redhat.com>
11240
11241 * string/tester.c: Include <libc-internal.h>.
11242 (test_memset): Ignore -Wmemset-transposed-args.
11243
11244 2014-12-16 Torvald Riegel <triegel@redhat.com>
11245
11246 * misc/tst-mntent2.c (do_test): Fix warning.
11247
11248 2014-12-16 Torvald Riegel <triegel@redhat.com>
11249
11250 * elf/tst-unique4lib.cc(a): Mark as used.
11251
11252 2014-12-16 Florian Weimer <fweimer@redhat.com>
11253
11254 [BZ #17630]
11255 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
11256 names.
11257
11258 2014-12-16 Allan McRae <allan@archlinux.org>
11259
11260 * stdio-common/Makefile (tests): Re-add bug26.
11261
11262 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
11263
11264 [BZ #17657]
11265 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
11266 static array.
11267
11268 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
11269
11270 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
11271 (__lll_lock_wait): Likewise.
11272 (__lll_timedlock_wait): Likewise.
11273 (__lll_timedwait_tid): Likewise.
11274 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
11275 (__lll_robust_timedlock_wait): Likewise.
11276 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
11277 (lll_cond_trylock): Likewise.
11278 (__lll_lock): Likewise.
11279 (__lll_robust_lock): Likewise.
11280 (__lll_cond_lock): Likewise.
11281 (lll_robust_cond_lock): Likewise.
11282 (__lll_timedlock): Likewise.
11283 (__lll_robust_timedlock): Likewise.
11284 (__lll_unlock): Likewise.
11285 (__lll_robust_unlock): Likewise.
11286 (lll_wait_tid): Likewise.
11287 (lll_timedwait_tid): Likewise.
11288
11289 2014-12-15 Torvald Riegel <triegel@redhat.com>
11290
11291 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
11292
11293 2014-12-15 Torvald Riegel <triegel@redhat.com>
11294
11295 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
11296
11297 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11298
11299 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
11300 * stdio-common/tst-sprintf.c: Likewise.
11301
11302 2014-12-15 Torvald Riegel <triegel@redhat.com>
11303
11304 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
11305
11306 2014-12-15 Jeff Law <law@redhat.com>
11307
11308 [BZ #16617]
11309 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
11310 on the heap. (CVE-2012-3406)
11311 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
11312 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
11313 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
11314
11315 2014-12-15 Will Newton <will.newton@linaro.org>
11316
11317 * manual/install.texi: Bump required version of texinfo
11318 to 4.7 from 4.5.
11319 * INSTALL: Regenerated.
11320 * configure.ac: Check for makeinfo version 4.7 and above.
11321 * configure: Regenerated.
11322
11323 2014-12-12 Roland McGrath <roland@hack.frob.com>
11324
11325 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
11326 PREFIX, string constant to insert between directory and name.
11327 * sysdeps/posix/shm_open.c: Update caller.
11328 * sysdeps/posix/shm_unlink.c: Likewise.
11329 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
11330 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
11331 (SEM_SHM_PREFIX): New macro.
11332 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
11333 [$(have-thread-library) = no].
11334 * nptl/Makefile (libpthread-routines): Add shm-directory.
11335 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
11336 * sysdeps/nptl/shm-directory.h: New file.
11337 * sysdeps/posix/shm-directory.c
11338 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
11339 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11340 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
11341 INTERNAL_SYSCALL.
11342 (__where_is_shmfs): Function removed.
11343 (mountpoint, defaultmount, defaultdir, __namedsem_once):
11344 Variables removed.
11345 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
11346 Use SHM_GET_NAME.
11347 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
11348
11349 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
11350 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
11351 unconditional for use inside libpthread.
11352 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
11353
11354 2014-12-12 Roland McGrath <roland@hack.frob.com>
11355
11356 * nptl/pthread_getaffinity.c: New file.
11357 * nptl/pthread_setaffinity.c: New file.
11358 * nptl/pthread_getname.c: New file.
11359 * nptl/pthread_setname.c: New file.
11360
11361 * nptl/pthread_create.c (START_THREAD_DEFN)
11362 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
11363
11364 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11365 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11366
11367 * resolv/res_send.c (send_vc): Disable warning resplen may
11368 be used uninitialized.
11369
11370 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11371
11372 * nptl/tst-mutex6.c
11373 (ATTR_NULL): New define checks ATTR against NULL.
11374 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
11375 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
11376
11377 2014-12-11 James Lemke <jwlemke@codesourcery.com>
11378
11379 [BZ #17581]
11380 * malloc/hooks.c
11381 (mem2mem_check): Revert my previous change.
11382 (malloc_check_get_size): Revert my previous change.
11383 (mem2chunk_check): Revert my previous change.
11384
11385 2014-12-11 Roland McGrath <roland@hack.frob.com>
11386
11387 * sysdeps/posix/shm-directory.c: New file.
11388 * sysdeps/posix/shm-directory.h: New file.
11389 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
11390 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
11391 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
11392 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
11393 Transmute EPERM to EACCES.
11394 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
11395 from ...
11396 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
11397 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
11398
11399 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11400
11401 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
11402 pointer and cast to uintptr_t.
11403 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
11404 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
11405 Add cast to avoid warning.
11406 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
11407
11408 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11409
11410 * nptl/semaphore.h: Move to ...
11411 * sysdeps/pthread/semaphore.h: ... here.
11412 * Makefile (installed-headers): Change nptl/semaphore.h to
11413 sysdeps/pthread/semaphore.h.
11414
11415 2014-12-11 Roland McGrath <roland@hack.frob.com>
11416
11417 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
11418 generated error format strings.
11419
11420 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
11421 -Wformat-extra-args warnings for scanf formats.
11422 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
11423 test of zero-length format (duh).
11424 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
11425 corner-case scanf format test.
11426 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
11427 generated fprintf format string.
11428 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
11429 corner-case sprintf format tests.
11430 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
11431 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
11432 -Wformat-extra-args warnings throughout.
11433 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
11434 (CFLAGS-scanf4.c): Likewise.
11435 (CFLAGS-scanf7.c): Likewise.
11436 (CFLAGS-tst-sprintf.c): Likewise.
11437 (CFLAGS-tst-printf.c): Likewise.
11438 (CFLAGS-tst-printfsz.c): Likewise.
11439
11440 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11441
11442 * include/cpio.h: New file.
11443 * include/fmtmsg.h: Likewise.
11444
11445 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
11446 corresponding format argument to size_t.
11447 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
11448 arguments.
11449 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
11450 corresponding format argument to size_t.
11451 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
11452 arguments.
11453 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
11454 corresponding format argument to size_t.
11455 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
11456 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
11457 (CFLAGS-tst-mbswcs2.c): Likewise.
11458 (CFLAGS-tst-mbswcs3.c): Likewise.
11459 (CFLAGS-tst-mbswcs4.c): Likewise.
11460 (CFLAGS-tst-mbswcs5.c): Likewise.
11461 (CFLAGS-tst-trans.c): Likewise
11462
11463 2014-12-11 Roland McGrath <roland@hack.frob.com>
11464
11465 * posix/regexbug1.c (main): Use "%s" format with regerror results,
11466 rather than assuming they won't contain any '%'s.
11467
11468 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
11469
11470 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
11471 inhibit_loop_to_libcall to avoid recursive calls.
11472 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
11473 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
11474
11475 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11476
11477 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
11478 prototype.
11479
11480 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11481
11482 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
11483 integer value instead of boolean.
11484
11485 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11486
11487 * malloc/malloc.c: Fix powerof2 check.
11488
11489 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11490
11491 * locale/programs/locfile.h (maybe_swap_uint32):
11492 Remove inline and add unused attribute.
11493
11494 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11495
11496 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11497 Truncating assembler expression to a .long expression.
11498
11499 2014-12-11 Andreas Schwab <schwab@suse.de>
11500
11501 * elf/rtld.c (struct map_args): Constify str member.
11502 (do_preload): Constify fname argument.
11503
11504 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11505
11506 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
11507 constants definition.
11508
11509 2014-12-11 Andreas Schwab <schwab@suse.de>
11510
11511 [BZ #16657]
11512 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
11513 FORCE_ELISION instead of DO_ELISION.
11514 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
11515 Remove.
11516 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
11517 Likewise.
11518
11519 * iconvdata/gconv-modules: Remove duplicate entry.
11520
11521 2014-12-11 Will Newton <will.newton@linaro.org>
11522
11523 Merge gettext 0.19.3 into intl/.
11524
11525 This involves a number of cosmetic changes to comments
11526 and ANSI function definitions and prototypes throughout
11527 all the files. The gettext copyright header is used but
11528 with the date ranges taken from the glibc copy.
11529
11530 * NEWS: Add gettext merge to 2.21.
11531 * intl/bindtextdom.c: Switch to gettext copyright.
11532 Use ANSI definitions and prototypes.
11533 Use gl_* locking primitives rather than __libc_* ones.
11534 Use __builtin_expect rather than __glibc_likely/unlikely.
11535 * intl/dcgettext.c: Switch to gettext copyright.
11536 Use ANSI definitions and prototypes.
11537 * intl/dcigettext.c: Switch to gettext copyright.
11538 Use ANSI definitions and prototypes.
11539 (INTDIV0_RAISES_SIGFPE): New define.
11540 Use gl_* locking primitives rather than __libc_* ones.
11541 Include eval-plural.h instead of plural-eval.c.
11542 Use __builtin_expect rather than __glibc_likely/unlikely.
11543 * intl/dcngettext.c: Switch to gettext copyright.
11544 Use ANSI definitions and prototypes.
11545 * intl/dgettext.c: Likewise.
11546 * intl/dngettext.c: Likewise.
11547 * intl/plural-eval.c: Renamed to...
11548 * intl/eval-plural.h: ...this.
11549 * intl/explodename.c: Switch to gettext copyright.
11550 Use ANSI definitions and prototypes.
11551 (_nl_explode_name): Use strchr instead of __rawmemchr.
11552 * intl/finddomain.c: Switch to gettext copyright.
11553 Use ANSI definitions and prototypes.
11554 Use gl_* locking primitives rather than __libc_* ones.
11555 (_nl_find_domain): Use malloc rather than alloca for
11556 allocation of temporary locale name.
11557 * intl/gettext.c: Switch to gettext copyright.
11558 Use ANSI definitions and prototypes.
11559 * intl/gettextP.h: Switch to gettext copyright.
11560 Use ANSI definitions and prototypes.
11561 Use gl_* locking primitives rather than __libc_* ones.
11562 * intl/gmo.h: Switch to gettext copyright.
11563 (struct sysdep_string): Move struct segment_pair outside of
11564 struct definition.
11565 * intl/hash-string.c: Use ANSI definitions and prototypes.
11566 * intl/hash-string.h: Switch to gettext copyright.
11567 Use ANSI definitions and prototypes.
11568 * intl/l10nflist.c: Switch to gettext copyright.
11569 Use ANSI definitions and prototypes.
11570 (_nl_normalize_codeset): Avoid integer overflow.
11571 * intl/loadinfo.h: Switch to gettext copyright.
11572 Use ANSI definitions and prototypes.
11573 (LIBINTL_DLL_EXPORTED): New define.
11574 (PATH_SEPARATOR): New define.
11575 * intl/loadmsgcat.c: Switch to gettext copyright.
11576 * intl/localealias.c: Switch to gettext copyright.
11577 Use ANSI definitions and prototypes.
11578 (_nl_expand_alias): Use PATH_SEPARATOR.
11579 * intl/ngettext.c: Switch to gettext copyright.
11580 Use ANSI definitions and prototypes.
11581 * intl/plural-exp.c: Likewise.
11582 * intl/plural-exp.h: Switch to gettext copyright.
11583 Use ANSI definitions and prototypes.
11584 (struct expression): Move definition of enum operator outside
11585 of struct definition.
11586 * intl/plural.c: Regenerate.
11587 * intl/plural.y: Switch to gettext copyright.
11588 Use ANSI definitions and prototypes.
11589 Port to bison 3.0.
11590 * intl/textdomain.c: Switch to gettext copyright.
11591 Use ANSI definitions and prototypes.
11592 Use gl_* locking primitives rather than __libc_* ones.
11593
11594 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
11595
11596 * debug/warning-nop.c: Add used atrribute.
11597
11598 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11599
11600 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
11601
11602 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
11603 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
11604 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
11605
11606 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11607 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11608
11609 [BZ #17634]
11610 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
11611 Undefine after defining function. Define as weak alias of
11612 __wcschr. Use libc_hidden_weak.
11613 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
11614 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
11615 (libc_hidden_def): Also define __GI___wcschr alias.
11616 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
11617 __wcschr and define as weak alias of __wcschr.
11618 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
11619 __wcschr.
11620 [!WCSCHR] (DEFAULT_WCSCHR): Define.
11621 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
11622 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
11623 libc_hidden_weak. Do not use libc_hidden_def.
11624 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
11625 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
11626 __GI___wcschr alias.
11627 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
11628 [IS_IN (libc)] (wcschr): Define as macro expanding to
11629 __redirect_wcschr.
11630 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
11631 [IS_IN (libc)] (__wcschr_power6): Likewise.
11632 [IS_IN (libc)] (__wcschr_power7): Likewise.
11633 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
11634 instead of wcschr.
11635 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
11636 __libc_wcschr.
11637 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
11638 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
11639 __wcschr and define as weak alias of __wcschr. Use
11640 libc_hidden_builtin_def.
11641 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
11642 as weak alias of __wcschr. Use libc_hidden_weak.
11643 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
11644 wcschr.
11645 * time/era.c (_nl_init_era_entries): Likewise.
11646 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
11647 variable.
11648 (test-xfail-XPG3/time.h/linknamespace): Likewise.
11649 (test-xfail-XPG4/time.h/linknamespace): Likewise.
11650
11651 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11652
11653 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
11654 format for long int variable.
11655
11656 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
11657
11658 [BZ #10672]
11659 * manual/search.texi: (Array Sort Function): Remove claim how to make
11660 qsort stable.
11661
11662 2014-12-10 Andreas Schwab <schwab@suse.de>
11663
11664 [BZ #12847]
11665 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
11666 user-controlled locks.
11667
11668 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
11669
11670 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
11671 register.
11672
11673 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11674
11675 * configure.ac (--disable-werror): New configure option.
11676 (enable_werror): New AC_SUBST.
11677 * configure: Regenerated.
11678 * config.make.in (enable-werror): New variable.
11679 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
11680 -Wno-error=undef.
11681 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
11682 * manual/install.texi (Configuring and compiling): Document
11683 --disable-werror.
11684 * INSTALL: Regenerated.
11685 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
11686 (CFLAGS-tst-chk2.c): Likewise.
11687 (CFLAGS-tst-chk3.c): Likewise.
11688 (CFLAGS-tst-chk4.cc): Likewise.
11689 (CFLAGS-tst-chk5.cc): Likewise.
11690 (CFLAGS-tst-chk6.cc): Likewise.
11691 (CFLAGS-tst-lfschk1.c): Likewise.
11692 (CFLAGS-tst-lfschk2.c): Likewise.
11693 (CFLAGS-tst-lfschk3.c): Likewise.
11694 (CFLAGS-tst-lfschk4.cc): Likewise.
11695 (CFLAGS-tst-lfschk5.cc): Likewise.
11696 (CFLAGS-tst-lfschk6.cc): Likewise.
11697
11698 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
11699 (main): Disable -Wdeprecated-declarations around calls to
11700 register_printf_function.
11701
11702 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
11703 (do_test): Disable -Wdiv-by-zero around some calls to
11704 fwrite_unlocked and fread_unlocked.
11705
11706 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
11707 (DIAG_POP_NEEDS_COMMENT): Likewise.
11708 (_DIAG_STR1): Likewise.
11709 (_DIAG_STR): Likewise.
11710 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
11711 * stdio-common/bug21.c: Include <libc-internal.h>.
11712 (do_test): Disable -Wformat around call to sscanf.
11713 * stdio-common/scanf14.c: Include <libc-internal.h>.
11714 (main): Disable -Wformat around some calls to scanf functions.
11715
11716 2014-12-09 Torvald Riegel <triegel@redhat.com>
11717
11718 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
11719
11720 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11721
11722 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
11723 stack variable alignment.
11724
11725 2014-12-06 Joseph Myers <joseph@codesourcery.com>
11726
11727 [BZ #17682]
11728 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
11729 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
11730 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
11731 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
11732 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
11733 __getrlimit instead of getrlimit.
11734 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
11735 __gettimeofday instead of gettimeofday.
11736 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11737 Likewise.
11738 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11739 Likewise.
11740 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11741 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
11742 Remove variable.
11743 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11744 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11745
11746 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11747
11748 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
11749 for wide-character tests.
11750
11751 2014-12-04 Roland McGrath <roland@hack.frob.com>
11752
11753 * io/openat64.c: #include <libc-internal.h>
11754 (__openat64): Prototypify. Use ignore_value on MODE.
11755 * io/openat.c: Likewise.
11756 * misc/reboot.c: #include <libc-internal.h>
11757 (reboot): Prototypify. Use ignore_value on HOWTO.
11758 * misc/ptrace.c: #include <libc-internal.h>
11759 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
11760
11761 2014-12-04 Joseph Myers <joseph@codesourcery.com>
11762
11763 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
11764 XPG4, UNIX98 and XOPEN2K.
11765 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
11766 Remove variable.
11767 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11768
11769 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11770
11771 * libio/fileops.c: Use ISO C style for function definitions.
11772 * libio/iofopen.c: Likewise.
11773 * libio/wfileops.c: Likewise.
11774
11775 [BZ #17653]
11776 * libio/fileops.c (_IO_new_file_underflow): Unset cached
11777 offset on EOF.
11778 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
11779 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
11780 (fgets_func): Function pointer to fgets and fgetws.
11781 (do_ftell_test): Add test to verify ftell value after read
11782 EOF.
11783 (do_test): Set fgets_func.
11784
11785 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
11786 O_TRUNC flag for w and w+ modes.
11787 (do_rewind_test): Likewise.
11788 (do_ftell_test): Likewise.
11789 (do_write_test): Likewise.
11790
11791 [BZ #17647]
11792 * libio/fileops.c (do_ftell): Seek only when there are
11793 unflushed writes.
11794 * libio/wfileops.c (do_ftell_wide): Likewise.
11795 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
11796 test case.
11797 (do_one_test): Call it.
11798
11799 2014-12-03 Joseph Myers <joseph@codesourcery.com>
11800
11801 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
11802 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
11803 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
11804 Remove variable.
11805 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11806 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11807 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11808
11809 2014-12-02 Joseph Myers <joseph@codesourcery.com>
11810
11811 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
11812 Remove variable.
11813 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11814
11815 [BZ #17668]
11816 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
11817 as weak alias of __getifaddrs. Use libc_hidden_weak.
11818 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11819 __freeifaddrs. Use libc_hidden_weak.
11820 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
11821 define as weak alias of __getifaddrs. Use libc_hidden_weak.
11822 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11823 __freeifaddrs. Use libc_hidden_weak.
11824 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
11825 __getifaddrs and define as weak alias of __getifaddrs. Use
11826 libc_hidden_weak.
11827 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11828 __freeifaddrs. Use libc_hidden_weak.
11829 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
11830 Remove variable.
11831 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11832 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11833
11834 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
11835
11836 [BZ #17601]
11837 * sysdeps/mips/start.S (__start): Use indirect jump to call
11838 __libc_start_main.
11839
11840 2014-12-02 Joseph Myers <joseph@codesourcery.com>
11841
11842 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
11843
11844 * nptl/tst-mutex1.c: Include <stdbool.h>.
11845 [!ATTR] (ATTR_NULL): New macro.
11846 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
11847 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
11848 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
11849
11850 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
11851 to char *.
11852
11853 [BZ #17665]
11854 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
11855 Change conditional to [__USE_MISC].
11856
11857 [BZ #17664]
11858 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
11859 fgets_unlocked.
11860 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
11861 __fgets_unlocked.
11862 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
11863 fgets_unlocked.
11864 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
11865 Remove variable.
11866 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11867 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11868 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11869 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11870 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11871 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11872 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11873 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11874 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11875
11876 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
11877
11878 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11879
11880 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11881 Remove strpbrk objects.
11882 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11883 (__libc_ifunc_impl_list): Remove strpbrk implementation.
11884 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
11885 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
11886 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
11887 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
11888
11889 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11890 Remove strcspn objects.
11891 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11892 (__libc_ifunc_impl_list): Remove strcspn implementation.
11893 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
11894 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
11895 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
11896 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
11897
11898 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11899 Remove strspn objetcs.
11900 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11901 (__libc_ifunc_impl_list): Remove strspn implementation.
11902 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
11903 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11904 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
11905 * sysdeps/powerpc/powerpc64/strspn.S: New file.
11906
11907 2014-12-01 James Lemke <jwlemke@codesourcery.com>
11908
11909 [BZ #17581]
11910 * malloc/hooks.c
11911 (mem2mem_check): Add a terminator to the chain of checking blocks.
11912 (malloc_check_get_size): Use it here.
11913 (mem2chunk_check): Ditto.
11914
11915 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11916
11917 * sysdeps/powerpc/powerpc64/strtok.S: New file.
11918 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
11919
11920 2014-11-29 Carlos O'Donell <carlos@redhat.com>
11921
11922 * bits/ioctl-types.h: Indent preprocessor directives correctly.
11923
11924 * nptl/nptl-init.c: Include libc-internal.h.
11925 (__pthread_initialize_minimal_internal): Use ROUND_UP.
11926
11927 * elf/ldconfig.c (search_dir): Expand comment.
11928
11929 2014-11-29 Joseph Myers <joseph@codesourcery.com>
11930
11931 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
11932 variable.
11933 (linknamespace-symlist-stdlibs-tests): Likewise.
11934 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
11935 instead of $(objpfx)symlist-stdlibs.
11936 (linknamespace-libs-isoc): New variable.
11937 (linknamespace-libs): Use $(linknamespace-libs-isoc).
11938 (linknamespace-libs-ISO): New variable.
11939 (linknamespace-libs-ISO99): Likewise.
11940 (linknamespace-libs-ISO11): Likewise.
11941 (linknamespace-libs-XPG3): Likewise.
11942 (linknamespace-libs-XPG4): Likewise.
11943 (linknamespace-libs-POSIX): Likewise.
11944 (linknamespace-libs-UNIX98): Likewise.
11945 (linknamespace-libs-XOPEN2K): Likewise.
11946 (linknamespace-libs-POSIX2008): Likewise.
11947 (linknamespace-libs-XOPEN2K8): Likewise.
11948 ($(objpfx)symlist-stdlibs): Replace by
11949 $(linknamespace-symlist-stdlibs-tests). Use
11950 $(linknamespace-libs-$*) as set of libraries.
11951 ($(linknamespace-header-tests)): Update dependencies. Use
11952 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
11953 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
11954 * conform/linknamespace.pl: Remove comment about considering
11955 definitions of symbols from irrelevant libraries.
11956
11957 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
11958
11959 [BZ #13862]
11960 * elf/dl-tls.c: Include <atomic.h>.
11961 (oom): Remove #ifdef SHARED/#endif.
11962 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
11963 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
11964 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
11965 big enough.
11966 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
11967 * nptl/Makefile (tests): Add tst-stack4.
11968 (modules-names): Add tst-stack4mod.
11969 ($(objpfx)tst-stack4): New.
11970 (tst-stack4mod.sos): Likewise.
11971 ($(objpfx)tst-stack4.out): Likewise.
11972 ($(tst-stack4mod.sos)): Likewise.
11973 (clean): Likewise.
11974 * nptl/tst-stack4.c: New file.
11975 * nptl/tst-stack4mod.c: Likewise.
11976
11977 2014-11-27 J. Brown <jb999@gmx.de>
11978
11979 * sysdeps/x86/bits/string.h: Add recent CPUs.
11980
11981 2014-11-27 Joseph Myers <joseph@codesourcery.com>
11982
11983 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
11984 sigblock.
11985
11986 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
11987 feof.
11988
11989 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
11990 variable.
11991
11992 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
11993
11994 * nscd/connections.c: Include libc-internal.h because of macro
11995 usage ignore_value.
11996
11997 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11998
11999 * string/bits/string3.h (__warn_memset_zero_len): Don't
12000 declare for gcc newer than 5.0.
12001 (memset): Don't test for zero-length __LEN for gcc newer than
12002 5.0.
12003
12004 2014-11-27 Joseph Myers <joseph@codesourcery.com>
12005
12006 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
12007 size_t for %zu format.
12008
12009 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
12010 difference, not %ju.
12011
12012 2014-11-26 Joseph Myers <joseph@codesourcery.com>
12013
12014 * include/libc-internal.h (ignore_value): New macro.
12015 * nscd/connections.c (restart): Wrap calls to setuid and setgid
12016 with ignore_value.
12017
12018 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
12019 definition.
12020
12021 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
12022 pthread_cleanup_push to void *.
12023
12024 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
12025 Undefine.
12026
12027 [BZ #16619]
12028 [BZ #16740]
12029 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
12030 instead of 1L << 52.
12031
12032 * libio/bug-rewind.c (do_test): Check fwscanf return values.
12033 * libio/bug-rewind2.c (do_test): Likewise.
12034
12035 * debug/test-stpcpy_chk-ifunc.c: Remove file.
12036 * debug/test-strcpy_chk-ifunc.c: Likewise.
12037 * wcsmbs/test-wcschr-ifunc.c: Likewise.
12038 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12039 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12040 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12041 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12042 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12043 * Rules [$(multi-arch) = no] (tests): Do not filter out
12044 $(tests-ifunc).
12045 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
12046 * debug/Makefile (tests-ifunc): Remove variable.
12047 (tests): Do not add $(tests-ifunc).
12048 * wcsmbs/Makefile (tests-ifunc): Remove variable.
12049 (tests): Do not add $(tests-ifunc).
12050 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
12051 [TEST_IFUNC]: Remove conditionals.
12052 * string/test-string.h (TEST_IFUNC): Remove macro.
12053 [TEST_IFUNC]: Remove conditionals.
12054
12055 * string/test-strchr.c [!WIDE] (L): New macro.
12056 [WIDE] (L): Likewise.
12057 (check1): Use CHAR instead of char. Use L on string and character
12058 constants.
12059
12060 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
12061
12062 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
12063 tests.
12064 * sysdeps/powerpc/bits/atomic.h
12065 (__arch_atomic_exchange_and_add_32_acq): Add definition.
12066 (__arch_atomic_exchange_and_add_32_rel): Likewise.
12067 (atomic_exchange_and_add_acq): Likewise.
12068 (atomic_exchange_and_add_rel): Likewise.
12069 * sysdeps/powerpc/powerpc32/bits/atomic.h
12070 (__arch_atomic_exchange_and_add_64_acq): Add definition.
12071 (__arch_atomic_exchange_and_add_64_rel): Likewise.
12072 * sysdeps/powerpc/powerpc64/bits/atomic.h
12073 (__arch_atomic_exchange_and_add_64_acq): Add definition.
12074 (__arch_atomic_exchange_and_add_64_rel): Likewise.
12075
12076 2014-11-26 Torvald Riegel <triegel@redhat.com>
12077
12078 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
12079 Change synchronization of __sched_fifo_min_prio and
12080 __sched_fifo_max_prio.
12081 * nptl/pthread_mutexattr_getprioceiling.c
12082 (pthread_mutexattr_getprioceiling): Likewise.
12083 * nptl/pthread_mutexattr_setprioceiling.c
12084 (pthread_mutexattr_setprioceiling): Likewise.
12085 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
12086 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
12087 Likewise.
12088
12089 2014-11-26 Joseph Myers <joseph@codesourcery.com>
12090
12091 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
12092 void.
12093
12094 2014-11-25 Joseph Myers <joseph@codesourcery.com>
12095
12096 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
12097 third argument const.
12098
12099 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
12100
12101 fnmatch: work around GCC compiler warning bug with uninit var
12102 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
12103 This works around a bug with x86-64 GCC 4.9.2 and earlier
12104 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
12105 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
12106 used uninitialized in this function [-Wmaybe-uninitialized]".
12107
12108 2014-11-25 Joseph Myers <joseph@codesourcery.com>
12109
12110 * posix/bug-regex31.c (main): Return RES not 0.
12111
12112 2014-11-25 Anton Blanchard <anton@samba.org>
12113
12114 * sysdeps/powerpc/bits/atomic.h
12115 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
12116
12117 2014-11-24 Sterling Augustine <saugustine@google.com>
12118
12119 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
12120
12121 2014-11-24 Ryan Cumming <etaoins@gmail.com>
12122
12123 [BZ #17608]
12124 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
12125
12126 2014-11-24 Joseph Myers <joseph@codesourcery.com>
12127
12128 [BZ #17633]
12129 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
12130 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
12131 variable.
12132 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12133 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12134
12135 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
12136
12137 * string/strncpy.c (strncpy): Improve performance by using memset.
12138
12139 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
12140
12141 * string/strcpy.c (strcpy):
12142 Improve performance by using strlen and memcpy.
12143
12144 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
12145
12146 * string/strcoll_l.c (get_next_seq): __always_inline.
12147 * string/strcoll_l.c (do_compare): __always_inline.
12148
12149 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12150
12151 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
12152 defined.
12153 * include/mqueue.h: Likewise.
12154 * include/stdlib.h: Likewise.
12155
12156 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
12157 (get_null_defines): Adjust.
12158 * sunrpc/Makefile: Adjust comment.
12159 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
12160 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
12161 (CFLAGS-interp.c): Likewise.
12162 (CFLAGS-ldconfig.c): Likewise.
12163 (CPPFLAGS-.os): Likewise.
12164 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12165 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12166 * extra-modules.mk (extra-modules.mk): Likewise.
12167 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
12168 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
12169 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
12170 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
12171 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
12172 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
12173 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
12174 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
12175 * iconvdata/Makefile (CPPFLAGS): Likewise.
12176 (cpp-srcs-left): Add libof for all iconvdata routines.
12177 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
12178 * include/assert.h: Likewise.
12179 * include/ctype.h: Likewise.
12180 * include/errno.h: Likewise.
12181 * include/libc-symbols.h: Likewise.
12182 * include/math.h: Likewise.
12183 * include/netdb.h: Likewise.
12184 * include/resolv.h: Likewise.
12185 * include/stdio.h: Likewise.
12186 * include/stdlib.h: Likewise.
12187 * include/string.h: Likewise.
12188 * include/sys/stat.h: Likewise.
12189 * include/wctype.h: Likewise.
12190 * intl/l10nflist.c: Likewise.
12191 * libidn/idn-stub.c: Likewise.
12192 * libio/libioP.h: Likewise.
12193 * nptl/libc_multiple_threads.c: Likewise.
12194 * nptl/pthreadP.h: Likewise.
12195 * posix/regex_internal.h: Likewise.
12196 * resolv/res_hconf.c: Likewise.
12197 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
12198 * sysdeps/arm/memmove.S: Likewise.
12199 * sysdeps/arm/sysdep.h: Likewise.
12200 * sysdeps/generic/_itoa.h: Likewise.
12201 * sysdeps/generic/symbol-hacks.h: Likewise.
12202 * sysdeps/gnu/errlist.awk: Likewise.
12203 * sysdeps/gnu/errlist.c: Likewise.
12204 * sysdeps/i386/i586/memcpy.S: Likewise.
12205 * sysdeps/i386/i586/memset.S: Likewise.
12206 * sysdeps/i386/i686/memcpy.S: Likewise.
12207 * sysdeps/i386/i686/memmove.S: Likewise.
12208 * sysdeps/i386/i686/mempcpy.S: Likewise.
12209 * sysdeps/i386/i686/memset.S: Likewise.
12210 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12211 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12212 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
12213 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
12214 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12215 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12216 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
12217 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12218 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12219 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12220 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12221 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12222 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12223 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12224 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12225 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12226 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
12227 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
12228 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
12229 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12230 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12231 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12232 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12233 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12234 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12235 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12236 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
12237 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12238 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
12239 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12240 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12241 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12242 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12243 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12244 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12245 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12246 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12247 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12248 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12249 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12250 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12251 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12252 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12253 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12254 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12255 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12256 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
12257 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
12258 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12259 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12260 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12261 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
12262 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
12263 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12264 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12265 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
12266 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12267 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
12268 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
12269 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12270 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12271 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12272 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
12273 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12274 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12275 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
12276 * sysdeps/posix/closedir.c: Likewise.
12277 * sysdeps/posix/opendir.c: Likewise.
12278 * sysdeps/posix/readdir.c: Likewise.
12279 * sysdeps/posix/rewinddir.c: Likewise.
12280 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
12281 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
12282 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12283 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12284 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12285 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
12286 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
12287 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
12288 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
12289 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
12290 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
12291 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
12292 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
12293 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
12294 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
12295 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
12296 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
12297 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
12298 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
12299 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
12300 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
12301 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
12302 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
12303 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
12304 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
12305 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
12306 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
12307 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
12308 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
12309 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
12310 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
12311 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
12312 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
12313 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
12314 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
12315 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
12316 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12317 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12318 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
12319 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
12320 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
12321 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
12322 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
12323 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
12324 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
12325 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
12326 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
12327 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
12328 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
12329 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
12330 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
12331 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
12332 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12333 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
12334 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
12335 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
12336 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
12337 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
12338 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
12339 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
12340 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
12341 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
12342 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12343 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
12344 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
12345 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
12346 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
12347 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
12348 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
12349 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
12350 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
12351 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
12352 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
12353 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
12354 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
12355 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
12356 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
12357 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
12358 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12359 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
12360 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
12361 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12362 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
12363 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
12364 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12365 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
12366 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
12367 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12368 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12369 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12370 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
12371 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
12372 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
12373 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12374 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12375 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
12376 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12377 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12378 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
12379 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
12380 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12381 * sysdeps/unix/alpha/sysdep.S: Likewise.
12382 * sysdeps/unix/alpha/sysdep.h: Likewise.
12383 * sysdeps/unix/make-syscalls.sh: Likewise.
12384 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12385 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12386 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12387 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
12388 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12389 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12390 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
12391 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12392 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12393 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
12394 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12395 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12396 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12397 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12398 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12399 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12400 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12401 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12402 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12403 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12404 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12405 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12406 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12407 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12408 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12409 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12410 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12413 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
12414 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12415 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12416 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12417 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12418 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12419 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12420 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12421 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12422 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12423 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12424 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12425 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12426 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12427 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12428 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12429 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12430 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12431 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12432 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12433 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12434 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12435 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12436 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12437 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12438 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12439 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12440 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12441 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12442 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
12443 * sysdeps/x86_64/memcpy.S: Likewise.
12444 * sysdeps/x86_64/memmove.c: Likewise.
12445 * sysdeps/x86_64/memset.S: Likewise.
12446 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
12447 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12448 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12449 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
12450 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
12451 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12452 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12453 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12454 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12455 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12456 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12457 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12458 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
12459 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12460 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12461 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
12462 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12463 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12464 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12465 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12466 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
12467 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12468 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12469 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12470 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12471 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12472 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12473 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
12474 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12475 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12476 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
12477 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12478 * sysdeps/x86_64/strcmp.S: Likewise.
12479
12480 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
12481
12482 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
12483 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
12484 * elf/rtld-Rules: Likewise.
12485 * elf/setup-vdso.h: Likewise.
12486 * include/assert.h: Likewise.
12487 * include/bits/stdlib-float.h: Likewise.
12488 * include/errno.h: Likewise.
12489 * include/sys/stat.h: Likewise.
12490 * include/unistd.h: Likewise.
12491 * sysdeps/aarch64/setjmp.S: Likewise.
12492 * sysdeps/alpha/setjmp.S: Likewise.
12493 * sysdeps/arm/__longjmp.S: Likewise.
12494 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
12495 * sysdeps/arm/setjmp.S: Likewise.
12496 * sysdeps/arm/sysdep.h: Likewise.
12497 * sysdeps/generic/_itoa.h: Likewise.
12498 * sysdeps/generic/dl-sysdep.h: Likewise.
12499 * sysdeps/generic/ldsodefs.h: Likewise.
12500 * sysdeps/i386/dl-tls.h: Likewise.
12501 * sysdeps/i386/setjmp.S: Likewise.
12502 * sysdeps/m68k/setjmp.c: Likewise.
12503 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
12504 * sysdeps/mach/hurd/opendir.c: Likewise.
12505 * sysdeps/posix/getcwd.c: Likewise.
12506 * sysdeps/posix/opendir.c: Likewise.
12507 * sysdeps/posix/profil.c: Likewise.
12508 * sysdeps/powerpc/dl-procinfo.h: Likewise.
12509 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12510 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12511 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12512 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12513 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
12514 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12515 * sysdeps/s390/dl-tls.h: Likewise.
12516 * sysdeps/s390/s390-32/setjmp.S: Likewise.
12517 * sysdeps/s390/s390-64/setjmp.S: Likewise.
12518 * sysdeps/sh/sh3/setjmp.S: Likewise.
12519 * sysdeps/sh/sh4/setjmp.S: Likewise.
12520 * sysdeps/unix/alpha/sysdep.h: Likewise.
12521 * sysdeps/unix/arm/sysdep.S: Likewise.
12522 * sysdeps/unix/i386/sysdep.S: Likewise.
12523 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12524 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12525 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12526 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12527 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12528 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12529 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12530 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12531 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12532 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12533 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12534 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12535 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12538 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12539 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12540 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12541 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12542 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12543 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12544 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12545 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12546 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12547 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12548 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12549 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12550 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12551 * sysdeps/x86_64/setjmp.S: Likewise.
12552
12553 * include/math.h: Use IS_IN instead of IS_IN_libm.
12554 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
12555 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12556 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12557 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12558 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12559 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12560 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12561 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12562 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12563 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12564 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
12565 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12566 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
12567 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12568 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12569 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
12570 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
12571 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12572 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
12573 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
12574 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
12575 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
12576 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
12577 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
12578 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
12579 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
12580 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
12581 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
12582 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
12583 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12584 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
12585 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12586 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12588 Likewise.
12589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
12590 Likewise.
12591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
12592 Likewise.
12593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
12594 Likewise.
12595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
12596 Likewise.
12597 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12598 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
12599 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12600 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12601 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12602 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
12605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
12606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
12607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
12608 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
12609 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
12610 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12611 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12612 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12613 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12614 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12615 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12616 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12617 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
12618 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
12619 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
12620 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
12621 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
12622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12623 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
12624
12625 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
12626 * nptl/pthreadP.h: Likewise.
12627 * nptl_db/structs.def: Likewise.
12628 * sysdeps/arm/sysdep.h: Likewise.
12629 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12630 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12631 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
12632 * sysdeps/unix/alpha/sysdep.h: Likewise.
12633 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12634 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12635 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12636 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12637 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12638 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12639 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12640 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12641 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12642 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12643 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12644 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12645 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12646 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12649 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12650 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12651 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12652 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12653 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12654 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12655 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12656 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12657 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12658 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12659
12660 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
12661 * nptl/pthreadP.h: Likewise.
12662 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12663 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12664 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12665 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12666 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12667 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12668 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12669 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12670 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12671 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12672 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12673 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12675 Likewise.
12676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12677 Likewise.
12678 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12679 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12680 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12681 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12682 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12683 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12684 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12685 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12686
12687 * dlfcn/dladdr.c: Use IS_IN.
12688 * dlfcn/dladdr1.c: Likewise.
12689 * dlfcn/dlclose.c: Likewise.
12690 * dlfcn/dlerror.c: Likewise.
12691 * dlfcn/dlinfo.c: Likewise.
12692 * dlfcn/dlmopen.c: Likewise.
12693 * dlfcn/dlopen.c: Likewise.
12694 * dlfcn/dlsym.c: Likewise.
12695 * dlfcn/dlvsym.c: Likewise.
12696
12697 * include/ifaddrs.h: Use IS_IN.
12698 * inet/check_pf.c: Likewise.
12699 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12700 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
12701
12702 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
12703 IS_IN_ldconfig.
12704 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
12705 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
12706
12707 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
12708 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
12709 IS_IN (libc).
12710
12711 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
12712
12713 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
12714 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12715 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12716 * include/libc-symbols.h (IS_IN_LIB): New macro.
12717 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
12718 * include/netdb.h: Likewise.
12719 * include/stap-probe.h: Remove all uses of IN_LIB.
12720
12721 * Makeconfig (module-cppflags-real): Define MODULE_NAME
12722 instead of IN_MODULE.
12723 * include/libc-symbols.h (IN_MODULE): Define using
12724 MODULE_NAME.
12725 (PASTE_NAME, PASTE_NAME1): New macros.
12726 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
12727 of IN_LIB.
12728 (STAP_PROBE_ASM): Likewise.
12729
12730 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
12731
12732 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
12733 __mach_init in dlopened libc.
12734
12735 2014-11-22 Mike Frysinger <vapier@gentoo.org>
12736
12737 * sysdeps/arm/preconfigure.ac: Delete EABI check.
12738 * sysdeps/arm/preconfigure: Regenerate.
12739
12740 2014-11-21 Roland McGrath <roland@hack.frob.com>
12741
12742 * nptl/pthread_create.c (__pthread_create_2_1): Set
12743 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
12744 when copying values from IATTR into PD.
12745
12746 2014-11-21 Will Newton <will.newton@linaro.org>
12747 Andrew Pinski <andrew.pinski@caviumnetworks.com>
12748
12749 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
12750 Refactor inline-asm. Also add comment.
12751
12752 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
12753 ElfW macro instead of hardcoded Elf64 types.
12754 (la_aarch64_gnu_pltenter): Likewise.
12755 * sysdeps/aarch64/dl-machine.h
12756 (elf_machine_runtime_setup): Use ElfW(Addr).
12757
12758 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
12759 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
12760 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
12761 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
12762 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
12763 (R_AARCH64_TLS_DTPMOD64): Rename to ..
12764 (R_AARCH64_TLS_DTPMOD): This.
12765 (R_AARCH64_TLS_DTPREL64): Rename to ...
12766 (R_AARCH64_TLS_DTPREL): This.
12767 (R_AARCH64_TLS_TPREL64): Rename to ...
12768 (R_AARCH64_TLS_TPREL): This.
12769 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
12770 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
12771 R_AARCH64_TLS_TPREL64.
12772 (elf_machine_rela): Likewise.
12773
12774 2014-11-21 Torvald Riegel <triegel@redhat.com>
12775
12776 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
12777 by setting it to 0. 64b atomics are not supported currently.
12778
12779 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12780
12781 [BZ #16469]
12782 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
12783 search domain names.
12784
12785 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12786
12787 [BZ #16469]
12788 * NEWS: Update.
12789 * resolv/res_query.c (__libc_res_nquerydomain): Retain
12790 trailing dot.
12791 * posix/tst-getaddrinfo5.c: New.
12792 * posix/Makefile (tests): Add it.
12793
12794 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12795
12796 [BZ #14498]
12797 * NEWS: Fixed.
12798 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
12799 after parsing line but before break_if_match.
12800 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
12801 if there is a protocol mismatch.
12802
12803 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
12804
12805 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
12806 because the potential race is on the user-supplied stream.
12807
12808 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12809
12810 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
12811 string literal if not passed a buffer.
12812 * manual/job.texi (ctermid): Update reasoning, note deviation
12813 from posix, suggest mtasurace when not passed a buffer, for
12814 future non-preliminary safety notes.
12815
12816 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12817
12818 * manual/users.texi (cuserid): Fix MT-Safety note for the case
12819 of not passing it a buffer.
12820 Reported by Peng Haitao.
12821
12822 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12823
12824 * manual/Makefile ($(objpfx)stamp-summary): Require
12825 check-safety.sh to pass.
12826 * manual/check-safety.sh: Wish for verification that every
12827 @deftypefn and @deftypefun is followed by a @safety remark.
12828
12829 2014-11-20 Roland McGrath <roland@hack.frob.com>
12830
12831 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
12832
12833 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
12834 PTHREAD_CANCEL_ASYNCHRONOUS.
12835 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
12836 send SIGCANCEL.
12837
12838 * nptl/default-sched.h: New file.
12839 * sysdeps/unix/sysv/linux/default-sched.h: New file.
12840 * nptl/pthread_create.c: Include it.
12841 (__pthread_create_2_1): Use collect_default_sched instead of making
12842 Linux syscalls here directly.
12843
12844 2014-11-20 Torvald Riegel <triegel@redhat.com>
12845
12846 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
12847 __pthread_once): Use C11 atomics.
12848
12849 2014-11-20 Torvald Riegel <triegel@redhat.com>
12850
12851 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
12852
12853 2014-11-20 Torvald Riegel <triegel@redhat.com>
12854
12855 * include/atomic.h (__atomic_link_error, __atomic_check_size,
12856 atomic_thread_fence_acquire, atomic_thread_fence_release,
12857 atomic_thread_fence_seq_cst, atomic_load_relaxed,
12858 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
12859 atomic_compare_exchange_weak_relaxed,
12860 atomic_compare_exchange_weak_acquire,
12861 atomic_compare_exchange_weak_release,
12862 atomic_exchange_acquire, atomic_exchange_release,
12863 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
12864 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
12865 atomic_fetch_and_acquire,
12866 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
12867
12868 2014-11-20 Torvald Riegel <triegel@redhat.com>
12869
12870 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
12871 USE_ATOMIC_COMPILER_BUILTINS): Define.
12872 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
12873 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12874 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
12875 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12876 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
12877 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12878 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
12879 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12880 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
12881 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12882 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
12883 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12884 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
12885 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12886 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
12887 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12888 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12889 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12890 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12891 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12892 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
12893 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12894 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12895 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12896 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
12897 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12898 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12899 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12900 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
12901 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12902 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
12903 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12904 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
12905 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12906 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
12907 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12908 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
12909 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12910 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
12911 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12912
12913 2014-11-19 Roland McGrath <roland@hack.frob.com>
12914
12915 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
12916 the sched_priority value here. It was already checked when the user
12917 called pthread_attr_setschedparam.
12918
12919 * nptl/tst-bad-schedattr.c: New file.
12920 * nptl/Makefile (tests): Add it.
12921
12922 2014-11-19 Carlos O'Donell <carlos@redhat.com>
12923 Florian Weimer <fweimer@redhat.com>
12924 Joseph Myers <joseph@codesourcery.com>
12925 Adam Conrad <adconrad@0c3.net>
12926 Andreas Schwab <schwab@suse.de>
12927 Brooks <bmoses@google.com>
12928
12929 [BZ #17625]
12930 * wordexp-test.c (__dso_handle): Add prototype.
12931 (__register_atfork): Likewise.
12932 (__app_register_atfork): New function.
12933 (registered_forks): New global.
12934 (register_fork): New function.
12935 (test_case): Add 3 new tests for WRDE_CMDSUB.
12936 (main): Call __app_register_atfork.
12937 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
12938 fork count is non-zero fail the test.
12939 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
12940 is set.
12941 (parse_dollars): Remove check for WRDE_NOCMD.
12942 (parse_dquote): Likewise.
12943
12944 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12945
12946 * Makeconfig (built-modules): List non-library modules to be
12947 built.
12948 (module-cppflags): Include libc-modules.h for
12949 everything except shlib-versions.v.i.
12950 (CPPFLAGS): Use it.
12951 (before-compile): Add libc-modules.h.
12952 ($(common-objpfx)libc-modules.h,
12953 $(common-objpfx)libc-modules.stmp): New targets.
12954 (common-generated): Add libc-modules.h and libc-modules.stmp.
12955 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
12956 * include/libc-symbols.h: Don't include libc-modules.h.
12957 * include/libc-modules.h: Remove file.
12958 * scripts/gen-libc-modules.awk: New script to generate
12959 libc-modules.h.
12960 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
12961 Depend on libc-modules.stmp.
12962
12963 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
12964
12965 * Makeconfig (in-module): Get value of libof set for the
12966 translation unit.
12967 (CPPFLAGS): Use $(in-module).
12968 * Makerules: Don't suffix routine names for nonlib.
12969 * include/libc-modules.h: New file.
12970 * include/libc-symbols.h: Include libc-modules.h
12971 (IS_IN): New macro to replace IS_IN_* macros.
12972 * elf/Makefile: Set libof-* for each routine.
12973 * elf/rtld-Rules: Likewise.
12974 * extra-modules.mk: Likewise.
12975 * iconv/Makefile: Likewise.
12976 * iconvdata/Makefile: Likewise.
12977 * locale/Makefile: Likewise.
12978 * malloc/Makefile: Likewise.
12979 * nss/Makefile: Likewise.
12980 * sysdeps/gnu/Makefile: Likewise.
12981 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
12982 * sysdeps/unix/sysv/linux/Makefile: Likewise.
12983 * sysdeps/s390/s390-64/Makefile: Likewise.
12984 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
12985 CPPFLAGS for nscd instead of nonlib.
12986
12987 2014-11-18 Roland McGrath <roland@hack.frob.com>
12988
12989 * nptl/createthread.c: New file.
12990
12991 * nptl/createthread.c: Moved ...
12992 * sysdeps/unix/sysv/linux/createthread.c: ... here.
12993
12994 * nptl/createthread.c: Add proper top-line comment.
12995 (do_clone): Folded into ...
12996 (create_thread): ... here. Take new arguments STOPPED_START and
12997 THREAD_RAN. Always set PD->stopped_start to something here. Don't
12998 increment __nptl_threads, do event-reporting logic, do
12999 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
13000 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
13001 resource cleanup if sched_setaffinity or sched_setscheduler fails,
13002 just send SIGCANCEL.
13003 * nptl/pthread_create.c: Forward-declare create_thread before
13004 including createthread.c.
13005 (start_thread): Use new macro START_THREAD_DEFN to replace defining
13006 declaration, and new macro START_THREAD_SELF to replace argument.
13007 Remove return statement.
13008 (report_thread_creation): New function.
13009 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
13010 synchronization logic, and __nptl_nthreads increment here, around
13011 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
13012 PD->parent_cancelhandling here, before create_thread. When
13013 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
13014 __deallocate_stack, and ENOMEM translation here.
13015
13016 2014-11-18 Joseph Myers <joseph@codesourcery.com>
13017
13018 [BZ #17616]
13019 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
13020 (mptwo): Rename to __mptwo.
13021 (__inv): Use __mptwo instead of mptwo.
13022 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
13023 (mptwo): Rename to __mptwo.
13024 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
13025 of mpone and __mptwo instead of mptwo.
13026 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
13027 instead of mpone.
13028 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13029 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
13030 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
13031 of mpone and __mptwo instead of mptwo.
13032 (__mpranred): Use __mpone instead of mpone.
13033 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
13034 variable.
13035 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13036 (test-xfail-ISO99/math.h/linknamespace): Likewise.
13037 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13038 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13039 (test-xfail-ISO11/math.h/linknamespace): Likewise.
13040 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13041 (test-xfail-XPG3/math.h/linknamespace): Likewise.
13042 (test-xfail-XPG4/math.h/linknamespace): Likewise.
13043 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13044 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13045 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13046 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13047 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13048 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13049 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13050 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13051 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13052 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13053 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13054
13055 2014-11-18 Tom de Vries <tom@codesoucery.com>
13056
13057 * manual/signal.texi (Primitives Interrupted by Signals): In section,
13058 replace BSD Handler xref with BSD Signal Handling.
13059
13060 2014-11-17 Richard Henderson <rth@redhat.com>
13061
13062 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
13063 (_FP_PACK_RAW_2): Remove.
13064 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
13065 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
13066 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
13067 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
13068 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
13069 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
13070 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
13071 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
13072 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
13073 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
13074 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
13075 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
13076 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
13077 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
13078 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
13079 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
13080
13081 2014-11-14 Roland McGrath <roland@hack.frob.com>
13082
13083 * signal/signal.h [__USE_MISC]
13084 (struct sigvec): Remove type.
13085 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
13086 (sigvec): Remove declaration.
13087 * sysdeps/posix/sigvec.c: Moved ...
13088 * signal/sigvec.c: ... here, replacing old file.
13089 (struct sigvec): New type, copied from old signal.h definition.
13090 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
13091 (__sigvec): Convert definition to prototype.
13092 (sigvec): Replace weak_alias with compat_symbol.
13093 * signal/Versions (libc: GLIBC_2.21): New version set.
13094 * include/signal.h: Remove __sigvec declaration.
13095 * sysdeps/unix/bsd/sigvec.c: Remove file.
13096 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
13097 * manual/signal.texi (BSD Handler): Remove subsection.
13098 Move siginterrupt up to ...
13099 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
13100 (Blocking in BSD): Fold subsection into its parent.
13101 * NEWS: Mention sigvec removal.
13102
13103 2014-11-14 Joseph Myers <joseph@codesourcery.com>
13104
13105 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
13106 (DLA_FMS): Make definition conditional only on [__FMA4__].
13107 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
13108 definition.
13109
13110 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
13111 Make definition conditional only on [PROF].
13112 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
13113 definition.
13114 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
13115 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
13116
13117 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
13118 !__GNUC__].
13119 * include/signal.h (__sigpause): Move declaration above call to
13120 libc_hidden_proto.
13121 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
13122 variable.
13123 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13124 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13125
13126 2014-11-14 David S. Miller <davem@davemloft.net>
13127
13128 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
13129 Define before including <string/memcpy.c> and <string/mempcpy.c>.
13130
13131 2014-11-14 Joseph Myers <joseph@codesourcery.com>
13132
13133 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
13134 * configure: Regenerated.
13135 * manual/install.texi (Tools for Compilation): Document a
13136 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
13137 compiler verified to work.
13138 * INSTALL: Regenerated.
13139
13140 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
13141 redeclare with asm name.
13142 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
13143 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
13144 including <string.h>.
13145 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13146 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
13147 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13148 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
13149 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13150 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13151 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13152
13153 2014-11-13 Joseph Myers <joseph@codesourcery.com>
13154
13155 * stdlib/strtol.c (__strtol): Use prototype definition.
13156
13157 [BZ #17594]
13158 * stdlib/strtol.c (SYM__): New macro.
13159 (SYM__1): Likewise.
13160 (__strtol): Likewise.
13161 (strtol): Rename to __strtol and define as weak alias of
13162 __strtol. Use libc_hidden_weak.
13163
13164 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13165
13166 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
13167 Use numbered labels in inline assembly.
13168
13169 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13170
13171 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
13172 Add setjmp LIBC_PROBE.
13173 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
13174 Likewise.
13175 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
13176 Add longjmp, longjmp_target LIBC_PROBE.
13177 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
13178 Likewise.
13179
13180 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13181
13182 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13183 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
13184 to get rid of unused variable warning.
13185
13186 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13187
13188 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
13189 Check for unwind_backtrace == NULL only in SHARED case.
13190 (__backchain_backtrace): Compile only in SHARED case.
13191 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
13192 Likewise.
13193 (__backchain_backtrace): Declare as static.
13194
13195 2014-11-12 Roland McGrath <roland@hack.frob.com>
13196
13197 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
13198 (__libc_multiple_threads_ptr): Variable moved ...
13199 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
13200
13201 2014-11-12 Joseph Myers <joseph@codesourcery.com>
13202
13203 * conform/GlibcConform.pm: New file.
13204 * conform/conformtest.pl: Use GlibcConform module.
13205 * conform/linknamespace.pl: New file.
13206 * conform/list-header-symbols.pl: Likewise.
13207 * conform/Makefile (linknamespace-symlists-base): New variable.
13208 (linknamespace-symlists-tests): Likewise.
13209 (linknamespace-header-base): Likewise.
13210 (linknamespace-header-tests): Likewise.
13211 (tests-special): Add new tests.
13212 ($(linknamespace-symlists-tests)): New rule.
13213 (linknamespace-libs): New variable.
13214 ($(objpfx)symlist-stdlibs): New rule.
13215 ($(linknamespace-header-tests)): Likewise.
13216 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
13217 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
13218 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
13219 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
13220 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
13221 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
13222 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
13223 (test-xfail-ISO/math.h/linknamespace): Likewise.
13224 (test-xfail-ISO/signal.h/linknamespace): Likewise.
13225 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
13226 (test-xfail-ISO/time.h/linknamespace): Likewise.
13227 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13228 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
13229 (test-xfail-ISO99/math.h/linknamespace): Likewise.
13230 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13231 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13232 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13233 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13234 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
13235 (test-xfail-ISO11/math.h/linknamespace): Likewise.
13236 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13237 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13238 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13239 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
13240 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
13241 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
13242 (test-xfail-XPG3/math.h/linknamespace): Likewise.
13243 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
13244 (test-xfail-XPG3/search.h/linknamespace): Likewise.
13245 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
13246 (test-xfail-XPG3/time.h/linknamespace): Likewise.
13247 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
13248 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13249 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
13250 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
13251 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13252 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13253 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
13254 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
13255 (test-xfail-XPG4/math.h/linknamespace): Likewise.
13256 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
13257 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
13258 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13259 (test-xfail-XPG4/search.h/linknamespace): Likewise.
13260 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13261 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
13262 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
13263 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
13264 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
13265 (test-xfail-XPG4/time.h/linknamespace): Likewise.
13266 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
13267 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13268 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
13269 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13270 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13271 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13272 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
13273 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
13274 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13275 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
13276 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
13277 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
13278 (test-xfail-POSIX/time.h/linknamespace): Likewise.
13279 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
13280 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13281 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
13282 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
13283 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
13284 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13285 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13286 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
13287 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
13288 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13289 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
13290 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
13291 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
13292 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
13293 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
13294 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
13295 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13296 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
13297 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13298 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13299 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
13300 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
13301 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
13302 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
13303 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
13304 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
13305 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13306 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
13307 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13308 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
13309 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
13310 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13311 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13312 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
13313 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
13314 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13315 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
13316 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
13317 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
13318 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
13319 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
13320 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13321 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13322 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
13323 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
13324 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
13325 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13326 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
13327 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
13328 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13329 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
13330 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13331 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
13332 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13333 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13334 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13335 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
13336 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13337 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
13338 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
13339 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
13340 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13341 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13342 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
13343 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
13344 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13345 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
13346 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13347 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
13348 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13349 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
13350 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
13351 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13352 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
13353 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
13354 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
13355 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13356 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13357 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
13358 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
13359 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
13360 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
13361 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13362 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
13363 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
13364 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13365 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
13366 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13367 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13368 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13369 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
13370 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13371 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
13372 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
13373 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
13374 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13375 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
13376 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13377
13378 [BZ #17589]
13379 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
13380 of fgets_unlocked.
13381
13382 [BZ #17585]
13383 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
13384 (memmem): Rename to __memmem and define as weak alias of
13385 __memmem. Use libc_hidden_weak.
13386 (__memmem): Use libc_hidden_def.
13387 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
13388 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
13389 memmem.
13390
13391 [BZ #17582]
13392 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
13393 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
13394 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
13395 and define as weak alias of __fgets_unlocked. Use
13396 libc_hidden_weak.
13397 (__fgets_unlocked): Use libc_hidden_def.
13398 * include/stdio.h (__fgets_unlocked): Declare. Use
13399 libc_hidden_proto.
13400 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
13401 __fgets_unlocked instead of fgets_unlocked.
13402 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
13403 (GET_NPROCS_CONF_PARSER): Likewise.
13404 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
13405 (GET_NPROCS_CONF_PARSER): Likewise.
13406
13407 [BZ #17574]
13408 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
13409 weak alias of __wmemset. Use libc_hidden_weak.
13410 (__wmemset): Use libc_hidden_def.
13411 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
13412 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
13413 of wmemset.
13414
13415 [BZ #17573]
13416 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
13417 with asm name __mempcpy.
13418 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
13419
13420 [BZ #17572]
13421 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
13422 and define as weak alias of __rawmemchr.
13423 (__rawmemchr): Do not define as strong alias of rawmemchr.
13424
13425 [BZ #17571]
13426 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
13427 alias of __qsort_r.
13428 (qsort): Call __qsort_r instead of qsort_r.
13429 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
13430 (__qsort_r): Declare. Call libc_hidden_proto.
13431 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
13432 instead of qsort_r.
13433 * nscd/gai.c (__qsort_r): Define to qsort_r.
13434 * posix/tst-rfc3484.c (__qsort_r): Likewise.
13435 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
13436 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
13437
13438 [BZ #17570]
13439 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
13440 define as weak alias of __malloc_info.
13441
13442 [BZ #17584]
13443 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
13444 as weak alias of __rewinddir. Don't use libc_hidden_def.
13445 (__rewinddir): Use libc_hidden_def.
13446 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
13447 as weak alias of __rewinddir. Don't use libc_hidden_def.
13448 (__rewinddir): Use libc_hidden_def.
13449 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
13450 weak alias of __rewinddir. Don't use libc_hidden_def.
13451 (__rewinddir): Use libc_hidden_def.
13452 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
13453 (__rewinddir): Use libc_hidden_proto.
13454 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
13455 rewinddir.
13456 (__getcwd): Use __rewinddir instead of rewinddir.
13457
13458 [BZ #17583]
13459 * libio/fileno.c (fileno): Rename to __fileno and define as weak
13460 alias of __fileno. Use libc_hidden_weak.
13461 (__fileno): Use libc_hidden_def.
13462 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
13463 * libio/ftello.c (ftello): Rename to __ftello and define as weak
13464 alias of __ftello.
13465 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
13466 __ftello.
13467 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
13468 (__fread_unlocked): Define as strong alias of _IO_fread. Use
13469 libc_hidden_def.
13470 (fread_unlocked): Don't use libc_hidden_ver.
13471 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
13472 and define as weak alias of __fread_unlocked. Don't use
13473 libc_hidden_def.
13474 (__fread_unlocked): Use libc_hidden_def.
13475 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
13476 (ftello): Don't use libc_hidden_proto.
13477 (__ftello): Declare. Use libc_hidden_proto.
13478 (fread_unlocked): Don't use libc_hidden_proto.
13479 (__fread_unlocked): Declare. Use libc_hidden_proto.
13480 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
13481 and __ftello instead of fileno, fread_unlocked and ftello.
13482
13483 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13484
13485 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
13486 GOT12.
13487 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
13488 Likewise.
13489 (_dl_start_user): Likewise.
13490 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
13491
13492 2014-11-12 Carlos O'Donell <carlos@redhat.com>
13493 Siddhesh Poyarekar <siddhesh@redhat.com>
13494
13495 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
13496 Move argv and envp down instead of moving argc up.
13497 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
13498
13499 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
13500
13501 [BZ #17506]
13502 * test-skeleton.c (main): Return successful if one of
13503 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
13504 * string/tst-strcoll-overflow.c: Define expected status.
13505
13506 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
13507
13508 [BZ #17475]
13509 * locale/iso-639.def: Define Bhili and Tulu language codes.
13510
13511 2014-11-11 Alan Hayward <alan.hayward@arm.com>
13512
13513 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
13514
13515 2014-11-10 Renlin Li <Renlin.Li@arm.com>
13516
13517 [BZ #17555]
13518 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
13519
13520 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
13521
13522 * configure.ac: Updated check of minimal required version to
13523 2.22.
13524 * manual/install.texi (Tools for Compilation): Updated version
13525 number.
13526 * configure: Regenerated.
13527 * INSTALL: Likewise.
13528
13529 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
13530
13531 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
13532 __tls_get_addr.
13533
13534 2014-11-07 Joseph Myers <joseph@codesourcery.com>
13535
13536 * include/sys/wait.h (__libc_waitpid): Remove declaration.
13537 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
13538 (__waitpid): Don't define as alias. Use libc_hidden_def not
13539 libc_hidden_weak.
13540 (waitpid): Define as alias of __waitpid.
13541 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
13542 __waitpid.
13543 (__waitpid): Don't define as alias. Use libc_hidden_def not
13544 libc_hidden_weak.
13545 (waitpid): Define as alias of __waitpid.
13546 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
13547 __libc_waitpid alias.
13548 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
13549 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
13550 Likewise.
13551 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
13552 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
13553 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
13554 alias.
13555 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
13556 __waitpid.
13557 (__waitpid): Don't define as alias. Use libc_hidden_def not
13558 libc_hidden_weak.
13559 (waitpid): Define as alias of __waitpid.
13560
13561 2014-11-06 Carlos O'Donell <carlos@redhat.com>
13562
13563 * manual/llio.texi: Add comment that write safety has been
13564 fixed in Linux.
13565
13566 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
13567 (localplt-build-dso): Add elf/ld.so.
13568 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
13569 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
13570 and free for ld.so.
13571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
13572 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
13573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
13574 Likewise.
13575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13576 Likewise.
13577 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
13578 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
13579 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
13580 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
13581 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13582 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
13583 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
13584 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
13585 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13586 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
13587 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13588
13589 2014-11-05 Joseph Myers <joseph@codesourcery.com>
13590
13591 [BZ #14132]
13592 * include/libc-symbols.h (INTUSE): Remove macro.
13593 (INTDEF): Likewise.
13594 (INTVARDEF): Likewise.
13595 (_INTVARDEF): Likewise.
13596 (INTDEF2): Likewise.
13597 (INTVARDEF2): Likewise.
13598 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
13599 rtld_hidden_def instead of INTVARDEF.
13600 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
13601 (_dl_starting_up_internal): Remove declaration.
13602 (_dl_starting_up): Use rtld_hidden_proto.
13603 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
13604 declaration.
13605 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
13606 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
13607 _dl_starting_up.
13608 * elf/dl-writev.h (_dl_writev): Likewise.
13609 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
13610 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
13611 _dl_starting_up_internal.
13612
13613 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13614
13615 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
13616 test-skeleton.c.
13617
13618 2014-11-05 Will Newton <will.newton@linaro.org>
13619
13620 * benchtests/Makefile: (bench-malloc): Add malloc thread
13621 scalability benchmark.
13622 * benchtests/bench-malloc-threads.c: New file.
13623
13624 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
13625
13626 * sysdeps/aarch64/strchrnul.S: New file.
13627
13628 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13629
13630 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
13631 definition.
13632 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13633 Likwise.
13634 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13635 Likewise.
13636 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13637 Likewise.
13638 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13639 Likewise.
13640 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13641 Likewise.
13642
13643 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
13644
13645 * catgets/test-gencat.c: Use test-skeleton.c.
13646 * catgets/tst-catgets.c: Likewise.
13647 * csu/tst-empty.c: Likewise.
13648 * elf/tst-audit2.c: Likewise.
13649 * elf/tst-global1.c: Likewise.
13650 * elf/tst-pathopt.c: Likewise.
13651 * elf/tst-piemod1.c: Likewise.
13652 * elf/tst-tls10.c: Likewise.
13653 * elf/tst-tls11.c: Likewise.
13654 * elf/tst-tls12.c: Likewise.
13655 * gnulib/tst-gcc.c: Likewise.
13656 * iconvdata/tst-e2big.c: Likewise.
13657 * iconvdata/tst-loading.c: Likewise.
13658 * iconv/tst-iconv1.c: Likewise.
13659 * iconv/tst-iconv2.c: Likewise.
13660 * inet/test-inet6_opt.c: Likewise.
13661 * inet/tst-gethnm.c: Likewise.
13662 * inet/tst-network.c: Likewise.
13663 * inet/tst-ntoa.c: Likewise.
13664 * intl/tst-codeset.c: Likewise.
13665 * intl/tst-gettext2.c: Likewise.
13666 * intl/tst-gettext3.c: Likewise.
13667 * intl/tst-ngettext.c: Likewise.
13668 * intl/tst-translit.c: Likewise.
13669 * io/test-stat.c: Likewise.
13670 * libio/test-fmemopen.c: Likewise.
13671 * libio/tst-freopen.c: Likewise.
13672 * libio/tst-sscanf.c: Likewise.
13673 * libio/tst-ungetwc1.c: Likewise.
13674 * libio/tst-ungetwc2.c: Likewise.
13675 * libio/tst-widetext.c: Likewise.
13676 * localedata/tst-ctype.c: Likewise.
13677 * localedata/tst-digits.c: Likewise.
13678 * localedata/tst-leaks.c: Likewise.
13679 * localedata/tst-mbswcs1.c: Likewise.
13680 * localedata/tst-mbswcs2.c: Likewise.
13681 * localedata/tst-mbswcs3.c: Likewise.
13682 * localedata/tst-mbswcs4.c: Likewise.
13683 * localedata/tst-mbswcs5.c: Likewise.
13684 * localedata/tst-setlocale.c: Likewise.
13685 * localedata/tst-trans.c: Likewise.
13686 * localedata/tst-wctype.c: Likewise.
13687 * localedata/tst-xlocale1.c: Likewise.
13688 * login/tst-grantpt.c: Likewise.
13689 * malloc/tst-calloc.c: Likewise.
13690 * malloc/tst-malloc.c: Likewise.
13691 * malloc/tst-mallocstate.c: Likewise.
13692 * malloc/tst-mcheck.c: Likewise.
13693 * malloc/tst-mtrace.c: Likewise.
13694 * malloc/tst-obstack.c: Likewise.
13695 * math/atest-exp2.c: Likewise.
13696 * math/atest-exp.c: Likewise.
13697 * math/atest-sincos.c: Likewise.
13698 * math/test-matherr.c: Likewise.
13699 * math/test-misc.c: Likewise.
13700 * math/test-powl.c: Likewise.
13701 * math/tst-definitions.c: Likewise.
13702 * misc/tst-dirname.c: Likewise.
13703 * misc/tst-efgcvt.c: Likewise.
13704 * misc/tst-fdset.c: Likewise.
13705 * misc/tst-hsearch.c: Likewise.
13706 * misc/tst-mntent2.c: Likewise.
13707 * nptl/tst-sem7.c: Likewise.
13708 * nptl/tst-sem8.c: Likewise.
13709 * nptl/tst-sem9.c: Likewise.
13710 * nss/test-netdb.c: Likewise.
13711 * posix/tst-fnmatch.c: Likewise.
13712 * posix/tst-getlogin.c: Likewise.
13713 * posix/tst-gnuglob.c: Likewise.
13714 * posix/tst-mmap.c: Likewise.
13715 * pwd/tst-getpw.c: Likewise.
13716 * resolv/tst-inet_ntop.c: Likewise.
13717 * rt/tst-timer.c: Likewise.
13718 * stdio-common/test-fseek.c: Likewise.
13719 * stdio-common/test-popen.c: Likewise.
13720 * stdio-common/test-vfprintf.c: Likewise.
13721 * stdio-common/tst-cookie.c: Likewise.
13722 * stdio-common/tst-fileno.c: Likewise.
13723 * stdio-common/tst-gets.c: Likewise.
13724 * stdio-common/tst-obprintf.c: Likewise.
13725 * stdio-common/tst-perror.c: Likewise.
13726 * stdio-common/tst-sprintf2.c: Likewise.
13727 * stdio-common/tst-sprintf3.c: Likewise.
13728 * stdio-common/tst-sprintf.c: Likewise.
13729 * stdio-common/tst-swprintf.c: Likewise.
13730 * stdio-common/tst-tmpnam.c: Likewise.
13731 * stdio-common/tst-unbputc.c: Likewise.
13732 * stdio-common/tst-wc-printf.c: Likewise.
13733 * stdlib/tst-environ.c: Likewise.
13734 * stdlib/tst-fmtmsg.c: Likewise.
13735 * stdlib/tst-limits.c: Likewise.
13736 * stdlib/tst-rand48-2.c: Likewise.
13737 * stdlib/tst-rand48.c: Likewise.
13738 * stdlib/tst-random2.c: Likewise.
13739 * stdlib/tst-random.c: Likewise.
13740 * stdlib/tst-strtol.c: Likewise.
13741 * stdlib/tst-strtoll.c: Likewise.
13742 * stdlib/tst-tls-atexit.c: Likewise.
13743 * stdlib/tst-xpg-basename.c: Likewise.
13744 * string/test-ffs.c: Likewise.
13745 * string/tst-bswap.c: Likewise.
13746 * string/tst-inlcall.c: Likewise.
13747 * string/tst-strtok.c: Likewise.
13748 * string/tst-strxfrm.c: Likewise.
13749 * sysdeps/x86_64/tst-audit10.c: Likewise.
13750 * sysdeps/x86_64/tst-audit3.c: Likewise.
13751 * sysdeps/x86_64/tst-audit4.c: Likewise.
13752 * sysdeps/x86_64/tst-audit5.c: Likewise.
13753 * time/tst-ftime_l.c: Likewise.
13754 * time/tst-getdate.c: Likewise.
13755 * time/tst-mktime3.c: Likewise.
13756 * time/tst-mktime.c: Likewise.
13757 * time/tst-posixtz.c: Likewise.
13758 * time/tst-strptime2.c: Likewise.
13759 * time/tst-strptime3.c: Likewise.
13760 * wcsmbs/tst-btowc.c: Likewise.
13761 * wcsmbs/tst-mbrtowc.c: Likewise.
13762 * wcsmbs/tst-mbsrtowcs.c: Likewise.
13763 * wcsmbs/tst-wchar-h.c: Likewise.
13764 * wcsmbs/tst-wcpncpy.c: Likewise.
13765 * wcsmbs/tst-wcrtomb.c: Likewise.
13766 * wcsmbs/tst-wcsnlen.c: Likewise.
13767 * wcsmbs/tst-wcstof.c: Likewise.
13768
13769 2014-11-04 Joseph Myers <joseph@codesourcery.com>
13770
13771 [BZ #14132]
13772 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
13773 INTDEF.
13774 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
13775 declaration.
13776 (_dl_mcount): Use rtld_hidden_proto.
13777 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
13778 _dl_mcount.
13779 * elf/rtld.c (_rtld_global_ro): Likewise.
13780
13781 [BZ #14132]
13782 * elf/dl-init.c (_dl_init): Don't use INTDEF.
13783 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
13784 of _dl_init_internal.
13785 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
13786 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
13787 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
13788 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
13789 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
13790 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
13791 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
13792 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
13793 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
13794 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
13795 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
13796 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
13797 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13798 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13799 * sysdeps/tile/dl-start.S (_start): Likewise.
13800 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
13801 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
13802
13803 [BZ #14132]
13804 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
13805 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
13806 (rtld_progname): Make macro definition unconditional.
13807 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
13808 INTDEF.
13809 (dlmopen_doit): Do not use INTUSE with _dl_argv.
13810 (dl_main): Likewise.
13811 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13812 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
13813 instead of _dl_argv_internal.
13814 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13815 __GI__dl_argv instead of INTUSE(_dl_argv).
13816 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
13817 __GI__dl_argv instead of _dl_argv_internal.
13818
13819 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
13820 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
13821 macro.
13822 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
13823 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
13824 New macro.
13825 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
13826 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
13827 macro.
13828 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
13829 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
13830
13831 2014-11-04 Andreas Schwab <schwab@suse.de>
13832
13833 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
13834
13835 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13836
13837 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
13838 mtvsrd instruction in binary form.
13839
13840 2014-11-03 Andreas Schwab <schwab@suse.de>
13841
13842 [BZ #17522]
13843 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
13844 for less than MB_LEN_MAX use a local buffer of that size.
13845 * libio/tst-fputws.c: New file.
13846 * libio/Makefile (tests): Add tst-fputws.
13847
13848 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
13849
13850 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
13851 the size of the fpu_fr.fpu_dregs[] array.
13852
13853 2014-11-01 Joseph Myers <joseph@codesourcery.com>
13854
13855 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
13856 (__nanosleep): Do not define as alias.
13857 (nanosleep): Define as alias of __nanosleep.
13858 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
13859 __libc_nanosleep name.
13860
13861 2014-10-31 Joseph Myers <joseph@codesourcery.com>
13862
13863 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
13864 install.texi in comment.
13865
13866 2014-10-31 Torvald Riegel <triegel@redhat.com>
13867
13868 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
13869 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
13870 ... add here and use lwsync or sync ...
13871 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
13872 ... and add here using lwsync.
13873
13874 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
13875
13876 * elf/dl-machine-reject-phdr.h: New file.
13877 * elf/dl-load.c: #include that.
13878 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
13879 if that returned true.
13880
13881 2014-10-31 Roland McGrath <roland@hack.frob.com>
13882
13883 [BZ #17496]
13884 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
13885 gen-as-const-headers chunk. Add a big scare comment after the last
13886 safe place to touch before-compile.
13887
13888 2014-10-31 Joseph Myers <joseph@codesourcery.com>
13889
13890 * manual/install.texi (Tools for Compilation): Update autoconf
13891 version requirements.
13892 * INSTALL: Regenerated.
13893
13894 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
13895 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
13896 (__libc_pselect): Likewise.
13897
13898 [BZ #14138]
13899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
13900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13903
13904 2014-10-31 Torvald Riegel <triegel@redhat.com>
13905
13906 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
13907 correct barrier instruction.
13908 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
13909 Likewise.
13910 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
13911 Likewise.
13912
13913 2014-10-30 Roland McGrath <roland@hack.frob.com>
13914
13915 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
13916 after defining inlines. Instead, just use parens to defeat macro
13917 expansion of __isctype in its declaration.
13918
13919 2014-10-30 Joseph Myers <joseph@codesourcery.com>
13920
13921 * include/sys/uio.h (__libc_readv): Remove declaration.
13922 (__libc_writev): Likewise.
13923 * misc/readv.c (__libc_readv): Rename to __readv.
13924 (__readv): Do not define as alias.
13925 (readv): Define as alias of __readv.
13926 * misc/writev.c (__libc_writev): Rename to __writev.
13927 (__writev): Do not define as alias.
13928 (writev): Define as alias of __writev.
13929 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
13930 (__readv): Do not define as alias.
13931 (readv): Define unconditionally as alias of __readv.
13932 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
13933 (__writev): Do not define as alias.
13934 (writev): Define unconditionally as alias of __writev.
13935 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
13936 name.
13937 (writev): Do not define __libc_writev name.
13938
13939 2014-10-30 Roland McGrath <roland@hack.frob.com>
13940
13941 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
13942 (convert_charseq): New function, broken out of ...
13943 (use_from_charmap): ... here. Call it.
13944 (use_to_charmap): Use convert_charseq and free instead of duplicating
13945 its code with a variable-length stack struct.
13946
13947 2014-10-30 Joseph Myers <joseph@codesourcery.com>
13948
13949 * include/fcntl.h (__libc_creat): Remove declaration.
13950 * io/creat.c (__libc_creat): Rename to creat.
13951 (creat): Do not define as alias.
13952 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
13953 of creat instead of __libc_creat.
13954 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
13955 to creat.
13956 (creat): Do not define as alias.
13957 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
13958 __libc_creat.
13959 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
13960 __libc_creat name.
13961 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
13962 Likewise.
13963
13964 2014-10-29 Carlos O'Donell <carlos@redhat.com>
13965
13966 * manual/llio.texi: Add comments discussing why write() may be
13967 considered MT-unsafe on Linux.
13968
13969 2014-10-28 Carlos O'Donell <carlos@redhat.com>
13970
13971 * dl-load.c (local_strdup): Remove.
13972 (expand_dynamic_string_token): Use __strdup.
13973 (decompose_rpath): Likewise.
13974 (_dl_map_object): Likewise.
13975
13976 2014-10-28 Joseph Myers <joseph@codesourcery.com>
13977
13978 [BZ #14132]
13979 * sysdeps/generic/unwind-dw2-fde.c
13980 (__register_frame_info_bases_internal): Do not declare.
13981 (__register_frame_info_table_bases_internal): Likewise.
13982 (__deregister_frame_info_bases_internal): Likewise.
13983 (__register_frame_info_bases): Declare and use hidden_proto before
13984 definition. Use hidden_def instead of INTDEF.
13985 (__register_frame_info_table_bases): Likewise.
13986 (__deregister_frame_info_bases): Likewise.
13987 (__register_frame_info): Do not use INTUSE.
13988 (__register_frame): Likewise.
13989 (__register_frame_info_table): Likewise.
13990 (__register_frame_table): Likewise.
13991 (__deregister_frame_info): Likewise.
13992 (__deregister_frame): Likewise.
13993
13994 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
13995
13996 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13997 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
13998 not undefine.
13999 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
14000 Likewise.
14001 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
14002 Likewise.
14003
14004 2014-10-27 Joseph Myers <joseph@codesourcery.com>
14005
14006 [BZ #14138]
14007 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
14008 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
14009 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
14010 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
14011 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
14012 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
14013 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
14014 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
14015 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
14016 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
14017 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
14018 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
14019 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
14020 syscall.
14021 (setfsuid): Likewise.
14022 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
14023 (setfsuid): Likewise.
14024 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
14025 (setfsuid): Likewise.
14026 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
14027 Likewise.
14028 (setfsuid): Likewise.
14029 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
14030 (setfsuid): Likewise.
14031 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
14032 Likewise.
14033 (setfsuid): Likewise.
14034
14035 2014-10-27 Andreas Schwab <schwab@suse.de>
14036
14037 [BZ #17501]
14038 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
14039 check for Slow_SSE4_2 feature bit.
14040 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
14041 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14042 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
14043 Likewise. Fix check for Fast_Unaligned_Load feature bit.
14044
14045 2014-10-24 Roland McGrath <roland@hack.frob.com>
14046
14047 * configure.ac: Validate compiler version with a empirical test of
14048 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
14049 $CC -v output.
14050 * configure: Regenerated.
14051
14052 * inet/htons.c (htons): Prototypify.
14053 * inet/htonl.c (htonl): Likewise.
14054
14055 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14056
14057 * string/strncat.c (strncat): Improve performance by using strlen.
14058
14059 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14060
14061 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
14062
14063 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14064
14065 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
14066 Call libc_fetestexcept_aarch64.
14067
14068 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14069
14070 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
14071 Call libc_feholdexcept_aarch64.
14072
14073 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14074
14075 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
14076 Call get_rounding_mode.
14077
14078 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14079
14080 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14081 Simplify logic.
14082
14083 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14084
14085 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
14086 Simplify logic.
14087
14088 2014-10-24 Joseph Myers <joseph@codesourcery.com>
14089
14090 [BZ #14138]
14091 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
14092 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
14093 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
14094 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
14095 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
14096 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
14097 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
14098 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
14099 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
14100 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
14101 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14102 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
14103 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
14104 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
14105 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
14106 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
14107 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
14108 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
14109 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
14110 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
14111 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
14112 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
14113 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
14114 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
14115 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
14116 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
14117 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
14118 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
14119 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
14120 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
14121 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
14122 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
14123 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
14124 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
14125 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
14126 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
14127 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
14128 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
14129 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
14130 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
14131 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
14132 syscall.
14133 (geteuid): Likewise.
14134 (getgid): Likewise.
14135 (getuid): Likewise.
14136 (getresgid): Likewise.
14137 (getresuid): Likewise.
14138 (getgroups): Likewise.
14139 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
14140 (geteuid): Likewise.
14141 (getgid): Likewise.
14142 (getuid): Likewise.
14143 (getresgid): Likewise.
14144 (getresuid): Likewise.
14145 (getgroups): Likewise.
14146 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
14147 (geteuid): Likewise.
14148 (getgid): Likewise.
14149 (getuid): Likewise.
14150 (getresgid): Likewise.
14151 (getresuid): Likewise.
14152 (getgroups): Likewise.
14153 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
14154 Likewise.
14155 (geteuid): Likewise.
14156 (getgid): Likewise.
14157 (getuid): Likewise.
14158 (getresgid): Likewise.
14159 (getresuid): Likewise.
14160 (getgroups): Likewise.
14161 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
14162 (geteuid): Likewise.
14163 (getgid): Likewise.
14164 (getuid): Likewise.
14165 (getresgid): Likewise.
14166 (getresuid): Likewise.
14167 (getgroups): Likewise.
14168 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
14169 Likewise.
14170 (geteuid): Likewise.
14171 (getgid): Likewise.
14172 (getuid): Likewise.
14173 (getgroups): Likewise.
14174
14175 [BZ #14138]
14176 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
14177 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
14178 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
14179 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14180 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
14181 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
14182 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
14183 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
14184 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
14185 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
14186 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
14187 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
14188 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
14189 __chown.
14190 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
14191 (lchown): Likewise.
14192 (fchown): Likewise.
14193 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
14194 Likewise.
14195 (lchown): Likewise.
14196 (fchown): Likewise.
14197 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
14198 (lchown): Likewise.
14199 (fchown): Likewise.
14200 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
14201 Likewise.
14202 (lchown): Likewise.
14203 (fchown): Likewise.
14204
14205 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14206
14207 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
14208 Simplify logic.
14209
14210 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14211
14212 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14213 Cleanup logic.
14214
14215 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14216
14217 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14218 Remove unused include.
14219
14220 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14221
14222 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
14223 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
14224 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
14225 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
14226
14227 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
14228 Helge Deller <deller@gmx.de>
14229
14230 [BZ #17508]
14231 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
14232 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
14233 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
14234
14235 2014-10-23 Joseph Myers <joseph@codesourcery.com>
14236
14237 [BZ #14132]
14238 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
14239 Remove macro definition.
14240 (__ashrdi3_v_glibc20): Likewise.
14241 (__lshrdi3_v_glibc20): Likewise.
14242 (__cmpdi2_v_glibc20): Likewise.
14243 (__ucmpdi2_v_glibc20): Likewise.
14244 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
14245 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14246 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14247 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14248 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14249 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
14250
14251 2014-10-22 Roland McGrath <roland@hack.frob.com>
14252
14253 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
14254 old GNU extension [0] syntax.
14255 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
14256 alloca rather than an array member with variable length.
14257 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
14258 * nscd/nscd.c (invalidate_db): New function, broken out of ...
14259 (parse_opt): ... here. Likewise use alloca there.
14260 Validate the -i argument before checking for rootness.
14261 (send_shutdown): New function, broken out of ...
14262 (parse_opt): ... here.
14263
14264 2014-10-22 Roland McGrath <roland@hack.frob.com>
14265
14266 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
14267 macro to get at the _rt_local_ro field.
14268 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
14269 ([PIC] case) or _dl_hwcap ([!PIC] case).
14270 * sysdeps/arm/setjmp.S: Likewise.
14271
14272 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
14273 * sysdeps/arm/configure.ac: New check to define it.
14274 * sysdeps/arm/configure: Regenerated.
14275 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
14276 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
14277 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
14278 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
14279 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
14280 Use move/movt pair instead of a load.
14281 (LDST_GLOBAL): Macro removed.
14282 (LDR_GLOBAL): New macro replaces it.
14283 (LDR_HIDDEN): New macro.
14284 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
14285 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
14286
14287 * setjmp/tst-setjmp-static.c: New file.
14288 * setjmp/Makefile (tests): Add it.
14289 (tests-static): New variable.
14290
14291 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
14292
14293 [BZ #17485]
14294 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
14295
14296 2014-10-21 Joseph Myers <joseph@codesourcery.com>
14297
14298 [BZ #14132]
14299 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
14300
14301 2014-10-21 Roland McGrath <roland@hack.frob.com>
14302
14303 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
14304
14305 2014-10-20 Roland McGrath <roland@hack.frob.com>
14306
14307 * io/fts.c (dirent_not_directory): New function.
14308 (fts_build): Call it.
14309
14310 2014-10-20 Roland McGrath <roland@hack.frob.com>
14311
14312 * nptl/version.c (__nptl_main): Use normal __write rather than
14313 INTERNAL_SYSCALL.
14314 (banner): Update copyright years.
14315
14316 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
14317 gettimeofday.
14318 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14319 * nptl/pthread_cond_timedwait.c: Likewise.
14320 * nptl/pthread_mutex_timedlock.c: Likewise.
14321 * nptl/sem_timedwait.c: Likewise.
14322
14323 * sysdeps/nptl/bits/libc-lock.h
14324 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14325 (__libc_lock_init_recursive): Return void, not 0.
14326 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
14327 (__libc_rwlock_init): Likewise.
14328 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
14329
14330 2014-10-20 Torvald Riegel <triegel@redhat.com>
14331
14332 [BZ #15215]
14333 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
14334 (__pthread_once_slow): ... here.
14335 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
14336 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
14337
14338 2014-10-20 Torvald Riegel <triegel@redhat.com>
14339
14340 [BZ #15215]
14341 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
14342 __PTHREAD_ONCE_FORK_GEN_INCR): New.
14343 * sysdeps/nptl/fork.c (__libc_fork): Use them.
14344 * nptl/pthread_once.c (__pthread_once): Likewise.
14345 Update comments.
14346
14347 2014-10-20 Joseph Myers <joseph@codesourcery.com>
14348
14349 [BZ #14138]
14350 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
14351 name.
14352 (writev): Use __libc_writev as strong name.
14353 * sysdeps/unix/sysv/linux/readv.c: Remove file.
14354 * sysdeps/unix/sysv/linux/writev.c: Likewise.
14355
14356 2014-10-17 Roland McGrath <roland@hack.frob.com>
14357
14358 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
14359
14360 * sysdeps/i386/nptl/tls.h
14361 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
14362 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
14363 New macros.
14364 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
14365 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
14366 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
14367 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
14368 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
14369 Call CHECK_THREAD_SYSINFO instead of doing an assert.
14370
14371 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14372 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
14373 on [__NR_futex].
14374 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
14375 broken out of ...
14376 (__pthread_mutex_init): ... here. Call it.
14377 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
14378 Conditionalize PI cases on [__NR_futex].
14379 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
14380 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
14381 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14382
14383 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
14384 conditional on [SIGSETXID].
14385 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
14386 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
14387 is defined. Likewise for SIGSETXID.
14388 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
14389 Conditionalize definitions on [SIGSETXID].
14390 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
14391 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
14392 unblocking on [SIGCANCEL].
14393
14394 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
14395 [__NR_set_robust_list].
14396
14397 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14398
14399 * string/strcoll_l.c (get_next_seq): Fix up formatting.
14400 (do_compare): Likewise.
14401
14402 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
14403
14404 [BZ #15884]
14405 * string/strcoll_l.c: Don't include stdio.h.
14406 (coll_seq): Remove members idxarr and rulearr.
14407 (get_next_seq_cached): Remove function.
14408 (get_next_seq): Likewise.
14409 (get_next_seq_nocache): Rename to get_next_seq.
14410 (do_compare): Remove function.
14411 (do_compare_nocache): Rename to do_compare.
14412 (STRCOLL): Remove weight and rules cache.
14413
14414 2014-10-16 Roland McGrath <roland@hack.frob.com>
14415
14416 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
14417 * sysdeps/arm/sfp-machine.h: ... to here.
14418 * sysdeps/arm/Implies: Remove arm/soft-fp.
14419
14420 2014-10-14 Joseph Myers <joseph@codesourcery.com>
14421
14422 * conform/data/sys/utsname.h-data (*_t): Allow.
14423 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
14424 [POSIX] (WEXITED): Do not expect constant.
14425 [POSIX] (WSTOPPED): Likewise.
14426 [POSIX] (WNOHANG): Likewise.
14427 [POSIX] (WNOWAIT): Likewise.
14428 [POSIX] (siginfo_t): Do not expect type or elements.
14429 [POSIX] (pid_t): Do not expect type.
14430 [POSIX] (signal.h): Do not allow header.
14431 [POSIX] (sys/resource.h): Likewise.
14432 [POSIX] (si_*): Do not allow pattern.
14433 [POSIX] (W*): Likewise.
14434 [POSIX] (P_*): Likewise.
14435 [POSIX] (BUS_*): Likewise.
14436 [POSIX] (CLD_*): Likewise.
14437 [POSIX] (FPE_*): Likewise.
14438 [POSIX] (ILL_*): Likewise.
14439 [POSIX] (POLL_*): Likewise.
14440 [POSIX] (SEGV_*): Likewise.
14441 [POSIX] (SI_*): Likewise.
14442 [POSIX] (TRAP_*): Likewise.
14443 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
14444 variable.
14445
14446 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
14447
14448 [BZ #12926]
14449 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
14450 infinite loop when __recvmsg returns 0.
14451
14452 2014-10-10 Joseph Myers <joseph@codesourcery.com>
14453
14454 * CANCEL-FCT-WAIVE: Remove file.
14455 * CANCEL-FILE-WAIVE: Likewise.
14456
14457 [BZ #14132]
14458 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
14459 instead of INTVARDEF.
14460 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14461 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
14462 rtld_hidden_data_def instead of INTVARDEF.
14463 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14464 * elf/dl-deps.c (expand_dst): Likewise.
14465 * elf/dl-load.c (_dl_dst_count): Likewise.
14466 (_dl_dst_substitute): Likewise.
14467 (decompose_rpath): Likewise.
14468 (_dl_init_paths): Likewise.
14469 (open_path): Likewise.
14470 (_dl_map_object): Likewise.
14471 * elf/rtld.c (dl_main): Likewise.
14472 (process_dl_audit): Likewise.
14473 (process_envvars): Likewise.
14474 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
14475 Remove declaration.
14476 (__libc_enable_secure): Use rtld_hidden_proto.
14477
14478 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14479
14480 * elf/dl-load.c
14481 (add_path): New function broken out of _dl_rtld_di_serinfo.
14482 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
14483
14484 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14485
14486 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
14487 parentheses around macro arguments.
14488 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
14489 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
14490 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
14491 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
14492 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
14493 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14494 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14495 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
14496 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
14497 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
14498 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
14499 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
14500 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
14501 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
14502 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
14503 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
14504 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
14505 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
14506 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
14507 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
14508 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
14509 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
14510 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
14511 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14512 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14513 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
14514 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
14515 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
14516 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
14517 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
14518 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
14519 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
14520 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
14521 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
14522 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
14523 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
14524 Likewise.
14525 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
14526 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14527 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14528 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
14529 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
14530 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
14531 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
14532 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
14533 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
14534 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
14535 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
14536 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
14537 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
14538 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
14539 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
14540 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14541 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14542 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
14543 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
14544 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
14545 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
14546 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
14547 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
14548 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
14549 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
14550 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
14551 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
14552 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
14553 (_FP_FRAC_SRS_1): Likewise.
14554 (_FP_FRAC_CLZ_1): Likewise.
14555 (_FP_MUL_MEAT_1_imm): Likewise.
14556 (_FP_MUL_MEAT_1_wide): Likewise.
14557 (_FP_MUL_MEAT_1_hard): Likewise.
14558 (_FP_SQRT_MEAT_1): Likewise.
14559 (_FP_FRAC_ASSEMBLE_1): Likewise.
14560 (_FP_FRAC_DISASSEMBLE_1): Likewise.
14561 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
14562 (__FP_CLZ_2): Likewise.
14563 (_FP_MUL_MEAT_2_wide): Likewise.
14564 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14565 (_FP_MUL_MEAT_2_gmp): Likewise.
14566 (_FP_MUL_MEAT_2_120_240_double): Likewise.
14567 (_FP_SQRT_MEAT_2): Likewise.
14568 (_FP_FRAC_ASSEMBLE_2): Likewise.
14569 (_FP_FRAC_DISASSEMBLE_2): Likewise.
14570 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
14571 (_FP_FRAC_CLZ_4): Likewise.
14572 (_FP_MUL_MEAT_4_wide): Likewise.
14573 (_FP_MUL_MEAT_4_gmp): Likewise.
14574 (_FP_SQRT_MEAT_4): Likewise.
14575 (_FP_FRAC_ASSEMBLE_4): Likewise.
14576 (_FP_FRAC_DISASSEMBLE_4): Likewise.
14577 * soft-fp/op-common.h (_FP_CMP): Likewise.
14578 (_FP_CMP_EQ): Likewise.
14579 (_FP_CMP_UNORD): Likewise.
14580 (_FP_TO_INT): Likewise.
14581 (_FP_FROM_INT): Likewise.
14582 [!__FP_CLZ] (__FP_CLZ): Likewise.
14583 (_FP_DIV_HELP_imm): Likewise.
14584 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
14585 Likewise.
14586 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
14587 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
14588 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
14589 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
14590 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
14591 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14592 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14593 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
14594 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
14595 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
14596 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
14597 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
14598 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
14599 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
14600 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
14601 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
14602 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
14603 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
14604 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
14605 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
14606 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
14607 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
14608 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
14609 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14610 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14611 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
14612 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
14613 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
14614 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
14615 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
14616 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
14617 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
14618 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
14619 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
14620 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
14621 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
14622 (FP_UNPACK_RAW_SP): Likewise.
14623 (FP_PACK_RAW_S): Likewise.
14624 (FP_PACK_RAW_SP): Likewise.
14625 (FP_UNPACK_S): Likewise.
14626 (FP_UNPACK_SP): Likewise.
14627 (FP_UNPACK_SEMIRAW_S): Likewise.
14628 (FP_UNPACK_SEMIRAW_SP): Likewise.
14629 (FP_PACK_S): Likewise.
14630 (FP_PACK_SP): Likewise.
14631 (FP_PACK_SEMIRAW_S): Likewise.
14632 (FP_PACK_SEMIRAW_SP): Likewise.
14633 (_FP_SQRT_MEAT_S): Likewise.
14634 (FP_CMP_S): Likewise.
14635 (FP_CMP_EQ_S): Likewise.
14636 (FP_CMP_UNORD_S): Likewise.
14637 (FP_TO_INT_S): Likewise.
14638 (FP_FROM_INT_S): Likewise.
14639
14640 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
14641
14642 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
14643 (FP_EX_INVALID_IMZ): Likewise.
14644 (FP_EX_INVALID_IMZ_FMA): Likewise.
14645 (FP_EX_INVALID_ISI): Likewise.
14646 (FP_EX_INVALID_ZDZ): Likewise.
14647 (FP_EX_INVALID_IDI): Likewise.
14648 (FP_EX_INVALID_SQRT): Likewise.
14649 (FP_EX_INVALID_CVI): Likewise.
14650 (FP_EX_INVALID_VC): Likewise.
14651 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
14652 "invalid" exceptions.
14653 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
14654 (_FP_ADD_INTERNAL): Likewise.
14655 (_FP_MUL): Likewise.
14656 (_FP_FMA): Likewise.
14657 (_FP_DIV): Likewise.
14658 (_FP_CMP_CHECK_NAN): Likewise.
14659 (_FP_SQRT): Likewise.
14660 (_FP_TO_INT): Likewise.
14661 (FP_EXTEND): Likewise.
14662
14663 2014-10-09 Allan McRae <allan@archlinux.org>
14664
14665 * po/fr.po: Update French translation from translation project.
14666
14667 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14668
14669 [BZ #14132]
14670 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
14671 of INTDEF.
14672 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
14673 (__cxa_atexit): Use libc_hidden_proto.
14674 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
14675
14676 [BZ #14132]
14677 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
14678 declaration.
14679 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
14680 [!_ISOMAC] (__iswspace_l_internal): Likewise.
14681 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
14682 [!_ISOMAC] (__iswctype_internal): Likewise.
14683 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
14684 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
14685 alias.
14686 (fcntl): Remove __fcntl_internal alias.
14687 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
14688 __connect_internal alias.
14689 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
14690 Likewise.
14691
14692 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
14693 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
14694 FP_DENORM_ZERO.
14695 (_FP_CHECK_FLUSH_ZERO): New macro.
14696 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
14697 (_FP_CMP): Likewise.
14698 (_FP_CMP_EQ): Likewise.
14699 (_FP_TO_INT): Do not set inexact for subnormal arguments if
14700 FP_DENORM_ZERO.
14701 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
14702 (FP_TRUNC): Likewise.
14703
14704 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
14705 treated as invalid conversion, not as normal exponent.
14706
14707 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
14708 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
14709 (_FP_CMP_EQ): Likewise.
14710 (_FP_CMP_UNORD): Likewise.
14711 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
14712 (FP_CMP_EQ_D): Likewise.
14713 (FP_CMP_UNORD_D): Likewise.
14714 * soft-fp/extended.h (FP_CMP_E): Likewise.
14715 (FP_CMP_EQ_E): Likewise.
14716 (FP_CMP_UNORD_E): Likewise.
14717 * soft-fp/quad.h (FP_CMP_Q): Likewise.
14718 (FP_CMP_EQ_Q): Likewise.
14719 (FP_CMP_UNORD_Q): Likewise.
14720 * soft-fp/single.h (FP_CMP_S): Likewise.
14721 (FP_CMP_EQ_S): Likewise.
14722 (FP_CMP_UNORD_S): Likewise.
14723 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
14724 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
14725 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
14726 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
14727 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
14728 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
14729 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
14730 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
14731 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
14732 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
14733 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
14734 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
14735 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
14736 to FP_CMP_Q.
14737 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
14738 FP_CMP_Q.
14739 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
14740 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
14741 FP_CMP_EQ_Q.
14742 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
14743 FP_CMP_Q.
14744 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
14745 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
14746 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
14747 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
14748 FP_CMP_EQ_Q.
14749 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
14750 FP_CMP_Q.
14751 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
14752 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
14753 FP_CMP_EQ_Q.
14754 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
14755 FP_CMP_Q.
14756 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
14757 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
14758 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
14759 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
14760 FP_CMP_EQ_Q.
14761
14762 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
14763 a subnormal result, set the underflow exception if trapping on
14764 underflow is enabled.
14765 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
14766 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
14767 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
14768 redefine to 0.
14769 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
14770 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14771 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14772 * soft-fp/extendxftf2.c (__extendxftf2): Use
14773 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
14774
14775 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
14776 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
14777 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14778 FP_HANDLE_EXCEPTIONS.
14779 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
14780 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14781 FP_HANDLE_EXCEPTIONS.
14782 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
14783 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14784 FP_HANDLE_EXCEPTIONS.
14785 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
14786 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14787 FP_HANDLE_EXCEPTIONS.
14788
14789 2014-10-08 Joseph Myers <joseph@codesourcery.com>
14790
14791 [BZ #14132]
14792 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
14793 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
14794 use INTUSE.
14795 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
14796 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
14797 Remove alias.
14798 (__adjtimex): Define using libc_hidden_ver.
14799 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
14800 Remove declaration.
14801 (ntp_gettime): Call __adjtimex directly.
14802 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
14803 Remove declaration.
14804 (ntp_gettimex): Call __adjtimex directly.
14805 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
14806 __adjtimex_internal alias.
14807
14808 2014-10-08 Roland McGrath <roland@hack.frob.com>
14809
14810 [BZ #17460]
14811 * nscd/nscd.c (more_help): Rewrite list of tables collection
14812 using xstrdup and asprintf.
14813
14814 * nscd/nscd_conf.c: Remove local xstrdup declaration.
14815
14816 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14817 Roland McGrath <roland@hack.frob.com>
14818
14819 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
14820 (do_lookup_unique): ... local function 'enter' here; update callers.
14821
14822 2014-10-06 Joseph Myers <joseph@codesourcery.com>
14823
14824 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
14825 compat_symbol calls on [SHARED].
14826 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
14827 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
14828 Remove.
14829 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14830 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
14831 (oldsetrlimit): Remove.
14832 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14834 (lchown): New syscall entry.
14835 (oldsetrlimit): Remove.
14836 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14837 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
14838 (oldsetrlimit): Remove.
14839 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14840
14841 [BZ #14138]
14842 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
14843 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
14844 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
14845 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
14846 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14847 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
14848 (fchown): Likewise.
14849 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
14850 (fchown): Likewise.
14851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
14852 Likewise.
14853
14854 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14855
14856 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
14857 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
14858 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
14859 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
14860 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
14861 Likewise.
14862 (__old_sem_post): Likewise.
14863
14864 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
14865
14866 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
14867 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
14868 HAVE_CLOCK_GETTIME_VSYSCALL macros.
14869 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
14870 Use INLINE_VSYSCALL macro.
14871 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
14872 __vdso_clock_gettime.
14873 * sysdeps/unix/sysv/linux/tile/init-first.c
14874 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
14875 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
14876 __vdso_clock_gettime.
14877
14878 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
14879 to set up frame more cleanly.
14880
14881 * sysdeps/tile/memcmp.c: New file.
14882
14883 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
14884
14885 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
14886 * sysdeps/tile/tilegx/strcasestr.c: New file.
14887 * sysdeps/tile/tilegx/strnlen.c: New file.
14888 * sysdeps/tile/tilegx/strstr.c: New file.
14889
14890 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
14891
14892 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
14893
14894 * nptl/tst-setuid3.c: Write errors to stdout.
14895
14896 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14897
14898 * elf/dl-deps.c
14899 (preload): New functions broken out of _dl_map_object_deps.
14900 (_dl_map_object_deps): Remove a nested function. Update call sites.
14901
14902 2014-10-01 Joseph Myers <joseph@codesourcery.com>
14903
14904 [BZ #14138]
14905 * sysdeps/unix/sysv/linux/execve.c: Remove file.
14906 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
14907
14908 2014-10-01 Steve Ellcey <sellcey@mips.com>
14909
14910 * sysdeps/mips/strcmp.S: New.
14911
14912 2014-09-30 Joseph Myers <joseph@codesourcery.com>
14913
14914 [BZ #14138]
14915 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
14916 (linkat): Likewise.
14917 (mkdirat): Likewise.
14918 (readlinkat): Likewise.
14919 (renameat): Likewise.
14920 (symlinkat): Likewise.
14921 (unlinkat): Likewise.
14922 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
14923 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
14924 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
14925 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
14926 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
14927 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
14928 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
14929
14930 2014-09-30 Will Newton <will.newton@linaro.org>
14931
14932 * math/math.h: Define long double math functions if
14933 _LIBC_TEST is defined.
14934 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
14935
14936 * localedata/Makefile: Move assignment to tests-special
14937 into an ifdef testing run-built-tests.
14938 * timezone/Makefile: Likewise.
14939
14940 2014-09-29 Joseph Myers <joseph@codesourcery.com>
14941
14942 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
14943 with $(BASH) not $(SHELL).
14944
14945 2014-09-29 Carlos O'Donell <carlos@redhat.com>
14946 Matthew LeGendre <legendre1@llnl.gov>
14947
14948 [BZ #17411]
14949 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
14950 l_reloc_result.
14951
14952 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14953
14954 * stdio-common/printf_fp.c
14955 (hack_digit): New function, broken out of ...
14956 (__printf_fp): ... local function here. Update call sites.
14957 hack_digit now takes an additional parameter that is a pointer
14958 to a struct of the referenced locals. Those locals moved inside
14959 the struct and references updated.
14960
14961 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
14962
14963 * aclocal.m4: Require autoconf 2.69.
14964 * configure: Regenerated.
14965 * sysdeps/aarch64/configure: Likewise.
14966 * sysdeps/alpha/configure: Likewise.
14967 * sysdeps/arm/armv7/configure: Likewise.
14968 * sysdeps/arm/configure: Likewise.
14969 * sysdeps/ia64/configure: Likewise.
14970 * sysdeps/mach/configure: Likewise.
14971 * sysdeps/mips/configure: Likewise.
14972 * sysdeps/s390/configure: Likewise.
14973 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
14974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
14975
14976 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
14977 file.
14978 * sysdeps/ia64/configure.ac: Likewise.
14979
14980 2014-09-26 Joseph Myers <joseph@codesourcery.com>
14981
14982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
14983 specify symbol version for ld.so. Do not include entry for
14984 libpthread.
14985 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14986 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14987 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14988
14989 [BZ #14171]
14990 * Makeconfig [$(build-shared) = yes]
14991 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
14992 makefiles.
14993 [$(build-shared) = yes && $(soversions.mk-done) = t]
14994 ($(common-objpfx)gnu/lib-names.h): Remove rule.
14995 [$(build-shared) = yes && $(soversions.mk-done) = t]
14996 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
14997 to Makerules.
14998 [$(build-shared) = yes && $(soversions.mk-done) = t]
14999 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
15000 here.
15001 [$(build-shared) = yes && $(soversions.mk-done) = t]
15002 (common-generated): Don't append gnu/lib-names.h and
15003 gnu/lib-names.stmp here.
15004 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
15005 (lib-names-h-abi): New variable.
15006 [$(build-shared) = yes && $(soversions.mk-done) = t]
15007 (lib-names-stmp-abi): Likewise.
15008 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15009 abi-variants] (before-compile): Append
15010 $(common-objpfx)$(lib-names-h-abi).
15011 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15012 abi-variants] (common-generated): Append gnu/lib-names.h.
15013 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15014 abi-variants] (install-others-nosubdir): Depend on
15015 $(inst_includedir)/$(lib-names-h-abi).
15016 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15017 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
15018 [$(build-shared) = yes && $(soversions.mk-done) = t]
15019 ($(common-objpfx)$(lib-names-h-abi)): New rule.
15020 [$(build-shared) = yes && $(soversions.mk-done) = t]
15021 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
15022 [$(build-shared) = yes && $(soversions.mk-done) = t]
15023 (common-generated): Append $(lib-names-h-abi) and
15024 $(lib-names-stmp-abi).
15025 * scripts/lib-names.awk: Do not handle multi being set.
15026 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
15027 Remove variable.
15028 (abi-lp64_be-ld-soname): Likewise.
15029 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
15030 Likewise.
15031 (abi-hard-ld-soname): Likewise.
15032 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
15033 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
15034 Remove variable.
15035 (abi-o32_hard-ld-soname): Likewise.
15036 (abi-o32_soft_2008-ld-soname): Likewise.
15037 (abi-o32_hard_2008-ld-soname): Likewise.
15038 (abi-n32_soft-ld-soname): Likewise.
15039 (abi-n32_hard-ld-soname): Likewise.
15040 (abi-n32_soft_2008-ld-soname): Likewise.
15041 (abi-n32_hard_2008-ld-soname): Likewise.
15042 (abi-n64_soft-ld-soname): Likewise.
15043 (abi-n64_hard-ld-soname): Likewise.
15044 (abi-n64_soft_2008-ld-soname): Likewise.
15045 (abi-n64_hard_2008-ld-soname): Likewise.
15046 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
15047 Likewise.
15048 (abi-64-v2-ld-soname): Likewise.
15049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
15050 ld.so entries.
15051 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
15052 variable.
15053 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
15054 entry.
15055 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
15056 variable.
15057 (abi-64-ld-soname): Likewise.
15058 (abi-x32-ld-soname): Likewise.
15059 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
15060 entry.
15061 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15062
15063 2014-09-23 Joseph Myers <joseph@codesourcery.com>
15064
15065 [BZ #14138]
15066 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
15067 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
15068 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
15069 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
15070 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
15071 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
15072 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
15073 syscall entry for GLIBC_2.2 symbol version.
15074 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
15075 Likewise.
15076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15077 (setrlimit): Likewise.
15078 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
15079 Likewise.
15080
15081 2014-09-23 Will Newton <will.newton@linaro.org>
15082
15083 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
15084 _LINUX_ARM_SYSDEP_H include guard too.
15085 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
15086 define.
15087
15088 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15089
15090 * sysdeps/unix/sysv/linux/eventfd.c:
15091 Make first argument unsigned.
15092 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
15093 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
15094
15095 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
15096
15097 * socket/recvmmsg.c (recvmmsg): Drop const argument.
15098 * socket/sys/socket.h: Likewise
15099 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
15100
15101 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15102
15103 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
15104
15105 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
15106
15107 * time/tst-ftime.c: New test.
15108 * time/Makefile (tests): Add tst-ftime.
15109
15110 2014-09-17 Joseph Myers <joseph@codesourcery.com>
15111
15112 * soft-fp/extended.h: Fix comment formatting.
15113 * soft-fp/op-1.h: Likewise.
15114 * soft-fp/op-2.h: Likewise.
15115 * soft-fp/op-4.h: Likewise.
15116 * soft-fp/op-8.h: Likewise.
15117 * soft-fp/op-common.h: Likewise.
15118 * soft-fp/soft-fp.h: Likewise.
15119
15120 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
15121
15122 2014-09-16 Joseph Myers <joseph@codesourcery.com>
15123
15124 [BZ #6652]
15125 * Makeconfig (soversions-default-setname): Remove variable.
15126 ($(common-objpfx)soversions.i): Don't pass default_setname to
15127 soversions.awk.
15128 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
15129 oldest_abi to abi-versions.awk.
15130 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
15131 * config.make.in (oldest-abi): Remove variable.
15132 * configure.ac (--enable-oldest-abi): Remove configure option.
15133 * configure: Regenerated.
15134 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
15135 text.
15136 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
15137 * scripts/soversions.awk: Do not handle default_setname variable.
15138 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
15139 variable.
15140 * sysdeps/mach/hurd/configure: Regenerated.
15141 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
15142 variable.
15143 * sysdeps/unix/sysv/linux/configure: Regenerated.
15144
15145 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15146
15147 * elf/Makefile (CFLAGS-interp.c): Remove.
15148 ($(elf-objpfx)runtime-linker.h): Generate header with linker
15149 path string.
15150 * elf/interp.c: Include generated runtime-linker.h
15151
15152 * Makerules (lib%.so): Don't include $(+interp) in
15153 prerequisites.
15154 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
15155 * dlfcn/eval.c: Remove file.
15156
15157 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
15158 macros.
15159
15160 [BZ #17266]
15161 * misc/sys/cdefs.h: Define __extern_always_inline for clang
15162 4.2 and newer.
15163
15164 [BZ #17370]
15165 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
15166
15167 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15168 Jakub Jelinek <jakub@redhat.com>
15169
15170 [BZ #17266]
15171 * libio/stdio.h: Check definition of __fortify_function
15172 instead of __extern_always_inline to include bits/stdio2.h.
15173 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
15174 check if __extern_always_inline is defined.
15175 [__USE_MISC || __USE_XOPEN]: Likewise.
15176 [__USE_ISOC99] Likewise.
15177 * misc/sys/cdefs.h (__fortify_function): Define only if
15178 __extern_always_inline is defined.
15179 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
15180 __extern_always_inline and __extern_inline only for g++-4.3
15181 and newer or a compatible gcc.
15182
15183 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
15184
15185 [BZ #17371]
15186 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15187 last change to handle zero prefix length.
15188
15189 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15190
15191 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
15192 _SC_REGEX_VERSION.
15193
15194 * posix/getconf.c (vars): Add _POSIX_IPV6 and
15195 _POSIX_RAW_SOCKETS.
15196
15197 2014-09-13 Allan McRae <allan@archlinux.org>
15198
15199 * po/ru.po: Update Russian translation from translation project.
15200
15201 2014-09-12 Roland McGrath <roland@hack.frob.com>
15202
15203 * locale/programs/locale.c (show_locale_vars): Inline local function
15204 into its sole call site. Clean up some style nits.
15205 (print_item): New function, broken out of ...
15206 (show_info): ... local function here. Clean up style nits.
15207
15208 * locale/programs/ld-ctype.c (set_one_default): New function, broken
15209 out of ...
15210 (set_class_defaults): ... local function set_default here.
15211 Define set_default as a macro locally to pass constant parameters.
15212 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
15213 rather than a shared local.
15214
15215 * stdlib/rpmatch.c (try): New function, broken out of ...
15216 (rpmatch): ... local function here. Also, prototypify definition.
15217
15218 2014-09-12 Joseph Myers <joseph@codesourcery.com>
15219
15220 * scripts/soversions.awk: Do not handle configuration names.
15221 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
15222 vendor and os variables to soversions.awk.
15223 * configure.ac: Do not modify gnu-* host_os.
15224 * configure: Regenerated
15225 * shlib-versions: Remove first column with configuration names.
15226 * nptl/shlib-versions: Likewise.
15227 * nptl_db/shlib-versions: Likewise.
15228 * sysdeps/hppa/shlib-versions: Likewise.
15229 * sysdeps/m68k/shlib-versions: Likewise.
15230 * sysdeps/mach/hurd/shlib-versions: Likewise.
15231 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
15232 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
15233 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
15234 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
15235 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
15236 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
15237 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
15238 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
15239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15240 Likewise.
15241 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15242 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15243 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15244 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15245 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15246 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
15247 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15248 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15249
15250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15251 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
15252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15253 Regenerated.
15254 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
15255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15256 Condition symbol version definitions on [HAVE_ELFV2_ABI].
15257
15258 * shlib-versions: Remove OS-specific entries. Moved to files in
15259 sysdeps.
15260 * sysdeps/mach/hurd/shlib-versions: New file.
15261 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15262
15263 * nptl/shlib-versions: Remove architecture-specific entries.
15264 Moved to files in sysdeps.
15265 * shlib-versions: Likewise.
15266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
15267 file.
15268 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15269 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15270 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15271 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15272
15273 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
15274 (UDP_NO_CHECK6_RX): Likewise.
15275
15276 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15277
15278 * sysdeps/posix/sysconf.c (__sysconf): Spell
15279 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
15280
15281 2014-08-12 Florian Weimer <fweimer@redhat.com>
15282
15283 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
15284 loading.
15285 * iconv/Versions (__gconv_transliterate): Export for use from
15286 gconv modules.
15287 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
15288 (struct __gconv_trans_data, __gconv_trans_fct,
15289 __gconv_trans_context_fct, __gconv_trans_query_fct,
15290 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
15291 definitions.
15292 (struct __gconv_step_data): Remove __trans member.
15293 (__gconv_transliterate): Declaration moved from gconv_int.h. No
15294 longer hidden. Remove unused trans_data argument.
15295 * iconv/gconv_int.h (struct trans_struct): Remove definition.
15296 (__gconv_translit_find): Remove declaration.
15297 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
15298 prototype.
15299 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
15300 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
15301 trans_data argument. Add hidden definition.
15302 (__gconv_translit_find): Remove.
15303 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
15304 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
15305 * iconv/skeleton.c: Remove transliteration initialization.
15306 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
15307 __gconv_step_data initialization.
15308 * libio/iofwide.c (__libio_translit_): Remove.
15309 (_IO_fwide): Adjust struct __gconv_step_data initialization.
15310 * wcsmbs/btowc.c (__btowc): Likewise.
15311 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15312 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15313 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
15314 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
15315 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
15316 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
15317 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
15318 * wcsmbs/wctob.c (wctob): Likewise.
15319
15320 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15321
15322 [BZ #16194]
15323 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
15324 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
15325 register usage.
15326 * sysdeps/x86/Makefile: Adjust.
15327
15328 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15329 Roland McGrath <roland@hack.frob.com>
15330
15331 * locale/weight.h: Add include guard.
15332 (findidx): Make static rather than auto; take new parameters
15333 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
15334 * locale/weightwc.h: Likewise.
15335 * posix/fnmatch_loop.c
15336 (FCT): Change type of EXTRA from int32_t to wint_t.
15337 Don't include either header inside the function.
15338 Call FINDIDX rather than findidx, and pass new arguments.
15339 #undef FINDIDX at the end of the file.
15340 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
15341 FINDIDX before including fnmatch_loop.c for the non-wide version.
15342 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
15343 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
15344 for the wide version.
15345 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
15346 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
15347 Pass new arguments to findidx.
15348 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
15349 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
15350 Don't #include it inside the function. Pass new arguments to findidx.
15351 * posix/regex_internal.h
15352 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
15353 (re_string_elem_size_at): Don't #include it inside the function.
15354 Pass new arguments to findidx.
15355 * string/strcoll_l.c: #include WEIGHT_H at top level.
15356 (get_next_seq): Don't #include it inside the function.
15357 Pass new arguments to findidx.
15358 (get_next_seq_nocache): Likewise.
15359 * string/strxfrm_l.c: #include WEIGHT_H at top level.
15360 (STRXFRM): Don't #include it inside the function.
15361 Pass new arguments to findidx.
15362
15363 2014-09-11 Florian Weimer <fweimer@redhat.com>
15364
15365 [BZ #17344]
15366 * malloc/malloc.c (unlink): Turn asserts into a call to
15367 malloc_printerr.
15368
15369 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
15370
15371 [BZ #17370]
15372 * libio/wfileops (do_ftell_wide): Free OUT.
15373
15374 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
15375
15376 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
15377
15378 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15379
15380 [BZ #17363]
15381 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
15382 group if the current group is empty.
15383
15384 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15385
15386 * benchtests/bench-memset.c (test_main): Add more test from size
15387 from 32 to 512 bytes.
15388 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15389 Add POWER8 memset object.
15390 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15391 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
15392 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
15393 implementation.
15394 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
15395 Likewise.
15396 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
15397 multiarch POWER8 memset optimization.
15398 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
15399 POWER8 memset optimization.
15400
15401 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15402 Remove bzero multiarch objects.
15403 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
15404 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
15405 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
15406 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
15407 Remove define.
15408 [__bzero]: Redefine to specific name.
15409 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
15410 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
15411 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
15412 define.
15413 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15414 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15415
15416 2014-09-10 Florian Weimer <fweimer@redhat.com>
15417
15418 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
15419 warnings into errors.
15420
15421 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
15422 __cxa_thread_atexit_impl prototype.
15423
15424 2014-09-09 Steve Ellcey <sellcey@mips.com>
15425
15426 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
15427 Fix capitalization of error message.
15428
15429 2014-09-09 Steve Ellcey <sellcey@mips.com>
15430
15431 * sysdeps/mips/preconfigure: Modify ABI tests.
15432
15433 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
15434
15435 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
15436
15437 2014-09-07 Roland McGrath <roland@hack.frob.com>
15438 Carlos O'Donell <carlos@systemhalted.org>
15439
15440 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
15441 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
15442 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
15443 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
15444 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
15445 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
15446 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
15447 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
15448 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
15449 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
15450 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
15451 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
15452 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
15453 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
15454 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
15455 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
15456 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
15457 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
15458 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
15459 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
15460 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
15461 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
15462 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
15463 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
15464 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
15465 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
15466 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
15467 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
15468 Deconditionalize the code that was previously under [RESET_PID].
15469 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
15470 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
15471 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
15472 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
15473 include sysdep.h.
15474
15475 2014-09-08 Allan McRae <allan@archlinux.org>
15476
15477 * version.h (RELEASE): Set to "development".
15478 (VERSION): Set to "2.20.90"
15479
15480 2014-09-07 Allan McRae <allan@archlinux.org
15481
15482 * version.h (RELEASE): Set to "stable".
15483 (VERSION): Set to "2.20"
15484 * include/features.h (__GLIBC_MINOR__): Set to 20.
15485
15486 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
15487 Liebler.
15488
15489 * po/ko.po: Update Korean translation from translation project.
15490
15491 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
15492
15493 [BZ #17354]
15494 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
15495 macro for handling signed relocations.
15496
15497 2014-09-03 Florian Weimer <fweimer@redhat.com>
15498
15499 [BZ #17325]
15500 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
15501 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
15502 assert.
15503 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
15504 * iconvdata/ibm935.c (BODY): Likewise.
15505 * iconvdata/ibm937.c (BODY): Likewise.
15506 * iconvdata/ibm939.c (BODY): Likewise.
15507 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
15508 assert.
15509 * iconvdata/Makefile (iconv-test.out): Pass module list to test
15510 script.
15511 * iconvdata/run-iconv-test.sh: New test loop for checking for
15512 decoder crashers.
15513
15514 2014-09-02 Khem Raj <raj.khem@gmail.com>
15515
15516 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
15517 libm_hidden_ver.
15518
15519 2014-09-01 Allan McRae <allan@archlinux.org>
15520
15521 * po/eo.po: Update Esperanto translation from translation project.
15522
15523 * po/ca.po: Update Catalan translation from translation project.
15524
15525 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
15526
15527 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
15528 __proc_dostop call.
15529
15530 2014-08-27 Mark Wielaard <mjw@redhat.com>
15531
15532 [BZ #17319]
15533 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
15534 to call set_thread_area instead of hand written asm.
15535 (__NR_set_thread_area): Removed define.
15536 (TLS_FLAG_WRITABLE): Likewise.
15537 (__ASSUME_SET_THREAD_AREA): Remove check.
15538 (TLS_EBX_ARG): Remove define.
15539 (TLS_LOAD_EBX): Likewise.
15540
15541 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15542
15543 Simplify atomicity of socket creation in bind.
15544
15545 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
15546 looking up the name after linking the file.
15547
15548 2014-08-27 Allan McRae <allan@archlinux.org>
15549
15550 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15551
15552 2014-08-26 Florian Weimer <fweimer@redhat.com>
15553
15554 [BZ #17187]
15555 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
15556 trans_compare, open_translit, __gconv_translit_find):
15557 Remove module loading code.
15558
15559 2014-08-26 Allan McRae <allan@archlinux.org>
15560
15561 * po/vi.po: Update Vietnamese translation from translation project.
15562
15563 * po/uk.po: Update Ukrainian translation from translation project.
15564
15565 * po/fr.po: Update French translation from translation project.
15566
15567 * po/ru.po: Update Russian translation from translation project.
15568
15569 * po/pl.po: Update Polish translation from translation project.
15570
15571 * po/cs.po: Update Czech translation from translation project.
15572
15573 * po/de.po: Update German translation from translation project.
15574
15575 * po/bg.po: Update Bulgarian translation from translation project.
15576
15577 * po/sv.po: Update Sweedish translation from translation project.
15578
15579 * po/nl.po: Update Dutch translation from translation project.
15580
15581 * po/es.po: Update Spanish translation from translation project.
15582
15583 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15584
15585 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
15586
15587 * catgets/Makefile (CPPFLAGS-gencat): Remove.
15588 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
15589 (CPPFLAGS-iconvconfig): Likewise.
15590 * timezone/Makefile (CPPFLAGS-zic): Likewise.
15591
15592 * include/libc-symbols.h: Remove unnecessary check for
15593 NOT_IN_libc.
15594 * nptl/pthreadP.h: Likewise.
15595 * sysdeps/aarch64/setjmp.S: Likewise.
15596 * sysdeps/alpha/setjmp.S: Likewise.
15597 * sysdeps/arm/sysdep.h: Likewise.
15598 * sysdeps/i386/setjmp.S: Likewise.
15599 * sysdeps/m68k/setjmp.c: Likewise.
15600 * sysdeps/posix/getcwd.c: Likewise.
15601 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15602 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
15603 * sysdeps/s390/s390-32/setjmp.S: Likewise.
15604 * sysdeps/s390/s390-64/setjmp.S: Likewise.
15605 * sysdeps/sh/sh3/setjmp.S: Likewise.
15606 * sysdeps/sh/sh4/setjmp.S: Likewise.
15607 * sysdeps/unix/alpha/sysdep.h: Likewise.
15608 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15609 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15610 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
15611 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15614 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15615 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15616 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15617 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15618 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15619 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15620 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15621 * sysdeps/x86_64/setjmp.S: Likewise.
15622
15623 2014-08-13 Joseph Myers <joseph@codesourcery.com>
15624
15625 [BZ #17263]
15626 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
15627 <stdint.h>.
15628 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
15629 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
15630
15631 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15632
15633 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
15634
15635 [BZ #17262]
15636 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
15637 and __x86_64__ when disabling x87 inline functions.
15638
15639 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
15640
15641 [BZ #17259]
15642 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
15643 asm statement with __cpuid_count.
15644
15645 2014-08-12 Mike Frysinger <vapier@gentoo.org>
15646
15647 * configure.ac: Change __ehdr_start code to dereference the struct.
15648 Run readelf on the output to look for relocations.
15649 * configure: Regenerated.
15650
15651 2014-08-12 Joseph Myers <joseph@codesourcery.com>
15652
15653 [BZ #17261]
15654 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
15655 value to 0.
15656 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
15657
15658 2014-08-12 Roland McGrath <roland@hack.frob.com>
15659
15660 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
15661
15662 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
15663
15664 [BZ #16892]
15665 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
15666 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
15667
15668 2014-08-12 Sean Anderson <seanga2@gmail.com>
15669
15670 * malloc/malloc.c: Fix typo in comment.
15671
15672 2014-08-09 Allan McRae <allan@archlinux.org>
15673
15674 * Regenerate libc.po.
15675
15676 2014-08-08 Mike Frysinger <vapier@gentoo.org>
15677
15678 * intl/tst-gettext2.sh: Check every lang file for creation.
15679
15680 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15681
15682 * sysdeps/aarch64/fpu/math_private.h
15683 (libc_feholdsetround_noex_aarch64_ctx): New function.
15684
15685 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15686
15687 * sysdeps/arm/armv6/strcpy.S (strcpy):
15688 Fix performance issue in misaligned cases.
15689
15690 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15691
15692 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
15693 Move definition from termios.h.
15694 (struct termio): Likewise.
15695 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15696 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15697 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15698 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15699 Likewise.
15700 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
15701 Move definition to ioctl-types.h
15702 (struct termio): Likewise.
15703 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15704 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15705 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15706 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15707 Likewise.
15708
15709 2014-08-05 Richard Henderson <rth@redhat.com>
15710
15711 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
15712 exceptions.
15713 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
15714 Add fraiseexcpt.
15715 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
15716 Use __feraiseexcept.
15717 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
15718 Protect libm symbols with IS_IN_libm.
15719
15720 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
15721
15722 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
15723
15724 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
15725
15726 2014-08-04 Will Newton <will.newton@linaro.org>
15727
15728 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
15729 file.
15730
15731 2014-08-04 Mike Frysinger <vapier@gentoo.org>
15732
15733 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
15734 variants for each function.
15735
15736 2014-08-04 Roland McGrath <roland@hack.frob.com>
15737
15738 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
15739 appended ...
15740 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
15741 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
15742 appended ...
15743 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
15744 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
15745 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
15746 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
15747 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
15748 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
15749 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
15750 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
15751 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
15752 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
15753 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
15754 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
15755 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
15756 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
15757 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
15758 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
15759 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
15760 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
15761 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
15762 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
15763 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
15764 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
15765 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
15766 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
15767 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
15768 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
15769 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
15770 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
15771 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
15772 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
15773 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
15774 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
15775 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
15776 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
15777 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
15778 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
15779 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
15780 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
15781 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
15782 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
15783 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
15784 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
15785 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
15786 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
15787 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
15788 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
15789 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
15790 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
15791 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
15792 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
15793 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
15794 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
15795 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
15796 Update #include.
15797 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
15798 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
15799
15800 2014-08-04 Roland McGrath <roland@hack.frob.com>
15801
15802 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
15803 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
15804 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
15805 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
15806 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
15807 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
15808
15809 2014-08-04 Roland McGrath <roland@hack.frob.com>
15810
15811 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
15812 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
15813 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15814 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
15815
15816 2014-08-04 Roland McGrath <roland@hack.frob.com>
15817
15818 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
15819 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
15820 (__libc_vfork): Define function under this name.
15821 (__vfork): Define as an alias.
15822 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
15823 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
15824
15825 2014-08-04 Roland McGrath <roland@hack.frob.com>
15826
15827 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
15828 that was previously under [RESET_PID].
15829 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
15830
15831 2014-08-04 Andreas Schwab <schwab@suse.de>
15832
15833 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
15834
15835 2014-08-03 Mike Frysinger <vapier@gentoo.org>
15836
15837 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
15838 (main): Likewise.
15839
15840 2014-08-01 Roland McGrath <roland@hack.frob.com>
15841
15842 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
15843
15844 2014-08-01 Richard Henderon <rth@redhat.com>
15845
15846 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
15847 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
15848 typo in exact zero test.
15849 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15850 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15851 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15852
15853 2014-08-01 Roland McGrath <roland@hack.frob.com>
15854
15855 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
15856 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
15857 * sysdeps/arm/sysdep.h: ... here.
15858 [!__ASSEMBLER__]: Include <stdint.h>.
15859
15860 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
15861
15862 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
15863 (HAVE_WCTYPE_H): Likewise.
15864 (HAVE_ISWCTYPE): Likewise.
15865 (ENABLE_NLS): Likewise.
15866 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
15867 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
15868
15869 * posix/regex_internal.c: Check if DEBUG is defined and is
15870 set.
15871
15872 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
15873 (HAVE_MBSRTOWCS): Likewise.
15874 * posix/fnmatch.c: Include string.h unconditionally.
15875
15876 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
15877
15878 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
15879 reversal.
15880
15881 2014-07-31 Roland McGrath <roland@hack.frob.com>
15882
15883 * sysdeps/generic/safe-fatal.h: New file.
15884 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
15885 * nptl/forward.c: Include it.
15886 (__pthread_unwind): Use __safe_fatal as default action, rather
15887 than a bogus use of INTERNAL_SYSCALL that could never work.
15888
15889 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
15890 * configure.ac (libc_cv_builtin_trap): New test.
15891 * configure: Regenerated.
15892 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
15893 (ABORT_INSTRUCTION): Define using __builtin_trap.
15894
15895 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
15896 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
15897 * sysdeps/nptl/nptl-signals.h: New file.
15898 * nptl/pthreadP.h: Include <nptl-signals.h>.
15899
15900 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
15901
15902 * sysdeps/s390/s390-64/utf16-utf32-z9.c
15903 (ONE_DIRECTION): Define.
15904 * sysdeps/s390/s390-64/utf8-utf16-z9.c
15905 (ONE_DIRECTION): Define.
15906 * sysdeps/s390/s390-64/utf8-utf32-z9.c
15907 (ONE_DIRECTION): Define.
15908
15909 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
15910
15911 * sysdeps/s390/Makefile: Delete file.
15912 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
15913 * sysdeps/s390/__longjmp.c: Delete file.
15914 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
15915 Remove fields __flags and __reserved.
15916 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
15917 and add versioning.
15918 * sysdeps/s390/rtld-__longjmp.c: Delete file.
15919 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
15920 * sysdeps/s390/rtld-setjmp.S: Likewise.
15921 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
15922 * sysdeps/s390/s390-32/__longjmp.c: ... here.
15923 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
15924 * sysdeps/s390/s390-32/setjmp.S: ... here.
15925 Add versioning.
15926 (__sigsetjmp): Remove setting __flags field.
15927 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
15928 * sysdeps/s390/s390-64/__longjmp.c: ... here.
15929 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
15930 * sysdeps/s390/s390-64/setjmp.S: ... here.
15931 Add versioning.
15932 (__sigsetjmp): Remove setting __flags field.
15933 * sysdeps/s390/setjmp.S: Delete file.
15934 * sysdeps/s390/sigjmp.c: Likewise.
15935 * sysdeps/s390/v1-longjmp.c: Likewise.
15936 * sysdeps/s390/v1-setjmp.h: Likewise.
15937 * sysdeps/s390/v1-sigjmp.c: Likewise.
15938 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
15939 Remove v1-longjmp_chk.
15940 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
15941 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
15942 Include debug/longjmp_chk.c and add versioning.
15943 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
15944 Include nptl/pt-longjmp.c and add versioning.
15945 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
15946 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
15947 Include __longjmp.c.
15948 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15949 Move to ...
15950 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
15951 (__getcontext): Remove setting __flags field.
15952 Add versioning.
15953 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15954 Don't restore upper high grps.
15955 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
15956 Likewise.
15957 (__swapcontext): Remove setting uc_flags field.
15958 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
15959 Delete file.
15960 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15961 Include __longjmp.c.
15962 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15963 Move to ...
15964 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
15965 (__getcontext): Remove setting __flags field.
15966 Add versioning.
15967 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
15968 (__swapcontext): Remove setting uc_flags field.
15969 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
15970 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
15971 Remove fields uc_high_gprs and __reserved.
15972 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
15973 New file with reverted content.
15974 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
15975 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
15976 Regenerated.
15977 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
15978 Regenerated.
15979
15980 2014-07-31 Andreas Schwab <schwab@suse.de>
15981
15982 * config.h.in (HAVE_IFUNC): Define to 0.
15983 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
15984 definedness.
15985
15986 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
15987
15988 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15989 memmove-avx-unaligned, memcpy-avx-unaligned and
15990 mempcpy-avx-unaligned.
15991 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15992 Add tests for AVX memcpy functions.
15993 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
15994 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
15995 memcpy_chk.
15996 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
15997 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
15998 memmove_chk.
15999 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
16000 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
16001 mempcpy_chk.
16002 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
16003 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
16004 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
16005
16006 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16007
16008 [BZ #17213]
16009 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
16010 powerpc64le.
16011
16012 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
16013
16014 [BZ #16839]
16015 * manual/llio.texi: Add section about open file description locks.
16016 * manual/examples/ofdlocks.c: Example of open file description
16017 lock usage.
16018 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
16019 F_OFD_SETLK, and F_OFD_SETLKW.
16020
16021 2014-07-23 Allan McRae <allan@archlinux.org>
16022
16023 * po/es.po: Update Spanish translation from translation project.
16024
16025 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
16026
16027 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
16028
16029 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
16030
16031 [BZ #17078]
16032 * sysdeps/arm/dl-machine.h (elf_machine_rela)
16033 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
16034 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
16035
16036 2014-07-17 Joseph Myers <joseph@codesourcery.com>
16037
16038 [BZ #17088]
16039 * math/fesetenv.c (__fesetenv)
16040 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
16041 * math/feupdateenv.c (__feupdateenv)
16042 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
16043
16044 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
16045 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16046 (__ASSUME_SOCKETCALL): Do not define.
16047
16048 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
16049 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
16050 (__ASSUME_SOCKETCALL): Do not define.
16051 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
16052 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16053 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16054 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16055 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16056 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
16057 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16058 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16059
16060 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
16061 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
16062 (__ASSUME_SOCKETCALL): Do not define.
16063 (__ASSUME_IPC64): Define unconditionally.
16064 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16065 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16066 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16067 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16068 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
16069 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16070 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
16071 Likewise.
16072
16073 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
16074 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
16075 (__ASSUME_SOCKETCALL): Do not define.
16076 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
16077 (__ASSUME_FUTEX_LOCK_PI): Likewise.
16078 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16079 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16080 (__ASSUME_REQUEUE_PI): Define unconditionally.
16081 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
16082 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16083 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16084 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
16085 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16086 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16087
16088 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
16089 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
16090 (__ASSUME_SOCKETCALL): Do not define.
16091 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
16092 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16093 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16094 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
16095 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16096 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16097
16098 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
16099 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
16100 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16101 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
16102 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16103 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
16104 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16105 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
16106 (__ASSUME_GETCPU_SYSCALL): Likewise.
16107
16108 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
16109 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
16110 cases for individual architectures.
16111 * sysdeps/gnu/configure: Regenerated.
16112 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
16113 LIBC_SLIBDIR_RTLDDIR.
16114 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
16115 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
16116 LIBC_SLIBDIR_RTLDDIR.
16117 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
16118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
16119 LIBC_SLIBDIR_RTLDDIR.
16120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16121 Regenerated.
16122 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
16123 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
16124 file.
16125 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
16126 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
16127 file.
16128 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
16129 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
16130 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
16131 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
16132
16133 * sysdeps/aarch64/shlib-versions: Move to ...
16134 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
16135 * sysdeps/alpha/shlib-versions: Move to ...
16136 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
16137 * sysdeps/arm/shlib-versions: Move to ...
16138 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
16139 * sysdeps/hppa/shlib-versions: Move all contents except for
16140 libgcc_s entry to ...
16141 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
16142 entry from ...
16143 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
16144 * sysdeps/ia64/shlib-versions: Move to ...
16145 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
16146 entry from ...
16147 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
16148 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
16149 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
16150 * sysdeps/microblaze/shlib-versions: Move to ...
16151 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
16152 * sysdeps/mips/shlib-versions: Move to ...
16153 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
16154 entry from ...
16155 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
16156 * sysdeps/tile/shlib-versions: Move to ...
16157 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
16158 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
16159 from ...
16160 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
16161 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
16162 entry from ...
16163 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
16164
16165 2014-07-17 Will Newton <will.newton@linaro.org>
16166
16167 * sysdeps/arm/bits/atomic.h
16168 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
16169 (__arch_compare_and_exchange_bool_16_int): Likewise.
16170 (__arch_compare_and_exchange_bool_64_int): Likewise.
16171
16172 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
16173 into an #else block.
16174
16175 2014-07-16 Roland McGrath <roland@hack.frob.com>
16176
16177 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
16178 just Linux configurations. Test empirically that the compiler sets
16179 __ARM_EABI__, rather than using the tuple to decide.
16180 * sysdeps/arm/preconfigure: Regenerated.
16181 * sysdeps/unix/sysv/linux/arm/configure: File removed.
16182 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
16183 contents appended ...
16184 * sysdeps/arm/configure.ac: ... here.
16185 * sysdeps/arm/configure: Regenerated.
16186
16187 2014-07-15 Roland McGrath <roland@hack.frob.com>
16188
16189 * nptl/pthread_kill.c: New file.
16190 * nptl/pthread_sigmask.c: New file.
16191 * nptl/pthread_sigqueue.c: New file.
16192
16193 * sysdeps/nptl/lowlevellock.h: New file.
16194 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
16195 * sysdeps/nptl/lowlevellock-futex.h: New file.
16196
16197 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
16198 Remove dead declarations.
16199
16200 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
16201
16202 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
16203 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
16204 config-cflags-avx2.
16205 * sysdeps/x86_64/configure.ac: Likewise.
16206 * sysdeps/i386/configure: Regenerated.
16207 * sysdeps/x86_64/configure: Likewise.
16208 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16209 memset-avx2 only if config-cflags-avx2 is yes.
16210 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16211 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
16212 defined.
16213 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
16214 only if HAVE_AVX2_SUPPORT is defined.
16215 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16216
16217 2014-07-14 Alan Modra <amodra@gmail.com>
16218
16219 [BZ #17153]
16220 * elf/elf.h (DT_PPC64_NUM): Correct value.
16221 * NEWS: Add to fixed bug list.
16222
16223 2014-07-13 Jim Meyering <meyering@fb.com>
16224
16225 [BZ 17150]
16226 regex: don't deref NULL upon heap allocation failure
16227 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
16228 failure in one more place.
16229 To trigger the segfault, configure grep -with-included-regex,
16230 build it, and run these commands:
16231 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
16232
16233 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
16234
16235 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16236
16237 2014-07-11 Richard Henderson <rth@redhat.com>
16238
16239 * sysdeps/aarch64/libm-test-ulps: Update.
16240
16241 2014-07-10 Florian Weimer <fweimer@redhat.com>
16242
16243 [BZ #17135]
16244 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
16245 * nptl/allocatestack.c (__nptl_setxid_error): New function.
16246 (__nptl_setxid): Initialize error member. Call
16247 __nptl_setxid_error.
16248 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
16249 * nptl/descr.h (struct xid_command): Add error member.
16250 * nptl/tst-setuid3.c: New file.
16251 * nptl/Makefile (tests): Add it.
16252
16253 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16254
16255 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
16256 New define.
16257 (__lll_trylock): Use __lll_base_trylock.
16258 (__lll_cond_trylock): Likewise.
16259
16260 2014-07-10 Roland McGrath <roland@hack.frob.com>
16261
16262 * nptl/pthread_create.c (start_thread): Use atomic_or and
16263 lll_futex_wake directly rather than lll_robust_dead.
16264 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16265 (lll_robust_dead): Macro removed.
16266 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
16267 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16268 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16269 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16270 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16271 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16272 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16273 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16274 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16275 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16276 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16277 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16278 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16279 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16280 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16281
16282 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16283 Use atomic_compare_and_exchange_val_acq directly rather than
16284 lll_robust_trylock.
16285 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16286 (__lll_robust_trylock, lll_robust_trylock): Removed.
16287 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16288 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16289 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16290 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16291 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16292 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16293 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16294 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16295 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16296 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16297 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16298 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16299 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16300 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16301
16302 2014-07-02 Florian Weimer <fweimer@redhat.com>
16303
16304 * manual/locale.texi (Locale Names): New section documenting
16305 locale name syntax. Adjust menu and node chaining accordingly.
16306 (Choosing Locale): Reference Locale Names, Locale Categories.
16307 Mention setting LC_ALL=C. Reflect that name syntax is now
16308 documented.
16309 (Locale Categories): New section title. Reference Locale Names.
16310 LC_ALL is an environment variable, but not a category.
16311 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
16312 description, now in Locale Name. Reference that section. Locale
16313 name syntax is now documented.
16314
16315 2014-07-02 Florian Weimer <fweimer@redhat.com>
16316
16317 [BZ #17137]
16318 * locale/findlocale.c (name_present, valid_locale_name): New
16319 functions.
16320 (_nl_find_locale): Use the loc_name variable to store name
16321 candidates. Call name_present and valid_locale_name to check and
16322 validate locale names. Return an error if the locale is invalid.
16323
16324 2014-07-02 Florian Weimer <fweimer@redhat.com>
16325
16326 * locale/setlocale.c (setlocale): Use strdup for allocating
16327 composite name copy.
16328
16329 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16330
16331 Sync up with gnulib.
16332 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
16333 [!_LIBC && ENABLE_NLS]: Include gettext.h.
16334 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
16335 and _GL_ARG_NONNULL.
16336 [USE_UNLOCKED_IO]: Include unlocked-io.h.
16337 [!_LIBC]: Include code for Windows and Cygwin.
16338 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
16339 Include prototype for int strerror_r.
16340 [!_LIBC] (is_open): New function.
16341 (flush_stdout): New function.
16342 (print_errno_message): Use it.
16343 (error): Likewise.
16344 (error_at_line): Likewise.
16345 (error_tail) Add function attribute macros. Use
16346 __builtin_expect.
16347
16348 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
16349
16350 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
16351
16352 * io/ftw.c: Include sys/param.h unconditionally.
16353
16354 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
16355
16356 [BZ #17125]
16357 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
16358 libc_freeres_ptr.
16359 (freecache): New function to free CACHE on exit.
16360
16361 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
16362 initialization.
16363
16364 2014-07-09 David S. Miller <davem@davemloft.net>
16365
16366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16367
16368 * sysdeps/sparc/nptl/internaltypes.h: Delete.
16369 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
16370 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
16371 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
16372 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
16373 * sysdeps/sparc/nptl/sem_init.c: Likewise.
16374 * sysdeps/sparc/nptl/sem_post.c: Likewise.
16375 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
16376 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
16377 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
16378 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
16379 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
16380 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
16381
16382 2014-07-09 Andreas Schwab <schwab@suse.de>
16383
16384 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
16385 output.
16386 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
16387 (do_test): Likewise.
16388
16389 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16390
16391 2014-07-09 Will Newton <will.newton@linaro.org>
16392
16393 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
16394 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
16395 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
16396 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
16397 * sysdeps/hppa/start.S (_start): Likewise.
16398
16399 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16400
16401 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
16402
16403 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
16404 defined.
16405
16406 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16407
16408 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
16409 after checking that it is non-NULL.
16410
16411 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
16412
16413 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16414
16415 * sysdeps/powerpc/memmove.c: Remove file.
16416 * sysdeps/powerpc/powerpc32/power4/memcopy.h
16417 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
16418 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16419 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
16420 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
16421 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
16422 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
16423 string memmove instead of removed powerpc one.
16424
16425 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16426 [weak_alias]: Fix compiler warning due trailing data.
16427 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
16428 [weak_alias]: Likewise.
16429 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
16430 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
16431
16432 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16433 (__libc_ifunc_impl_list): Add memmove functions.
16434
16435 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16436
16437 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
16438 Remove code.
16439 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
16440 Likewise
16441 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
16442 Likewise
16443 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
16444 Likewise
16445 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
16446 Likewise
16447 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
16448 Likewise
16449 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
16450 Likewise
16451 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
16452 Likewise
16453 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
16454 Likewise
16455 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
16456 Likewise
16457 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
16458 Likewise
16459 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
16460 Likewise
16461 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
16462 Likewise
16463 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
16464 Likewise
16465 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
16466 Likewise
16467 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
16468 Likewise
16469 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
16470 Likewise
16471
16472 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16473
16474 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
16475 to avoid alignment traps in non-cacheable memory.
16476 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16477
16478 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
16479 multiarch objects.
16480 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
16481 file: multiarch power7 memmove.
16482 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
16483 multiarch default memmove.
16484 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
16485 multiarch memove for powerpc32/power4.
16486
16487 * string/bcopy.c: Use full path to include memmove.c.
16488 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
16489 multiarch objects.
16490 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
16491 bcopy for powerpc64.
16492 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
16493 bcopy for powerpc64.
16494 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
16495 and memmove implementations.
16496 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
16497 optimized multiarch memmove for POWER7/powerpc64.
16498 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
16499 default multiarch memmove for powerpc64.
16500 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
16501 multiarch for powerpc64.
16502 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
16503 for POWER7/powerpc64.
16504 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
16505 memmove for POWER7/powerpc64.
16506
16507 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
16508 glibc default one.
16509
16510 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
16511 __ELF_NATIVE_CLASS equal to 64.
16512
16513 2014-07-07 Roland McGrath <roland@hack.frob.com>
16514
16515 * sysdeps/nptl/lowlevellock.h: File removed.
16516
16517 * NEWS: NPTL is no longer an add-on!
16518 * nptl/internaltypes.h: Moved ...
16519 * sysdeps/nptl/internaltypes.h: ... here.
16520 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
16521 * sysdeps/nptl/fork.c: Likewise.
16522 * sysdeps/nptl/gai_misc.h: Likewise.
16523 * sysdeps/nptl/librt-cancellation.c: Likewise.
16524 * sysdeps/nptl/jmp-unwind.c: Likewise.
16525 * sysdeps/nptl/setxid.h: Likewise.
16526 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
16527 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
16528 * sysdeps/unix/sysv/linux/arm/Implies: New file.
16529 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
16530 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
16531 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
16532 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
16533 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
16534 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
16535 * sysdeps/unix/sysv/linux/mips/Implies: New file.
16536 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
16537 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
16538 * sysdeps/unix/sysv/linux/sh/Implies: New file.
16539 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
16540 * sysdeps/unix/sysv/linux/tile/Implies: New file.
16541 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
16542 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
16543 * nptl/Makeconfig: Moved ...
16544 * sysdeps/nptl/Makeconfig: ... here.
16545 * nptl/configure: File removed.
16546 * nptl/ANNOUNCE: File removed.
16547 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
16548 * sysdeps/unix/sysv/linux/configure: Regenerated.
16549
16550 * nptl/Makefile (routines): Add libc_pthread_init,
16551 libc_multiple_threads, register-atfork and unregister-atfork.
16552 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
16553 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
16554 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
16555 pthread-pi-defines.sym, structsem.sym.
16556 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
16557 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
16558 [$(subdir) = nptl] (tests): Add tst-setgetname.
16559 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
16560 * sysdeps/unix/sysv/linux/sigaction.c: Just include
16561 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
16562 [!LIBC_SIGACTION]: Remove aliases.
16563 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16564 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16565 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16566 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
16567 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16568 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16569 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16570 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16571 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16572 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
16573 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
16574 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
16575 __libc_allocate_rtsig_private.
16576 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
16577 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
16578 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
16579 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
16580 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
16581 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
16582 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
16583 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
16584 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
16585 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
16586 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
16587 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
16588 * nptl/internaltypes.h: ... here.
16589 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
16590 * sysdeps/nptl/jmp-unwind.c: ... here.
16591 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
16592 * nptl/libc-lowlevellock.c: ... here.
16593 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
16594 * nptl/libc_multiple_threads.c: ... here.
16595 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
16596 * nptl/libc_pthread_init.c: ... here.
16597 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
16598 * nptl/lowlevelbarrier.sym: ... here.
16599 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
16600 * nptl/lowlevelcond.sym: ... here.
16601 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
16602 * nptl/lowlevellock.c: ... here.
16603 * nptl/lowlevellock.h: Moved ...
16604 * sysdeps/nptl/lowlevellock.h: ... here.
16605 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
16606 * nptl/lowlevelrobustlock.c: ... here.
16607 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
16608 * nptl/lowlevelrobustlock.sym: ... here.
16609 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
16610 * nptl/lowlevelrwlock.sym: ... here.
16611 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
16612 * nptl/pt-fork.c: ... here.
16613 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
16614 * nptl/pthread-pi-defines.sym: ... here.
16615 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
16616 * nptl/pthread_attr_getaffinity.c: ... here.
16617 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
16618 * nptl/pthread_attr_setaffinity.c: ... here.
16619 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
16620 * nptl/pthread_mutex_cond_lock.c: ... here.
16621 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16622 Update #include.
16623 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
16624 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
16625 * nptl/pthread_once.c: ... here, replacing old file.
16626 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
16627 * nptl/pthread_yield.c: ... here.
16628 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
16629 * nptl/register-atfork.c: ... here.
16630 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
16631 * nptl/sem_post.c: ... here.
16632 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
16633 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
16634 * nptl/sem_timedwait.c: ... here.
16635 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
16636 * nptl/sem_trywait.c: ... here.
16637 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
16638 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
16639 * nptl/sem_wait.c: ... here.
16640 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
16641 * nptl/structsem.sym: ... here.
16642 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
16643 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
16644 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
16645 * nptl/unregister-atfork.c: ... here.
16646 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
16647 * nptl/unwindbuf.sym: ... here.
16648 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
16649 * sysdeps/nptl/fork.c: ... here.
16650 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
16651 * sysdeps/nptl/fork.h: ... here.
16652 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
16653 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
16654 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
16655 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
16656 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
16657 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
16658 * sysdeps/unix/sysv/linux/getpid.c: ... here.
16659 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
16660 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
16661 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
16662 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
16663 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
16664 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
16665 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
16666 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
16667 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
16668 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
16669 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
16670 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
16671 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
16672 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
16673 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
16674 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
16675 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
16676 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
16677 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
16678 * sysdeps/unix/sysv/linux/raise.c: ... here.
16679 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
16680 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
16681 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
16682 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
16683 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
16684 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
16685 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
16686 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
16687 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
16688 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
16689 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
16690 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
16691 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
16692 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
16693 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
16694
16695 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16696
16697 * sysdeps/generic/memcopy.h: Add comment for
16698 MEMCPY_OK_FOR_FWD_MEMMOVE.
16699
16700 2014-07-04 Will Newton <will.newton@linaro.org>
16701
16702 * string/memchr.c: Merge from gnulib.
16703 [_LIBC]: Remove conditionals.
16704 (__ptr_t): Remove define.
16705 (LONG_MAX_32_BITS): Likewise.
16706 (LONG_MAX): Likewise.
16707 (MEMCHR): Use ANSI prototype and optimize algorithm.
16708
16709 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
16710
16711 2014-07-03 Roland McGrath <roland@hack.frob.com>
16712
16713 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
16714 (lll_futex_timed_wait_bitset): Fix syscall argument count.
16715
16716 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
16717 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
16718 in a bare environment with no <stdlib.h> installed.
16719 * sysdeps/nptl/configure: Regenerated.
16720
16721 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
16722
16723 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
16724 AC_EGREP_CPP for kernel header checks, so they only succeed if
16725 including <linux/version.h> actually works right.
16726 * sysdeps/unix/sysv/linux/configure: Regenerated.
16727
16728 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
16729 value so it's not diagnosed as unused.
16730
16731 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
16732 thing) with "ifeq ($(subdir),rt)".
16733
16734 2014-07-03 Richard Henderson <rth@redhat.com>
16735
16736 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
16737 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
16738 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
16739
16740 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
16741 (math_force_eval): New.
16742
16743 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
16744 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
16745
16746 * sysdeps/alpha/fpu/s_round.c: Remove file.
16747 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
16748
16749 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
16750 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
16751 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
16752 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
16753 (_dl_start, print_statistics): Likewise.
16754 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
16755 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
16756
16757 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16758 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16759 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16760 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16761 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16762 (HP_SMALL_TIMING_AVAIL): Define.
16763 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16764 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16765 (HP_SMALL_TIMING_AVAIL): Define.
16766 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16767 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16768
16769 * sysdeps/aarch64/hp-timing.h: New file.
16770
16771 * sysdeps/generic/hp-timing.h: Remove dead comment.
16772 * sysdeps/generic/hp-timing-common.h: New file.
16773 * sysdeps/alpha/hp-timing.h: Include it.
16774 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
16775 * sysdeps/i386/i686/hp-timing.h: Likewise.
16776 * sysdeps/ia64/hp-timing.h: Likewise.
16777 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16778 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16779 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16780 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16781 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
16782 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
16783 (hp_timing_t): New.
16784
16785 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
16786 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
16787 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
16788 * elf/rtld.c (_dl_start_final): Likewise.
16789 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
16790 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16791 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16792 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16793 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16794 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16795 (HP_TIMING_DIFF_INIT): Remove.
16796 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16797 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16798 (HP_TIMING_DIFF_INIT): Remove.
16799 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16800 * sysdeps/i386/i686/hp-timing.c: Remove file.
16801 * sysdeps/x86_64/hp-timing.c: Remove file.
16802 * sysdeps/ia64/hp-timing.c: Remove file.
16803 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
16804 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
16805 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
16806 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
16807
16808 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
16809 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
16810 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
16811 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16812 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16813 (HP_TIMING_ACCUM): Remove.
16814 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16815 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
16816 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16817
16818 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
16819 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
16820 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
16821 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
16822 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
16823 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16824 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
16825 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16826
16827 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
16828
16829 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
16830
16831 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
16832
16833 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16834
16835 Sync up with gettext.
16836 * intl/loadmsgcat.c: Define O_BINARY if not defined.
16837 [_MSC_VER]: Include malloc.h
16838 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
16839 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
16840 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
16841 TEMP_FAILURE_RETRY. Cast return of alloca.
16842 [!_LIBC] Call gl_rwlock_init.
16843 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
16844
16845 2014-07-02 Roland McGrath <roland@hack.frob.com>
16846
16847 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
16848 before checking its value.
16849
16850 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16851
16852 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
16853
16854 * debug/memcpy_chk.c: Don't include pagecopy.h.
16855 * debug/mempcpy_chk.c: Likewise.
16856 * string/memcpy.c: Likewise.
16857 * string/memmove.c: Likewise.
16858 * sysdeps/powerpc/memmove.c: Likewise.
16859 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
16860 definition of PAGE_COPY_FWD_MAYBE here...
16861 * sysdeps/generic/pagecopy.h: ... from here.
16862 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
16863
16864 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16865 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16866
16867 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
16868 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
16869 optimizations.
16870 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16871 (__libc_ifunc_impl_list): Likewise.
16872 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
16873 multiarch strcat for PPC64.
16874 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
16875 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
16876
16877 2014-07-02 Roland McGrath <roland@hack.frob.com>
16878
16879 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
16880
16881 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16882
16883 * intl/loadmsgcat.c: Remove declaration of
16884 get_sysdep_segment_value.
16885 (get_sysdep_segment_value): Use ISO C style.
16886 (_nl_load_domain): Use ISO C style. Get rid of redundant
16887 semicolon. Fix typo and formatting in comment.
16888 (_nl_unload_domain): Use ISO C style.
16889
16890 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
16891
16892 2014-07-02 Will Newton <will.newton@linaro.org>
16893
16894 * malloc/obstack.c: Merge from gnulib master.
16895 [HAVE_CONFIG_H]: Remove conditional code.
16896 [!_LIBC]: Include config.h.
16897 [!ELIDE_CODE]: Don't include inttypes.h, include
16898 stdint.h unconditionally.
16899 (print_and_abort): Mark as _Noreturn.
16900 (_obstack_allocated_p): Mark as __attribute_pure__.
16901 (obstack_free): Rename to __obstack_free.
16902 [!__attribute__]: Remove conditional code.
16903 * malloc/obstack.h: Merge from gnulib master.
16904 [__cplusplus]: Move conditional down.
16905 [!__attribute_pure__]: Define __attribute_pure__ here
16906 if it is not already defined.
16907 (_obstack_memory_used): Mark as __attribute_pure__.
16908 [!__obstack_free]: Define as obstack_free.
16909 [__GNUC__]: Remove check for ancient NeXT gcc.
16910
16911 2014-07-02 Will Newton <will.newton@linaro.org>
16912 Paul Eggert <eggert@cs.ucla.edu>
16913
16914 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
16915
16916 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16917
16918 * resolv/gethnamaddr.c: Add comment warning that the file is
16919 not maintained.
16920
16921 2014-07-01 Carlos O'Donell <carlos@redhat.com>
16922
16923 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
16924 entries.
16925
16926 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
16927 entry for aio_cancel and aio_cancel64.
16928 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
16929 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
16930 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
16931 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
16932 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
16933 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
16934 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
16935 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
16936 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
16937 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
16938 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
16939 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
16940 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
16941
16942 2014-07-01 Roland McGrath <roland@hack.frob.com>
16943
16944 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
16945 * nptl/pthread_mutex_lock.c: Likewise.
16946 * nptl/pthread_mutex_timedlock.c: Likewise.
16947 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
16948
16949 2014-07-01 Richard henderson <rth@redhat.com>
16950
16951 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
16952 (__isnan, __isnanl): Remove.
16953 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
16954
16955 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16956
16957 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
16958
16959 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16960
16961 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16962
16963 * resolv/nss_dns/dns-host.c (getanswer_r)
16964 [MULTI_PTRS_ARE_ALIASES]: Remove code.
16965
16966 2014-07-01 Joseph Myers <joseph@codesourcery.com>
16967
16968 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16969 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
16970 undefine.
16971 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
16972 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
16973
16974 2014-07-01 Roland McGrath <roland@hack.frob.com>
16975
16976 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
16977 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
16978
16979 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
16980 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
16981
16982 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
16983 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
16984 ... here.
16985 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
16986 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
16987
16988 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
16989 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
16990 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
16991 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
16992
16993 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
16994 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
16995 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
16996 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
16997 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
16998 Moved ...
16999 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
17000 ... here.
17001 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
17002 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
17003 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
17004 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
17005 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
17006 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
17007 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
17008 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
17009 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
17010 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
17011 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
17012 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
17013 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
17014 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
17015 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
17016 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
17017 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
17018 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
17019 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
17020 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
17021 ... here.
17022 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
17023 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
17024 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
17025 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
17026 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
17027 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
17028 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
17029 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
17030
17031 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
17032
17033 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
17034 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
17035 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
17036 Add sysdep.
17037
17038 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17039
17040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17041
17042 2014-06-30 Joseph Myers <joseph@codesourcery.com>
17043
17044 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17045 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17046
17047 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17048
17049 * sysdeps/arm/libm-test-ulps: Regenerated.
17050
17051 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
17052 Roland McGrath <roland@hack.frob.com>
17053
17054 * test-skeleton.c (signal_handler): Kill the whole process group
17055 before killing the child individually.
17056 (main): Report any failure on `setpgid'.
17057
17058 2014-06-30 Roland McGrath <roland@hack.frob.com>
17059
17060 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
17061 from _TLS_H to _ARM_NPTL_TLS_H.
17062 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
17063 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
17064
17065 2014-06-30 Joseph Myers <joseph@codesourcery.com>
17066
17067 [BZ #16539]
17068 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
17069 (__expm1l): Return argument unchanged when small but not
17070 subnormal.
17071
17072 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
17073 include macro name.
17074 (_FP_UNPACK_RAW_1_P): Likewise.
17075 (_FP_PACK_RAW_1): Likewise.
17076 (_FP_PACK_RAW_1_P): Likewise.
17077 (_FP_MUL_MEAT_1_wide): Likewise.
17078 (_FP_MUL_MEAT_DW_1_hard): Likewise.
17079 (_FP_MUL_MEAT_1_hard): Likewise.
17080 (_FP_DIV_MEAT_1_imm): Likewise.
17081 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
17082 (_FP_DIV_MEAT_1_udiv): Likewise.
17083 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
17084 (_FP_UNPACK_RAW_2): Likewise.
17085 (_FP_UNPACK_RAW_2_P): Likewise.
17086 (_FP_PACK_RAW_2): Likewise.
17087 (_FP_PACK_RAW_2_P): Likewise.
17088 (_FP_MUL_MEAT_DW_2_wide): Likewise.
17089 (_FP_MUL_MEAT_2_wide): Likewise.
17090 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
17091 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
17092 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
17093 (_FP_MUL_MEAT_2_gmp): Likewise.
17094 (_FP_DIV_MEAT_2_udiv): Likewise.
17095 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
17096 (_FP_FRAC_SRL_4): Likewise.
17097 (_FP_FRAC_SRST_4): Likewise.
17098 (_FP_FRAC_SRS_4): Likewise.
17099 (_FP_UNPACK_RAW_4): Likewise.
17100 (_FP_UNPACK_RAW_4_P): Likewise.
17101 (_FP_PACK_RAW_4): Likewise.
17102 (_FP_PACK_RAW_4_P): Likewise.
17103 (_FP_MUL_MEAT_DW_4_wide): Likewise.
17104 (_FP_MUL_MEAT_4_wide): Likewise.
17105 (_FP_MUL_MEAT_4_gmp): Likewise.
17106 (umul_ppppmnnn): Likewise.
17107 (_FP_DIV_MEAT_4_udiv): Likewise.
17108 (__FP_FRAC_ADD_4): Likewise.
17109 (__FP_FRAC_SUB_3): Likewise.
17110 (__FP_FRAC_SUB_4): Likewise.
17111 (__FP_FRAC_DEC_3): Likewise.
17112 (__FP_FRAC_DEC_4): Likewise.
17113 (__FP_FRAC_ADDI_4): Likewise.
17114 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
17115 (_FP_FRAC_SRL_8): Likewise.
17116 (_FP_FRAC_SRS_8): Likewise.
17117
17118 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
17119 include macro name.
17120 (FP_UNPACK_RAW_EP): Likewise.
17121 (FP_PACK_RAW_E): Likewise.
17122 (FP_PACK_RAW_EP): Likewise.
17123 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
17124 (_FP_ISSIGNAN): Likewise.
17125 (_FP_ADD_INTERNAL): Likewise.
17126 (_FP_FMA): Likewise.
17127 (_FP_CMP): Likewise.
17128 (_FP_SQRT): Likewise.
17129 (_FP_TO_INT): Likewise.
17130 (_FP_FROM_INT): Likewise.
17131 (FP_EXTEND): Likewise.
17132 (_FP_DIV_MEAT_N_loop): Likewise.
17133
17134 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
17135
17136 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
17137 throughout.
17138
17139 2014-06-29 Joseph Myers <joseph@codesourcery.com>
17140
17141 [BZ #17097]
17142 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
17143 result with correct sign in case of exponents that produce
17144 overflow except for X very close to 1.
17145
17146 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
17147
17148 mktime: merge #if/#ifdef usage from glibc
17149 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
17150 as that works with both Glibc's and Gnulib's style.
17151 See thread starting at Siddhesh Poyarekar's bug report at:
17152 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
17153
17154 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17155
17156 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
17157 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
17158 * sysdeps/tile/tilegx/memmove.c: Remove file.
17159
17160 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17161
17162 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
17163 abi-name definition.
17164 * scripts/soversions.awk: Do not handle or generate ABI lines.
17165 * shlib-versions: Remove ABI entries.
17166 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
17167 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
17168
17169 2014-06-27 Roland McGrath <roland@hack.frob.com>
17170
17171 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
17172 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
17173 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
17174 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
17175 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
17176 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
17177 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
17178 Moved ...
17179 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17180 ... here.
17181 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
17182 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
17183 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
17184 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
17185 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
17186 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
17187 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
17188 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
17189 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
17190 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
17191 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
17192 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
17193 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
17194 Moved ...
17195 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
17196 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
17197 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
17198 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
17199 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
17200 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
17201 Moved ...
17202 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
17203 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
17204 Moved ...
17205 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
17206 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
17207 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
17208 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
17209 Moved ...
17210 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
17211 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
17212 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
17213 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
17214 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
17215 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
17216 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
17217 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
17218 Moved ...
17219 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
17220 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
17221 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
17222 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
17223 Moved ...
17224 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
17225 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
17226 Moved ...
17227 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
17228 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
17229 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
17230 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
17231 Moved ...
17232 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17233 ... here.
17234 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
17235 Identical file removed.
17236 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
17237 Moved ...
17238 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
17239 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
17240 Identical file removed.
17241 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
17242 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
17243 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
17244 Moved ...
17245 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
17246 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
17247 Identical file removed.
17248 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
17249 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
17250 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
17251 Identical file removed.
17252 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
17253 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
17254 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
17255 Identical file removed.
17256 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
17257 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
17258 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
17259 Identical file removed.
17260 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
17261 Moved ...
17262 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
17263 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
17264 Identical file removed.
17265 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
17266 Moved ...
17267 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
17268 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
17269 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
17270 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
17271 Identical file removed.
17272 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
17273 Moved ...
17274 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
17275 ... here.
17276 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
17277 Identical file removed.
17278 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
17279 Moved ...
17280 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
17281 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
17282 Identical file removed.
17283 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
17284 Moved ...
17285 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
17286 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
17287 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
17288 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
17289 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
17290 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
17291 Moved ...
17292 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
17293 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
17294 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
17295
17296 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
17297 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
17298 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
17299 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
17300 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
17301
17302 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
17303
17304 [BZ #17092]
17305 * nscd/nscd.c (monitor_child): Return exit status of child
17306 instead of return value from wait syscall.
17307
17308 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17309
17310 * configure.ac (libc_commonpagesize): Remove variable.
17311 (libc_relro_required): Likewise.
17312 (libc_cv_z_relro): Remove configure test.
17313 * configure: Regenerated.
17314 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
17315 variable.
17316 (libc_relro_required): Likewise.
17317 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
17318 (libc_relro_required): Likewise.
17319 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
17320 (libc_relro_required): Likewise.
17321 * sysdeps/arm/preconfigure: Regenerated.
17322 * sysdeps/ia64/preconfigure: Remove file.
17323 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
17324 variable.
17325 (libc_relro_required): Likewise.
17326
17327 [BZ #16561]
17328 [BZ #16562]
17329 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
17330 (__ieee754_yn): Set FE_TONEAREST mode internally and then
17331 recompute overflowing results in original rounding mode.
17332 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
17333 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
17334 recompute overflowing results in original rounding mode.
17335 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
17336 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17337 recompute overflowing results in original rounding mode.
17338 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
17339 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17340 recompute overflowing results in original rounding mode.
17341 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
17342 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17343 recompute overflowing results in original rounding mode.
17344 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
17345 (libc_feholdsetround_ctx): New macro.
17346 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
17347 * sysdeps/i386/fpu/libm-test-ulps: Update.
17348 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
17349
17350 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17351
17352 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
17353 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
17354 corresponding .cpsetup call.
17355
17356 2014-06-26 Roland McGrath <roland@hack.frob.com>
17357
17358 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
17359 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
17360 * sysdeps/arm/Makefile [$(subdir) = csu]
17361 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
17362 (static-only-routines): Add aeabi_read_tp here.
17363 (shared-only-routines): Add libc-aeabi_read_tp here.
17364 (CFLAGS-libc-start.c): Add -fexceptions here.
17365 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
17366 (sysdep_routines, static-only-routines, shared-only-routines):
17367 Don't add to these here.
17368 (CFLAGS-libc-start.c): Likewise.
17369
17370 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
17371 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17372 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
17373 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17374 * sysdeps/arm/Makefile [$(subdir) = rt]
17375 (librt-sysdep_routines, librt-shared-only-routines):
17376 Append rt-aeabi_unwind_cpp_pr1 here.
17377 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
17378 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
17379 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
17380 (libpthread-sysdep_routines, libpthread-shared-only-routines):
17381 Append nptl-aeabi_unwind_cpp_pr1 here.
17382 (tests): Filter out tst-cleanupx4 here.
17383 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
17384 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
17385 Don't do those here.
17386
17387 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17388
17389 * scripts/list-sources.sh: Do not handle ports specially.
17390
17391 2014-06-26 Roland McGrath <roland@hack.frob.com>
17392
17393 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
17394 * sysdeps/arm/feupdateenv.c: Likewise.
17395
17396 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
17397
17398 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17399
17400 * manual/texinfo.tex: Update to version 2014-05-05.10 with
17401 trailing whitespace removed.
17402 * scripts/config.guess: Update to version 2014-03-23.
17403 * scripts/config.sub: Update to version 2014-05-01
17404 * scripts/install-sh: Update to version 2013-12-25.23.
17405 * scripts/move-if-change: Update from gnulib.
17406
17407 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17408
17409 * debug/memmove_chk.c: Remove pagecopy.h include.
17410
17411 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
17412
17413 * time/mktime.c (leapyear): Remove inline keyword. The code is now
17414 identical to gnulib mktime.
17415
17416 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17417
17418 * configure.ac: Do not test for machine being rs6000. Do not test
17419 for powerpc*-*soft.
17420 * configure: Regenerated.
17421
17422 [BZ #11505]
17423 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
17424 test.
17425 * configure: Regenerated.
17426 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
17427 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
17428 Remove configure test.
17429 * sysdeps/arm/configure: Regenerated.
17430 * sysdeps/nptl/configure.ac: Do not check
17431 libc_cv_asm_cfi_directives.
17432 * sysdeps/nptl/configure: Regenerated.
17433 * sysdeps/x86_64/nptl/configure.ac: Remove file.
17434 * sysdeps/x86_64/nptl/configure: Remove generated file.
17435 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
17436 unconditional.
17437 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
17438
17439 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17440
17441 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
17442 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
17443 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
17444 it is defined.
17445
17446 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
17447 instead of whether it is defined.
17448 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
17449 * sysdeps/hppa/dl-machine.h: Likewise.
17450 * sysdeps/ia64/dl-machine.h: Likewise.
17451 * sysdeps/m68k/dl-machine.h: Likewise.
17452 * sysdeps/microblaze/dl-machine.h: Likewise.
17453 * sysdeps/mips/dl-machine.: Likewise.
17454 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17455 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17456 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17457 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17458 * sysdeps/sh/dl-machine.h: Likewise.
17459 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17460 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17461 * sysdeps/tile/dl-machine.h: Likewise.
17462 * sysdeps/x86_64/dl-machine.h: Likewise.
17463
17464 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
17465 code.
17466 (verify_persistent_db): Likewise.
17467
17468 2014-06-26 Roland McGrath <roland@hack.frob.com>
17469
17470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
17471 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
17472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
17473 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
17474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17475 Moved ...
17476 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17477 ... here.
17478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
17479 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
17480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
17481 Identical file removed.
17482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
17483 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
17484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
17485 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
17486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
17487 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
17488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
17489 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
17490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
17491 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
17492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17493 Moved ...
17494 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
17495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
17496 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
17497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
17498 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
17499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17500 Moved ...
17501 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
17502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
17503 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
17504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
17505 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
17506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17507 Identical file removed.
17508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
17509 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
17510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
17511 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
17512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17513 Moved ...
17514 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
17515 ... here.
17516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
17517 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
17518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
17519 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
17520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
17521 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
17522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
17523 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
17524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
17525 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
17526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17527 Moved ...
17528 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
17529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
17530 Moved ...
17531 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
17532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
17533 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
17534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17535 Moved ...
17536 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
17537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
17538 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
17539
17540 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
17541 folded into ...
17542 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
17543 * sysdeps/unix/sysv/linux/s390/Versions
17544 (libpthread: GLIBC_2.19): New version set.
17545 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
17546 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
17547 (librt: GLIBC_2.3.3): New version set.
17548 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
17549 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
17550 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
17551 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
17552 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
17553 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
17554 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
17555 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
17556 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
17557 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
17558 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
17559 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
17560 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
17561 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
17562 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
17563 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
17564 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
17565 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
17566 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
17567 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
17568 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
17569 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
17570 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
17571 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
17572 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
17573 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
17574 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
17575 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
17576 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
17577 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
17578 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
17579 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
17580 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
17581 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
17582 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
17583 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
17584 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
17585 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
17586 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
17587 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
17588 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
17589 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
17590 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
17591 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
17592 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
17593
17594 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
17595 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
17596 (__libc_vfork): Define the function under this name.
17597 [!NOT_IN_libc] (__vfork): Make this an alias.
17598 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17599 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
17600 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
17601 (__libc_vfork): Define the function under this name.
17602 [!NOT_IN_libc] (__vfork): Make this an alias.
17603 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17604 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
17605 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
17606 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
17607 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
17608 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17609
17610 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
17611 code that was previously under [RESET_PID].
17612 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
17613 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
17614 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
17615
17616 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
17617 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
17618 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
17619 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
17620 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
17621 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
17622 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
17623 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
17624 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
17625 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
17626 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
17627 Moved ...
17628 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
17629 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
17630 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
17631 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
17632 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
17633 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
17634 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
17635 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
17636 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
17637 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
17638 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
17639 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
17640 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
17641 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
17642 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
17643 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
17644 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
17645 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
17646 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
17647 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
17648 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
17649 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
17650 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
17651 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
17652 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
17653 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
17654 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
17655 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
17656 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
17657
17658 2014-06-25 Roland McGrath <roland@hack.frob.com>
17659
17660 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
17661 that was previously under [RESET_PID].
17662 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
17663
17664 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17665
17666 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
17667 not undefine and redefine.
17668 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
17669 [O_CLOEXEC]: Make code unconditional.
17670 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
17671 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
17672 <kernel-features.h>.
17673 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
17674 conditional variable definition.
17675 (shm_open) [O_CLOEXEC]: Make code unconditional.
17676 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
17677 code.
17678
17679 * configure.ac (USE_REGPARMS): Don't define here.
17680 * configure: Regenerated.
17681 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
17682 * sysdeps/i386/configure: Regenerated.
17683
17684 * nptl/createthread.c: Don't include kernel-features.h.
17685 * nptl/pthread_cancel.c: Likewise.
17686 * nptl/pthread_condattr_setclock.c: Likewise.
17687 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
17688 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
17689 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
17690 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
17691 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
17692 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
17693 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
17694 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
17695 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
17696 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
17697 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
17698 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
17699 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
17700 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
17701 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
17702 * nscd/gai.c: Likewise.
17703 * nss/nss_db/db-open.c: Likewise.
17704 * sysdeps/generic/ldsodefs.h: Likewise.
17705 * sysdeps/sh/nptl/tls.h: Likewise.
17706 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17707 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
17708 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
17709 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
17710 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
17711 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17712 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
17713 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17714 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17715 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17716 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17717 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17718 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
17719 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
17720 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
17721 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
17722 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17723 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
17724 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
17725 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
17726 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
17727 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
17728 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
17729 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
17730 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
17731 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
17732 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
17733 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
17734 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
17735 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
17736 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
17737 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
17738 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
17739 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17740 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17741 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17742 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17743 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
17744 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
17745 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
17746 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17747 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
17748 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
17749 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17750 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
17751 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
17752 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
17753 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
17754 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
17755 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
17756 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
17757 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
17758 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
17759 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17760 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
17761 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17762 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
17763 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
17764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
17766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
17767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
17768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
17769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
17770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
17771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
17772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
17775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
17776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
17777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
17778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
17784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
17785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
17786 * sysdeps/unix/sysv/linux/pread.c: Likewise.
17787 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
17788 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
17789 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
17790 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
17791 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
17792 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
17793 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
17794 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
17795 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
17796 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
17797 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
17798 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
17799 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
17800 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
17801 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
17802 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17803 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
17804 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
17805 * sysdeps/unix/sysv/linux/system.c: Likewise.
17806 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
17807 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
17808 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17809 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17810 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17811 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17812 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17813
17814 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
17815 * configure: Regenerated.
17816 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
17817
17818 * configure.ac (base_machine): Do not set specially for particular
17819 machines here.
17820 * configure: Regenerated.
17821 * sysdeps/powerpc/preconfigure: Move machine and base_machine
17822 settings from configure.ac.
17823 * sysdeps/i386/preconfigure: New file.
17824 * sysdeps/s390/preconfigure: Likewise.
17825 * sysdeps/sh/preconfigure: Likewise.
17826 * sysdeps/sparc/preconfigure: Likewise.
17827
17828 2014-06-25 Roland McGrath <roland@hack.frob.com>
17829
17830 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
17831 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
17832 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
17833 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
17834 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
17835 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
17836 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
17837 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
17838 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
17839 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
17840 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
17841 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
17842 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
17843 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
17844 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
17845 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
17846 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
17847 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
17848 * sysdeps/sparc/sparc64/Makefile: ... appended here.
17849
17850 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
17851 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
17852 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
17853 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
17854 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
17855 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
17856 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
17857 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
17858 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
17859 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
17860 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
17861 * sysdeps/sparc/sparc32/sem_post.c: ... here.
17862 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
17863 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
17864 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
17865 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
17866 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
17867 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
17868 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
17869 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
17870 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
17871 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
17872 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
17873 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
17874 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
17875 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
17876 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
17877 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
17878 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
17879 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
17880 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
17881 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
17882 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
17883 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
17884 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
17885 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
17886 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
17887 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
17888
17889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
17890 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
17891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
17892 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
17893 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17894 Moved ...
17895 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
17896 ... here.
17897 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
17898 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
17899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
17900 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
17901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
17902 Moved ...
17903 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
17904 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
17905 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
17906 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
17907 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
17908 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
17909 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
17910 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17911 Moved ...
17912 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
17913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17914 Moved ...
17915 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
17916 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
17917 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
17918 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17919 Moved ...
17920 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
17921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
17922 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
17923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
17924 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
17925 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
17926 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
17927 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
17928 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
17929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17930 Moved ...
17931 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17932 ... here.
17933 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
17934 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
17935 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
17936 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
17937 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
17938 Moved ...
17939 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
17940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
17941 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
17942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
17943 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
17944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
17945 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
17946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17947 Moved ...
17948 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
17949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17950 Moved ...
17951 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
17952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
17953 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
17954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17955 Moved ...
17956 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
17957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
17958 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
17959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
17960 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
17961
17962 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17963
17964 * timezone/checktab.awk: Update from tzcode 2014e.
17965 * timezone/private.h: Likewise.
17966 * timezone/tzfile.h: Likewise.
17967 * timezone/zdump.c: Likewise.
17968 * timezone/zic.c: Likewise.
17969
17970 * sysdeps/unix/sysv/linux/kernel-features.h
17971 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
17972 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
17973 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
17974 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17975 Remove conditional code.
17976
17977 2014-06-25 Will Newton <will.newton@linaro.org>
17978
17979 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
17980 (_dl_arm_cap_flags): Add HWCAP2 values.
17981 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
17982 (_DL_HWCAP_COUNT): Increase to 37.
17983 (_DL_HWCAP_LAST): New define.
17984 (_DL_HWCAP2_LAST): New define.
17985 (_dl_procinfo): Add support for printing
17986 AT_HWCAP2 entries.
17987 (_dl_string_hwcap): Use _dl_hwcap_string.
17988
17989 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17990
17991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17992
17993 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17994
17995 * README: Do not mention ports directory.
17996
17997 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
17998 Remove macro.
17999 * sysdeps/unix/sysv/linux/futimes.c: Do not include
18000 <kernel-features.h>.
18001 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
18002 conditional variable definition.
18003 (__futimes): Update comment.
18004 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
18005 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
18006
18007 [BZ #16560]
18008 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
18009 arguments close to 0.
18010 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
18011 Likewise.
18012 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
18013 Likewise.
18014 * math/auto-libm-test-in: Add more tests of exp10.
18015 * math/auto-libm-test-out: Regenerated.
18016 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18017
18018 * sysdeps/unix/sysv/linux/kernel-features.h
18019 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
18020 * sysdeps/unix/sysv/linux/readv.c: Do not include
18021 <kernel-features.h>.
18022 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18023 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18024 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18025 unconditional.
18026 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18027 conditional code.
18028 * sysdeps/unix/sysv/linux/writev.c: Do not include
18029 <kernel-features.h>.
18030 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18031 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18032 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18033 unconditional.
18034 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18035 conditional code.
18036
18037 2014-06-25 Will Newton <will.newton@linaro.org>
18038
18039 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
18040 comment changes throughout the file. Remove checks
18041 for HAVE_*_H definitions that are not required.
18042 (__gen_tempname): Call abort if an unknown kind value is
18043 passed.
18044
18045 2014-06-25 Andreas Schwab <schwab@suse.de>
18046
18047 [BZ #17086]
18048 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
18049 scalbln, scalblnf, scalblnl in libc.
18050
18051 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18052
18053 [BZ #17086]
18054 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
18055 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18056 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18057
18058 2014-06-24 Roland McGrath <roland@hack.frob.com>
18059
18060 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
18061 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
18062 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
18063 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
18064 Update #include.
18065 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
18066 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
18067 Update #include.
18068 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
18069 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
18070 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
18071 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
18072 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
18073 * sysdeps/x86/bits/pthreadtypes.h: ... here.
18074 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
18075 * sysdeps/x86/bits/semaphore.h: ... here.
18076 * sysdeps/x86/nptl/elide.h: Moved ...
18077 * sysdeps/x86/elide.h: ... here.
18078 * sysdeps/x86_64/nptl/Implies: File removed.
18079 * sysdeps/i386/nptl/Implies: File removed.
18080
18081 2014-06-24 Joseph Myers <joseph@codesourcery.com>
18082
18083 [BZ #16539]
18084 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
18085 return the argument for normal arguments with exponent below -64.
18086 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18087 Likewise.
18088 * math/auto-libm-test-in: Add another test of expm1.
18089 * math/auto-libm-test-out: Regenerated.
18090
18091 [BZ #16287]
18092 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
18093 calling __erfcl for arguments at least 16.
18094 * math/auto-libm-test-in: Add more tests of erf.
18095 * math/auto-libm-test-out: Regenerated.
18096
18097 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
18098 individual architectures.
18099 * sysdeps/unix/sysv/linux/configure: Regenerated.
18100 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
18101 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
18102 * sysdeps/unix/sysv/linux/powerpc/configure.ac
18103 (ldd_rewrite_script): Define variable.
18104 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
18106 file.
18107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
18108 generated file.
18109 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
18110 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
18111 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
18112 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
18113 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
18114 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
18115 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
18116 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
18117
18118 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18119
18120 [BZ #17084]
18121 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
18122 Rename member __data.d to __data.__elision_data.
18123
18124 2014-06-24 Wilco <wdijkstr@arm.com>
18125
18126 * NEWS: Add 16918 to fixed bug list.
18127
18128 2014-06-24 Wilco <wdijkstr@arm.com>
18129
18130 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
18131
18132 2014-06-24 Wilco <wdijkstr@arm.com>
18133
18134 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
18135 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
18136 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
18137 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
18138 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
18139 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
18140 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
18141 Use _FPU_MASK_RM.
18142
18143 2014-06-24 Wilco <wdijkstr@arm.com>
18144
18145 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
18146
18147 2014-06-24 Wilco <wdijkstr@arm.com>
18148
18149 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
18150 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
18151 * sysdeps/arm/fesetround.c (fesetround): Remove space.
18152 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
18153
18154 2014-06-24 Wilco <wdijkstr@arm.com>
18155
18156 [BZ #16918]
18157 * sysdeps/arm/feupdateenv.c (feupdateenv):
18158 Rewrite to reduce FPSCR accesses and fix return value.
18159
18160 2014-06-24 Wilco <wdijkstr@arm.com>
18161
18162 * sysdeps/arm/fclrexcpt.c (feclearexcept):
18163 Optimize to avoid unnecessary FPSCR writes.
18164 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
18165 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
18166 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
18167 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
18168
18169 2014-06-24 Wilco <wdijkstr@arm.com>
18170
18171 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
18172 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
18173 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
18174 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
18175 Call libc_fetestexcept_vfp.
18176 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
18177 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
18178 __SOFTFP__ ifdef so that they can be built for softfp.
18179
18180 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18181
18182 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
18183 argument type signed char.
18184
18185 * Makerules (check-abi): Dump diff of symlist if the test
18186 fails.
18187
18188 2014-06-23 Roland McGrath <roland@hack.frob.com>
18189
18190 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
18191 using abort.
18192
18193 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18194 Remove unused variable ST.
18195
18196 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18197
18198 [BZ #16354]
18199 [BZ #17061]
18200 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
18201 small arguments before calling __expm1.
18202 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
18203 small arguments before calling __expm1f.
18204 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
18205 small arguments before calling __expm1l.
18206 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18207 Likewise.
18208 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
18209 * math/auto-libm-test-in: Add more cosh tests. Do not allow
18210 spurious underflow for some cosh tests.
18211 * math/auto-libm-test-out: Regenerated.
18212 * sysdeps/i386/fpu/libm-test-ulps: Update.
18213
18214 [BZ #17050]
18215 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
18216 (__ieee754_y1): Set errno if return value overflows.
18217 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
18218 (__ieee754_y1f): Set errno if return value overflows.
18219 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
18220 (__ieee754_y1l): Set errno if return value overflows.
18221 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
18222 (__ieee754_y1l): Set errno if return value overflows.
18223 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
18224 * math/auto-libm-test-out: Regenerated.
18225
18226 * math/gen-auto-libm-tests.c: Document use of
18227 ignore-zero-inf-sign.
18228 (input_flag_type): Add value flag_ignore_zero_inf_sign.
18229 (input_flags): Add ignore-zero-inf-sign.
18230 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
18231 * math/gen-libm-test.pl (generate_testfile): Handle
18232 ignore-zero-inf-sign.
18233 * math/auto-libm-test-in: Mark some cpow tests with
18234 ignore-zero-inf-sign and some with xfail-rounding.
18235 * math/auto-libm-test-out: Regenerated.
18236 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
18237 * sysdeps/i386/fpu/libm-test-ulps: Update.
18238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18239
18240 [BZ #16315]
18241 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
18242 overflowing or underflowing operations take place with sign of
18243 result.
18244 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18245 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18246 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
18247 (__ieee754_pow): Recompute overflowing and underflowing results in
18248 original rounding mode.
18249 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
18250 (__powl_helper): Allow negative argument X and scale negated value
18251 as needed. Avoid passing value outside [-1, 1] to f2xm1.
18252 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
18253 overflowing or underflowing operations take place with sign of
18254 result.
18255 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
18256 Include <math.h>.
18257 * math/auto-libm-test-in: Add more tests of pow.
18258 * math/auto-libm-test-out: Regenerated.
18259 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
18260 (pow_tonearest_test_data): Remove.
18261 (pow_test_tonearest): Likewise.
18262 (pow_towardzero_test_data): Likewise.
18263 (pow_test_towardzero): Likewise.
18264 (pow_downward_test_data): Likewise.
18265 (pow_test_downward): Likewise.
18266 (pow_upward_test_data): Likewise.
18267 (pow_test_upward): Likewise.
18268 (main): Don't call removed functions.
18269 * sysdeps/i386/fpu/libm-test-ulps: Update.
18270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18271
18272 2014-06-23 Roland McGrath <roland@hack.frob.com>
18273
18274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
18275 Moved ...
18276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
18277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18278 Moved ...
18279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
18280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18281 Moved ...
18282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
18283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18284 Moved ...
18285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
18286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18287 File removed.
18288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18289 File removed.
18290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
18291 File removed.
18292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
18293 File removed.
18294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
18295 File removed.
18296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
18297 File removed.
18298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
18299 File removed.
18300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18301 File removed.
18302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
18303 File removed.
18304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18305 File removed.
18306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
18307 File removed.
18308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
18309 File removed.
18310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
18311 Moved ...
18312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
18313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
18314 Moved ...
18315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18316 ... here.
18317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
18318 Moved ...
18319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
18320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
18321 Moved ...
18322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
18323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
18324 Moved ...
18325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
18326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
18327 Moved ...
18328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
18329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
18330 Moved ...
18331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
18332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
18333 Moved ...
18334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
18335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
18336 Moved ...
18337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
18338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
18339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18340 ... here.
18341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
18342 Moved ...
18343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
18344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18345 Moved ...
18346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18347 ... here.
18348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
18349 Moved ...
18350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18351 ... here.
18352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18353 Moved ...
18354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18355 ... here.
18356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18357 Moved ...
18358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
18359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18360 Moved ...
18361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
18362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
18363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
18364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18365 Moved ...
18366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18367 ... here.
18368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18369 Moved ...
18370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18371 ... here.
18372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18373 Moved ...
18374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
18375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18376 Moved ...
18377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
18378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18379 Moved ...
18380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
18381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18382 Moved ...
18383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
18384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18385 Moved ...
18386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18387 ... here.
18388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18389 Moved ...
18390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
18391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18392 Moved ...
18393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
18394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18395 Moved ...
18396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
18397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18398 Moved ...
18399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
18400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
18401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
18402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18403 Moved ...
18404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
18405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18406 Moved ...
18407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
18408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18409 Moved ...
18410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18411 ... here.
18412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18413 Moved ...
18414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18415 ... here.
18416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18417 Moved ...
18418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18419 ... here.
18420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18421 Moved ...
18422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
18423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18424 Moved ...
18425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
18426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18427 Moved ...
18428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
18429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18430 Moved ...
18431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18432 ... here.
18433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18434 Moved ...
18435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18436 ... here.
18437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18438 Moved ...
18439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18440 ... here.
18441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18442 Moved ...
18443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
18444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18445 Moved ...
18446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
18447
18448 2014-06-23 Will Newton <will.newton@linaro.org>
18449 Wilco <wdijkstr@arm.com>
18450
18451 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
18452 implementation. Include get-rounding-mode.h.
18453 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
18454 [!libc_feholdsetround_noex_ctx]: Define
18455 libc_feholdsetround_noex_ctx.
18456 [!libc_feholdsetround_noexf_ctx]: Define
18457 libc_feholdsetround_noexf_ctx.
18458 [!libc_feholdsetround_noexl_ctx]: Define
18459 libc_feholdsetround_noexl_ctx.
18460 (libc_feholdsetround_ctx): New function.
18461 (libc_feresetround_ctx): New function.
18462 (libc_feholdsetround_noex_ctx): New function.
18463 (libc_feresetround_noex_ctx): New function.
18464
18465 2014-06-23 Roland McGrath <roland@hack.frob.com>
18466
18467 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
18468 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
18469 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
18470 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
18471 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
18472 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
18473
18474 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
18475 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
18476 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
18477 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
18478 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
18479 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
18480 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
18481 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
18482 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
18483 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
18484 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
18485 Moved ...
18486 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18487 ... here.
18488 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
18489 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
18490 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
18491 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
18492 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
18493 Moved ...
18494 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
18495 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
18496 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
18497 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
18498 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
18499 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
18500 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
18501 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
18502 Moved ...
18503 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
18504 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
18505 Moved ...
18506 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
18507 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
18508 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
18509 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
18510 Moved ...
18511 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
18512 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
18513 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
18514 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
18515 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
18516 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
18517 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
18518 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
18519 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
18520 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
18521 Moved ...
18522 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18523 ... here.
18524 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
18525 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
18526 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
18527 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
18528 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
18529 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
18530 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
18531 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
18532 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
18533 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
18534 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
18535 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
18536 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
18537 Moved ...
18538 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
18539 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
18540 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
18541 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
18542 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
18543 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
18544 Moved ...
18545 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
18546 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
18547 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
18548 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
18549 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
18550
18551 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
18552 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
18553 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
18554 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
18555 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
18556 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
18557 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
18558 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
18559 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
18560 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
18561 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
18562 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
18563 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
18564 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
18565 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
18566 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
18567 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
18568 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
18569 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
18570 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
18571 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
18572 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
18573 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
18574 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
18575 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
18576 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
18577 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
18578 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
18579
18580 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18581
18582 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
18583 (FALLOC_FL_COLLAPSE_RANGE): New macro.
18584 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
18585 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
18586 (IPV6_PMTUDISC_INTERFACE): Likewise.
18587 (IPV6_PMTUDISC_OMIT): Likewise.
18588
18589 2014-06-23 Andreas Schwab <schwab@suse.de>
18590
18591 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
18592 Remove unused errout label.
18593
18594 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18595
18596 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
18597 macro: hardware supports Vector Crypto instructions.
18598
18599 2014-06-23 Will Newton <will.newton@linaro.org>
18600
18601 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
18602 rather than __builtin_expect.
18603
18604 * elf/dl-lookup.c (undefined_msg): Remove variable.
18605 (_dl_lookup_symbol_x): Replace undefined_msg with string
18606 literal.
18607
18608 * elf/dl-lookup.c (do_lookup_unique): New function.
18609 (do_lookup_x): Move STB_GNU_UNIQUE handling code
18610 to a separate function.
18611
18612 2014-06-23 Andreas Schwab <schwab@suse.de>
18613
18614 [BZ #17079]
18615 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
18616 before reading the next line.
18617
18618 2014-06-23 Will Newton <will.newton@linaro.org>
18619
18620 * test-skeleton.c (signal_handler): Use printf and %m
18621 rather than perror. Use printf rather than fprintf to
18622 stderr. Use puts rather than fputs to stderr.
18623 (main): Likewise.
18624
18625 2014-06-22 Ludovic Courtès <ludo@gnu.org>
18626
18627 * nscd/nscd.c (thread_info_t): Remove typedef.
18628 (thread_info): Remove variable.
18629
18630 2014-06-21 Allan McRae <allan@archlinux.org>
18631
18632 * NEWS: Mention CVE-2014-4043.
18633
18634 2014-06-20 Roland McGrath <roland@hack.frob.com>
18635
18636 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
18637 * nptl/smp.h: ... here.
18638
18639 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
18640
18641 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
18642 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
18643 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
18644 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
18645
18646 * nptl/allocatestack.c: Include <stack-aliasing.h>.
18647 * nptl/stack-aliasing.h: New file.
18648 * sysdeps/i386/i686/stack-aliasing.h: New file.
18649 * sysdeps/i386/i686/nptl/Makefile: File removed.
18650 * sysdeps/x86_64/stack-aliasing.h: New file.
18651 * sysdeps/x86_64/nptl/Makefile
18652 (CFLAGS-pthread_create.c): Variable removed.
18653
18654 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
18655 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
18656 old file.
18657 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
18658 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
18659 old file.
18660
18661 2014-06-21 Joseph Myers <joseph@codesourcery.com>
18662
18663 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18664 (__ASSUME_SIGFRAME_V2): Remove macro.
18665 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
18666 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
18667 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
18668 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
18669 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
18670 Declare as function. Remove conditional macro definitions.
18671 (__default_rt_sa_restorer): Likewise.
18672 (__default_sa_restorer_v1): Remove declaration.
18673 (__default_sa_restorer_v2): Likewise.
18674 (__default_rt_sa_restorer_v1): Likewise.
18675 (__default_rt_sa_restorer_v2): Likewise.
18676 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
18677 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
18678 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
18679
18680 2014-06-20 Roland McGrath <roland@hack.frob.com>
18681
18682 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
18683 (libpthread-routines): Add sysdep.
18684 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
18685 * sysdeps/unix/sysv/linux/sparc/Versions
18686 (libpthread: GLIBC_2.3.3): New version set.
18687 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
18688 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
18689 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
18690 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
18691 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
18692 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
18693 Moved ...
18694 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
18695 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
18696 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
18697 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
18698 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
18699 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
18700 * sysdeps/sparc/nptl/sem_init.c: ... here.
18701 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
18702 * sysdeps/sparc/nptl/sem_post.c: ... here.
18703 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
18704 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
18705 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
18706 * sysdeps/sparc/nptl/sem_wait.c: ... here.
18707 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
18708 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
18709 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
18710 (libpthread-routines): Add cpu_relax.
18711 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
18712 File removed.
18713 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
18714 (librt: GLIBC_2.3.3): New version set.
18715 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
18716 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
18717 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
18718 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
18719 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
18720 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
18721 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
18722 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
18723 Moved ...
18724 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
18725 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
18726 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
18727 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
18728 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
18729 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
18730 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
18731 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
18732 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
18733 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
18734 Moved ...
18735 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
18736 Update #include.
18737 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
18738 Moved ...
18739 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
18740 Update #include.
18741 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
18742 Moved ...
18743 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
18744 Update #include.
18745 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
18746 Moved ...
18747 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
18748 Update #include.
18749 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
18750 Moved ...
18751 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
18752 Update #include.
18753 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
18754 Moved ...
18755 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
18756 Update #include.
18757 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
18758 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
18759 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
18760 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
18761 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
18762 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
18763 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
18764 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
18765 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
18766 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
18767 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18768 Moved ...
18769 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
18770 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
18771 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
18772 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
18773 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
18774
18775 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18776
18777 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
18778 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
18779 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
18780 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
18781 * nscd/nscd.c: Likewise.
18782 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
18783 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
18784 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
18785 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
18786
18787 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
18788 <kernel-features.h>.
18789 (init_mq_netlink): Remove conditional have_sock_cloexec
18790 definitions. Remove code conditional on have_sock_cloexec < 0.
18791 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
18792 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
18793 * sysdeps/unix/sysv/linux/opensock.c: Do not include
18794 <kernel-features.h>.
18795 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
18796 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
18797
18798 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
18799
18800 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18801 Add tests for memset_chk and memset.
18802
18803 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
18804 with AVX2_Usable.
18805
18806 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
18807
18808 [BZ #16046]
18809 * elf/tst-dl-iter-static.c: New file.
18810 * elf/Makefile (tests-static): Add tst-dl-iter-static.
18811
18812 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
18813 error.
18814
18815 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18816
18817 * sysdeps/unix/sysv/linux/kernel-features.h
18818 (__ASSUME_F_GETOWN_EX): Remove macro.
18819 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
18820 <kernel-features.h>.
18821 (miss_F_GETOWN_EX): Remove variable or macro.
18822 (do_fcntl): Do not check miss_F_GETOWN_EX.
18823 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
18824
18825 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
18826 Remove macro.
18827 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
18828 [!__ASSUME_AT_RANDOM]: Remove conditional code.
18829 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
18830
18831 * sysdeps/unix/sysv/linux/kernel-features.h
18832 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
18833 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
18834 [ADJ_OFFSET_SS_READ]: Make code unconditional.
18835 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
18836
18837 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
18838
18839 [BZ #17075]
18840 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
18841 Fix calculation of the symbol's value.
18842 * sysdeps/arm/tst-armtlsdescloc.c: New file.
18843 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
18844 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
18845 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
18846 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
18847 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
18848 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
18849 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
18850 (modules-names): Add `tst-armtlsdescmod',
18851 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
18852 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
18853 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18854 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
18855 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
18856 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18857 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
18858 ($(objpfx)tst-armtlsdescloc): New dependency.
18859 ($(objpfx)tst-armtlsdescextnow): Likewise.
18860 ($(objpfx)tst-armtlsdescextlazy): Likewise.
18861 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
18862 TLS scheme support.
18863 * sysdeps/arm/configure: Regenerate.
18864
18865 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18866
18867 * include/fcntl.h (__atfct_seterrno): Remove prototype.
18868 (__atfct_seterrno_2): Likewise.
18869 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
18870 <kernel-features.h>.
18871 (__ASSUME_ATFCTS): Do not undefine and redefine.
18872 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
18873 (__have_atfcts): Remove conditional definition.
18874 (__fxstatat([__NR_fstatat64]: Make code unconditional.
18875 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
18876 unreachable if [__ASSUME_ATFCTS].
18877 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
18878 not undefine and redefine.
18879 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
18880 <kernel-features.h>.
18881 (faccessat) [__NR_faccessat]: Make code unconditional.
18882 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
18883 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
18884 <kernel-features.h>.
18885 (fchmodat) [__NR_fchmodat]: Make code unconditional.
18886 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18887 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
18888 <kernel-features.h>.
18889 (fchownat) [__NR_fchownat]: Make code unconditional.
18890 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
18891 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
18892 <kernel-features.h>.
18893 (futimesat) [__NR_futimesat]: Make code unconditional.
18894 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
18895 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18896 <kernel-features.h>.
18897 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18898 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18899 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18900 <kernel-features.h>.
18901 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
18902 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18903 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
18904 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18905 <kernel-features.h>.
18906 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
18907 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18908 * sysdeps/unix/sysv/linux/linkat.c: Do not include
18909 <kernel-features.h>.
18910 (linkat) [__NR_linkat]: Make code unconditional.
18911 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18912 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
18913 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
18914 <kernel-features.h>.
18915 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
18916 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18917 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
18918 <kernel-features.h>.
18919 (mkdirat) [__NR_mkdirat]: Make code unconditional.
18920 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
18921 * sysdeps/unix/sysv/linux/openat.c: Do not include
18922 <kernel-features.h>.
18923 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
18924 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
18925 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
18926 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
18927 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
18928 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
18929 <kernel-features.h>.
18930 (readlinkat) [__NR_readlinkat]: Make code unconditional.
18931 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
18932 result of INLINE_SYSCALL directly, not via int variable.
18933 * sysdeps/unix/sysv/linux/renameat.c: Do not include
18934 <kernel-features.h>.
18935 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
18936 (renameat) [__NR_renameat]: Make code unconditional.
18937 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
18938 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
18939 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
18940 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
18941 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
18942 (__ASSUME_ATFCTS): Do not undefine and redefine.
18943 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
18944 <kernel-features.h>.
18945 (symlinkat) [__NR_symlinkat]: Make code unconditional.
18946 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18947 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
18948 <kernel-features.h>.
18949 (unlinkat) [__NR_unlinkat]: Make code unconditional.
18950 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18951 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
18952 (__ASSUME_ATFCTS): Do not undefine and redefine.
18953 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18954 <kernel-features.h>.
18955 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18956 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18957 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18958 <kernel-features.h>.
18959 (__xmknodat) [__NR_mknodat]: Make code unconditional.
18960 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18961
18962 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
18963
18964 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
18965
18966 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
18967
18968 [BZ #17069]
18969 * posix/regcomp.c (parse_reg_exp): Deallocate partially
18970 constructed tree before returning error.
18971 * posix/bug-regexp36.c: Expand test case.
18972
18973 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
18974
18975 [BZ #6803]
18976 * math/libm-test.inc (scalbln_test_date):
18977 Add errno expectations.
18978 * math/w_scalblnf.c: New File.
18979 Add wrapper which checks for setting errno to ERANGE.
18980 Add weak_alias for corresponding scalbln function.
18981 * math/w_scalbln.c: Likewise.
18982 * math/w_scalblnl.c: Likewise.
18983 * math/Makefile (libm-calls): Add w_scalbln.
18984 * sysdeps/ieee754/flt-32/s_scalblnf.c:
18985 Remove weak_alias for corresponding scalbln function.
18986 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18987 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18988 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18989 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18990 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
18991 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18992 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
18993 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18994 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
18995 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
18996 Remove long_double_symbol for scalblnl function in libm, libc.
18997 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
18998 Add wrapper which checks for setting errno to ERANGE.
18999 Add long_double_symbol for scalblnl function in libm, libc.
19000 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
19001 Remove long_double_symbol for scalblnl in libm.
19002 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
19003 Add wrapper which checks for setting errno to ERANGE.
19004 Add long_double_symbol for scalblnl function in libm.
19005 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
19006 Do not use wrapper because of own implementation.
19007
19008 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
19009
19010 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
19011 3 bytes for __pad1 for x32.
19012 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
19013
19014 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
19015 H.J. Lu <hongjiu.lu@intel.com>
19016
19017 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
19018 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
19019 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19020 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19021 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
19022
19023 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
19024
19025 [BZ #17069]
19026 * posix/regcomp.c (parse_expression): Deallocate partially
19027 constructed tree before returning error.
19028 * posix/Makefile.c (tests): Add bug-regex36.
19029 (generated): Add bug-regex36.mtrace.
19030 (tests-special): Add $(objpfx)bug-regex36-mem.out
19031 (bug-regex36-ENV): New variable.
19032 ($(objpfx)bug-regex36-mem.out): New rule.
19033 * posix/bug-regex36.c: New file.
19034
19035 2014-06-19 Will Newton <will.newton@linaro.org>
19036
19037 * malloc/malloc.c (systrim): If extra is zero then return
19038 early.
19039
19040 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19041
19042 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
19043
19044 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
19045
19046 * sysdeps/aarch64/strchr.S: New file.
19047
19048 2014-06-18 Joseph Myers <joseph@codesourcery.com>
19049
19050 [BZ #17022]
19051 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
19052 from arguments -2 or below.
19053 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19054 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
19055
19056 2014-06-18 Andreas Schwab <schwab@suse.de>
19057
19058 [BZ #17062]
19059 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
19060 of a bracket expr not to run off the end of the string.
19061 * posix/Makefile (tests): Add tst-fnmatch3.
19062 * posix/tst-fnmatch3.c: New file.
19063
19064 2014-06-18 Joseph Myers <joseph@codesourcery.com>
19065
19066 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
19067 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19068 [$(cross-compiling) = no]: Likewise.
19069 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19070 [$(cross-compiling) = no]: Likewise.
19071
19072 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19073
19074 [BZ #17031]
19075 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
19076 double, adjusted for any remainder from the high double.
19077 * math/libm-test.inc (nearbyint): Add tests.
19078 (rint): Likewise.
19079
19080 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19081
19082 * nptl/sysdeps/powerpc/Makefile: Moved ...
19083 * sysdeps/powerpc/nptl/Makefile: ... here.
19084 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
19085 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
19086 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
19087 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
19088 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
19089 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
19090 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
19091 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
19092 * nptl/sysdeps/powerpc/tls.h: Moved ...
19093 * sysdeps/powerpc/nptl/tls.h: ... here.
19094
19095 2014-06-16 Joseph Myers <joseph@codesourcery.com>
19096
19097 [BZ #16681]
19098 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
19099 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19100 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
19101 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
19102 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19103 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
19104 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
19105 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19106 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
19107
19108 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
19109
19110 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19111
19112 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
19113
19114 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
19115 defined operator.
19116
19117 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
19118 $TIMEOUTFACTOR.
19119
19120 2014-06-16 Florian Weimer <fweimer@redhat.com>
19121
19122 [BZ #17058]
19123 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
19124 non-executed part of the test.
19125
19126 2014-06-16 Andreas Schwab <schwab@suse.de>
19127
19128 * string/bits/string2.h (strdup, strndup): Update feature guard.
19129
19130 2014-06-14 David S. Miller <davem@davemloft.net>
19131
19132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19133
19134 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
19135
19136 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
19137 that was previously under [RESET_PID].
19138 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
19139
19140 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
19141 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
19142 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
19143 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19144 (__libc_vfork): New strong alias.
19145 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
19146
19147 2014-06-14 Andi Kleen <ak@linux.intel.com>
19148
19149 * sysdeps/generic/elide.h: New file.
19150
19151 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19152
19153 * Makefile (installed-headers): Adjust path of pthread.h header.
19154
19155 2014-06-13 Roland McGrath <roland@hack.frob.com>
19156
19157 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
19158 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
19159 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
19160 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
19161
19162 * nptl/sysdeps/s390/Makefile: Moved ...
19163 * sysdeps/s390/nptl/Makefile: ... here.
19164 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
19165 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
19166 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
19167 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
19168 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
19169 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
19170 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
19171 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
19172 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
19173 * sysdeps/s390/nptl/pthreaddef.h: ... here.
19174 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
19175 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
19176 * nptl/sysdeps/s390/tls.h: Moved ...
19177 * sysdeps/s390/nptl/tls.h: ... here.
19178
19179 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
19180 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
19181
19182 2014-06-13 David S. Miller <davem@davemloft.net>
19183
19184 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
19185 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
19186 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
19187 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
19188 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
19189 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
19190 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
19191 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
19192 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
19193 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
19194 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
19195 Remove RESET_PID cpp guards.
19196 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
19197 Remove RESET_PID cpp guards.
19198 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
19199
19200 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
19201
19202 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
19203 __sp to uintptr_t.
19204
19205 2014-06-13 Andi Kleen <ak@linux.intel.com>
19206
19207 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
19208 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
19209 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
19210 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
19211 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
19212 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
19213 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
19214 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
19215 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
19216 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
19217 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
19218 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
19219 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
19220 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
19221 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
19222 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
19223 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
19224 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
19225 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
19226 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
19227
19228 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
19229 (pthread_rwlock_rdlock): Add elision.
19230 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
19231 (pthread_rwlock_wrlock): Add elision.
19232 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
19233 (pthread_rwlock_trywrlock): Add elision.
19234 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
19235 (pthread_rwlock_tryrdlock): Add elision.
19236 * nptl/pthread_rwlock_unlock.c: Include elide.h.
19237 (pthread_rwlock_tryrdlock): Add elision unlock.
19238 * nptl/sysdeps/pthread/pthread.h:
19239 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
19240 (PTHREAD_RWLOCK_INITIALIZER,
19241 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
19242 Handle new elision field.
19243 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
19244 * sysdeps/arm/nptl/bits/pthreadtypes.h
19245 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19246 * sysdeps/sh/nptl/bits/pthreadtypes.h
19247 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19248 * sysdeps/tile/nptl/bits/pthreadtypes.h
19249 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19250 * sysdeps/a/nptl/bits/pthreadtypes.h
19251 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19252 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19253 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19254 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19255 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19256 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
19257 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19258 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19259 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19260 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19261 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19262 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19263 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19264 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19265 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19266 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
19267 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19268 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
19269 (elision_init): Set try_xbegin to zero when no RTM.
19270 * sysdeps/x86/nptl/bits/pthreadtypes.h
19271 (pthread_rwlock_t): Change __pad1 to __rwelision.
19272 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19273
19274 2014-06-13 Andi Kleen <ak@linux.intel.com>
19275
19276 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
19277 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
19278 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
19279 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
19280
19281 2014-06-13 Meador Inge <meadori@codesourcery.com>
19282
19283 [BZ #16996]
19284 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
19285 that the cached result has been set before returning it.
19286
19287 2014-06-12 Roland McGrath <roland@hack.frob.com>
19288
19289 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
19290 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
19291 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
19292 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
19293 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
19294 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
19295
19296 * nptl/sysdeps/sparc/Makefile: Moved ...
19297 * sysdeps/sparc/nptl/Makefile: ... here.
19298 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
19299 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
19300 * nptl/sysdeps/sparc/tls.h: Moved ...
19301 * sysdeps/sparc/nptl/tls.h: ... here.
19302 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
19303 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
19304 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
19305 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
19306 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
19307 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
19308 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
19309 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
19310 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
19311 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
19312 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
19313 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
19314 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
19315 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
19316 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
19317 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
19318 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
19319 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
19320 Update #include.
19321 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
19322 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
19323 Update #include.
19324 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
19325 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
19326 Update #include.
19327 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
19328 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
19329 Update #include.
19330
19331 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19332
19333 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
19334 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
19335
19336 * sysdeps/pthread/posix-timer.h: Include <list.h>.
19337 (struct list_links): Type removed.
19338 (struct thread_node, struct timer_node): Replace struct list_links
19339 with struct list_head.
19340 (list_unlink_ip): Likewise.
19341 * sysdeps/pthread/timer_routines.c
19342 (timer_free_list, thread_free_list, thread_active_list): Likewise.
19343 (list_append, list_insbefore): Likewise.
19344 (list_init): Function removed.
19345 (thread_init, init_module): Use INIT_LIST_HEAD instead.
19346 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
19347 * sysdeps/pthread/Makefile: ... here, new file.
19348
19349 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
19350 * sysdeps/nptl/Implies: ... here.
19351 * sysdeps/unix/sysv/linux/Implies: Add nptl.
19352 * nptl/sysdeps/pthread/list.h: Moved ...
19353 * include/list.h: ... here.
19354 * nptl/sysdeps/pthread/createthread.c: Moved ...
19355 * nptl/createthread.c: ... here.
19356 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
19357 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
19358 * nptl/pt-longjmp.c: ... here.
19359 * nptl/sysdeps/pthread/Makefile: Moved ...
19360 * sysdeps/nptl/Makefile: ... here.
19361 * nptl/sysdeps/pthread/Subdirs: Moved ...
19362 * sysdeps/nptl/Subdirs: ... here.
19363 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
19364 * sysdeps/nptl/aio_misc.h: ... here.
19365 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
19366 * sysdeps/nptl/bits/libc-lock.h: ... here.
19367 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
19368 * sysdeps/nptl/bits/libc-lockP.h: ... here.
19369 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
19370 * sysdeps/nptl/bits/stdio-lock.h: ... here.
19371 * nptl/sysdeps/pthread/configure: Moved ...
19372 * sysdeps/nptl/configure: ... here.
19373 * nptl/sysdeps/pthread/configure.ac: Moved ...
19374 * sysdeps/nptl/configure.ac: ... here.
19375 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
19376 * sysdeps/nptl/gai_misc.h: ... here.
19377 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
19378 * sysdeps/nptl/librt-cancellation.c: ... here.
19379 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
19380 * sysdeps/nptl/malloc-machine.h: ... here.
19381 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
19382 * sysdeps/nptl/pthread-functions.h: ... here.
19383 * nptl/sysdeps/pthread/pthread.h: Moved ...
19384 * sysdeps/nptl/pthread.h: ... here.
19385 * nptl/sysdeps/pthread/setxid.h: Moved ...
19386 * sysdeps/nptl/setxid.h: ... here.
19387 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
19388 * sysdeps/nptl/sigfillset.c: ... here.
19389 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
19390 * sysdeps/nptl/tcb-offsets.h: ... here.
19391 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
19392 * sysdeps/nptl/tst-mqueue8x.c: ... here.
19393 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
19394 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
19395 * nptl/sysdeps/pthread/allocalim.h: Moved ...
19396 * sysdeps/pthread/allocalim.h: ... here.
19397 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
19398 * sysdeps/pthread/bits/sigthread.h: ... here.
19399 * nptl/sysdeps/pthread/flockfile.c: Moved ...
19400 * sysdeps/pthread/flockfile.c: ... here.
19401 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
19402 * sysdeps/pthread/ftrylockfile.c: ... here.
19403 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
19404 * sysdeps/pthread/funlockfile.c: ... here.
19405 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
19406 * sysdeps/pthread/posix-timer.h: ... here.
19407 * nptl/sysdeps/pthread/timer_create.c: Moved ...
19408 * sysdeps/pthread/timer_create.c: ... here.
19409 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
19410 * sysdeps/pthread/timer_delete.c: ... here.
19411 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
19412 * sysdeps/pthread/timer_getoverr.c: ... here.
19413 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
19414 * sysdeps/pthread/timer_gettime.c: ... here.
19415 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
19416 * sysdeps/pthread/timer_routines.c: ... here.
19417 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
19418 * sysdeps/pthread/timer_settime.c: ... here.
19419 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
19420 * sysdeps/pthread/tst-timer.c: ... here.
19421 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
19422 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
19423
19424 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
19425 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
19426
19427 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
19428 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
19429 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
19430 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
19431 Update #include target.
19432 * nptl/sysdeps/i386/i686/Makefile: Moved ...
19433 * sysdeps/i386/i686/nptl/Makefile: ... here.
19434 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
19435 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
19436 Update #include target.
19437 * nptl/sysdeps/i386/i686/tls.h: Moved ...
19438 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
19439 * nptl/sysdeps/i386/Makefile: Moved ...
19440 * sysdeps/i386/nptl/Makefile: ... here.
19441 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
19442 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
19443 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
19444 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
19445 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
19446 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
19447 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
19448 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
19449 * sysdeps/i386/nptl/pthreaddef.h: ... here.
19450 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
19451 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
19452 * nptl/sysdeps/i386/tls.h: Moved ...
19453 * sysdeps/i386/nptl/tls.h: ... here.
19454
19455 * sysdeps/sh/Makefile [$(subdir) = csu]
19456 (gen-as-const-headers): Add tcb-offsets.sym.
19457 * nptl/sysdeps/sh/Makefile: File removed.
19458 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
19459 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
19460 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
19461 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
19462 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
19463 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
19464 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
19465 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
19466 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
19467 * sysdeps/sh/nptl/pthreaddef.h: ... here.
19468 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
19469 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
19470 * nptl/sysdeps/sh/tls.h: Moved ...
19471 * sysdeps/sh/nptl/tls.h: ... here.
19472 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
19473 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
19474 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
19475 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
19476 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
19477 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
19478 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
19479 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
19480 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
19481 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
19482 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
19483 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
19484 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
19485 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
19486 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
19487 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
19488 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
19489 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
19490 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
19491 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
19492 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
19493 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
19494 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
19495 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
19496 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
19497 Moved ...
19498 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
19499 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
19500 Moved ...
19501 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
19502 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
19503 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
19504 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
19505 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
19506 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
19507 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
19508 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
19509 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
19510 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
19511 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
19512 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
19513 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
19514 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
19515 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
19516 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
19517 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
19518 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
19519 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
19520
19521 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19522
19523 * posix/spawn_faction_addopen.c: Include string.h.
19524
19525 2014-06-11 Roland McGrath <roland@hack.frob.com>
19526
19527 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
19528 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
19529 * nptl/sysdeps/x86_64/Makefile: Moved ...
19530 * sysdeps/x86_64/nptl/Makefile: ... here.
19531 * nptl/sysdeps/x86_64/configure: Moved ...
19532 * sysdeps/x86_64/nptl/configure: ... here.
19533 * nptl/sysdeps/x86_64/configure.ac: Moved ...
19534 * sysdeps/x86_64/nptl/configure.ac: ... here.
19535 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
19536 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
19537 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
19538 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
19539 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
19540 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
19541 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
19542 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
19543 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
19544 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
19545 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
19546 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
19547 * nptl/sysdeps/x86_64/tls.h: Moved ...
19548 * sysdeps/x86_64/nptl/tls.h: ... here.
19549 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
19550 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
19551 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
19552 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
19553
19554 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
19555
19556 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19557
19558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19559
19560 2014-06-11 Joseph Myers <joseph@codesourcery.com>
19561
19562 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
19563 type.
19564 [POSIX] (off_t): Likewise.
19565 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
19566 [POSIX] (S_ISBLK): Require macro.
19567 [POSIX] (S_ISCHR): Likewise.
19568 [POSIX] (S_ISDIR): Likewise.
19569 [POSIX] (S_ISFIFO): Likewise.
19570 [POSIX] (S_ISREG): Likewise.
19571 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
19572 optional-macro.
19573 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
19574 type.
19575 [POSIX] (time_t): Likewise.
19576 [POSIX] (timer_t): Likewise.
19577
19578 2014-06-11 Florian Weimer <fweimer@redhat.com>
19579
19580 [BZ #17048]
19581 * posix/spawn_int.h (struct __spawn_action): Make the path string
19582 non-const to support deallocation.
19583 * posix/spawn_faction_addopen.c
19584 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
19585 * posix/spawn_faction_destroy.c
19586 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
19587 path in all spawn_do_open actions.
19588 * posix/tst-spawn.c (do_test): Exercise the copy operation in
19589 posix_spawn_file_actions_addopen.
19590
19591 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
19592
19593 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
19594 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
19595 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
19596 conditional code always true.
19597 (__libc_vfork): New alias.
19598
19599 2014-06-11 Roland McGrath <roland@hack.frob.com>
19600
19601 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19602 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
19603
19604 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
19605
19606 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19607 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
19608
19609 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19610 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
19611
19612 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19613 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
19614
19615 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19616
19617 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
19618 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
19619 multiarch strcmp for PPC64.
19620 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
19621 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
19622 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
19623 multiarch optimizations.
19624 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19625 (__libc_ifunc_impl_list): Likewise.
19626
19627 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19628
19629 * benchtests/scripts/validate_benchout.py: New script.
19630 * benchtests/Makefile (bench-func): Call it.
19631 * benchtests/scripts/benchout.schema.json: New file.
19632
19633 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
19634
19635 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
19636 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
19637 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
19638 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
19639 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
19640 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19641 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
19642 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
19643 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
19644 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
19645 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
19646 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
19647 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
19648 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
19649 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
19650 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
19651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
19652 Moved ...
19653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
19654 ... here.
19655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
19656 Moved ...
19657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
19658 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
19659 Moved ...
19660 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
19661 ... here.
19662 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
19663 Moved ...
19664 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
19665 ... here.
19666 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
19667 Moved ...
19668 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
19669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
19670 Moved ...
19671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
19672 ... here.
19673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
19674 Moved ...
19675 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
19676 ... here.
19677 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
19678 Moved ...
19679 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
19680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
19681 Moved ...
19682 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
19683 ... here.
19684 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
19685 Moved ...
19686 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
19687 ... here.
19688 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
19689 Moved ...
19690 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
19691 ... here.
19692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
19693 Moved ...
19694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
19695 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
19696 Moved ...
19697 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
19698 ... here.
19699 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
19700 Moved ...
19701 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
19702 ... here.
19703 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
19704 Moved ...
19705 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
19706 ... here.
19707 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
19708 Moved ...
19709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
19710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
19711 Moved ...
19712 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
19713 ... here.
19714 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
19715 Moved ...
19716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
19717 ... here.
19718 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
19719 Moved ...
19720 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
19721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
19722 Moved ...
19723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
19724 ... here.
19725 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
19726 Moved ...
19727 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
19728 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
19729 Moved ...
19730 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
19731 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
19732 Moved ...
19733 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
19734 ... here.
19735 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
19736 Moved ...
19737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
19738 ... here.
19739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
19740 Moved ...
19741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
19742 ... here.
19743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
19744 Moved ...
19745 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
19746 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
19747 Moved ...
19748 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
19749 ... here.
19750 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
19751 Moved ...
19752 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
19753 ... here.
19754 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
19755 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
19756 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
19757 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
19758 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
19759 Moved ...
19760 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19761 ... here.
19762 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
19763 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
19764 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
19765 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
19766 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
19767 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
19768 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
19769 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
19770 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
19771 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
19772 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
19773 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
19774 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
19775 Moved ...
19776 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
19777 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
19778 Moved ...
19779 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
19780 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
19781 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
19782 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
19783 Moved ...
19784 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
19785 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
19786 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
19787 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
19788 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
19789 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
19790 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
19791
19792 2014-06-10 Wilco <wdijkstr@arm.com>
19793
19794 * math/test-fenv-return.c: New file.
19795 * math/Makefile: Add new test test-fenv-return.
19796
19797 2014-06-10 Joseph Myers <joseph@codesourcery.com>
19798
19799 [BZ #17042]
19800 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
19801 when x - 1 is zero.
19802 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
19803 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
19804 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
19805 0.0L for an argument of 1.0L.
19806 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
19807 Likewise.
19808 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
19809 value when x - 1 is zero.
19810 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
19811 * sysdeps/i386/fpu/libm-test-ulps: Update.
19812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19813
19814 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
19815
19816 [BZ #15119]
19817 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
19818
19819 2014-06-09 Roland McGrath <roland@hack.frob.com>
19820
19821 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
19822 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
19823
19824 2014-06-09 Roland McGrath <roland@hack.frob.com>
19825
19826 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19827 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
19828
19829 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19830 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
19831
19832 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19833 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
19834
19835 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19836 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
19837
19838 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
19839 if not already defined.
19840 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
19841 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
19842 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
19843 (TLS_INIT_TP): Use it.
19844 (TLS_DEFINE_INIT_TP): New macro.
19845 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
19846
19847 2014-06-09 Joseph Myers <joseph@codesourcery.com>
19848
19849 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
19850 constant.
19851 [POSIX] (IXANY): Likewise.
19852 [POSIX] (OLCUC): Likewise.
19853 [POSIX || POSIX2008] (CBAUD): Do not allow.
19854 [POSIX || POSIX2008] (DEFECHO): Likewise.
19855 [POSIX || POSIX2008] (ECHOCTL): Likewise.
19856 [POSIX || POSIX2008] (ECHOKE): Likewise.
19857 [POSIX || POSIX2008] (ECHOPRT): Likewise.
19858 [POSIX || POSIX2008] (EXTA): Likewise.
19859 [POSIX || POSIX2008] (EXTB): Likewise.
19860 [POSIX || POSIX2008] (FLUSHO): Likewise.
19861 [POSIX || POSIX2008] (LOBLK): Likewise.
19862 [POSIX || POSIX2008] (PENDIN): Likewise.
19863 [POSIX || POSIX2008] (SWTCH): Likewise.
19864 [POSIX || POSIX2008] (VDISCARD): Likewise.
19865 [POSIX || POSIX2008] (VDSUSP): Likewise.
19866 [POSIX || POSIX2008] (VLNEXT): Likewise.
19867 [POSIX || POSIX2008] (VREPRINT): Likewise.
19868 [POSIX || POSIX2008] (VSTATUS): Likewise.
19869 [POSIX || POSIX2008] (VWERASE): Likewise.
19870 (B*): Change to B[0123456789]*.
19871 * conform/data/time.h-data [POSIX || UNIX98]
19872 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
19873 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19874 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
19875 [POSIX] (tm_*): Do not allow.
19876
19877 2014-06-07 Joseph Myers <joseph@codesourcery.com>
19878
19879 * Makefile (install): Don't set LANGUAGE.
19880 * Makefile.in (install): Likewise.
19881 * assert/Makefile (test-assert-ENV): Remove variable.
19882 (test-assert-perr-ENV): Likewise.
19883 * elf/Makefile (neededtest4-ENV): Likewise.
19884 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19885 [$(cross-compiling) = no]: Don't set LANGUAGE.
19886 * io/ftwtest-sh (LANG): Remove variable.
19887 * libio/Makefile (tst-widetext-ENV): Likewise.
19888 * manual/install.texi (Running make install): Don't refer to
19889 environment settings for make install.
19890 * INSTALL: Regenerated.
19891 * nptl/tst-tls6.sh: Don't set LANG.
19892 * posix/globtest.sh (LANG): Remove variable.
19893 * string/Makefile (tester-ENV): Likewise.
19894 (inl-tester-ENV): Likewise.
19895 (noinl-tester-ENV): Likewise.
19896 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19897 [$(cross-compiling) = no]: Don't set LANGUAGE.
19898 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
19899 without explicit environment settings.
19900
19901 2014-06-06 Roland McGrath <roland@hack.frob.com>
19902
19903 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
19904 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
19905 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
19906 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
19907
19908 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
19909
19910 * crypt/crypt-private.h [DOS]: Add some includes taken from the
19911 other files in the crypt directory.
19912 * crypt/crypt.c: Remove duplicate includes.
19913 * crypt/crypt-entry.c: Likewise.
19914 * crypt/crypt_util.c: Likewise.
19915
19916 2014-06-06 Joseph Myers <joseph@codesourcery.com>
19917
19918 * Makeconfig (run-program-env): New variable.
19919 (run-program-prefix-before-env): Likewise.
19920 (run-program-prefix-after-env): Likewise.
19921 (run-program-prefix): Define in terms of new variables.
19922 (built-program-cmd-before-env): New variable.
19923 (built-program-cmd-after-env): Likewise.
19924 (built-program-cmd): Define in terms of new variables.
19925 (test-program-prefix-before-env): New variable.
19926 (test-program-prefix-after-env): Likewise.
19927 (test-program-prefix): Define in terms of new variables.
19928 (test-program-cmd-before-env): New variable.
19929 (test-program-cmd-after-env): Likewise.
19930 (test-program-cmd): Define in terms of new variables.
19931 * Rules (make-test-out): Use $(run-program-env).
19932 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
19933 (help): Do not mention environment variables. Mention
19934 --timeoutfactor option.
19935 (timeoutfactor): New variable.
19936 (blacklist_exports): Remove function.
19937 (exports): Remove variable.
19938 (command): Do not include ${exports}.
19939 * manual/install.texi (Configuring and compiling): Do not mention
19940 test wrappers preserving environment variables. Mention that last
19941 assignment to a variable must take precedence.
19942 * INSTALL: Regenerated.
19943 * benchtests/Makefile (run-bench): Use $(run-program-env).
19944 * catgets/Makefile ($(objpfx)test1.cat): Use
19945 $(built-program-cmd-before-env), $(run-program-env) and
19946 $(built-program-cmd-after-env).
19947 ($(objpfx)test2.cat): Do not specify environment variables
19948 explicitly.
19949 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
19950 $(run-program-env) and $(built-program-cmd-after-env).
19951 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
19952 $(run-program-env) and $(test-program-cmd-after-env).
19953 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
19954 explicitly.
19955 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
19956 run_program_env and test_program_cmd_after_env arguments.
19957 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
19958 * elf/tst-pathopt.sh: Use run_program_env argument.
19959 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
19960 $(test-wrapper-env) and $(run-program-env).
19961 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
19962 run_program_env arguments.
19963 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
19964 * intl/Makefile ($(objpfx)tst-gettext.out): Use
19965 $(test-program-prefix-before-env), $(run-program-env) and
19966 $(test-program-prefix-after-env).
19967 ($(objpfx)tst-gettext2.out): Likewise.
19968 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
19969 run_program_env and test_program_prefix_after_env arguments.
19970 * intl/tst-gettext2.sh: Likewise.
19971 * intl/tst-gettext4.sh: Do not set environment variables
19972 explicitly.
19973 * intl/tst-gettext6.sh: Likewise.
19974 * intl/tst-translit.sh: Likewise.
19975 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
19976 $(test-program-prefix-before-env), $(run-program-env) and
19977 $(test-program-prefix-after-env).
19978 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
19979 run_program_env and test_program_prefix_after_env arguments.
19980 * math/Makefile (run-regen-ulps): Use $(run-program-env).
19981 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
19982 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
19983 explicitly with each use of ${test_wrapper_env}.
19984 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
19985 $(test-program-prefix-before-env), $(run-program-env) and
19986 $(test-program-prefix-after-env).
19987 * posix/tst-getconf.sh: Do not set environment variables
19988 explicitly.
19989 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
19990 run_program_env and test_program_prefix_after_env arguments.
19991 * stdio-common/tst-printf.sh: Do not set environment variables
19992 explicitly.
19993 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
19994 $(test-program-prefix-before-env), $(run-program-env) and
19995 $(test-program-prefix-after-env).
19996 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
19997 run_program_env and test_program_prefix_after_env arguments.
19998 Split $test calls into $test_pre and $test.
19999 * timezone/Makefile (build-testdata): Use
20000 $(built-program-cmd-before-env), $(run-program-env) and
20001 $(built-program-cmd-after-env).
20002
20003 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20004
20005 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
20006 strlen for non SHARED builds.
20007
20008 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20009
20010 * nptl/allocatestack.c (check_list): Inlined function...
20011 (__reclaim_stacks): ... here.
20012
20013 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
20014
20015 [BZ #15698]
20016 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
20017 memory overrun.
20018
20019 2014-06-05 Joseph Myers <joseph@codesourcery.com>
20020
20021 * Rules (make-test-out): Include
20022 LOCPATH=$(common-objpfx)localedata in default environment.
20023 * debug/Makefile (tst-chk1-ENV): Remove variable.
20024 (tst-chk2-ENV): Likewise.
20025 (tst-chk3-ENV): Likewise.
20026 (tst-chk4-ENV): Likewise.
20027 (tst-chk5-ENV): Likewise.
20028 (tst-chk6-ENV): Likewise.
20029 (tst-lfschk1-ENV): Likewise.
20030 (tst-lfschk2-ENV): Likewise.
20031 (tst-lfschk3-ENV): Likewise.
20032 (tst-lfschk4-ENV): Likewise.
20033 (tst-lfschk5-ENV): Likewise.
20034 (tst-lfschk6-ENV): Likewise.
20035 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
20036 (tst-iconv7-ENV): Likewise.
20037 * intl/Makefile (LOCPATH-ENV): Likewise.
20038 (tst-codeset-ENV): Likewise.
20039 (tst-gettext3-ENV): Likewise.
20040 (tst-gettext5-ENV): Likewise.
20041 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
20042 (tst-fopenloc-ENV): Likewise.
20043 (tst-fgetws-ENV): Remove variable.
20044 (tst-ungetwc1-ENV): Likewise.
20045 (tst-ungetwc2-ENV): Likewise.
20046 (bug-ungetwc2-ENV): Likewise.
20047 (tst-swscanf-ENV): Likewise.
20048 (bug-ftell-ENV): Likewise.
20049 (tst-fgetwc-ENV): Likewise.
20050 (tst-fseek-ENV): Likewise.
20051 (tst-ftell-partial-wide-ENV): Likewise.
20052 (tst-ftell-active-handler-ENV): Likewise.
20053 (tst-ftell-append-ENV): Likewise.
20054 * posix/Makefile (tst-fnmatch-ENV): Likewise.
20055 (tst-regexloc-ENV): Likewise.
20056 (bug-regex1-ENV): Likewise.
20057 (tst-regex-ENV): Likewise.
20058 (tst-regex2-ENV): Likewise.
20059 (bug-regex5-ENV): Likewise.
20060 (bug-regex6-ENV): Likewise.
20061 (bug-regex17-ENV): Likewise.
20062 (bug-regex18-ENV): Likewise.
20063 (bug-regex19-ENV): Likewise.
20064 (bug-regex20-ENV): Likewise.
20065 (bug-regex22-ENV): Likewise.
20066 (bug-regex23-ENV): Likewise.
20067 (bug-regex25-ENV): Likewise.
20068 (bug-regex26-ENV): Likewise.
20069 (bug-regex30-ENV): Likewise.
20070 (bug-regex32-ENV): Likewise.
20071 (bug-regex33-ENV): Likewise.
20072 (bug-regex34-ENV): Likewise.
20073 (bug-regex35-ENV): Likewise.
20074 (tst-rxspencer-ENV): Likewise.
20075 (tst-rxspencer-no-utf8-ENV): Likewise.
20076 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
20077 (tst-sscanf-ENV): Likewise.
20078 (tst-swprintf-ENV): Likewise.
20079 (tst-swscanf-ENV): Likewise.
20080 (test-vfprintf-ENV): Likewise.
20081 (scanf13-ENV): Likewise.
20082 (bug14-ENV): Likewise.
20083 (tst-grouping-ENV): Likewise.
20084 * stdlib/Makefile (tst-strtod-ENV): Likewise.
20085 (tst-strtod3-ENV): Likewise.
20086 (tst-strtod4-ENV): Likewise.
20087 (tst-strtod5-ENV): Likewise.
20088 (testmb2-ENV): Likewise./
20089 * string/Makefile (tst-strxfrm-ENV): Likewise.
20090 (tst-strxfrm2-ENV): Likewise.
20091 (bug-strcoll1-ENV): Likewise.
20092 (test-strcasecmp-ENV): Likewise.
20093 (test-strncasecmp-ENV): Likewise.
20094 * time/Makefile (tst-strptime-ENV): Likewise.
20095 (tst-ftime_l-ENV): Likewise.
20096 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
20097 (tst-mbrtowc-ENV): Likewise.
20098 (tst-wcrtomb-ENV): Likewise.
20099 (tst-mbrtowc2-ENV): Likewise.
20100 (tst-c16c32-1-ENV): Likewise.
20101 (tst-mbsnrtowcs-ENV): Likewise.
20102
20103 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
20104
20105 * manual/resource.texi (How to get information about the memory
20106 subsystem?): Fix typo.
20107 Reported by Peon de la Parra Ivan <peon@keba.com>
20108
20109 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
20110
20111 [BZ #16882]
20112 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
20113 (pthread_spin_lock): Branch out of spin loop to proper location.
20114 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
20115 (pthread_spin_lock): Likewise.
20116
20117 * nptl/tst-spin4.c: New test.
20118 * nptl/Makefile (tests): Add tst-spin4.
20119
20120 2014-06-03 Andreas Schwab <schwab@suse.de>
20121
20122 [BZ #15946]
20123 * resolv/res_send.c (send_dg): Reload file descriptor after
20124 calling reopen.
20125
20126 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
20127
20128 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20129
20130 2014-06-03 Richard Henderson <rth@redhat.com>
20131
20132 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
20133 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
20134 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
20135 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
20136 in the SAVE_PID block.
20137 (__libc_vfork): New alias.
20138 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
20139
20140 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
20141 child in registers, not on the stack. Remove RESET_PID conditionals.
20142 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
20143
20144 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
20145
20146 * sysdeps/aarch64/libm-test-ulps: Regenerate.
20147
20148 2014-06-03 Wilco <wdijkstr@arm.com>
20149
20150 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
20151 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
20152 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20153 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
20154 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
20155 Likewise.
20156
20157 2014-06-03 Wilco <wdijkstr@arm.com>
20158
20159 * sysdeps/aarch64/fpu/math_private.h
20160 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
20161 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
20162 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
20163 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20164 Fix declarations.
20165
20166 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20167
20168 * crypt/crypt-private.h: Include ufc-crypt.h.
20169 (__b64_from_24bit): Declare extern.
20170 * crypt/crypt_util.c(__b64_from_24bit): New function.
20171 (b64t): New static const variable.
20172 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
20173 (b64t): Remove variable.
20174 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
20175 * crypt/sha256-crypt.c: Include crypt-private.h.
20176 (b64t): Remove variable.
20177 (__sha256_crypt_r): Remove b64_from_24bit and replace
20178 with __b64_from_24bit.
20179 * crypt/sha512-crypt.c: Likewise.
20180
20181 2014-06-02 Roland McGrath <roland@hack.frob.com>
20182
20183 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
20184 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
20185 Label the code __libc_vfork rather than __vfork.
20186 [!NOT_IN_libc] (vfork): Define as weak alias.
20187 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
20188 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
20189 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
20190
20191 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20192
20193 * malloc/malloc.c (malloc_info): Fix format specifier for
20194 n_mmaps.
20195
20196 2014-06-02 Wilco <wdijkstr@arm.com>
20197
20198 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
20199 FPCR write.
20200
20201 2014-06-02 Wilco <wdijkstr@arm.com>
20202
20203 [BZ #17009]
20204 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
20205 Rewrite to reduce FPCR/FPSR accesses.
20206
20207 2014-06-01 David S. Miller <davem@davemloft.net>
20208
20209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20210
20211 2014-05-31 David S. Miller <davem@davemloft.net>
20212
20213 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
20214 to occur in round to nearest mode when |x| >= 2.0
20215
20216 2014-05-30 Richard Henderson <rth@twiddle.net>
20217
20218 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
20219 (PSEUDO_RET_NOERRNO): Remove.
20220 (ret): Don't redefine.
20221 (ret_NOERRNO): Define in terms of ret.
20222 (ret_ERRVAL): Likewise.
20223
20224 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
20225 use of PSEUDO_RET; perform the error check directly.
20226
20227 2014-05-30 Marko Myllynen <myllynen@redhat.com>
20228
20229 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
20230 with __int128_t.
20231
20232 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20233
20234 * malloc/malloc (malloc_info): Fix formatting.
20235
20236 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20237 Roland McGrath <roland@hack.frob.com>
20238
20239 * malloc/malloc (malloc_info): Also print mmapped statistics.
20240
20241 2014-05-30 Roland McGrath <roland@hack.frob.com>
20242
20243 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
20244 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
20245
20246 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
20247
20248 * malloc/malloc.c (malloc_info): Inline mi_arena.
20249
20250 2014-05-29 Richard Henderson <rth@twiddle.net>
20251
20252 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
20253 Remove comma before expanding ASM_ARGS_##nr.
20254 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
20255 Make _x0 a strict output; make _x8 a strict input; adjust expansion
20256 of ASM_ARGS_##nr.
20257 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
20258 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
20259 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
20260 (ASM_ARGS_1): Add leading comma.
20261
20262 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
20263 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
20264 to __errno_location.
20265 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
20266 Remove the expected plt for __errno_location.
20267
20268 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20269 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
20270 call to __read_tp.
20271
20272 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20273 Always allocate 64 bytes of stack frame. Use ldp/stp to create
20274 it and break it down.
20275 (DOCARGS_0, DOCARGS_1): Do nothing.
20276 (DOCARGS_2): Update to store into the new stack frame.
20277 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
20278 (UNDOCARGS_1): Update to restore from the new stack frame.
20279 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
20280 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
20281
20282 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20283 (SINGLE_THREAD_P): New parameter for result regno.
20284 (PSEUDO): Update to match; use cbz instead of beq.
20285
20286 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20287 Use ENTRY to define the _nocancel entry point. Share the syscall
20288 and syscall error check paths with the cancel path.
20289 (PSEUDO_END): New.
20290
20291 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
20292 whitespace; tabs before and after asm mnemonics.
20293
20294 2014-05-29 Eric Wong <normalperson@yhbt.net>
20295
20296 [BZ #15132]
20297 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20298 Call fstat64 or stat64 internally, depending on arguments passed.
20299 Replace stat buffer argument with file descriptor argument.
20300 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
20301 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
20302 Pass fd to __internal_statvfs instead of calling fstat64.
20303 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
20304 Pass fd to __internal_statvfs64 instead of calling fstat64.
20305 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
20306 Pass -1 to __internal_statvfs instead of calling stat64.
20307 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
20308 Pass -1 to __internal_statvfs64 instead of calling stat64.
20309
20310 2014-05-28 Roland McGrath <roland@hack.frob.com>
20311
20312 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
20313 that was previously under [RESET_PID].
20314 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
20315
20316 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
20317 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
20318
20319 2014-05-27 Roland McGrath <roland@hack.frob.com>
20320
20321 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
20322
20323 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
20324 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
20325
20326 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
20327
20328 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
20329
20330 2014-05-27 Andreas Schwab <schwab@suse.de>
20331
20332 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
20333 TLS_INIT_TP macro.
20334 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
20335 * elf/rtld.c (init_tls, dl_main): Likewise.
20336 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
20337 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
20338 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
20339 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
20340 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
20341 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
20342 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
20343 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
20344 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
20345 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
20346 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
20347 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
20348 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
20349 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
20350 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
20351 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
20352 * sysdeps/generic/tls.h: Update description.
20353
20354 2014-05-27 Will Newton <will.newton@linaro.org>
20355
20356 [BZ #16990]
20357 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
20358 and restore r2 rather than just restoring.
20359
20360 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20361
20362 [BZ #16724]
20363 * libio/tst-ftell-append.c: New test case.
20364 * libio/Makefile (tests): Add test case.
20365 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
20366 append mode.
20367 * libio/wfileops.c (do_ftell_wide): Likewise.
20368
20369 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20370
20371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20372
20373 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
20374 ...
20375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
20376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20377 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
20378 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
20379 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
20380 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
20381 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
20382 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
20383 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20384 Moved ...
20385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
20386 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20387 Moved ...
20388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
20389 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
20390 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
20391 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
20392 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
20393 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
20394 ...
20395 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
20396 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
20397 Moved ...
20398 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
20399 here.
20400 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
20401 ...
20402 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
20403 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
20404 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
20405
20406 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
20407 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
20408 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
20409 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
20410
20411 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
20412 merge into ...
20413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
20414 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
20415 ...
20416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
20417 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
20418 ...
20419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
20420 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20421 Moved ...
20422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
20423 here.
20424 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20425 Moved ...
20426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
20427 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20428 Moved ...
20429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
20430
20431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
20432 conditional [RESET_PID].
20433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
20434 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
20435 removed.
20436 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
20437 removed.
20438
20439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
20440 <tcb-offsets.h>.
20441 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20442 (__libc_vfork): New strong alias.
20443 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
20444 removed.
20445 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
20446 Removed.
20447
20448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
20449 <tcb-offsets.h>.
20450 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
20451 (__libc_vfork): New strong alias.
20452 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
20453 removed.
20454 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
20455 removed.
20456
20457 2014-05-26 Carlos O'Donell <carlos@redhat.com>
20458
20459 * malloc/malloc.c (mi_arena): New function.
20460 (malloc_info): Remove nested function mi_arena. Call non-nosted
20461 function mi_arena.
20462
20463 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20464
20465 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
20466 by insrwi.
20467 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
20468 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
20469 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
20470 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
20471 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
20472 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
20473 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
20474
20475 2014-05-26 Andreas Schwab <schwab@suse.de>
20476
20477 [BZ #16984]
20478 * locale/programs/repertoire.c (repertoire_read): Add slash
20479 between I18NPATH element and file name.
20480 * locale/programs/locfile.c (locfile_read): Likewise.
20481
20482 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20483
20484 * nptl/pthread_mutexattr_settype.c
20485 (__pthread_mutexattr_settype):
20486 Disable lock elision for PTHREAD_MUTEX_NORMAL.
20487
20488 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20489
20490 * nptl/tst-mutex5 (do_test):
20491 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
20492
20493 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20494
20495 * benchtests/README: Document 'init' directive.
20496 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
20497 BENCH_INIT.
20498 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
20499 (parse_file): Recognize 'init' directive.
20500
20501 2014-05-26 Kyle McMartin <kyle@redhat.com>
20502
20503 [BZ #16796]
20504 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
20505 alignment of struct pthread.
20506
20507 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20508
20509 [BZ #16878]
20510 * nscd/netgroupcache.c (addgetnetgrentX): Look for
20511 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20512 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
20513 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20514
20515 2014-05-25 Richard Henderson <rth@twiddle.net>
20516
20517 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20518 (SINGLE_THREAD_P_PIC): Remove.
20519 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
20520 (SINGLE_THREAD_P_PIC): Remove.
20521
20522 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
20523 branch to syscall error ...
20524 (PSEUDO): ... here.
20525 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
20526 from __local_syscall_error to .Lsyscall_error.
20527 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
20528 (SYSCALL_ERROR): Update label name.
20529
20530 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20531 Do not use DOARGS/UNDOARGS.
20532 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
20533 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
20534 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
20535 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
20536 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
20537
20538 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
20539 block comment.
20540
20541 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
20542 define if !NOT_IN_libc.
20543 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
20544 define with non-default symbol versions.
20545
20546 2014-05-23 Richard Henderson <rth@twiddle.net>
20547
20548 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
20549 (vfork, __vfork): Define via compat_symbol.
20550
20551 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
20552 [!HAVE_IFUNC] (vfork_compat): Remove.
20553 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
20554
20555 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20556
20557 [BZ #16978]
20558 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
20559 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
20560 variable.
20561
20562 2014-05-23 Richard Henderson <rth@twiddle.net>
20563
20564 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
20565 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
20566 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
20567 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
20568
20569 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
20570 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
20571 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
20572 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
20573 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
20574 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
20575 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
20576 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
20577 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
20578 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
20579 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
20580 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
20581 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
20582 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
20583 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
20584 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
20585 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
20586 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
20587 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
20588 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
20589 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
20590 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
20591 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
20592 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
20593 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
20594 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
20595 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
20596 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
20597 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
20598 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
20599 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
20600 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
20601 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
20602 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
20603 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
20604 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
20605 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
20606 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
20607 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
20608 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
20609 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
20610 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
20611 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
20612 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
20613 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
20614 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
20615 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
20616 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
20617 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
20618 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
20619 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
20620 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
20621 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
20622 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
20623 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
20624 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
20625
20626 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
20627 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
20628 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
20629 before exiting on error.
20630 (__libc_vfork): New strong alias.
20631 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
20632 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
20633
20634 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
20635 that was previously under [RESET_PID].
20636 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
20637
20638 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
20639
20640 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20641
20642 [BZ #16977]
20643 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
20644 value when x - 1 is zero.
20645 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
20646 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20647 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
20648 0.0L for an argument of 1.0L.
20649 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
20650 Likewise.
20651 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
20652 value when x - 1 is zero.
20653 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
20654 * sysdeps/i386/fpu/libm-test-ulps: Update.
20655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20656
20657 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
20658
20659 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
20660 alphasort and versionsort.
20661
20662 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20663
20664 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
20665 macro.
20666 [copysignf]: Likewise.
20667
20668 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20669
20670 * crypt/md5-crypt.c: Fix formatting.
20671
20672 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20673
20674 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
20675 (b64_from_24bit): New function.
20676
20677 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20678
20679 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
20680 libc_hidden_builtin_def to ifunc.
20681 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20682 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
20683
20684 2014-05-21 Roland McGrath <roland@hack.frob.com>
20685
20686 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
20687 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
20688
20689 2014-05-21 Joseph Myers <joseph@codesourcery.com>
20690
20691 * nscd/Depend (linuxthreads): Remove.
20692 (nptl): Add.
20693 * resolv/Depend (linuxthreads): Remove.
20694 * rt/Depend (linuxthreads): Remove.
20695
20696 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
20697 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
20698 $(common-objpfx)elf/.
20699 (link-libc-before-gnulib): Likewise.
20700 (elfobjdir): Remove variable.
20701 * Makefile (install): Use $(elf-objpfx) instead of
20702 $(common-objpfx)elf/.
20703 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
20704 $(elfobjdir)/.
20705 (link-libc-deps): Likewise.
20706 ($(common-objpfx)libc.so): Likewise.
20707 ($(common-objpfx)linkobj/libc.so): Likewise.
20708 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
20709 instead of $(common-objpfx)elf/.
20710 (symbolic-link-list): Likewise.
20711 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20712 [$(cross-compiling) = no]: Likewise.
20713 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
20714 $(elfobjdir)/.
20715 (static-gnulib-arch): Likewise.
20716 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20717 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
20718 $(common-objpfx)elf/.
20719
20720 2014-05-21 Richard Henderson <rth@redhat.com>
20721
20722 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20723 (SINGLE_THREAD_P): Use the correct width load. Fold
20724 into the ldr offset.
20725
20726 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
20727 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
20728
20729 2014-05-20 Joseph Myers <joseph@codesourcery.com>
20730
20731 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
20732 (libgcc_s_resume): Use __attribute_used__.
20733 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
20734 Likewise.
20735
20736 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20737
20738 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
20739 optimization when used with float constants.
20740
20741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20742
20743 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
20744
20745 [BZ #16915]
20746 * locale/nl_langinfo_l.c: Make direct reference to every
20747 _nl_current_CATEGORY symbol.
20748 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
20749 (tests-static): Add tst-langinfo-static.
20750 (tests-special): Add tst-langinfo-static.out.
20751 ($(objpfx)tst-langinfo.out): Redirect output.
20752 ($(objpfx)tst-langinfo-static.out): New.
20753 * localedata/tst-langinfo.sh: Send output to stdout.
20754 * localedata/tst-langinfo-static.c: New file.
20755
20756 [BZ #16965]
20757 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
20758 when the shift amount is modulo the limb size.
20759
20760 2014-05-20 Richard Henderson <rth@redhat.com>
20761
20762 [BZ #16967]
20763 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
20764 Change type of sa_flags from unsigned int to int.
20765
20766 [BZ #16966]
20767 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
20768
20769 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
20770
20771 2014-05-20 Will Newton <will.newton@linaro.org>
20772
20773 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20774 Test the return value of the system call in the nocancel case.
20775
20776 2014-05-20 Will Newton <will.newton@linaro.org>
20777 Yvan Roux <yvan.roux@linaro.org>
20778
20779 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
20780 #include of asm/ptrace.h.
20781 (PTRACE_GET_THREAD_AREA): Remove #undef.
20782 (PTRACE_GETHBPREGS): Likewise.
20783 (PTRACE_SETHBPREGS): Likewise.
20784 (struct user_regs_struct): New structure.
20785 (struct user_fpsimd_struct): New structure.
20786 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
20787 #include of asm/ptrace.h and second #include of sys/user.h.
20788 (PTRACE_GET_THREAD_AREA): Remove #undef.
20789 (PTRACE_GETHBPREGS): Likewise.
20790 (PTRACE_SETHBPREGS): Likewise.
20791 (ELF_NGREG): Use new struct user_regs_struct.
20792 (elf_fpregset_t): Use new struct user_fpsimd_struct.
20793
20794 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20795
20796 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
20797 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
20798
20799 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20800
20801 [BZ #16958]
20802 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
20803 membar to avoid block loads/stores to overlap previous stores.
20804
20805 2014-05-17 Richard Henderson <rth@redhat.com>
20806
20807 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
20808 Create the __##syscall_name##_nocancel entry point.
20809 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
20810 Remove; let the sysdep-cancel.h code create it.
20811
20812 2014-05-17 David S. Miller <davem@davemloft.net>
20813
20814 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
20815 Protect with __USE_GNU.
20816 (TIOCSET_TEMPT): Likewise.
20817 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20818 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
20819 these are already provided in bits/ioctl-types.h
20820
20821 2014-05-16 Roland McGrath <roland@hack.frob.com>
20822
20823 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
20824 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
20825
20826 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
20827 Use wait4 regardless of [__NR_waitpid].
20828
20829 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20830
20831 PR libgcc/60166
20832 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20833 (_FP_NANSIGN_Q): Set the quiet bit.
20834
20835 2014-05-16 Joseph Myers <joseph@codesourcery.com>
20836
20837 * benchtests/Makefile
20838 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
20839 not $(common-objpfx)math/libm.so.
20840 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
20841 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
20842 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
20843 $(common-objpfx)dlfcn/libdl.so.
20844 ($(objpfx)tst-audit8): Depend on $(libm), not
20845 $(common-objpfx)math/libm.so.
20846 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
20847 not $(common-objpfx)dlfcn/libdl.so.
20848 * math/Makefile
20849 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20850 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
20851 [$(build-shared) = yes].
20852 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
20853 $(common-objpfx)nptl/libpthread.so.
20854 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
20855 $(common-objpfx)math/libm.so$(libm.so-version) or
20856 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
20857 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
20858 $(common-objpfx)dlfcn/libdl.so.
20859 * setjmp/Makefile (link-libm): Remove variable.
20860 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
20861 * stdio-common/Makefile (link-libm): Remove variable.
20862 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
20863 * stdlib/Makefile (link-libm): Remove variable.
20864 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
20865 ($(objpfx)tst-strtod-round): Likewise.
20866 ($(objpfx)tst-tininess): Likewise.
20867 ($(objpfx)tst-strtod-underflow): Likewise.
20868 ($(objpfx)tst-strtod6): Likewise.
20869 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
20870 $(libdl), not $(common-objpfx)nptl/libpthread.so and
20871 $(common-objpfx)dlfcn/libdl.so.
20872
20873 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20874
20875 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
20876 BSD terminal modes definitions.
20877
20878 2014-05-16 Roland McGrath <roland@hack.frob.com>
20879
20880 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
20881 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
20882
20883 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
20884 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
20885 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
20886 Don't do #include_next.
20887 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
20888 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
20889 Don't do #include_next.
20890 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
20891 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
20892 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
20893 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
20894
20895 2014-05-16 Allan McRae <allan@archlinux.org>
20896
20897 * po/sv.po: Update Swedish translation from translation project.
20898
20899 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
20900 in sed expression.
20901
20902 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
20903
20904 [BZ #16917]
20905 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
20906 errno if the TIOCGPTN ioctl fails with an error different than
20907 EINVAL.
20908 * login/tst-ptsname.c: New file.
20909 * login/Makefile (tests): Add tst-ptsname.
20910
20911 [BZ #16943]
20912 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
20913 and prlimit64.
20914
20915 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20916
20917 [BZ #16849]
20918 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
20919 herrno to return EAI_AGAIN.
20920
20921 2014-05-14 Roland McGrath <roland@hack.frob.com>
20922
20923 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
20924 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
20925 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
20926 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
20927 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
20928 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
20929 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
20930 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
20931 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
20932 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
20933 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
20934 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
20935 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
20936 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
20937 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
20938 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
20939 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
20940 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
20941 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
20942 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
20943 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
20944 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
20945 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
20946 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
20947 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
20948 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
20949 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
20950 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
20951 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
20952 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
20953 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
20954 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
20955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
20956 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
20957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20958 Moved ...
20959 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
20960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
20961 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
20962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
20963 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
20964 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
20965 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
20966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
20967 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
20968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
20969 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
20970 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
20971 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
20972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
20973 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
20974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
20975 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
20976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
20977 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
20978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
20979 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
20980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
20981 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
20982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
20983 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
20984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
20985 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
20986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20987 Moved ...
20988 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
20989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
20990 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
20991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
20992 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
20993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
20994 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
20995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
20996 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
20997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
20998 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
20999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
21000 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
21001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
21002 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
21003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
21004 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
21005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
21006 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
21007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21008 Moved ...
21009 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
21010 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
21011 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
21012
21013 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
21014 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
21015 (libpthread-sysdep_routines): Add elision-related stuff here instead.
21016 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
21017 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
21018 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
21019 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
21020 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
21021 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
21022 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
21023 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
21024 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
21025 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
21026 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
21027 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
21028 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
21029 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
21030 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
21031 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
21032 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
21033 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
21034 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
21035 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
21036 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
21037 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
21038 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
21039 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
21040 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
21041 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
21042 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
21043 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
21044
21045 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
21046 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
21047
21048 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
21049 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
21050 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
21051 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
21052 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
21053 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
21054 Moved ...
21055 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
21056 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
21057 Moved ...
21058 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
21059 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
21060 Moved ...
21061 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
21062 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
21063 Moved ...
21064 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
21065 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
21066 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
21067 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
21068 Moved ...
21069 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
21070 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
21071 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
21072 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
21073 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
21074 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
21075 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
21076 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
21077 Moved ...
21078 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
21079 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21080 Moved ...
21081 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21082 ... here.
21083 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
21084 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
21085 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
21086 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
21087 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21088 Moved ...
21089 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21090 ... here.
21091 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
21092 Moved ...
21093 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
21094 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
21095 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
21096 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
21097 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
21098 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
21099 Moved ...
21100 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
21101 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
21102 Moved ...
21103 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
21104 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
21105 Moved ...
21106 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
21107 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
21108 Moved ...
21109 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
21110 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
21111 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
21112 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
21113 Moved ...
21114 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
21115 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
21116 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
21117 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
21118 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
21119 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
21120 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
21121 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
21122 Moved ...
21123 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
21124 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21125 Moved ...
21126 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21127 ... here.
21128 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
21129 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
21130 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
21131 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
21132 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21133 Moved ...
21134 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21135 ... here.
21136 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
21137 Moved ...
21138 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
21139 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
21140 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
21141 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
21142 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
21143 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
21144 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
21145 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
21146 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
21147 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
21148 Moved ...
21149 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
21150 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
21151 Moved ...
21152 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
21153 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
21154 Moved ...
21155 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
21156 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
21157 Moved ...
21158 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
21159 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
21160 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
21161 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
21162 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
21163 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
21164 Moved ...
21165 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
21166 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
21167 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
21168 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
21169 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
21170 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
21171 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
21172 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
21173 Moved ...
21174 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
21175 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21176 Moved ...
21177 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21178 ... here.
21179 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
21180 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
21181 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
21182 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
21183 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21184 Moved ...
21185 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21186 ... here.
21187 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
21188 Moved ...
21189 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
21190 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
21191 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
21192 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
21193 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
21194 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
21195 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
21196 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
21197 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
21198 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
21199 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
21200
21201 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
21202 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
21203
21204 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
21205 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
21206
21207 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
21208 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
21209 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
21210 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
21211 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
21212 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
21213 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
21214 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
21215 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
21216 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
21217 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
21218 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
21219 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
21220 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
21221 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
21222 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
21223 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
21224 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
21225 Moved ...
21226 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
21227 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
21228 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
21229 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
21230 Moved ...
21231 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
21232 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
21233 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
21234 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
21235 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
21236 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
21237 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
21238 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
21239 Moved ...
21240 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
21241 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
21242 Moved ...
21243 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
21244 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
21245 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
21246 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
21247 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
21248 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
21249 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
21250 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
21251 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
21252 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
21253 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
21254 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
21255 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
21256 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
21257 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
21258 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
21259 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
21260
21261 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
21262 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
21263 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
21264 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
21265 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
21266
21267 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
21268 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
21269 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
21270 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
21271 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
21272 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
21273 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
21274 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
21275 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
21276 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
21277
21278 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
21279 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
21280
21281 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
21282 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
21283 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
21284 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
21285 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
21286 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
21287 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
21288 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
21289 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
21290 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
21291 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
21292 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
21293 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
21294 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
21295 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
21296 Update #include.
21297 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
21298 Likewise.
21299 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21300 Likewise.
21301 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21302 Likewise.
21303 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21304 Likewise.
21305 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
21306 Likewise.
21307 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
21308 Likewise.
21309 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
21310 Likewise.
21311 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
21312 Likewise.
21313 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
21314 Likewise.
21315 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
21316 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
21317 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
21318 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
21319 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
21320 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
21321 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
21322 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
21323 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
21324 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
21325 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
21326 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
21327 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
21328 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
21329 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
21330
21331 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
21332 that was previously under [RESET_PID].
21333 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21334 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
21335 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
21336
21337 * sysdeps/i386/nptl/Implies: New file.
21338 * sysdeps/x86_64/nptl/Implies: New file.
21339 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
21340 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
21341 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
21342 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
21343
21344 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
21345 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21346 (__libc_vfork): New strong alias.
21347 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
21348 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
21349
21350 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
21351 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21352 (__libc_vfork): New strong alias.
21353 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
21354 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
21355
21356 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
21357 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21358 (__libc_vfork): New strong alias.
21359 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
21360 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
21361 * nptl/pt-vfork.c: New file.
21362 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
21363 (libpthread: GLIBC_2.20): New version set (empty).
21364
21365 2014-05-14 Will Newton <will.newton@linaro.org>
21366
21367 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
21368 rather than #if.
21369
21370 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21371
21372 [BZ #16564]
21373 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
21374 arguments with exponent 65 or above.
21375 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
21376 arguments 0x1p113L or above.
21377 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
21378 to arguments 0x1p107L or above.
21379 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
21380 positive arguments with exponent 65 or above.
21381 * math/auto-libm-test-in: Add more tests of log1p.
21382 * math/auto-libm-test-out: Regenerated.
21383
21384 [BZ #16928]
21385 * math/s_cacos.c (__cacos): Ensure zero real part of result from
21386 non-finite arguments is +0.
21387 * math/s_cacosf.c (__cacosf): Likewise.
21388 * math/s_cacosl.c (__cacosl): Likewise.
21389 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
21390 * sysdeps/i386/fpu/libm-test-ulps: Update.
21391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21392
21393 [BZ #16927]
21394 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
21395 value.
21396 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
21397 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
21398 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
21399 for explicit high bit of mantissa when testing for argument equal
21400 to 1.
21401 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
21402 * sysdeps/i386/fpu/libm-test-ulps: Update.
21403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21404
21405 [BZ #16516]
21406 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
21407 (__erf): Scale by 16 instead of 8 in potentially underflowing
21408 case. Ensure exception if result actually underflows.
21409 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
21410 (__erff): Scale by 16 instead of 8 in potentially underflowing
21411 case. Ensure exception if result actually underflows.
21412 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
21413 (efx8): Remove variable.
21414 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21415 case. Ensure exception if result actually underflows.
21416 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
21417 (efx8): Remove variable.
21418 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21419 case. Ensure exception if result actually underflows.
21420 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
21421 (efx8): Remove variable.
21422 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21423 case. Ensure exception if result actually underflows.
21424 * math/auto-libm-test-in: Add more tests of erf.
21425 * math/auto-libm-test-out: Regenerated.
21426
21427 2014-05-14 Andreas Schwab <schwab@suse.de>
21428
21429 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
21430 Remove code conditionalized on USE___THREAD.
21431
21432 * config.h.in (HAVE_PT_CHOWN): Define as 0.
21433 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
21434 not definedness.
21435
21436 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21437
21438 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
21439 Define unconditionally.
21440 (__ASSUME_O_CLOEXEC): Likewise.
21441 (__ASSUME_SOCK_CLOEXEC): Likewise.
21442 (__ASSUME_IN_NONBLOCK): Likewise.
21443 (__ASSUME_PIPE2): Likewise.
21444 (__ASSUME_EVENTFD2): Likewise.
21445 (__ASSUME_SIGNALFD4): Likewise.
21446 (__ASSUME_DUP3): Likewise.
21447 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21448 (__ASSUME_DUP3): Do not define.
21449 (__ASSUME_EVENTFD2): Likewise.
21450 (__ASSUME_IN_NONBLOCK): Likewise.
21451 (__ASSUME_O_CLOEXEC): Likewise.
21452 (__ASSUME_PIPE2): Likewise.
21453 (__ASSUME_SIGNALFD4): Likewise.
21454 (__ASSUME_SOCK_CLOEXEC): Likewise.
21455 (__ASSUME_UTIMES): Undefine.
21456 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21457 (__ASSUME_UTIMES): Do not define.
21458 (__ASSUME_O_CLOEXEC): Likewise.
21459 (__ASSUME_SOCK_CLOEXEC): Likewise.
21460 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
21461 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
21462 0x020621].
21463 (__ASSUME_PIPE2): Likewise.
21464 (__ASSUME_EVENTFD2): Likewise.
21465 (__ASSUME_SIGNALFD4): Likewise.
21466 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
21467 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
21468 Do not define.
21469 (__ASSUME_EVENTFD2): Likewise.
21470 (__ASSUME_SIGNALFD4): Likewise.
21471 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21472 (__ASSUME_32BITUIDS): Likewise.
21473 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21474 (__ASSUME_IPC64): Likewise.
21475 (__ASSUME_ST_INO_64_BIT): Likewise.
21476 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
21477 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
21478 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21479 (__ASSUME_UTIMES): Do not define.
21480 (__ASSUME_PSELECT): Likewise.
21481 (__ASSUME_PPOLL): Likewise.
21482 (__ASSUME_O_CLOEXEC): Likewise.
21483 (__ASSUME_SOCK_CLOEXEC): Likewise.
21484 (__ASSUME_IN_NONBLOCK): Likewise.
21485 (__ASSUME_PIPE2): Likewise.
21486 (__ASSUME_EVENTFD2): Likewise.
21487 (__ASSUME_SIGNALFD4): Likewise.
21488 (__ASSUME_DUP3): Likewise.
21489 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21490 (__ASSUME_UTIMES): Likewise.
21491 (__ASSUME_O_CLOEXEC): Likewise.
21492 (__ASSUME_SOCK_CLOEXEC): Likewise.
21493 (__ASSUME_IN_NONBLOCK): Likewise.
21494 (__ASSUME_PIPE2): Likewise.
21495 (__ASSUME_EVENTFD2): Likewise.
21496 (__ASSUME_SIGNALFD4): Likewise.
21497 (__ASSUME_DUP3): Likewise.
21498 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21499 (__ASSUME_UTIMES): Likewise.
21500 (__ASSUME_O_CLOEXEC): Likewise.
21501 (__ASSUME_SOCK_CLOEXEC): Likewise.
21502 (__ASSUME_IN_NONBLOCK): Likewise.
21503 (__ASSUME_PIPE2): Likewise.
21504 (__ASSUME_EVENTFD2): Likewise.
21505 (__ASSUME_SIGNALFD4): Likewise.
21506 (__ASSUME_DUP3): Likewise.
21507 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
21508 Likewise.
21509 (__ASSUME_UTIMES): Likewise.
21510 (__ASSUME_EVENTFD2): Likewise.
21511 (__ASSUME_SIGNALFD4): Likewise.
21512 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21513 (__ASSUME_O_CLOEXEC): Likewise.
21514 (__ASSUME_SOCK_CLOEXEC): Likewise.
21515 (__ASSUME_IN_NONBLOCK): Likewise.
21516 (__ASSUME_PIPE2): Likewise.
21517 (__ASSUME_EVENTFD2): Likewise.
21518 (__ASSUME_SIGNALFD4): Likewise.
21519 (__ASSUME_DUP3): Likewise.
21520 (__ASSUME_UTIMES): Undefine.
21521
21522 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
21523 feclearexcept. Remove symbol versioning code.
21524 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
21525 symbol versioning code.
21526 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
21527 symbol versioning code.
21528 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
21529 feupdateenv. Remove symbol versioning code.
21530 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
21531 fegetexceptflag. Remove symbol versioning code.
21532 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
21533 fesetexceptflag. Remove symbol versioning code.
21534 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
21535 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
21536 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
21537 (__posix_fadvise64_l32): Remove prototype.
21538 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
21539 code.
21540
21541 2014-05-13 Roland McGrath <roland@hack.frob.com>
21542
21543 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
21544 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
21545 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
21546 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
21547
21548 2014-05-13 Sami Kerola <kerolasa@iki.fi>
21549
21550 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
21551 current working directory
21552
21553 2014-05-13 Roland McGrath <roland@hack.frob.com>
21554
21555 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
21556 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
21557 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
21558 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
21559 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
21560 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
21561 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
21562 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
21563 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
21564 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
21565 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
21566 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
21567 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
21568 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
21569 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
21570 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
21571 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
21572 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
21573 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
21574 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
21575 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
21576 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
21577 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
21578 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
21579 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
21580 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
21581 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
21582 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
21583 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
21584 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
21585 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
21586 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
21587 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
21588 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
21589 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
21590 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
21591 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
21592 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
21593 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
21594 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
21595 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
21596 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
21597
21598 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
21599 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
21600
21601 * sysdeps/unix/sysv/linux/arm/Makefile
21602 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21603 Add rt-aeabi_unwind_cpp_pr1.
21604 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
21605 Add nptl-aeabi_unwind_cpp_pr1.
21606 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
21607 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
21608 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
21609 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
21610 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
21611 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
21612
21613 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
21614 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
21615 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
21616 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
21617
21618 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
21619 Deconditionalize the code that was previously under [RESET_PID].
21620 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
21621
21622 * sysdeps/generic/exit-thread.h: New file.
21623 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
21624 * include/unistd.h (__exit_thread): Remove declaration.
21625 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
21626 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
21627 * csu/libc-start.c: Include <exit-thread.h>.
21628 (LIBC_START_MAIN): Pass no argument to __exit_thread.
21629 * nptl/pthread_create.c: Include <exit-thread.h>.
21630 (start_thread): Call __exit_thread in place of __exit_thread_inline.
21631 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
21632 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
21633 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
21634 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
21635 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
21636 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
21637 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
21638 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
21639 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
21640 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
21641 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
21642 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
21643 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
21644 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
21645 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
21646 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
21647
21648 2014-05-13 Andreas Schwab <schwab@suse.de>
21649
21650 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
21651
21652 2014-05-12 Joseph Myers <joseph@codesourcery.com>
21653
21654 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21655 (__ASSUME_UTIMES): Do not condition on kernel version.
21656 (__ASSUME_PSELECT): Define unconditionally.
21657 (__ASSUME_PPOLL): Likewise.
21658 (__ASSUME_ATFCTS): Likewise.
21659 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
21660 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
21661 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
21662 (__ASSUME_UTIMENSAT): Define unconditionally.
21663 (__ASSUME_PRIVATE_FUTEX): Likewise.
21664 (__ASSUME_FALLOCATE): Likewise.
21665 (__ASSUME_O_CLOEXEC): Likewise.
21666 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
21667 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
21668 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
21669 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
21670 (__ASSUME_IN_NONBLOCK): Likewise.
21671 (__ASSUME_PIPE2): Likewise.
21672 (__ASSUME_EVENTFD2): Likewise.
21673 (__ASSUME_SIGNALFD4): Likewise.
21674 (__ASSUME_DUP3): Likewise.
21675 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21676 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
21677 (__ASSUME_AT_RANDOM): Likewise.
21678 (__ASSUME_PREADV): Likewise.
21679 (__ASSUME_PWRITEV): Likewise.
21680 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
21681 (__ASSUME_F_GETOWN_EX): Define unconditionally.
21682 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
21683 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21684 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
21685 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21686 (__ASSUME_O_CLOEXEC): Define unconditionally.
21687 (__ASSUME_PSELECT): Do not undefine conditionally.
21688 (__ASSUME_PPOLL): Likewise.
21689 (__ASSUME_ATFCTS): Likewise.
21690 (__ASSUME_SET_ROBUST_LIST): Likewise.
21691 (__ASSUME_UTIMENSAT): Likewise.
21692 (__ASSUME_FDATASYNC): Define unconditionally.
21693 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21694 (__ASSUME_SIGFRAME_V2): Likewise.
21695 )__ASSUME_EVENTFD2): Likewise.
21696 (__ASSUME_SIGNALFD4): Likewise.
21697 (__ASSUME_PSELECT): Do not undefine conditionally.
21698 (__ASSUME_PPOLL): Likewise.
21699 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21700 (__ASSUME_PSELECT): Define unconditionally.
21701 (__ASSUME_PPOLL): Likewise.
21702 (__ASSUME_O_CLOEXEC): Likewise.
21703 (__ASSUME_SOCK_CLOEXEC): Likewise.
21704 (__ASSUME_IN_NONBLOCK): Likewise.
21705 (__ASSUME_PIPE2): Likewise.
21706 (__ASSUME_EVENTFD2): Likewise.
21707 (__ASSUME_SIGNALFD4): Likewise.
21708 (__ASSUME_DUP3): Likewise.
21709 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21710 (__ASSUME_O_CLOEXEC): Likewise.
21711 (__ASSUME_SOCK_CLOEXEC): Likewise.
21712 (__ASSUME_IN_NONBLOCK): Likewise.
21713 (__ASSUME_PIPE2): Likewise.
21714 (__ASSUME_EVENTFD2): Likewise.
21715 (__ASSUME_SIGNALFD4): Likewise.
21716 (__ASSUME_DUP3): Likewise.
21717 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21718 (__ASSUME_EVENTFD2): Likewise.
21719 (__ASSUME_SIGNALFD4): Likewise.
21720 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21721
21722 2014-05-12 Andreas Schwab <schwab@suse.de>
21723
21724 [BZ #16932]
21725 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
21726 (_nss_nis_gethostbyname4_r): Return error if item length is larger
21727 than maximum RPC packet size.
21728 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
21729 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
21730 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
21731 (_nss_nis_getservbyport_r): Likewise.
21732
21733 2014-05-12 Will Newton <will.newton@linaro.org>
21734
21735 * malloc/Makefile (tests): Add tst-mallopt.
21736 * malloc/tst-mallopt.c: New file.
21737
21738 2014-05-09 Roland McGrath <roland@hack.frob.com>
21739
21740 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
21741 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
21742
21743 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21744
21745 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
21746 (tst-tlsmod6.so): Likewise.
21747
21748 2014-05-09 Roland McGrath <roland@hack.frob.com>
21749
21750 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
21751
21752 2014-05-09 Joseph Myers <joseph@codesourcery.com>
21753
21754 [BZ #16064]
21755 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
21756 and <dl-procinfo.h>.
21757 (__fegetenv): Save SSE state in envp->__eip if supported.
21758 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
21759 envp->__eip if supported.
21760 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
21761 and <dl-procinfo.h>.
21762 (__fesetenv): Always set __eip, __cs_selector, __opcode,
21763 __data_offset and __data_selector in environment to 0. Set SSE
21764 state if supported.
21765 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21766 test-fenv-sse.
21767 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
21768 -mfpmath=sse.
21769 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
21770
21771 2014-05-09 Will Newton <will.newton@linaro.org>
21772
21773 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
21774 and libc_relro_required for ARM.
21775 * sysdeps/arm/preconfigure: Regenerate.
21776
21777 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
21778 Stefan Liebler <stli@linux.vnet.ibm.com>
21779
21780 * config.make.in (enable-lock-elision): New Makefile variable.
21781 * configure.ac: Likewise.
21782 * configure: Regenerate.
21783 * sysdeps/s390/configure.ac:
21784 Add check for gcc transactions support.
21785 * sysdeps/s390/configure: Regenerate.
21786 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
21787 Build elision files if enabled.
21788 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
21789 Add lock elision support for s390.
21790 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21791 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
21792 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
21793 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
21794 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
21795 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21796 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21797 Likewise.
21798 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
21799 Likewise.
21800 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
21801 Likewise.
21802 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
21803 Likewise.
21804 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
21805 (__lll_timedlock_elision, __lll_lock_elision)
21806 (__lll_unlock_elision, __lll_trylock_elision)
21807 (lll_timedlock_elision, lll_lock_elision)
21808 (lll_unlock_elision, lll_trylock_elision): Add.
21809 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21810 (pthread_mutex_t): Add lock elision support for s390.
21811
21812 2014-05-14 Wilco <wdijkstr@arm.com>
21813
21814 * sysdeps/arm/fclrexcpt.c: Cleanup.
21815 * sysdeps/arm/fedisblxcpt.c: Cleanup.
21816 * sysdeps/arm/feenablxcpt.c: Cleanup.
21817 * sysdeps/arm/fegetenv.c: Cleanup.
21818 * sysdeps/arm/fegetexcept.c: Cleanup.
21819 * sysdeps/arm/fegetround.c: Cleanup.
21820 * sysdeps/arm/feholdexcpt.c: Cleanup.
21821 * sysdeps/arm/fesetenv.c: Cleanup.
21822 * sysdeps/arm/fesetround.c: Cleanup.
21823 * sysdeps/arm/feupdateenv.c: Cleanup.
21824 * sysdeps/arm/fgetexcptflg.c: Cleanup.
21825 * sysdeps/arm/fraiseexcpt.c: Cleanup.
21826 * sysdeps/arm/fsetexcptflg.c: Cleanup.
21827 * sysdeps/arm/ftestexcept.c: Cleanup.
21828 * sysdeps/arm/get-rounding-mode.h: Cleanup.
21829 * sysdeps/arm/setfpucw.c: Cleanup.
21830
21831 2014-05-09 Will Newton <will.newton@linaro.org>
21832
21833 * sysdeps/arm/armv7/strcmp.S: New file.
21834 * NEWS: Mention addition of ARMv7 optimized strcmp.
21835
21836 2014-05-08 Roland McGrath <roland@hack.frob.com>
21837
21838 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
21839 look for %.ac rather than %.in.
21840
21841 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
21842 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
21843 * sysdeps/mach/hurd/configure: Regenerated.
21844 * sysdeps/unix/sysv/linux/configure: Regenerated.
21845
21846 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
21847
21848 2014-05-07 Steve Ellcey <sellcey@mips.com>
21849
21850 [BZ# 16922]
21851 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
21852 (LONG_SUB): Ditto.
21853 (PTR_SUB): Ditto.
21854
21855 2014-05-07 Andreas Schwab <schwab@suse.de>
21856
21857 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
21858 when skipping over non-matching result from nscd.
21859
21860 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
21861
21862 [BZ #16876]
21863 * nptl/sockperf.c (client): Check socket return value.
21864
21865 [BZ #16877]
21866 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
21867 nscd security class.
21868
21869 2014-05-06 Roland McGrath <roland@hack.frob.com>
21870
21871 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
21872 * sysdeps/arm/unwind.h: ... here.
21873
21874 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
21875
21876 [BZ# 16916]
21877 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
21878 Define.
21879
21880 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
21881
21882 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
21883 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
21884 multiarch strncpy for PPC64.
21885 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
21886 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
21887 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
21888 multiarch optimizations.
21889 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21890 (__libc_ifunc_impl_list): Likewise.
21891 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
21892 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
21893 multiarch stpncpy for PPC64.
21894 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
21895 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
21896
21897 2014-05-06 Andreas Schwab <schwab@suse.de>
21898
21899 [BZ #16912]
21900 * gmon/mcount.c (_MCOUNT_DECL): Use
21901 atomic_compare_and_exchange_bool_acq instead of
21902 catomic_compare_and_exchange_bool_acq.
21903
21904 2014-05-05 Roland McGrath <roland@hack.frob.com>
21905
21906 * elf/Makefile (others, install-bin): Remove pldd.
21907 (pldd-modules): Variable removed.
21908 ($(objpfx)pldd): Target removed.
21909 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
21910 (others, install-bin): Append pldd here.
21911 ($(objpfx)pldd): New target.
21912
21913 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
21914 to 0, so the first #if test emitted later doesn't see it undefined.
21915 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
21916 * sysdeps/gnu/errlist.c: Regenerated.
21917
21918 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21919
21920 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21921 [libc_hidden_builtin_def]: Define to empty value.
21922 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
21923 [libc_hidden_builtin_def]: Likewise.
21924 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
21925 [libc_hidden_builtin_def]: Likewise.
21926 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
21927 [libc_hidden_builtin_def]: Likewise.
21928 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
21929 __redirect_memcpy and define ifunc as default hidden symbol.
21930 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
21931 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
21932
21933 2014-05-04 Adam Conrad <adconrad@0c3.net>
21934
21935 * locale/iso-4217.def: Reintroduce XDR currency.
21936
21937 2014-05-04 Allan McRae <allan@archlinux.org>
21938
21939 * po/eo.po: Update Esperanto translation from translation project.
21940
21941 2014-05-02 Carlos O'Donell <carlos@redhat.com>
21942
21943 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
21944 and FEATURE_INDEX_MAX to 1.
21945 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
21946
21947 2014-05-01 Steve Ellcey <sellcey@mips.com>
21948
21949 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
21950 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
21951 * iconvdata/big5.c (ONE_DIRECTION): Define.
21952 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
21953 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
21954 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
21955 * iconvdata/cp932.c (ONE_DIRECTION): Define.
21956 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
21957 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
21958 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
21959 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
21960 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
21961 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
21962 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
21963 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
21964 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
21965 * iconvdata/gbk.c (ONE_DIRECTION): Define.
21966 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
21967 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
21968 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
21969 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
21970 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
21971 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
21972 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
21973 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
21974 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
21975 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
21976 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
21977 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
21978 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
21979 * iconvdata/iso646.c (ONE_DIRECTION): Define.
21980 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
21981 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
21982 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
21983 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
21984 * iconvdata/johab.c (ONE_DIRECTION): Define.
21985 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
21986 * iconvdata/sjis.c (ONE_DIRECTION): Define.
21987 * iconvdata/t.61.c (ONE_DIRECTION): Define.
21988 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
21989 * iconvdata/tscii.c (ONE_DIRECTION): Define.
21990 * iconvdata/uhc.c (ONE_DIRECTION): Define.
21991 * iconvdata/unicode.c (ONE_DIRECTION): Define.
21992 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
21993 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
21994 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
21995
21996 2014-05-01 Roland McGrath <roland@hack.frob.com>
21997
21998 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
21999 (_IO_JUMPS_OFFSET): Define to 0.
22000
22001 * nptl/sysdeps/pthread/bits/libc-lock.h
22002 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
22003 (__libc_lock_define_initialized_recursive): Always define using
22004 initializer. Modern compilers treat uninitialized (implicit zero) and
22005 explicit zero initializers the same (i.e. put the datum in bss).
22006
22007 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
22008
22009 * nscd/nscd-client.h: Include <string.h>.
22010
22011 2014-05-01 David S. Miller <davem@davemloft.net>
22012
22013 [BZ #16885]
22014 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
22015 multiple zero bytes exist at the end of a string.
22016 Reported by Aurelien Jarno <aurelien@aurel32.net>
22017
22018 * string/test-strcmp.c (check): Add explicit test for situations where
22019 there are multiple zero bytes after the first.
22020
22021 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
22022
22023 [BZ #16890]
22024 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
22025 when compiling wprintf.
22026 * stdio-common/tstdiomisc.c (t3): New function.
22027 (main): Call it.
22028
22029 2014-05-01 Steve Ellcey <sellcey@mips.com>
22030
22031 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
22032 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
22033 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
22034 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
22035
22036 2014-05-01 Steve Ellcey <sellcey@mips.com>
22037
22038 * stdlib/longlong.h: Updated from GCC.
22039
22040 2014-05-01 Will Newton <will.newton@linaro.org>
22041 Bernard Ogden <bernie.ogden@linaro.org>
22042
22043 * NEWS: Update fixed bug list.
22044
22045 [BZ #15119]
22046 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
22047
22048 2014-04-30 David S. Miller <davem@davemloft.net>
22049
22050 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
22051 (libc_feholdexcept_setround_sparc_ctx): New function.
22052 (libc_fesetenv_sparc_ctx): Likewise.
22053 (libc_feupdateenv_sparc_ctx): Likewise.
22054 (libc_feholdsetround_sparc_ctx): Likewise.
22055 (libc_feholdexcept_setround_ctx): Define.
22056 (libc_feholdexcept_setroundf_ctx): Likewise.
22057 (libc_feholdexcept_setroundl_ctx): Likewise.
22058 (libc_fesetenv_ctx): Likewise.
22059 (libc_fesetenvf_ctx): Likewise.
22060 (libc_fesetenvl_ctx): Likewise.
22061 (libc_feupdateenv_ctx): Likewise.
22062 (libc_feupdateenvf_ctx): Likewise.
22063 (libc_feupdateenvl_ctx): Likewise.
22064 (libc_feresetround_ctx): Likewise.
22065 (libc_feresetroundf_ctx): Likewise.
22066 (libc_feresetroundl_ctx): Likewise.
22067 (libc_feholdsetround_ctx): Likewise.
22068 (libc_feholdsetroundf_ctx): Likewise.
22069 (libc_feholdsetroundl_ctx): Likewise.
22070
22071 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22072 with __USE_GNU instead of XOPEN cpp guards.
22073
22074 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
22075 0.
22076
22077 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22078 with XOPEN cpp guards.
22079
22080 2014-04-30 Julian Brown <julian@codesourcery.com>
22081
22082 [BZ #16888]
22083 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
22084 handling.
22085
22086 2014-04-30 Joseph Myers <joseph@codesourcery.com>
22087
22088 [BZ #9894]
22089 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
22090 Change to 2.6.32.
22091 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
22092 * sysdeps/unix/sysv/linux/configure: Regenerated.
22093 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
22094 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
22095 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
22096 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
22097 * README: Update reference to required Linux kernel version.
22098 * manual/install.texi (Linux): Update reference to required Linux
22099 kernel headers version.
22100 * INSTALL: Regenerated.
22101
22102 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
22103 header inclusion.
22104 [POSIX] (limits.h): Likewise.
22105 [POSIX] (math.h): Likewise.
22106 [POSIX] (sys/wait.h): Likewise.
22107 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
22108 function.
22109 [POSIX] (stddef.h): Do not allow header inclusion.
22110
22111 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22112
22113 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
22114
22115 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
22116
22117 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
22118 Return immediately after lll_futex_wake.
22119
22120 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22121
22122 [BZ #16791]
22123 * nscd/nscd-client.h (datahead_init_common): Initialize entire
22124 structure.
22125 (datahead_init_pos): Call datahead_init_common early.
22126 (datahead_init_neg): Likewise.
22127
22128 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
22129 datahead_init_neg): New functions.
22130 * nscd/aicache.c (addhstaiX): Use them.
22131 * nscd/grpcache.c (cache_addgr): Likewise.
22132 * nscd/hstcache.c (cache_addhst): Likewise.
22133 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22134 * nscd/netgroupcache.c (do_notfound): Likewise.
22135 (addgetnetgrentX): Likewise.
22136 (addinnetgrX): Likewise.
22137 * nscd/pwdcache.c (cache_addpw): Likewise.
22138 * nscd/servicescache.c (cache_addserv): Likewise.
22139
22140 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22141 Atsushi Onoe <atsushi@onoe.org>
22142
22143 [BZ #14308]
22144 [BZ #12994]
22145 [BZ #13651]
22146 * resolv/res_query.c (__libc_res_nsearch): Return if at least
22147 one response is valid.
22148 * resolv/res_send.c (send_dg): Check for validity of other
22149 response if the current response is a referral.
22150
22151 2014-04-29 Steve Ellcey <sellcey@mips.com>
22152
22153 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
22154
22155 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
22156
22157 [BZ #16823]
22158 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
22159 Always divide by positive zero when computing -Inf result.
22160 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22161 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
22162
22163 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22164
22165 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
22166 FPSCR if value do not change.
22167 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22168 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
22169 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22170 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22171 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
22172 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
22173 function.
22174
22175 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
22176
22177 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
22178 * sysdeps/unix/sysv/linux/hppa: Move directory from
22179 ports/systeps/unix/sysv/linux/hppa.
22180 * README: Update listing for hppa-*-linux-gnu.
22181
22182 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
22183
22184 [BZ #16754]
22185 * manual/stdio.texi (Hook functions): Fix types of stream hook
22186 functions.
22187 [BZ #16854]
22188 * socket/sys/socket.h: Fix typo in comment.
22189
22190 2014-04-28 Wilco <wdijkstr@arm.com>
22191
22192 * sysdeps/arm/fenv_private.h: New file.
22193 * sysdeps/arm/math_private.h: New file.
22194 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
22195
22196 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
22197
22198 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
22199 with __int128_t.
22200 (La_x86_64_retval): Likewise.
22201
22202 2014-04-24 Ian Bolton <ian.bolton@arm.com>
22203
22204 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
22205 fpsr if value didn't change.
22206 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
22207 to fpcr if value didn't change.
22208 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
22209 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
22210 fpsr or fpcr if value didn't change.
22211 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22212 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
22213 fpcr if value didn't change.
22214 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
22215 to fpsr if value didn't change.
22216
22217 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22218
22219 * nptl/tst-sem3.c: Use test-skeleton.c
22220 (main): Rename to do_test. Use return instead of
22221 exit.
22222 * nptl/tst-sem4.c: Use test-skeleton.c
22223 (main): Rename to do_test.
22224
22225 2014-04-22 David S. Miller <davem@davemloft.net>
22226
22227 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
22228 (struct sigaction): New struct member __glibc_reserved0, change
22229 type of sa_flags to int.
22230
22231 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
22232
22233 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
22234 (COUNT_LEADING_ZEROS_0): Define for AArch64.
22235
22236 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22237
22238 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
22239 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
22240
22241 2014-04-22 Will Newton <will.newton@linaro.org>
22242 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
22243
22244 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
22245 (__longjmp): Add longjmp and longjmp_target SystemTap
22246 probes.
22247 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
22248 (__sigsetjmp): Add setjmp SystemTap probe.
22249
22250 2014-04-17 Carlos O'Donell <carlos@redhat.com>
22251
22252 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
22253 match manual order.
22254
22255 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22256
22257 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
22258
22259 * sysdeps/powerpc/fpu/fenv_private.h
22260 (libc_feholdexcept_setroundl_ctx): Define to
22261 libc_feholdexcept_setround_ppc_ctx.
22262 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
22263 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
22264 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
22265 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
22266
22267 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22268
22269 * sysdeps/aarch64/math-tests.h: New file.
22270
22271 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
22272
22273 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
22274 New.
22275 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22276 Check and set bit_AVX2_Usable.
22277 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
22278 macro.
22279 (bit_AVX2): Likewise.
22280 (index_AVX2_Usable): Likewise.
22281 (CPUID_AVX2): Likewise.
22282 (HAS_AVX2): Likewise.
22283
22284 2014-04-17 Will Newton <will.newton@linaro.org>
22285
22286 * manual/setjmp.texi (System V contexts): Add note that
22287 calling setcontext on a context created by a call to a
22288 signal handler is undefined. Update text to note that
22289 setcontext from a signal handler is possible but not
22290 recommended.
22291
22292 [BZ #16629]
22293 * stdlib/tst-setcontext.c: Include signal.h.
22294 (main): Check that the signal stack before and
22295 after swapcontext is the same.
22296
22297 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
22298 Re-implement to restore registers in user code and avoid
22299 rt_sigreturn system call.
22300
22301 2014-04-17 Wilco <wdijkstr@arm.com>
22302
22303 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
22304 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
22305 * math/test-fenv.c: Skip exception trap tests on targets which only
22306 support non-stop mode.
22307
22308 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22309 Wilco Dijkstra <wilco.dijkstra@arm.com>
22310
22311 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
22312 (libc_feholdsetround_aarch64_ctx)
22313 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
22314 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
22315 (libc_feresetround_ctx, libc_feresetroundf_ctx)
22316 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
22317 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
22318 (libc_feresetround_noexl_ctx): Define.
22319
22320 2014-04-16 Richard Henderson <rth@redhat.com>
22321
22322 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
22323
22324 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
22325 unwind tables.
22326
22327 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
22328 const from the non-libc, non-ldso copy.
22329
22330 * sysdeps/alpha/libm-test-ulps: Regenerate.
22331
22332 2014-04-16 Ian Bolton <ian.bolton@arm.com>
22333 Wilco Dijkstra <wilco.dijkstra@arm.com>
22334
22335 * sysdeps/aarch64/fpu/math_private.h: New file.
22336
22337 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
22338
22339 * sysdeps/aarch64/libm-test-ulps: Regenerate.
22340
22341 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
22342
22343 [BZ #16275]
22344 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
22345 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
22346 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
22347 Intel MPX bound registers before _dl_profile_fixup.
22348 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
22349 registers after _dl_profile_fixup. Save and restore bound
22350 registers bnd0/bnd1 when calling _dl_call_pltexit.
22351 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
22352 (LR_BND_OFFSET): Likewise.
22353 (LRV_BND0_OFFSET): Likewise.
22354 (LRV_BND1_OFFSET): Likewise.
22355
22356 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22357
22358 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
22359 to...
22360 * sysdeps/mach/hurd/i386/tls.h: ... here.
22361 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
22362 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
22363 fields.
22364
22365 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22366
22367 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
22368
22369 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22370
22371 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22372
22373 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22374
22375 [BZ #14770]
22376 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
22377 * sysdeps/s390/configure: Regenerate.
22378
22379 [BZ #16824]
22380 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
22381 Set round-to-nearest internally to reduce error accumulation.
22382
22383 2014-04-16 Alan Modra <amodra@gmail.com>
22384
22385 [BZ #16740]
22386 [BZ #16619]
22387 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
22388 * math/libm-test.inc (frexp_test_data): Add tests.
22389 * NEWS: Update fixed bug list.
22390
22391 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22392
22393 * benchtests/Makefile: Depend on libraries in build directory.
22394 (bench-math): Separate out math tests.
22395 (bench-pthread): Separate out pthread tests.
22396 (bench): Include math and pthread tests.
22397
22398 2014-04-14 Carlos O'Donell <carlos@redhat.com>
22399
22400 [BZ #16831]
22401 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
22402 _dl_debug_initialize.
22403
22404 * configure.ac: Remove SELinux header check.
22405 * configure: Regenerate.
22406 * nscd/selinux.c (perms): Array of const char* to permission names.
22407 (nscd_request_avc_has_perm): Call security_deny_unknown to find
22408 default policy. Call string_to_security_class and string_to_av_perm to
22409 translate strings. Enforce default policy and call avs_has_perm with
22410 results of translated strings.
22411
22412 2014-04-13 David S. Miller <davem@davemloft.net>
22413
22414 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22415
22416 2014-04-12 Allan McRae <allan@archlinux.org>
22417
22418 [BZ #16838]
22419 * manual/string.texi (Collation Functions): Fix qsort argument
22420 order in example.
22421 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22422
22423 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
22424
22425 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
22426 Make the test a no-op if there are no exceptions defined.
22427
22428 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
22429
22430 * elf/Makefile (tests): make tst-dlopen-aout conditional on
22431 enable-hardcoded-path-in-tests
22432
22433 2014-04-11 Will Newton <will.newton@linaro.org>
22434
22435 * benchtests/Makefile (extra-objs): Add json-lib.o.
22436 (bench-func): Tidy up JSON output.
22437 * benchtests/bench-skeleton.c: Include json-lib.h.
22438 (main): Use JSON library functions to do output of
22439 benchmark results.
22440 * benchtests/bench-timing-type.c (main): Output the
22441 timing type simply, leaving formatting to the user.
22442 * benchtests/json-lib.c: New file.
22443 * benchtests/json-lib.h: Likewise.
22444
22445 2014-04-11 Torvald Riegel <triegel@redhat.com>
22446
22447 [BZ #15215]
22448 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
22449 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
22450 memory barriers. Add comments.
22451 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
22452 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
22453 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
22454 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
22455 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
22456 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
22457
22458 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22459
22460 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
22461 * sysdeps/s390/s390-64/configure.ac: ... this ...
22462 * sysdeps/s390/configure.ac: ... to here.
22463 * sysdeps/s390/s390-32/configure: Delete file.
22464 * sysdeps/s390/s390-64/configure: Delete file.
22465 * sysdeps/s390/configure: Regenerate.
22466
22467 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
22468
22469 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
22470
22471 2014-04-11 Will Newton <will.newton@linaro.org>
22472
22473 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
22474 to zero if it is not defined elsewhere. (mtrim): Test
22475 the value of MALLOC_DEBUG with #if rather than #ifdef.
22476
22477 2014-04-10 Torvald Riegel <triegel@redhat.com>
22478
22479 * benchtests/pthread_once-inputs: New file.
22480 * benchtests/pthread_once-source.c: New file.
22481 * benchtests/README: Update documentation.
22482
22483 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
22484 H.J. Lu <hongjiu.lu@intel.com>
22485
22486 [BZ #16275]
22487 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
22488 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
22489 * sysdeps/x86_64/configure: Regenerated.
22490 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
22491 macro.
22492 (REGISTER_SAVE_RAX): Likewise.
22493 (REGISTER_SAVE_RCX): Likewise.
22494 (REGISTER_SAVE_RDX): Likewise.
22495 (REGISTER_SAVE_RSI): Likewise.
22496 (REGISTER_SAVE_RDI): Likewise.
22497 (REGISTER_SAVE_R8): Likewise.
22498 (REGISTER_SAVE_R9): Likewise.
22499 (REGISTER_SAVE_BND0): Likewise.
22500 (REGISTER_SAVE_BND1): Likewise.
22501 (REGISTER_SAVE_BND2): Likewise.
22502 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
22503 bound registers when calling _dl_fixup.
22504
22505 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22506
22507 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
22508 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
22509 of its definition.
22510 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
22511 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
22512 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
22513 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
22514 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
22515 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
22516 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
22517
22518 2014-04-09 Peter Brett <peter@peter-b.co.uk>
22519
22520 [BZ #15514]
22521 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
22522 pathconf(_PC_NAME_MAX).
22523
22524 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22525
22526 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
22527 Remove macro usage.
22528 (__PTHREAD_SPINS): Move definition to ...
22529 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22530 (__PTHREAD_SPINS): ... here.
22531 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22532 (__PTHREAD_SPIN): Likewise.
22533 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
22534 (__PTHREAD_SPIN): Likewise.
22535 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
22536 (__PTHREAD_SPIN): Likewise.
22537 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
22538 (__PTHREAD_SPIN): Likewise.
22539 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
22540 (__PTHREAD_SPIN): Likewise.
22541 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
22542 (__PTHREAD_SPIN): Likewise.
22543 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
22544 (__PTHREAD_SPIN): Likewise.
22545 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
22546 (__PTHREAD_SPIN): Likewise.
22547 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
22548 (__PTHREAD_SPIN): Likewise.
22549 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
22550 (__PTHREAD_SPIN): Likewise.
22551 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
22552 (__PTHREAD_SPIN): Likewise.
22553 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
22554 (__PTHREAD_SPIN): Likewise.
22555
22556 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
22557 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
22558 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
22559 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
22560 imply folder.
22561 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
22562 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
22563 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
22564 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
22565 correct imply path.
22566 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
22567 strlen symbol for non multi-arch builds.
22568 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
22569 missing hidden_def and weak_alias.
22570
22571 2014-04-08 Carlos O'Donell <carlos@redhat.com>
22572
22573 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
22574
22575 2014-04-07 Will Newton <will.newton@linaro.org>
22576
22577 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
22578 and contents. [!_LIBC] Remove #ifndef and contents.
22579 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
22580 * string/memccpy.c (__memccpy): Use ANSI prototype.
22581 * string/memfrob.c (memfrob): Likewise.
22582 * string/strcoll.c (STRCOLL): Likewise.
22583 * string/strlen.c (strlen): Likewise.
22584 * string/strtok.c (STRTOK): Likewise.
22585 * string/strcat.c: Remove unused #include of memcopy.h.
22586 (strcat): Use ANSI prototype.
22587 * string/strchr.c: Remove unused #include of memcopy.h.
22588 (strchr): Use ANSI prototype.
22589 * string/strcmp.c: Remove unused #include of memcopy.h.
22590 (strcmp): Use ANSI prototype.
22591 * string/strcpy.c: Remove unused #include of memcopy.h.
22592 (strcpy): Use ANSI prototype.
22593
22594 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22595
22596 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
22597 * config.make.in (config-extra-cppflags): Set it from
22598 libc_extra_cppflags.
22599 * configure.ac (libc_extra_cflags): Make it accumulate over
22600 configure fragments.
22601 (libc_extra_cppflags): New flag.
22602 * configure. Regenerate.
22603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
22604 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
22605 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
22606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22607
22608 [BZ #16815]
22609 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
22610 result for FE_DOWNWARD rounding mode.
22611 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
22612 Likewise.
22613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22614
22615 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
22616
22617 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
22618 in function argument name.
22619
22620 2014-04-03 David Svoboda <svoboda@cert.org>
22621
22622 [BZ #5666]
22623 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
22624 explicitly.
22625
22626 2014-04-03 Roland McGrath <roland@hack.frob.com>
22627
22628 * elf/dl-unmap-segments.h: New file.
22629 * sysdeps/generic/ldsodefs.h
22630 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
22631 * elf/dl-close.c: Include <dl-unmap-segments.h>.
22632 * elf/dl-fptr.c: Likewise.
22633 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
22634 * sysdeps/aarch64/tlsdesc.c: Likewise.
22635 * sysdeps/arm/tlsdesc.c: Likewise.
22636 * sysdeps/i386/tlsdesc.c: Likewise.
22637 * sysdeps/tile/dl-runtime.c: Likewise.
22638 * sysdeps/x86_64/tlsdesc.c: Likewise.
22639 * elf/dl-load.h: New file.
22640 * elf/dl-load.c: Include it.
22641 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
22642 Macros moved to dl-load.h.
22643 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
22644 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
22645 Use _dl_unmap_segments in place of __munmap.
22646 Break out segment-mapping loop into ...
22647 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
22648
22649 2014-04-03 Will Newton <will.newton@linaro.org>
22650
22651 * elf/dl-lookup.c (do_lookup_x): Remove comment
22652 referring to nested function and move variable
22653 declarations down to before first use.
22654
22655 2014-04-02 Joseph Myers <joseph@codesourcery.com>
22656
22657 [BZ #16799]
22658 [BZ #16800]
22659 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
22660 with 0 numerator.
22661 * math/s_catanf.c (__catanf): Likewise.
22662 * math/s_catanh.c (__catanh): Likewise.
22663 * math/s_catanhf.c (__catanhf): Likewise.
22664 * math/s_catanhl.c (__catanhl): Likewise.
22665 * math/s_catanl.c (__catanl): Likewise.
22666 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
22667 by positive zero when computing -Inf result.
22668 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
22669 (catanh_test): Likewise.
22670 * sysdeps/i386/fpu/libm-test-ulps: Update.
22671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22672
22673 [BZ #16789]
22674 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
22675 instead of using underflowing value in computing result.
22676 * math/s_clog10.c (__clog10): Likewise.
22677 * math/s_clog10f.c (__clog10f): Likewise.
22678 * math/s_clog10l.c (__clog10l): Likewise.
22679 * math/s_clogf.c (__clogf): Likewise.
22680 * math/s_clogl.c (__clogl): Likewise.
22681 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
22682 (clog10_test): Likewise.
22683 * sysdeps/i386/fpu/libm-test-ulps: Update.
22684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22685
22686 2014-04-02 Alan Modra <amodra@gmail.com>
22687
22688 [BZ #16739]
22689 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
22690 output when value is near a power of two. Use int64_t for lx and
22691 remove casts. Use decimal rather than hex exponent constants.
22692 Don't use long double multiplication when double will suffice.
22693 * math/libm-test.inc (nextafter_test_data): Add tests.
22694 * NEWS: Add 16739 and 16786 to bug list.
22695
22696 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
22697
22698 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
22699
22700 2014-04-01 Will Newton <will.newton@linaro.org>
22701
22702 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
22703 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
22704
22705 2014-04-01 Florian Weimer <fweimer@redhat.com>
22706
22707 [BZ #13347]
22708 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
22709 * nptl/tst-setuid2.c: New file.
22710 * nptl/Makefile (xtests): Add tst-setuid2.
22711
22712 2014-04-01 Alan Modra <amodra@gmail.com>
22713
22714 [BZ #16786]
22715 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
22716
22717 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22718
22719 [BZ #6803]
22720 [BZ #6804]
22721 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
22722 set errno as appropriate.
22723 * math/w_scalbf.c (__scalbf): Likewise.
22724 * math/w_scalbl.c (__scalbl): Likewise.
22725 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
22726 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
22727 * math/libm-test.inc (scalb_test_data): Add errno expectations.
22728 Add more NaN tests.
22729
22730 [BZ #16349]
22731 * math/w_atan2.c: Include <errno.h>.
22732 (__atan2): Set errno for result underflowing to zero.
22733 * math/w_atan2f.c: Include <errno.h>.
22734 (__atan2f): Set errno for result underflowing to zero.
22735 * math/w_atan2l.c: Include <errno.h>.
22736 (__atan2l): Set errno for result underflowing to zero.
22737 * math/auto-libm-test-in: Don't allow missing errno for some atan2
22738 tests.
22739 * math/auto-libm-test-out: Regenerated.
22740
22741 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22742
22743 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
22744 Encode instruction correctly in little endian.
22745 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
22746 Likewise.
22747 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
22748 Likewise.
22749 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
22750 Likewise.
22751 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
22752 Likewise.
22753
22754 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22755
22756 [BZ #9894]
22757 * sysdeps/unix/sysv/linux/kernel-features.h
22758 [__sparc__ && !__arch64__ && !__sparc_v9__]
22759 (__ASSUME_SET_ROBUST_LIST): Do not define.
22760 [__sparc__ && !__arch64__ && !__sparc_v9__]
22761 (__ASSUME_FUTEX_LOCK_PI): Likewise.
22762 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
22763 Likewise.
22764 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22765 (__ASSUME_FUTEX_LOCK_PI): Undefine.
22766 (__ASSUME_REQUEUE_PI): Likewise.
22767 (__ASSUME_SET_ROBUST_LIST): Likewise.
22768 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22769 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
22770 Undefine.
22771 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22772 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
22773 Likewise.
22774 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
22775 Likewise.
22776 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
22777 Likewise.
22778 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22779 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
22780 Undefine.
22781 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
22782 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
22783 Likewise.
22784
22785 [BZ #16648]
22786 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22787 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
22788 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
22789
22790 2014-03-31 Will Newton <will.newton@linaro.org>
22791
22792 * benchtests/Makefile (bench): Add ffs and ffsll to list
22793 of tests.
22794 * benchtests/ffs-inputs: New file.
22795 * benchtests/ffsll-inputs: Likewise.
22796
22797 2014-03-29 Joseph Myers <joseph@codesourcery.com>
22798
22799 [BZ #16770]
22800 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
22801 too large before casting to int.
22802 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
22803 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
22804 * math/libm-test.inc (scalb_test_data): Add more tests.
22805
22806 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22807
22808 * benchtests/Makefile (DETAILED_OPT): New make option.
22809 (bench-func): Run benchmark program with -d if DETAILED_OPT is
22810 set.
22811 * benchtests/bench-skeleton.c: Include stdbool.h.
22812 (main): Store and print timings per input.
22813 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
22814 member to each argument value.
22815 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
22816 (_print_arg_data): Initialize per-input timing to 0.
22817
22818 * benchtests/Makefile (timing-type): New binary.
22819 (bench-clean): Also remove bench-timing-type.
22820 (bench): New target for timing-type.
22821 (bench-func): Print output in JSON format.
22822 * benchtests/bench-skeleton.c (main): Print output in JSON
22823 format.
22824 * benchtests/bench-timing-type.c: New file.
22825 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
22826 (TIMING_PRINT_STATS): Remove.
22827 * benchtests/scripts/bench.py (_print_arg_data): Store variant
22828 name separately.
22829
22830 * benchtests/bench-modf.c: Remove.
22831 * benchtests/modf-inputs: New inputs file.
22832
22833 2014-03-28 Joseph Myers <joseph@codesourcery.com>
22834
22835 [BZ #16362]
22836 * math/s_clog10.c (M_PI_LOG10E): New macro.
22837 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
22838 imaginary parts are 0.
22839 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
22840 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
22841 imaginary parts are 0.
22842 * math/s_clog10l.c (M_PI_LOG10El): New macro.
22843 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
22844 imaginary parts are 0.
22845 * math/libm-test.inc (clog10_test_data): Update expected results
22846 for when real and imaginary parts are 0.
22847
22848 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
22849
22850 * elf/dl-load.c: Finish conversion of __builtin_expect into
22851 __glibc_{un}likely.
22852
22853 2014-03-27 Joseph Myers <joseph@codesourcery.com>
22854
22855 [BZ #16348]
22856 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
22857 1+x for argument with exponent below -67.
22858 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
22859 Likewise.
22860 * math/auto-libm-test-in: Add more tests of exp.
22861 * math/auto-libm-test-out: Regenerated.
22862
22863 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22864
22865 [BZ #16759]
22866 * inet/getnetgrent_r.c (get_nonempty_val): New function.
22867 (nscd_getnetgrent): Use it.
22868
22869 [BZ #16760]
22870 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
22871 of stpcpy.
22872
22873 2014-03-27 Andi Kleen <ak@linux.intel.com>
22874
22875 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
22876 (lll_robust_lock, lll_cond_lock, lll_timedlock)
22877 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22878 (lll_robust_unlock): Remove out of line section. Use cfi
22879 intrinsics.
22880 (LLL_STUB_UNWIND_INFO*): Remove.
22881 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
22882 (lll_robust_lock, lll_cond_lock, lll_timedlock)
22883 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22884 (lll_robust_unlock): Remove out of line section. Use cfi
22885 intrinsics.
22886 (LLL_STUB_UNWIND_INFO*): Remove.
22887
22888 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22889
22890 [BZ #16758]
22891 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
22892 blank values.
22893
22894 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
22895
22896 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
22897
22898 2014-03-26 Joseph Myers <joseph@codesourcery.com>
22899
22900 [BZ #16198]
22901 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
22902 fnstenv.
22903 * math/test-fenv-preserve.c: New file.
22904 * math/Makefile (tests): Add test-fenv-preserve.
22905
22906 2014-03-26 Will Newton <will.newton@linaro.org>
22907
22908 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
22909
22910 2014-03-25 Roland McGrath <roland@hack.frob.com>
22911
22912 * scripts/versionlist.awk: Partition the version sets and emit all
22913 GLIBC_* (sorted) before all others (sorted).
22914
22915 2014-03-25 Joseph Myers <joseph@codesourcery.com>
22916
22917 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
22918 GLIBC_2.2.5 version.
22919
22920 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22921
22922 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
22923 calls.
22924
22925 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
22926 previous change.
22927
22928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22929
22930 2014-03-25 Andreas Schwab <schwab@suse.de>
22931
22932 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
22933 label to be used after in6ailist is initialized.
22934
22935 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22936
22937 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22938 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22939
22940 2014-03-25 Joseph Myers <joseph@codesourcery.com>
22941
22942 [BZ #16357]
22943 [BZ #16599]
22944 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
22945 min_plus_half.
22946 (fp_formats): Update initializers.
22947 (init_fp_formats): Initialize new field.
22948 (output_for_one_input_case): Allow underflow for results up to
22949 min_plus_half.
22950 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
22951 * math/auto-libm-test-in: Don't mark some underflows from asin and
22952 atanh as spurious.
22953 * math/auto-libm-test-out: Regenerated.
22954 * sysdeps/i386/fpu/libm-test-ulps: Update.
22955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22956
22957 2014-03-25 Andreas Schwab <schwab@suse.de>
22958
22959 * libio/Makefile (tst-ftell-partial-wide-ENV)
22960 (tst-ftell-active-handler-ENV): Define.
22961
22962 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
22963
22964 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
22965
22966 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
22967
22968 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
22969
22970 2014-03-24 Joseph Myers <joseph@codesourcery.com>
22971
22972 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
22973 * sysdeps/x86_64/fpu/multiarch/e_exp.c
22974 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22975
22976 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
22977
22978 [BZ #16634]
22979 * elf/dl-load.c (open_verify): Add mode parameter.
22980 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
22981 (open_path): Change from boolean 'secure' to complete flag 'mode'
22982 (_dl_map_object): Adjust.
22983 * elf/Makefile (tests): Add tst-dlopen-aout.
22984 * elf/tst-dlopen-aout.c: New test.
22985
22986 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
22987
22988 [BZ #16714]
22989 * sysdeps/unix/sysv/linux/s390/bits/stat.h
22990 (struct stat): Rename member pad0 to __glibc_reserved0.
22991
22992 [BZ #16712]
22993 * sysdeps/s390/s390-32/bits/wordsize.h
22994 (__WORDSIZE32_SIZE_ULONG): New define.
22995 * sysdeps/s390/s390-64/bits/wordsize.h
22996 (__WORDSIZE32_SIZE_ULONG): Likewise.
22997 * sysdeps/generic/stdint.h (SIZE_MAX):
22998 Define as UL if __WORDSIZE32_SIZE_ULONG.
22999
23000 [BZ #16713]
23001 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
23002 (__glibc_reserved0): New variable.
23003 (sa_flags): Change type to int.
23004
23005 * posix/Makefile (before-compile): Use += before-compile instead
23006 of a :=.
23007
23008 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23009 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
23010
23011 2014-03-20 Andreas Schwab <schwab@suse.de>
23012
23013 [BZ #16743]
23014 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
23015 non-matching result from nscd.
23016
23017 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23018
23019 * scripts/bench.py: Moved to ...
23020 * benchtests/scripts/bench.py: ... here.
23021 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
23022
23023 2014-03-24 Andreas Schwab <schwab@suse.de>
23024
23025 [BZ #16002]
23026 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
23027 alloca_account and account alloca use for struct in6ailist.
23028
23029 2014-03-24 Joseph Myers <joseph@codesourcery.com>
23030
23031 [BZ #16284]
23032 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
23033 rounding mode to recompute results that overflow to infinity or
23034 underflow to zero.
23035 * math/auto-libm-test-in: Don't mark tests as expected to fail for
23036 bug 16284.
23037 * math/auto-libm-test-out: Regenerated.
23038 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
23039 (ccosh_test): Likewise.
23040 (csin_test_data): Use plus_oflow.
23041 (csin_test): Use ALL_RM_TEST.
23042 (csinh_test_data): Use plus_oflow.
23043 (csinh_test): Use ALL_RM_TEST.
23044 * sysdeps/i386/fpu/libm-test-ulps: Update.
23045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23046
23047 2014-03-21 Joseph Myers <joseph@codesourcery.com>
23048
23049 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
23050 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
23051 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
23052
23053 [BZ #16731]
23054 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
23055 when x - 1 is zero.
23056 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
23057 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
23058 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
23059 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
23060 argument is 1.
23061 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
23062 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
23063 zero.
23064 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
23065 * sysdeps/i386/fpu/libm-test-ulps: Update.
23066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23067
23068 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23069
23070 * scripts/bench.pl: Remove file.
23071 * scripts/bench.py: New benchmark script.
23072 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
23073 * benchtests/README: Mention python dependency.
23074 * scripts/pylintrc: New file.
23075 * scripts/pylint: New file.
23076
23077 * bits/mathdef.h: Use #ifdef instead of #if.
23078 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
23079 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23080 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
23081 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23082 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
23083 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23084
23085 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23086 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23087
23088 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
23089 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
23090 and strpbrk-ppc64 objects.
23091 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23092 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
23093 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
23094 multiarch strpbrk for POWER7.
23095 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
23096 multiarch strpbrk for PPC64.
23097 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
23098 ifunc selector.
23099 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
23100 strpbrk for POWER7.
23101
23102 2014-03-20 Joseph Myers <joseph@codesourcery.com>
23103
23104 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
23105 (atan_test): Likewise.
23106 (atanh_test_data): Use NO_TEST_INLINE for two tests.
23107 (atanh_test): Use ALL_RM_TEST.
23108 (atan2_test_data): Likewise.
23109 (cabs_test): Likewise.
23110 (cacosh_test): Likewise.
23111 (carg_test): Likewise.
23112 (casin_test): Likewise.
23113 (casinh_test): Likewise.
23114 (cbrt_test): Likewise.
23115 (csqrt_test): Likewise.
23116 (erf_test): Likewise.
23117 (erfc_test): Likewise.
23118 (pow10_test): Likewise.
23119 (exp2_test): Likewise.
23120 (hypot_test): Likewise.
23121 (j0_test): Likewise.
23122 (j1_test): Likewise.
23123 (lgamma_test): Likewise.
23124 (gamma_test): Likewise.
23125 (sincos_test): Likewise.
23126 (tanh_test): Likewise.
23127 (y0_test): Likewise.
23128 (y1_test): Likewise.
23129 * sysdeps/i386/fpu/libm-test-ulps: Update.
23130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23131
23132 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23133
23134 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
23135 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
23136 and strcspn-ppc64 objects.
23137 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23138 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
23139 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
23140 multiarch strcspn for POWER7.
23141 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
23142 multiarch strcspn for PPC64.
23143 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
23144 ifunc selector.
23145 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
23146 strcspn for POWER7.
23147
23148 2014-03-20 Joseph Myers <joseph@codesourcery.com>
23149
23150 * math/gen-libm-test.pl (generate_testfile): Expect only function
23151 name as argument to AUTO_TESTS_* and pass results for all rounding
23152 modes to parse_args.
23153 (parse_auto_input): Separate inputs of automatic tests from
23154 outputs before storing in %auto_tests.
23155 * math/libm-test.inc (acos_test_data): Update call to
23156 AUTO_TESTS_f_f.
23157 (acos_test): Use ALL_RM_TEST.
23158 (acos_tonearest_test_data): Remove.
23159 (acos_test_tonearest): Likewise.
23160 (acos_towardzero_test_data): Likewise.
23161 (acos_test_towardzero): Likewise.
23162 (acos_downward_test_data): Likewise.
23163 (acos_test_downward): Likewise.
23164 (acos_upward_test_data): Likewise.
23165 (acos_test_upward): Likewise.
23166 (acosh_test_data): Update call to AUTO_TESTS_f_f.
23167 (asin_test_data): Likewise.
23168 (asin_test): Use ALL_RM_TEST.
23169 (asin_tonearest_test_data): Remove.
23170 (asin_test_tonearest): Likewise.
23171 (asin_towardzero_test_data): Likewise.
23172 (asin_test_towardzero): Likewise.
23173 (asin_downward_test_data): Likewise.
23174 (asin_test_downward): Likewise.
23175 (asin_upward_test_data): Likewise.
23176 (asin_test_upward): Likewise.
23177 (asinh_test_data): Update call to AUTO_TESTS_f_f.
23178 (atan_test_data): Likewise.
23179 (atanh_test_data): Likewise.
23180 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
23181 (cabs_test_data): Update call to AUTO_TESTS_c_f.
23182 (carg_test_data): Likewise.
23183 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
23184 (ccos_test_data): Update call to AUTO_TESTS_c_c.
23185 (ccosh_test_data): Likewise.
23186 (cexp_test_data): Likewise.
23187 (clog_test_data): Likewise.
23188 (clog10_test_data): Likewise.
23189 (cos_test_data): Update call to AUTO_TESTS_f_f.
23190 (cos_test): Use ALL_RM_TEST.
23191 (cos_tonearest_test_data): Remove.
23192 (cos_test_tonearest): Likewise.
23193 (cos_towardzero_test_data): Likewise.
23194 (cos_test_towardzero): Likewise.
23195 (cos_downward_test_data): Likewise.
23196 (cos_test_downward): Likewise.
23197 (cos_upward_test_data): Likewise.
23198 (cos_test_upward): Likewise.
23199 (cosh_test_data): Update call to AUTO_TESTS_f_f.
23200 (cosh_test): Use ALL_RM_TEST.
23201 (cosh_tonearest_test_data): Remove.
23202 (cosh_test_tonearest): Likewise.
23203 (cosh_towardzero_test_data): Likewise.
23204 (cosh_test_towardzero): Likewise.
23205 (cosh_downward_test_data): Likewise.
23206 (cosh_test_downward): Likewise.
23207 (cosh_upward_test_data): Likewise.
23208 (cosh_test_upward): Likewise.
23209 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
23210 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
23211 (ctan_test_data): Likewise.
23212 (ctan_test): Use ALL_RM_TEST.
23213 (ctan_tonearest_test_data): Remove.
23214 (ctan_test_tonearest): Likewise.
23215 (ctan_towardzero_test_data): Likewise.
23216 (ctan_test_towardzero): Likewise.
23217 (ctan_downward_test_data): Likewise.
23218 (ctan_test_downward): Likewise.
23219 (ctan_upward_test_data): Likewise.
23220 (ctan_test_upward): Likewise.
23221 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
23222 (ctanh_test): Use ALL_RM_TEST.
23223 (ctanh_tonearest_test_data): Remove.
23224 (ctanh_test_tonearest): Likewise.
23225 (ctanh_towardzero_test_data): Likewise.
23226 (ctanh_test_towardzero): Likewise.
23227 (ctanh_downward_test_data): Likewise.
23228 (ctanh_test_downward): Likewise.
23229 (ctanh_upward_test_data): Likewise.
23230 (ctanh_test_upward): Likewise.
23231 (erf_test_data): Update call to AUTO_TESTS_f_f.
23232 (erfc_test_data): Likewise.
23233 (exp_test_data): Likewise.
23234 (exp_test): Use ALL_RM_TEST.
23235 (exp_tonearest_test_data): Remove.
23236 (exp_test_tonearest): Likewise.
23237 (exp_towardzero_test_data): Likewise.
23238 (exp_test_towardzero): Likewise.
23239 (exp_downward_test_data): Likewise.
23240 (exp_test_downward): Likewise.
23241 (exp_upward_test_data): Likewise.
23242 (exp_test_upward): Likewise.
23243 (exp10_test_data): Update call to AUTO_TESTS_f_f.
23244 (exp10_test): Use ALL_RM_TEST.
23245 (exp10_tonearest_test_data): Remove.
23246 (exp10_test_tonearest): Likewise.
23247 (exp10_towardzero_test_data): Likewise.
23248 (exp10_test_towardzero): Likewise.
23249 (exp10_downward_test_data): Likewise.
23250 (exp10_test_downward): Likewise.
23251 (exp10_upward_test_data): Likewise.
23252 (exp10_test_upward): Likewise.
23253 (exp2_test_data): Update call to AUTO_TESTS_f_f.
23254 (expm1_test_data): Likewise.
23255 (expm1_test): Use ALL_RM_TEST.
23256 (expm1_tonearest_test_data): Remove.
23257 (expm1_test_tonearest): Likewise.
23258 (expm1_towardzero_test_data): Likewise.
23259 (expm1_test_towardzero): Likewise.
23260 (expm1_downward_test_data): Likewise.
23261 (expm1_test_downward): Likewise.
23262 (expm1_upward_test_data): Likewise.
23263 (expm1_test_upward): Likewise.
23264 (fma_test_data): Update call to AUTO_TESTS_fff_f.
23265 (fma_test): Use ALL_RM_TEST.
23266 (fma_towardzero_test_data): Remove.
23267 (fma_test_towardzero): Likewise.
23268 (fma_downward_test_data): Likewise.
23269 (fma_test_downward): Likewise.
23270 (fma_upward_test_data): Likewise.
23271 (fma_test_upward): Likewise.
23272 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
23273 (j0_test_data): Update call to AUTO_TESTS_f_f.
23274 (j1_test_data): Likewise.
23275 (jn_test_data): Update call to AUTO_TESTS_if_f.
23276 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
23277 (log_test_data): Update call to AUTO_TESTS_f_f.
23278 (log10_test_data): Likewise.
23279 (log1p_test_data): Likewise.
23280 (log2_test_data): Likewise.
23281 (pow_test_data): Update call to AUTO_TESTS_ff_f.
23282 (pow_tonearest_test_data): Likewise.
23283 (sin_test_data): Update call to AUTO_TESTS_f_f.
23284 (sin_test): Use ALL_RM_TEST.
23285 (sin_tonearest_test_data): Remove.
23286 (sin_test_tonearest): Likewise.
23287 (sin_towardzero_test_data): Likewise.
23288 (sin_test_towardzero): Likewise.
23289 (sin_downward_test_data): Likewise.
23290 (sin_test_downward): Likewise.
23291 (sin_upward_test_data): Likewise.
23292 (sin_test_upward): Likewise.
23293 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
23294 (sinh_test_data): Update call to AUTO_TESTS_f_f.
23295 (sinh_test): Use ALL_RM_TEST.
23296 (sinh_tonearest_test_data): Remove.
23297 (sinh_test_tonearest): Likewise.
23298 (sinh_towardzero_test_data): Likewise.
23299 (sinh_test_towardzero): Likewise.
23300 (sinh_downward_test_data): Likewise.
23301 (sinh_test_downward): Likewise.
23302 (sinh_upward_test_data): Likewise.
23303 (sinh_test_upward): Likewise.
23304 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
23305 (sqrt_test): Use ALL_RM_TEST.
23306 (sqrt_tonearest_test_data): Remove.
23307 (sqrt_test_tonearest): Likewise.
23308 (sqrt_towardzero_test_data): Likewise.
23309 (sqrt_test_towardzero): Likewise.
23310 (sqrt_downward_test_data): Likewise.
23311 (sqrt_test_downward): Likewise.
23312 (sqrt_upward_test_data): Likewise.
23313 (sqrt_test_upward): Likewise.
23314 (tan_test_data): Update call to AUTO_TESTS_f_f.
23315 (tan_test): Use ALL_RM_TEST.
23316 (tan_tonearest_test_data): Remove.
23317 (tan_test_tonearest): Likewise.
23318 (tan_towardzero_test_data): Likewise.
23319 (tan_test_towardzero): Likewise.
23320 (tan_downward_test_data): Likewise.
23321 (tan_test_downward): Likewise.
23322 (tan_upward_test_data): Likewise.
23323 (tan_test_upward): Likewise.
23324 (tanh_test_data): Update call to AUTO_TESTS_f_f.
23325 (tgamma_test_data): Likewise.
23326 (y0_test_data): Likewise.
23327 (y1_test_data): Likewise.
23328 (yn_test_data): Update call to AUTO_TESTS_if_f.
23329 (main): Do not call removed functions.
23330
23331 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23332
23333 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
23334 (ldexp_test_data): Remove.
23335 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
23336 scalbn_test_data.
23337 (scalb_test): Use ALL_RM_TEST.
23338
23339 2014-03-19 Andreas Schwab <schwab@suse.de>
23340
23341 * nscd/nscd.service: Also invalidate netgroup cache on reload.
23342
23343 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23344
23345 [BZ #16649]
23346 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23347 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
23348 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
23349 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23350 (__ASSUME_PREADV): Undefine.
23351 (__ASSUME_PWRITEV): Likewise.
23352
23353 2014-03-18 Roland McGrath <roland@hack.frob.com>
23354
23355 * bits/mman-linux.h: Add comment about non-Linux use.
23356 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
23357 bits/mman-linux.h resting place.
23358
23359 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
23360 * bits/mman-linux.h: ... here.
23361
23362 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23363
23364 * conform/conformtest.pl: Add standard definition when calling C
23365 preprocessor on data files.
23366 (checknamespace): Remove unused variable.
23367
23368 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23369
23370 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
23371 minus_oflow, plus_uflow and minus_uflow in expected results.
23372 * math/libm-test.inc (scalbn_test_data): Add more tests of
23373 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
23374 minus_uflow.
23375 (scalbn_test): Use ALL_RM_TEST.
23376 (scalbln_test_data): Add more tests of negative arguments. Use
23377 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
23378 (scalbln_test): Use ALL_RM_TEST.
23379
23380 2014-03-18 Roland McGrath <roland@hack.frob.com>
23381
23382 * scripts/abilist.awk: Ignore symbols marked with .hidden.
23383
23384 2014-03-18 Will Newton <will.newton@linaro.org>
23385
23386 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
23387 inaccurate comment.
23388
23389 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23390
23391 * Makerules [!subdir] (check-abi): Exit with error status if a
23392 test failed.
23393
23394 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23395
23396 * math/libm-test.inc (nearbyint_test_data): Include all tests used
23397 for rint. Include results for all rounding modes.
23398 (nearbyint_test): Use ALL_RM_TEST.
23399 (rint_test_data): Include all tests used for nearbyint.
23400
23401 2014-03-17 Will Newton <will.newton@linaro.org>
23402
23403 * nptl/sysdeps/pthread/pthread.h: Revert previous
23404 change.
23405
23406 * sysdeps/generic/ldsodefs.h: Revert previous
23407 change.
23408
23409 * libio/genops.c: Revert previous change.
23410 * libio/libioP.h: Likewise.
23411 * stdio-common/vfprintf.c: Likewise.
23412
23413 * sysdeps/generic/math_private.h: Revert previous
23414 change.
23415
23416 * sysdeps/generic/math_private.h: Check whether
23417 HAVE_RM_CTX is defined with #ifdef rather
23418 than #if.
23419
23420 * argp/argp-fmtstream.h: Check whether
23421 __STRICT_ANSI__ is defined with #ifdef rather
23422 than #if.
23423 * argp/argp.h: Likewise.
23424
23425 * libio/genops.c: Check whether
23426 _IO_JUMPS_OFFSET is defined with #ifdef rather
23427 than #if.
23428 * libio/libioP.h: Likewise.
23429 * stdio-common/vfprintf.c: Likewise.
23430
23431 * sysdeps/generic/ldsodefs.h: Check whether
23432 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
23433 than #if.
23434
23435 * nptl/sysdeps/pthread/pthread.h: Check
23436 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
23437 its value.
23438
23439 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23440
23441 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
23442 setting O_APPEND.
23443 * libio/tst-ftell-active-handler.c (do_append_test): Add a
23444 test case.
23445
23446 [BZ #16680]
23447 * libio/fileops.c (_IO_file_open): Seek to end of file but
23448 don't cache the offset.
23449 (get_file_offset): Remove function.
23450 (do_ftell): Use cached offset when available.
23451 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
23452 don't cache the offset.
23453 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
23454 case.
23455 (do_one_test): Call it.
23456 (do_ftell_test): Fix up expected old offset for a+ mode.
23457 * libio/wfileops.c (do_ftell_wide): Used cached offset when
23458 available.
23459
23460 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
23461 up test status with function return status.
23462 (do_write_test): Likewise.
23463 (do_append_test): Likewise.
23464
23465 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
23466 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
23467 Remove.
23468
23469 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23470
23471 * math/gen-libm-test.pl (parse_args): Handle results specified for
23472 each rounding mode separately.
23473 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
23474 tests and results from lrint_tonearest_test_data,
23475 lrint_towardzero_test_data, lrint_downward_test_data and
23476 lrint_upward_test_data.
23477 (lrint_test): Use ALL_RM_TEST.
23478 (lrint_tonearest_test_data): Remove.
23479 (lrint_test_tonearest): Likewise.
23480 (lrint_towardzero_test_data): Likewise.
23481 (lrint_test_towardzero): Likewise.
23482 (lrint_downward_test_data): Likewise.
23483 (lrint_test_downward): Likewise.
23484 (lrint_upward_test_data): Likewise.
23485 (lrint_test_upward): Likewise.
23486 (llrint_test_data): Merge in per-rounding-mode tests and results
23487 from llrint_tonearest_test_data, llrint_towardzero_test_data,
23488 llrint_downward_test_data and llrint_upward_test_data.
23489 (llrint_test): Use ALL_RM_TEST.
23490 (llrint_tonearest_test_data): Remove.
23491 (llrint_test_tonearest): Likewise.
23492 (llrint_towardzero_test_data): Likewise.
23493 (llrint_test_towardzero): Likewise.
23494 (llrint_downward_test_data): Likewise.
23495 (llrint_test_downward): Likewise.
23496 (llrint_upward_test_data): Likewise.
23497 (llrint_test_upward): Likewise.
23498 (rint_test_data): Merge in per-rounding-mode tests and results
23499 from rint_tonearest_test_data, rint_towardzero_test_data,
23500 rint_downward_test_data and rint_upward_test_data. Add
23501 per-rounding-mode results for tests not in those arrays.
23502 (rint_test): Use ALL_RM_TEST.
23503 (rint_tonearest_test_data): Remove.
23504 (rint_test_tonearest): Likewise.
23505 (rint_towardzero_test_data): Likewise.
23506 (rint_test_towardzero): Likewise.
23507 (rint_downward_test_data): Likewise.
23508 (rint_test_downward): Likewise.
23509 (rint_upward_test_data): Likewise.
23510 (rint_test_upward): Likewise.
23511 (main): Don't call removed functions.
23512
23513 2014-03-14 Roland McGrath <roland@hack.frob.com>
23514
23515 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
23516 "Compiled on ..." crapola. It is anti-useful.
23517
23518 2014-03-14 Joseph Myers <joseph@codesourcery.com>
23519
23520 * scripts/evaluate-test.sh: Handle fourth argument to determine
23521 whether test run should stop on failure.
23522 * Makeconfig (stop-on-test-failure): New variable.
23523 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
23524 $(stop-on-test-failure).
23525 * Makefile (tests): Give a summary of results from testing and
23526 exit with failure status if they include an ERROR or FAIL.
23527 (xtests): Likewise.
23528 * manual/install.texi (Configuring and compiling): Mention
23529 stop-on-test-failure=y.
23530 * INSTALL: Regenerated.
23531
23532 2014-03-14 Roland McGrath <roland@hack.frob.com>
23533
23534 * scripts/versionlist.awk: New file.
23535 * Makerules [$(build-shared) = yes]
23536 (postclean-generated): Add Versions.def, not Versions.def.v and
23537 Versions.def.v.i.
23538 ($(common-objpfx)Versions.def.v.i): Target removed.
23539 ($(common-objpfx)Versions.def): New target.
23540 ($(common-objpfx)Versions.all): Depend on that rather that
23541 $(common-objpfx)Versions.def.v.
23542 * Versions.def: File removed.
23543
23544 * Makeconfig (+gccwarn): Add -Wundef.
23545 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
23546 a dl-sysdep.h breaking its contract.
23547 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
23548 * include/stackinfo.h: New file.
23549 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
23550 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
23551 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
23552 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
23553 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
23554 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
23555 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23556 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23557 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23558 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23559 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23560 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
23561 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23562 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23563 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23564
23565 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23566
23567 [BZ #16707]
23568 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
23569 implementation.
23570 * math/libm-test.inc (round_test_data): Add more tests.
23571
23572 [BZ #16706]
23573 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
23574 implementation.
23575 * math/libm-test.inc (nearbyint_test_data): Add more tests.
23576
23577 [BZ #16701]
23578 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
23579 implementation.
23580 * math/libm-test.inc (ceil_test_data): Add more tests.
23581
23582 * math/libm-test.inc (trunc_test_data): Add more tests related to
23583 BZ#16414.
23584
23585 2014-03-14 Roland McGrath <roland@hack.frob.com>
23586
23587 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
23588 with #if rather than #ifdef.
23589 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
23590
23591 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
23592
23593 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
23594 first. Disable AVX-512 GCC support if assembler doesn't support
23595 it.
23596 * sysdeps/x86_64/configure: Regenerated.
23597
23598 2014-03-13 Carlos O'Donell <carlos@redhat.com>
23599
23600 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
23601 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
23602 (__old_pthread_attr_setstack): Likewise.
23603 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
23604 [!_STACK_GROWS_DOWN]: Likewise.
23605
23606 2014-03-13 Mike Frysinger <vapier@gentoo.org>
23607
23608 * config.make.in (have-bash2): Delete.
23609 * configure.ac (libc_cv_have_bash2): Delete.
23610 * configure: Regenerate.
23611 * elf/Makefile (common-ldd-rewrite): Rename to ...
23612 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
23613 (sh-ldd-rewrite): Delete.
23614 (bash-ldd-rewrite): Delete.
23615 (have-bash2): Delete checks.
23616 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
23617 ldd-rewrite.
23618
23619 * config.make.in (have-ksh): Delete.
23620 (KSH): Delete.
23621 * configure.ac (libc_cv_have_ksh): Delete.
23622 * configure: Regenerate.
23623
23624 * elf/Makefile: Delete $(have-ksh) check.
23625 ($(objpfx)sotruss): Change KSH to BASH.
23626 * elf/sotruss.ksh: Rename to ...
23627 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
23628 function style to match POSIX. Drop ksh vim mode setting.
23629
23630 * manual/time.texi (Specifying the Time Zone with TZ): Change
23631 Tuesday to Thursday.
23632
23633 * debug/tst-longjmp_chk2.c: Update header comment.
23634 (stackoverflow_handler): Add comment. Call assert on pass value.
23635
23636 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
23637
23638 [BZ #16194]
23639 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
23640 (HAVE_AVX512_ASM_SUPPORT): Likewise.
23641 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
23642 (La_x86_64_vector): Add zmm.
23643 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
23644 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
23645 ($(objpfx)tst-audit10): New target.
23646 ($(objpfx)tst-audit10.out): Likewise.
23647 (tst-audit10-ENV): New.
23648 (AVX512-CFLAGS): Likewise.
23649 (CFLAGS-tst-audit10.c): Likewise.
23650 (CFLAGS-tst-auditmod10a.c): Likewise.
23651 (CFLAGS-tst-auditmod10b.c): Likewise.
23652 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
23653 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
23654 * sysdeps/x86_64/configure: Regenerated.
23655 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
23656 AVX-512 zmm register support.
23657 (_dl_x86_64_save_sse): Likewise.
23658 (_dl_x86_64_restore_sse): Likewise.
23659 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
23660 size vector registers.
23661 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
23662 (ZMM_SIZE): Likewise.
23663 * sysdeps/x86_64/tst-audit10.c: New file.
23664 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
23665 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
23666
23667 2014-03-13 Roland McGrath <roland@hack.frob.com>
23668
23669 * configure.ac (HAVE_EHDR_START): New check.
23670 * configure: Regenerated.
23671 * config.h.in (HAVE_EHDR_START): New #undef.
23672 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
23673 assuming the lowest-addressed segment maps the start of the file.
23674
23675 2014-03-13 Joseph Myers <joseph@codesourcery.com>
23676
23677 * INSTALL: Regenerated.
23678
23679 2014-03-13 Will Newton <will.newton@linaro.org>
23680
23681 * manual/setjmp.texi (System V contexts): Improve
23682 clarity and grammar of documentation.
23683
23684 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
23685
23686 [BZ #16381]
23687 * elf/Makefile (tests): Add tst-pie2.
23688 (tests-pie): Add tst-pie2.
23689 * elf/tst-pie2.c: New file.
23690 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
23691 for ET_EXEC.
23692 * elf/rtld.c (map_doit): Load executable as lt_executable.
23693 (dl_main): Likewise.
23694
23695 2014-03-12 Joseph Myers <joseph@codesourcery.com>
23696
23697 [BZ #16642]
23698 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23699 (__ASSUME_PSELECT): Undefine.
23700
23701 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23702
23703 [BZ #16689]
23704 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
23705 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
23706 static build.
23707 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
23708 selector for static builds.
23709
23710 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23711
23712 [BZ #16695]
23713 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
23714 key in the buffer.
23715
23716 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23717
23718 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
23719 IFUNC selector for static builds.
23720
23721 2014-03-11 Joseph Myers <joseph@codesourcery.com>
23722
23723 * sysdeps/mips/math_private.h [__mips_hard_float]
23724 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
23725 libc_feresetround_mips_ctx.
23726 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
23727 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
23728 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
23729
23730 [BZ #16677]
23731 * math/s_nextafter.c (__nextafter): Do not return value from
23732 overflowing computation.
23733 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
23734 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
23735 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
23736 Likewise.
23737 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
23738 Likewise.
23739 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
23740 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
23741
23742 2014-03-11 Roland McGrath <roland@hack.frob.com>
23743
23744 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
23745 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
23746 Move sfi_sp use from the load-multiple (that no longer sets sp) to
23747 the new mov targetting sp.
23748
23749 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23750
23751 [BZ #16683]
23752 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
23753 Define it for static builds as well.
23754 (NO_BZERO_IMPL): Likewise.
23755
23756 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23757
23758 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
23759 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
23760 multiarch strspn for PPC64.
23761 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
23762 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
23763 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23764 (__libc_ifunc_impl_list): Likewise.
23765 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
23766 multiarch optimizations
23767 * string/strspn.c (strspn): Using macro to redefine symbol name.
23768
23769 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23770 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23771
23772 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
23773 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
23774 multiarch strncat for PPC64.
23775 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
23776 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
23777 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23778 (__libc_ifunc_impl_list): Likewise.
23779 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
23780 multiarch optimizations
23781
23782 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23783
23784 [BZ #16639]
23785 * nscd/nscd.service: Make service type forking.
23786
23787 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23788
23789 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
23790 sign in non default rounding modes.
23791 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
23792
23793 2014-03-08 Joseph Myers <joseph@codesourcery.com>
23794
23795 * math/libm-test.inc (ALL_RM_TEST): New macro.
23796 (ceil_test): Use ALL_RM_TEST.
23797 (cimag_test): Likewise.
23798 (conj_test): Likewise.
23799 (copysign_test): Likewise.
23800 (cproj_test): Likewise.
23801 (creal_test): Likewise.
23802 (fabs_test): Likewise.
23803 (floor_test): Likewise.
23804 (fmax_test): Likewise.
23805 (fmin_test): Likewise.
23806 (fmod_test): Likewise.
23807 (fpclassify_test): Likewise.
23808 (frexp_test): Likewise.
23809 (ilogb_test): Likewise.
23810 (isfinite_test): Likewise.
23811 (finite_test): Likewise.
23812 (isgreater_test): Likewise.
23813 (isgreaterequal_test): Likewise.
23814 (isinf_test): Likewise.
23815 (isless_test): Likewise.
23816 (islessequal_test): Likewise.
23817 (islessgreater_test): Likewise.
23818 (isnan_test): Likewise.
23819 (isnormal_test): Likewise.
23820 (issignaling_test): Likewise.
23821 (isunordered_test): Likewise.
23822 (logb_test): Likewise.
23823 (logb_downward_test_data): Remove.
23824 (logb_test_downward): Likewise.
23825 (lround_test): Use ALL_RM_TEST.
23826 (llround_test): Likewise.
23827 (modf_test): Likewise.
23828 (nexttoward_test): Likewise.
23829 (remainder_test): Likewise.
23830 (drem_test): Likewise.
23831 (remainder_tonearest_test_data): Likewise.
23832 (remainder_test_tonearest): Likewise.
23833 (drem_test_tonearest): Likewise.
23834 (remainder_towardzero_test_data): Likewise.
23835 (remainder_test_towardzero): Likewise.
23836 (drem_test_towardzero): Likewise.
23837 (remainder_downward_test_data): Likewise.
23838 (remainder_test_downward): Likewise.
23839 (drem_test_downward): Likewise.
23840 (remainder_upward_test_data): Likewise.
23841 (remainder_test_upward): Likewise.
23842 (drem_test_upward): Likewise.
23843 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
23844 (round_test): Use ALL_RM_TEST.
23845 (signbit_test): Likewise.
23846 (trunc_test): Likewise.
23847 (significand_test): Likewise.
23848 (main): Don't call removed functions.
23849
23850 2014-03-07 Joseph Myers <joseph@codesourcery.com>
23851
23852 [BZ #16674]
23853 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
23854 || __USE_XOPEN2K8].
23855 (ILL_ILLOPN): Likewise.
23856 (ILL_ILLADR): Likewise.
23857 (ILL_ILLTRP): Likewise.
23858 (ILL_PRVOPC): Likewise.
23859 (ILL_PRVREG): Likewise.
23860 (ILL_COPROC): Likewise.
23861 (ILL_BADSTK): Likewise.
23862 (FPE_INTDIV): Likewise.
23863 (FPE_INTOVF): Likewise.
23864 (FPE_FLTDIV): Likewise.
23865 (FPE_FLTOVF): Likewise.
23866 (FPE_FLTUND): Likewise.
23867 (FPE_FLTRES): Likewise.
23868 (FPE_FLTINV): Likewise.
23869 (FPE_FLTSUB): Likewise.
23870 (SEGV_MAPERR): Likewise.
23871 (SEGV_ACCERR): Likewise.
23872 (BUS_ADRALN): Likewise.
23873 (BUS_ADRERR): Likewise.
23874 (BUS_OBJERR): Likewise.
23875 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23876 (TRAP_TRACE): Likewise.
23877 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23878 __USE_XOPEN2K8].
23879 (CLD_KILLED): Likewise.
23880 (CLD_DUMPED): Likewise.
23881 (CLD_TRAPPED): Likewise.
23882 (CLD_STOPPED): Likewise.
23883 (CLD_CONTINUED): Likewise.
23884 (POLL_IN): Likewise.
23885 (POLL_OUT): Likewise.
23886 (POLL_MSG): Likewise.
23887 (POLL_ERR): Likewise.
23888 (POLL_PRI): Likewise.
23889 (POLL_HUP): Likewise.
23890 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
23891 Likewise.
23892 (ILL_ILLOPN): Likewise.
23893 (ILL_ILLADR): Likewise.
23894 (ILL_ILLTRP): Likewise.
23895 (ILL_PRVOPC): Likewise.
23896 (ILL_PRVREG): Likewise.
23897 (ILL_COPROC): Likewise.
23898 (ILL_BADSTK): Likewise.
23899 (FPE_INTDIV): Likewise.
23900 (FPE_INTOVF): Likewise.
23901 (FPE_FLTDIV): Likewise.
23902 (FPE_FLTOVF): Likewise.
23903 (FPE_FLTUND): Likewise.
23904 (FPE_FLTRES): Likewise.
23905 (FPE_FLTINV): Likewise.
23906 (FPE_FLTSUB): Likewise.
23907 (SEGV_MAPERR): Likewise.
23908 (SEGV_ACCERR): Likewise.
23909 (BUS_ADRALN): Likewise.
23910 (BUS_ADRERR): Likewise.
23911 (BUS_OBJERR): Likewise.
23912 (BUS_MCEERR_AR): Likewise.
23913 (BUS_MCEERR_AO): Likewise.
23914 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23915 (TRAP_TRACE): Likewise.
23916 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23917 __USE_XOPEN2K8].
23918 (CLD_KILLED): Likewise.
23919 (CLD_DUMPED): Likewise.
23920 (CLD_TRAPPED): Likewise.
23921 (CLD_STOPPED): Likewise.
23922 (CLD_CONTINUED): Likewise.
23923 (POLL_IN): Likewise.
23924 (POLL_OUT): Likewise.
23925 (POLL_MSG): Likewise.
23926 (POLL_ERR): Likewise.
23927 (POLL_PRI): Likewise.
23928 (POLL_HUP): Likewise.
23929 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
23930 (ILL_ILLOPN): Likewise.
23931 (ILL_ILLADR): Likewise.
23932 (ILL_ILLTRP): Likewise.
23933 (ILL_PRVOPC): Likewise.
23934 (ILL_PRVREG): Likewise.
23935 (ILL_COPROC): Likewise.
23936 (ILL_BADSTK): Likewise.
23937 (FPE_INTDIV): Likewise.
23938 (FPE_INTOVF): Likewise.
23939 (FPE_FLTDIV): Likewise.
23940 (FPE_FLTOVF): Likewise.
23941 (FPE_FLTUND): Likewise.
23942 (FPE_FLTRES): Likewise.
23943 (FPE_FLTINV): Likewise.
23944 (FPE_FLTSUB): Likewise.
23945 (SEGV_MAPERR): Likewise.
23946 (SEGV_ACCERR): Likewise.
23947 (BUS_ADRALN): Likewise.
23948 (BUS_ADRERR): Likewise.
23949 (BUS_OBJERR): Likewise.
23950 (BUS_MCEERR_AR): Likewise.
23951 (BUS_MCEERR_AO): Likewise.
23952 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23953 (TRAP_TRACE): Likewise.
23954 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23955 __USE_XOPEN2K8].
23956 (CLD_KILLED): Likewise.
23957 (CLD_DUMPED): Likewise.
23958 (CLD_TRAPPED): Likewise.
23959 (CLD_STOPPED): Likewise.
23960 (CLD_CONTINUED): Likewise.
23961 (POLL_IN): Likewise.
23962 (POLL_OUT): Likewise.
23963 (POLL_MSG): Likewise.
23964 (POLL_ERR): Likewise.
23965 (POLL_PRI): Likewise.
23966 (POLL_HUP): Likewise.
23967 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
23968 Likewise.
23969 (ILL_ILLOPN): Likewise.
23970 (ILL_ILLADR): Likewise.
23971 (ILL_ILLTRP): Likewise.
23972 (ILL_PRVOPC): Likewise.
23973 (ILL_PRVREG): Likewise.
23974 (ILL_COPROC): Likewise.
23975 (ILL_BADSTK): Likewise.
23976 (ILL_BADIADDR): Likewise.
23977 (ILL_BREAK): Likewise.
23978 (FPE_INTDIV): Likewise.
23979 (FPE_INTOVF): Likewise.
23980 (FPE_FLTDIV): Likewise.
23981 (FPE_FLTOVF): Likewise.
23982 (FPE_FLTUND): Likewise.
23983 (FPE_FLTRES): Likewise.
23984 (FPE_FLTINV): Likewise.
23985 (FPE_FLTSUB): Likewise.
23986 (FPE_DECOVF): Likewise.
23987 (FPE_DECDIV): Likewise.
23988 (FPE_DECERR): Likewise.
23989 (FPE_INVASC): Likewise.
23990 (FPE_INVDEC): Likewise.
23991 (SEGV_MAPERR): Likewise.
23992 (SEGV_ACCERR): Likewise.
23993 (SEGV_PSTKOVF): Likewise.
23994 (BUS_ADRALN): Likewise.
23995 (BUS_ADRERR): Likewise.
23996 (BUS_OBJERR): Likewise.
23997 (BUS_MCEERR_AR): Likewise.
23998 (BUS_MCEERR_AO): Likewise.
23999 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24000 (TRAP_TRACE): Likewise.
24001 (TRAP_BRANCH): Likewise.
24002 (TRAP_HWBKPT): Likewise.
24003 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24004 __USE_XOPEN2K8].
24005 (CLD_KILLED): Likewise.
24006 (CLD_DUMPED): Likewise.
24007 (CLD_TRAPPED): Likewise.
24008 (CLD_STOPPED): Likewise.
24009 (CLD_CONTINUED): Likewise.
24010 (POLL_IN): Likewise.
24011 (POLL_OUT): Likewise.
24012 (POLL_MSG): Likewise.
24013 (POLL_ERR): Likewise.
24014 (POLL_PRI): Likewise.
24015 (POLL_HUP): Likewise.
24016 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
24017 (ILL_ILLOPN): Likewise.
24018 (ILL_ILLADR): Likewise.
24019 (ILL_ILLTRP): Likewise.
24020 (ILL_PRVOPC): Likewise.
24021 (ILL_PRVREG): Likewise.
24022 (ILL_COPROC): Likewise.
24023 (ILL_BADSTK): Likewise.
24024 (FPE_INTDIV): Likewise.
24025 (FPE_INTOVF): Likewise.
24026 (FPE_FLTDIV): Likewise.
24027 (FPE_FLTOVF): Likewise.
24028 (FPE_FLTUND): Likewise.
24029 (FPE_FLTRES): Likewise.
24030 (FPE_FLTINV): Likewise.
24031 (FPE_FLTSUB): Likewise.
24032 (SEGV_MAPERR): Likewise.
24033 (SEGV_ACCERR): Likewise.
24034 (BUS_ADRALN): Likewise.
24035 (BUS_ADRERR): Likewise.
24036 (BUS_OBJERR): Likewise.
24037 (BUS_MCEERR_AR): Likewise.
24038 (BUS_MCEERR_AO): Likewise.
24039 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24040 (TRAP_TRACE): Likewise.
24041 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24042 __USE_XOPEN2K8].
24043 (CLD_KILLED): Likewise.
24044 (CLD_DUMPED): Likewise.
24045 (CLD_TRAPPED): Likewise.
24046 (CLD_STOPPED): Likewise.
24047 (CLD_CONTINUED): Likewise.
24048 (POLL_IN): Likewise.
24049 (POLL_OUT): Likewise.
24050 (POLL_MSG): Likewise.
24051 (POLL_ERR): Likewise.
24052 (POLL_PRI): Likewise.
24053 (POLL_HUP): Likewise.
24054 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
24055 (ILL_ILLOPN): Likewise.
24056 (ILL_ILLADR): Likewise.
24057 (ILL_ILLTRP): Likewise.
24058 (ILL_PRVOPC): Likewise.
24059 (ILL_PRVREG): Likewise.
24060 (ILL_COPROC): Likewise.
24061 (ILL_BADSTK): Likewise.
24062 (FPE_INTDIV): Likewise.
24063 (FPE_INTOVF): Likewise.
24064 (FPE_FLTDIV): Likewise.
24065 (FPE_FLTOVF): Likewise.
24066 (FPE_FLTUND): Likewise.
24067 (FPE_FLTRES): Likewise.
24068 (FPE_FLTINV): Likewise.
24069 (FPE_FLTSUB): Likewise.
24070 (SEGV_MAPERR): Likewise.
24071 (SEGV_ACCERR): Likewise.
24072 (BUS_ADRALN): Likewise.
24073 (BUS_ADRERR): Likewise.
24074 (BUS_OBJERR): Likewise.
24075 (BUS_MCEERR_AR): Likewise.
24076 (BUS_MCEERR_AO): Likewise.
24077 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24078 (TRAP_TRACE): Likewise.
24079 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24080 __USE_XOPEN2K8].
24081 (CLD_KILLED): Likewise.
24082 (CLD_DUMPED): Likewise.
24083 (CLD_TRAPPED): Likewise.
24084 (CLD_STOPPED): Likewise.
24085 (CLD_CONTINUED): Likewise.
24086 (POLL_IN): Likewise.
24087 (POLL_OUT): Likewise.
24088 (POLL_MSG): Likewise.
24089 (POLL_ERR): Likewise.
24090 (POLL_PRI): Likewise.
24091 (POLL_HUP): Likewise.
24092 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
24093 (ILL_ILLOPN): Likewise.
24094 (ILL_ILLADR): Likewise.
24095 (ILL_ILLTRP): Likewise.
24096 (ILL_PRVOPC): Likewise.
24097 (ILL_PRVREG): Likewise.
24098 (ILL_COPROC): Likewise.
24099 (ILL_BADSTK): Likewise.
24100 (FPE_INTDIV): Likewise.
24101 (FPE_INTOVF): Likewise.
24102 (FPE_FLTDIV): Likewise.
24103 (FPE_FLTOVF): Likewise.
24104 (FPE_FLTUND): Likewise.
24105 (FPE_FLTRES): Likewise.
24106 (FPE_FLTINV): Likewise.
24107 (FPE_FLTSUB): Likewise.
24108 (SEGV_MAPERR): Likewise.
24109 (SEGV_ACCERR): Likewise.
24110 (BUS_ADRALN): Likewise.
24111 (BUS_ADRERR): Likewise.
24112 (BUS_OBJERR): Likewise.
24113 (BUS_MCEERR_AR): Likewise.
24114 (BUS_MCEERR_AO): Likewise.
24115 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24116 (TRAP_TRACE): Likewise.
24117 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24118 __USE_XOPEN2K8].
24119 (CLD_KILLED): Likewise.
24120 (CLD_DUMPED): Likewise.
24121 (CLD_TRAPPED): Likewise.
24122 (CLD_STOPPED): Likewise.
24123 (CLD_CONTINUED): Likewise.
24124 (POLL_IN): Likewise.
24125 (POLL_OUT): Likewise.
24126 (POLL_MSG): Likewise.
24127 (POLL_ERR): Likewise.
24128 (POLL_PRI): Likewise.
24129 (POLL_HUP): Likewise.
24130 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
24131 (ILL_ILLOPN): Likewise.
24132 (ILL_ILLADR): Likewise.
24133 (ILL_ILLTRP): Likewise.
24134 (ILL_PRVOPC): Likewise.
24135 (ILL_PRVREG): Likewise.
24136 (ILL_COPROC): Likewise.
24137 (ILL_BADSTK): Likewise.
24138 (ILL_DBLFLT): Likewise.
24139 (ILL_HARDWALL): Likewise.
24140 (FPE_INTDIV): Likewise.
24141 (FPE_INTOVF): Likewise.
24142 (FPE_FLTDIV): Likewise.
24143 (FPE_FLTOVF): Likewise.
24144 (FPE_FLTUND): Likewise.
24145 (FPE_FLTRES): Likewise.
24146 (FPE_FLTINV): Likewise.
24147 (FPE_FLTSUB): Likewise.
24148 (SEGV_MAPERR): Likewise.
24149 (SEGV_ACCERR): Likewise.
24150 (BUS_ADRALN): Likewise.
24151 (BUS_ADRERR): Likewise.
24152 (BUS_OBJERR): Likewise.
24153 (BUS_MCEERR_AR): Likewise.
24154 (BUS_MCEERR_AO): Likewise.
24155 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24156 (TRAP_TRACE): Likewise.
24157 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24158 __USE_XOPEN2K8].
24159 (CLD_KILLED): Likewise.
24160 (CLD_DUMPED): Likewise.
24161 (CLD_TRAPPED): Likewise.
24162 (CLD_STOPPED): Likewise.
24163 (CLD_CONTINUED): Likewise.
24164 (POLL_IN): Likewise.
24165 (POLL_OUT): Likewise.
24166 (POLL_MSG): Likewise.
24167 (POLL_ERR): Likewise.
24168 (POLL_PRI): Likewise.
24169 (POLL_HUP): Likewise.
24170 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
24171 (ILL_ILLOPN): Likewise.
24172 (ILL_ILLADR): Likewise.
24173 (ILL_ILLTRP): Likewise.
24174 (ILL_PRVOPC): Likewise.
24175 (ILL_PRVREG): Likewise.
24176 (ILL_COPROC): Likewise.
24177 (ILL_BADSTK): Likewise.
24178 (FPE_INTDIV): Likewise.
24179 (FPE_INTOVF): Likewise.
24180 (FPE_FLTDIV): Likewise.
24181 (FPE_FLTOVF): Likewise.
24182 (FPE_FLTUND): Likewise.
24183 (FPE_FLTRES): Likewise.
24184 (FPE_FLTINV): Likewise.
24185 (FPE_FLTSUB): Likewise.
24186 (SEGV_MAPERR): Likewise.
24187 (SEGV_ACCERR): Likewise.
24188 (BUS_ADRALN): Likewise.
24189 (BUS_ADRERR): Likewise.
24190 (BUS_OBJERR): Likewise.
24191 (BUS_MCEERR_AR): Likewise.
24192 (BUS_MCEERR_AO): Likewise.
24193 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24194 (TRAP_TRACE): Likewise.
24195 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24196 __USE_XOPEN2K8].
24197 (CLD_KILLED): Likewise.
24198 (CLD_DUMPED): Likewise.
24199 (CLD_TRAPPED): Likewise.
24200 (CLD_STOPPED): Likewise.
24201 (CLD_CONTINUED): Likewise.
24202 (POLL_IN): Likewise.
24203 (POLL_OUT): Likewise.
24204 (POLL_MSG): Likewise.
24205 (POLL_ERR): Likewise.
24206 (POLL_PRI): Likewise.
24207 (POLL_HUP): Likewise.
24208 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
24209 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24210
24211 [BZ #16670]
24212 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
24213 before #include of <time.h>.
24214 [!__USE_XOPEN2K] (__need_timespec): Likewise.
24215 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
24216 (test-xfail-UNIX98/sched.h/conform): Likewise.
24217
24218 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
24219
24220 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
24221 error absence of trapping exception support.
24222 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
24223
24224 2014-03-07 Joseph Myers <joseph@codesourcery.com>
24225
24226 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
24227 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
24228 * timezone/Makefile (testdata): Move definition above include of
24229 Rules.
24230 (test-zones): New variable.
24231 (tests-special): Add zone files.
24232 (build-testdata): Use $(evaluate-test).
24233
24234 * elf/Makefile (tests-special): Rename tests to end with .out.
24235 ($(objpfx)noload-mem): Likewise.
24236 ($(objpfx)tst-leaks1-mem): Likewise.
24237 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
24238 * iconv/Makefile (xtests-special): Change test-iconvconfig to
24239 $(objpfx)test-iconvconfig.out.
24240 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
24241 set -e inside subshell and redirect output to file.
24242 * iconvdata/Makefile (generated): Rename tests to end with .out.
24243 Correct type.
24244 (tests-special): Rename tests to end with .out.
24245 ($(objpfx)mtrace-tst-loading): Likewise.
24246 * intl/Makefile (generated): Likewise.
24247 (tests-special): Likewise.
24248 ($(objpfx)mtrace-tst-gettext): Likewise.
24249 * misc/Makefile (generated): Likewise.
24250 (tests-special): Likewise.
24251 ($(objpfx)tst-error1-mem): Likewise.
24252 * nptl/Makefile (tests-special): Likewise.
24253 ($(objpfx)tst-stack3-mem): Likewise.
24254 (generated): Likewise.
24255 * posix/Makefile (generated): Likewise.
24256 (tests-special): Likewise.
24257 (xtests-special): Likewise.
24258 ($(objpfx)tst-fnmatch-mem): Likewise.
24259 ($(objpfx)bug-regex2-mem): Likewise.
24260 ($(objpfx)bug-regex14-mem): Likewise.
24261 ($(objpfx)bug-regex21-mem): Likewise.
24262 ($(objpfx)bug-regex31-mem): Likewise.
24263 ($(objpfx)tst-vfork3-mem): Likewise.
24264 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24265 ($(objpfx)tst-pcre-mem): Likewise.
24266 ($(objpfx)tst-boost-mem): Likewise.
24267 ($(objpfx)bug-ga2-mem): Likewise.
24268 ($(objpfx)bug-glob2-mem): Likewise.
24269 * resolv/Makefile (generate): Likewise.
24270 (tests-special): Likewise.
24271 (xtests-special): Likewise.
24272 (generated): Likewise.
24273 ($(objpfx)mtrace-tst-leaks): Likewise.
24274 ($(objpfx)mtrace-tst-leaks2): Likewise.
24275
24276 * scripts/merge-test-results.sh: New file.
24277 * Makefile (tests-special-notdir): New variable.
24278 (tests): Run merge-test-results.sh.
24279 (xtests): Likewise.
24280 * Rules (tests-special-notdir): New variable.
24281 (xtests-special-notdir): Likewise.
24282 (tests): Run merge-test-results.sh
24283 (xtests): Likewise.
24284
24285 * Makeconfig (test-xfail-name): New variable.
24286 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
24287 compute variable name for expected failures.
24288 * conform/Makefile (conformtest-headers-data): New variable.
24289 (conformtest-standards): Likewise.
24290 (conformtest-headers-ISO): Likewise.
24291 (conformtest-headers-ISO99): Likewise.
24292 (conformtest-headers-ISO11): Likewise.
24293 (conformtest-headers-POSIX): Likewise.
24294 (conformtest-headers-XPG3): Likewise.
24295 (conformtest-headers-XPG4): Likewise.
24296 (conformtest-headers-UNIX98): Likewise.
24297 (conformtest-headers-XOPEN2K): Likewise.
24298 (conformtest-headers-POSIX2008): Likewise.
24299 (conformtest-headers-XOPEN2K8): Likewise.
24300 (conformtest-header-list-base): Likewise.
24301 (conformtest-header-list-tests): Likewise.
24302 (conformtest-header-base): Likewise.
24303 (conformtest-header-tests): Likewise.
24304 (tests-special): Add $(conformtest-header-list-tests). If
24305 [$(fast-check) && !$(cross-compiling)], add
24306 $(conformtest-header-tests) instead of
24307 $(objpfx)run-conformtest.out.
24308 (generated): Add $(conformtest-header-list-base). If
24309 [$(fast-check) && !$(cross-compiling)], add
24310 $(conformtest-header-base). Remove previous setting.
24311 ($(conformtest-header-list-tests)): New target.
24312 (test-xfail-run-conformtest): Remove variable.
24313 ($(objpfx)run-conformtest.out): Remove target.
24314 (test-xfail-ISO11/complex.h/conform): New variable.
24315 (test-xfail-ISO11/stdalign.h/conform): Likewise.
24316 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
24317 (test-xfail-XPG3/varargs.h/conform): Likewise.
24318 (test-xfail-XPG4/varargs.h/conform): Likewise.
24319 (test-xfail-UNIX98/varargs.h/conform): Likewise.
24320 (test-xfail-XPG4/ndbm.h/conform): Likewise.
24321 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
24322 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
24323 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
24324 (test-xfail-XPG3/fcntl.h/conform): Likewise.
24325 (test-xfail-XPG3/ftw.h/conform): Likewise.
24326 (test-xfail-XPG3/grp.h/conform): Likewise.
24327 (test-xfail-XPG3/langinfo.h/conform): Likewise.
24328 (test-xfail-XPG3/limits.h/conform): Likewise.
24329 (test-xfail-XPG3/pwd.h/conform): Likewise.
24330 (test-xfail-XPG3/search.h/conform): Likewise.
24331 (test-xfail-XPG3/signal.h/conform): Likewise.
24332 (test-xfail-XPG3/stdio.h/conform): Likewise.
24333 (test-xfail-XPG3/stdlib.h/conform): Likewise.
24334 (test-xfail-XPG3/string.h/conform): Likewise.
24335 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
24336 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
24337 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24338 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24339 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
24340 (test-xfail-XPG3/sys/types.h/conform): Likewise.
24341 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
24342 (test-xfail-XPG3/termios.h/conform): Likewise.
24343 (test-xfail-XPG3/time.h/conform): Likewise.
24344 (test-xfail-XPG3/unistd.h/conform): Likewise.
24345 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
24346 (test-xfail-XPG4/fcntl.h/conform): Likewise.
24347 (test-xfail-XPG4/langinfo.h/conform): Likewise.
24348 (test-xfail-XPG4/netdb.h/conform): Likewise.
24349 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
24350 (test-xfail-XPG4/signal.h/conform): Likewise.
24351 (test-xfail-XPG4/stdio.h/conform): Likewise.
24352 (test-xfail-XPG4/stdlib.h/conform): Likewise.
24353 (test-xfail-XPG4/stropts.h/conform): Likewise.
24354 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24355 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24356 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24357 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24358 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24359 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
24360 (test-xfail-XPG4/sys/time.h/conform): Likewise.
24361 (test-xfail-XPG4/sys/types.h/conform): Likewise.
24362 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
24363 (test-xfail-XPG4/termios.h/conform): Likewise.
24364 (test-xfail-XPG4/ucontext.h/conform): Likewise.
24365 (test-xfail-XPG4/unistd.h/conform): Likewise.
24366 (test-xfail-XPG4/utmpx.h/conform): Likewise.
24367 (test-xfail-POSIX/sched.h/conform): Likewise.
24368 (test-xfail-POSIX/signal.h/conform): Likewise.
24369 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24370 (test-xfail-POSIX/tar.h/conform): Likewise.
24371 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
24372 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
24373 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
24374 (test-xfail-UNIX98/netdb.h/conform): Likewise.
24375 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
24376 (test-xfail-UNIX98/sched.h/conform): Likewise.
24377 (test-xfail-UNIX98/signal.h/conform): Likewise.
24378 (test-xfail-UNIX98/stdio.h/conform): Likewise.
24379 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
24380 (test-xfail-UNIX98/stropts.h/conform): Likewise.
24381 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24382 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24383 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24384 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24385 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24386 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
24387 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
24388 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
24389 (test-xfail-UNIX98/unistd.h/conform): Likewise.
24390 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
24391 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
24392 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
24393 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
24394 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
24395 (test-xfail-XOPEN2K/math.h/conform): Likewise.
24396 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
24397 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24398 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24399 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
24400 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
24401 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
24402 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
24403 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24404 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24405 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24406 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24407 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24408 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24409 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
24410 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
24411 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
24412 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
24413 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24414 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
24415 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24416 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
24417 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
24418 (test-xfail-POSIX2008/signal.h/conform): Likewise.
24419 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24420 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
24421 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
24422 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24423 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24424 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
24425 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
24426 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24427 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24428 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
24429 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
24430 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24431 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24432 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24433 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
24434 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24435 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24436 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24437 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24438 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
24439 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
24440 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
24441 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
24442 (conformtest-cc-flags): Likewise.
24443 ($(conformtest-header-tests): New target.
24444 * conform/check-header-lists.sh: New file.
24445 * conform/run-conformtest.sh: Remove.
24446
24447 * conform/conformtest.pl: Allow ' and \ in values given for
24448 constants.
24449 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
24450 inclusion.
24451 [POSIX] (sys/types.h): Likewise.
24452 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
24453 inclusion.
24454 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
24455 inclusion.
24456 * conform/data/signal.h-data (SIGIO): Remove expectation.
24457 [XPG3] (SIGBUS): Do not expect.
24458 [POSIX || XPG3] (SIGPOLL): Likewise.
24459 [POSIX || XPG3] (SIGPROF): Likewise.
24460 [POSIX || XPG3] (SIGSYS): Likewise.
24461 [XPG3] (SIGTRAP): Likewise.
24462 [POSIX || XPG3] (SIGURG): Likewise.
24463 [POSIX || XPG3] (SIGVTALRM): Likewise.
24464 [POSIX || XPG3] (SIGXCPU): Likewise.
24465 [POSIX || XPG3] (SIGXFSZ): Likewise.
24466 [POSIX] (SA_SIGINFO): Expect.
24467 [XPG3] (siginfo_t): Do not expect type or contents.
24468 [POSIX] (si_pid): Do not expect element.
24469 [POSIX] (si_uid): Likewise.
24470 [POSIX] (si_addr): Likewise.
24471 [POSIX] (si_status): Likewise.
24472 [POSIX] (si_band): Likewise.
24473 [XPG4] (si_value): Likewise.
24474 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
24475 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
24476 [POSIX || XPG3] (ILL_ILLADR): Likewise.
24477 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
24478 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
24479 [POSIX || XPG3] (ILL_PRVREG): Likewise.
24480 [POSIX || XPG3] (ILL_COPROC): Likewise.
24481 [POSIX || XPG3] (ILL_BADSTK): Likewise.
24482 [POSIX || XPG3] (FPE_INTDIV): Likewise.
24483 [POSIX || XPG3] (FPE_INTOVF): Likewise.
24484 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
24485 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
24486 [POSIX || XPG3] (FPE_FLTUND): Likewise.
24487 [POSIX || XPG3] (FPE_FLTRES): Likewise.
24488 [POSIX || XPG3] (FPE_FLTINV): Likewise.
24489 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
24490 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
24491 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
24492 [POSIX || XPG3] (BUS_ADRALN): Likewise.
24493 [POSIX || XPG3] (BUS_ADRERR): Likewise.
24494 [POSIX || XPG3] (BUS_OBJERR): Likewise.
24495 [POSIX || XPG3] (CLD_EXITED): Likewise.
24496 [POSIX || XPG3] (CLD_KILLED): Likewise.
24497 [POSIX || XPG3] (CLD_DUMPED): Likewise.
24498 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
24499 [POSIX || XPG3] (CLD_STOPPED): Likewise.
24500 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
24501 [POSIX || XPG3] (POLL_IN): Likewise.
24502 [POSIX || XPG3] (POLL_OUT): Likewise.
24503 [POSIX || XPG3] (POLL_MSG): Likewise.
24504 [POSIX || XPG3] (POLL_ERR): Likewise.
24505 [POSIX || XPG3] (POLL_PRI): Likewise.
24506 [POSIX || XPG3] (POLL_HUP): Likewise.
24507 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
24508 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
24509 (SIG*): Do not allow.
24510 [XPG3] (si_*): Likewise.
24511 [XPG3] (SI_*): Likewise.
24512 [XPG3 || XPG4] (sigev_*): Likewise.
24513 [XPG3 || XPG4] (SIGEV_*): Likewise.
24514 [XPG3 || XPG4] (sival_*): Likewise.
24515 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
24516 [POSIX || XPG3] (BUS_*): Likewise.
24517 [POSIX || XPG3] (CLD_*): Likewise.
24518 [POSIX || XPG3] (FPE_*): Likewise.
24519 [POSIX || XPG3] (ILL_*): Likewise.
24520 [POSIX || XPG3] (POLL_*): Likewise.
24521 [POSIX || XPG3] (SEGV_*): Likewise.
24522 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
24523 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
24524 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
24525 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
24526 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
24527 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
24528 Specify type and value.
24529 (TVERSLEN): Likewise.
24530 (REGTYPE): Likewise.
24531 (AREGTYPE): Likewise.
24532 (LNKTYPE): Likewise.
24533 (SYMTYPE): Likewise.
24534 (CHRTYPE): Likewise.
24535 (BLKTYPE): Likewise.
24536 (DIRTYPE): Likewise.
24537 (FIFOTYPE): Likewise.
24538 (CONTTYPE): Likewise.
24539 (TSUID): Likewise.
24540 (TSGID): Likewise.
24541 (TSVTX): Likewise.
24542 (TUREAD): Likewise.
24543 (TUWRITE): Likewise.
24544 (TUEXEC): Likewise.
24545 (TGREAD): Likewise.
24546 (TGWRITE): Likewise.
24547 (TGEXEC): Likewise.
24548 (TOREAD): Likewise.
24549 (TOWRITE): Likewise.
24550 (TOEXEC): Likewise.
24551 [POSIX] (TSVTX): Expect constant.
24552
24553 2014-03-06 Joseph Myers <joseph@codesourcery.com>
24554
24555 * Makefile (tests): Change dependencies to ....
24556 (tests-special): ... additions to this variable.
24557 (tests): Depend on $(tests-special).
24558 * Makerules (check-abi-list): New variable.
24559 (check-abi): Depend on $(check-abi-list).
24560 [$(subdir) = elf] (tests-special): Add
24561 $(objpfx)check-abi-libc.out.
24562 [$(build-shared) = yes && subdir] (tests-special): Add
24563 $(check-abi-list).
24564 [$(build-shared) = yes && subdir] (tests): Do not depend on
24565 check-abi.
24566 * Rules (tests): Depend on $(tests-special).
24567 (xtests): Depend on $(xtests-special).
24568 * catgets/Makefile (tests): Change dependencies to ....
24569 (tests-special): ... additions to this variable.
24570 * conform/Makefile (tests): Change dependencies to ....
24571 (tests-special): ... additions to this variable.
24572 * elf/Makefile (tests): Change dependencies to ....
24573 (tests-special): ... additions to this variable.
24574 * grp/Makefile (tests): Change dependencies to ....
24575 (tests-special): ... additions to this variable.
24576 * iconv/Makefile (xtests): Change dependencies to ....
24577 (xtests-special): ... additions to this variable.
24578 * iconvdata/Makefile (tests): Change dependencies to ....
24579 (tests-special): ... additions to this variable.
24580 * intl/Makefile (tests): Change dependencies to ....
24581 (tests-special): ... additions to this variable. Also add
24582 $(objpfx)tst-gettext.out.
24583 * io/Makefile (tests): Change dependencies to ....
24584 (tests-special): ... additions to this variable.
24585 * libio/Makefile (tests): Change dependencies to ....
24586 (tests-special): ... additions to this variable.
24587 * malloc/Makefile (tests): Change dependencies to ....
24588 (tests-special): ... additions to this variable.
24589 * misc/Makefile (tests): Change dependencies to ....
24590 (tests-special): ... additions to this variable.
24591 * nptl/Makefile (tests): Change dependencies to ....
24592 (tests-special): ... additions to this variable.
24593 * nptl_db/Makefile (tests): Change dependencies to ....
24594 (tests-special): ... additions to this variable.
24595 * posix/Makefile (tests): Change dependencies to ....
24596 (tests-special): ... additions to this variable.
24597 (xtests): Change dependencies to ....
24598 (xtests-special): ... additions to this variable.
24599 * resolv/Makefile (tests): Change dependencies to ....
24600 (tests-special): ... additions to this variable.
24601 (xtests): Change dependencies to ....
24602 (xtests-special): ... additions to this variable.
24603 * stdio-common/Makefile (tests): Change dependencies to ....
24604 (tests-special): ... additions to this variable.
24605 (do-tst-unbputc): Remove target.
24606 (do-tst-printf): Likewise.
24607 * stdlib/Makefile (tests): Change dependencies to ....
24608 (tests-special): ... additions to this variable.
24609 * string/Makefile (tests): Change dependencies to ....
24610 (tests-special): ... additions to this variable.
24611 * sysdeps/x86/Makefile (tests): Change dependencies to ....
24612 (tests-special): ... additions to this variable.
24613
24614 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
24615 whole file.
24616 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
24617 whole file.
24618 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
24619 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
24620
24621 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
24622 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
24623 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
24624 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
24625 * conform/data/libgen.h-data [XPG3]: Likewise.
24626 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
24627 * conform/data/ndbm.h-data [XPG3]: Likewise.
24628 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24629 * conform/data/netdb.h-data [XPG3]: Likewise.
24630 * conform/data/netinet/in.h-data [XPG3]: Likewise.
24631 * conform/data/poll.h-data [XPG3]: Likewise.
24632 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24633 * conform/data/strings.h-data [XPG3]: Likewise.
24634 * conform/data/stropts.h-data [XPG3]: Likewise.
24635 * conform/data/sys/mman.h-data [XPG3]: Likewise.
24636 * conform/data/sys/resource.h-data [XPG3]: Likewise.
24637 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
24638 Likewise.
24639 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
24640 * conform/data/sys/time.h-data [XPG3]: Likewise.
24641 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
24642 * conform/data/sys/uio.h-data [XPG3]: Likewise.
24643 * conform/data/sys/un.h-data [XPG3]: Likewise.
24644 * conform/data/syslog.h-data [XPG3]: Likewise.
24645 * conform/data/ucontext.h-data [XPG3]: Likewise.
24646 * conform/data/utmpx.h-data [XPG3]: Likewise.
24647 * conform/data/varargs.h-data [UNIX98]: Enable file.
24648
24649 * manual/Makefile (INSTALL_INFO): Remove variable setting.
24650
24651 * math/libm-test.inc (struct test_f_f_data): Move expected results
24652 into structure for each rounding mode.
24653 (struct test_ff_f_data): Likewise.
24654 (struct test_ff_f_data_nexttoward): Likewise.
24655 (struct test_fi_f_data): Likewise.
24656 (struct test_fl_f_data): Likewise.
24657 (struct test_if_f_data): Likewise.
24658 (struct test_fff_f_data): Likewise.
24659 (struct test_c_f_data): Likewise.
24660 (struct test_f_f1_data): Likewise.
24661 (struct test_fF_f1_data): Likewise.
24662 (struct test_ffI_f1_data): Likewise.
24663 (struct test_c_c_data): Likewise.
24664 (struct test_cc_c_data): Likewise.
24665 (struct test_f_i_data): Likewise.
24666 (struct test_ff_i_data): Likewise.
24667 (struct test_f_l_data): Likewise.
24668 (struct test_f_L_data): Likewise.
24669 (struct test_fFF_11_data): Likewise.
24670 (RM_): New macro.
24671 (RM_FE_DOWNWARD): Likewise.
24672 (RM_FE_TONEAREST): Likewise.
24673 (RM_FE_TOWARDZERO): Likewise.
24674 (RM_FE_UPWARD): Likewise.
24675 (RUN_TEST_LOOP_f_f): Update references to expected results.
24676 (RUN_TEST_LOOP_2_f): Likewise.
24677 (RUN_TEST_LOOP_fff_f): Likewise.
24678 (RUN_TEST_LOOP_c_f): Likewise.
24679 (RUN_TEST_LOOP_f_f1): Likewise.
24680 (RUN_TEST_LOOP_fF_f1): Likewise.
24681 (RUN_TEST_LOOP_fI_f1): Likewise.
24682 (RUN_TEST_LOOP_ffI_f1): Likewise.
24683 (RUN_TEST_LOOP_c_c): Likewise.
24684 (RUN_TEST_LOOP_cc_c): Likewise.
24685 (RUN_TEST_LOOP_f_i): Likewise.
24686 (RUN_TEST_LOOP_f_i_tg): Likewise.
24687 (RUN_TEST_LOOP_ff_i_tg): Likewise.
24688 (RUN_TEST_LOOP_f_b): Likewise.
24689 (RUN_TEST_LOOP_f_b_tg): Likewise.
24690 (RUN_TEST_LOOP_f_l): Likewise.
24691 (RUN_TEST_LOOP_f_L): Likewise.
24692 (RUN_TEST_LOOP_fFF_11): Likewise.
24693 * math/gen-libm-test.pl (parse_args): Output four copies of
24694 expected results for each test.
24695
24696 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24697 (__ASSUME_UTIMES): Remove.
24698 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24699 (__ASSUME_UTIMES): Likewise.
24700
24701 * math/gen-auto-libm-tests.c: Update comment on output format.
24702 (output_for_one_input_case): Generate before-rounding and
24703 after-rounding information as conditions on output flags not
24704 floating-point format.
24705 * math/auto-libm-test-out: Regenerated.
24706 * math/gen-libm-test.pl (cond_value): New function.
24707 (or_cond_value): Use cond_value.
24708 (generate_testfile): Handle conditional exceptions.
24709
24710 2014-03-05 Joseph Myers <joseph@codesourcery.com>
24711
24712 * math/libm-test.inc (max_valid_error): New variable.
24713 (init_max_error): Take new argument specifying whether function
24714 results are exactly determined. Set max_valid_error and bound
24715 other variables for errors based on this argument.
24716 (set_max_error): Do not record results above max_valid_error.
24717 (check_float_internal): Only accept errors of up to 0.5ulps if
24718 also at most max_valid_error.
24719 (START): Take new argument EXACT and pass it to init_max_error.
24720 (acos_test): Update call to START.
24721 (acos_test_tonearest): Likewise.
24722 (acos_test_towardzero): Likewise.
24723 (acos_test_downward): Likewise.
24724 (acos_test_upward): Likewise.
24725 (acosh_test): Likewise.
24726 (asin_test): Likewise.
24727 (asin_test_tonearest): Likewise.
24728 (asin_test_towardzero): Likewise.
24729 (asin_test_downward): Likewise.
24730 (asin_test_upward): Likewise.
24731 (asinh_test): Likewise.
24732 (atan_test): Likewise.
24733 (atanh_test): Likewise.
24734 (atan2_test): Likewise.
24735 (cabs_test): Likewise.
24736 (cacos_test): Likewise.
24737 (cacosh_test): Likewise.
24738 (carg_test): Likewise.
24739 (casin_test): Likewise.
24740 (casinh_test): Likewise.
24741 (catan_test): Likewise.
24742 (catanh_test): Likewise.
24743 (cbrt_test): Likewise.
24744 (ccos_test): Likewise.
24745 (ccosh_test): Likewise.
24746 (ceil_test): Likewise.
24747 (cexp_test): Likewise.
24748 (cimag_test): Likewise.
24749 (clog_test): Likewise.
24750 (clog10_test): Likewise.
24751 (conj_test): Likewise.
24752 (copysign_test): Likewise.
24753 (cos_test): Likewise.
24754 (cos_test_tonearest): Likewise.
24755 (cos_test_towardzero): Likewise.
24756 (cos_test_downward): Likewise.
24757 (cos_test_upward): Likewise.
24758 (cosh_test): Likewise.
24759 (cosh_test_tonearest): Likewise.
24760 (cosh_test_towardzero): Likewise.
24761 (cosh_test_downward): Likewise.
24762 (cosh_test_upward): Likewise.
24763 (cpow_test): Likewise.
24764 (cproj_test): Likewise.
24765 (creal_test): Likewise.
24766 (csin_test): Likewise.
24767 (csinh_test): Likewise.
24768 (csqrt_test): Likewise.
24769 (ctan_test): Likewise.
24770 (ctan_test_tonearest): Likewise.
24771 (ctan_test_towardzero): Likewise.
24772 (ctan_test_downward): Likewise.
24773 (ctan_test_upward): Likewise.
24774 (ctanh_test): Likewise.
24775 (ctanh_test_tonearest): Likewise.
24776 (ctanh_test_towardzero): Likewise.
24777 (ctanh_test_downward): Likewise.
24778 (ctanh_test_upward): Likewise.
24779 (erf_test): Likewise.
24780 (erfc_test): Likewise.
24781 (exp_test): Likewise.
24782 (exp_test_tonearest): Likewise.
24783 (exp_test_towardzero): Likewise.
24784 (exp_test_downward): Likewise.
24785 (exp_test_upward): Likewise.
24786 (exp10_test): Likewise.
24787 (exp10_test_tonearest): Likewise.
24788 (exp10_test_towardzero): Likewise.
24789 (exp10_test_downward): Likewise.
24790 (exp10_test_upward): Likewise.
24791 (pow10_test): Likewise.
24792 (exp2_test): Likewise.
24793 (expm1_test): Likewise.
24794 (expm1_test_tonearest): Likewise.
24795 (expm1_test_towardzero): Likewise.
24796 (expm1_test_downward): Likewise.
24797 (expm1_test_upward): Likewise.
24798 (fabs_test): Likewise.
24799 (fdim_test): Likewise.
24800 (floor_test): Likewise.
24801 (fma_test): Likewise.
24802 (fma_test_towardzero): Likewise.
24803 (fma_test_downward): Likewise.
24804 (fma_test_upward): Likewise.
24805 (fmax_test): Likewise.
24806 (fmin_test): Likewise.
24807 (fmod_test): Likewise.
24808 (fpclassify_test): Likewise.
24809 (frexp_test): Likewise.
24810 (hypot_test): Likewise.
24811 (ilogb_test): Likewise.
24812 (isfinite_test): Likewise.
24813 (finite_test): Likewise.
24814 (isgreater_test): Likewise.
24815 (isgreaterequal_test): Likewise.
24816 (isinf_test): Likewise.
24817 (isless_test): Likewise.
24818 (islessequal_test): Likewise.
24819 (islessgreater_test): Likewise.
24820 (isnan_test): Likewise.
24821 (isnormal_test): Likewise.
24822 (issignaling_test): Likewise.
24823 (isunordered_test): Likewise.
24824 (j0_test): Likewise.
24825 (j1_test): Likewise.
24826 (jn_test): Likewise.
24827 (ldexp_test): Likewise.
24828 (lgamma_test): Likewise.
24829 (gamma_test): Likewise.
24830 (lrint_test): Likewise.
24831 (lrint_test_tonearest): Likewise.
24832 (lrint_test_towardzero): Likewise.
24833 (lrint_test_downward): Likewise.
24834 (lrint_test_upward): Likewise.
24835 (llrint_test): Likewise.
24836 (llrint_test_tonearest): Likewise.
24837 (llrint_test_towardzero): Likewise.
24838 (llrint_test_downward): Likewise.
24839 (llrint_test_upward): Likewise.
24840 (log_test): Likewise.
24841 (log10_test): Likewise.
24842 (log1p_test): Likewise.
24843 (log2_test): Likewise.
24844 (logb_test): Likewise.
24845 (logb_test_downward): Likewise.
24846 (lround_test): Likewise.
24847 (llround_test): Likewise.
24848 (modf_test): Likewise.
24849 (nearbyint_test): Likewise.
24850 (nextafter_test): Likewise.
24851 (nexttoward_test): Likewise.
24852 (pow_test): Likewise.
24853 (pow_test_tonearest): Likewise.
24854 (pow_test_towardzero): Likewise.
24855 (pow_test_downward): Likewise.
24856 (pow_test_upward): Likewise.
24857 (remainder_test): Likewise.
24858 (drem_test): Likewise.
24859 (remainder_test_tonearest): Likewise.
24860 (drem_test_tonearest): Likewise.
24861 (remainder_test_towardzero): Likewise.
24862 (drem_test_towardzero): Likewise.
24863 (remainder_test_downward): Likewise.
24864 (drem_test_downward): Likewise.
24865 (remainder_test_upward): Likewise.
24866 (drem_test_upward): Likewise.
24867 (remquo_test): Likewise.
24868 (rint_test): Likewise.
24869 (rint_test_tonearest): Likewise.
24870 (rint_test_towardzero): Likewise.
24871 (rint_test_downward): Likewise.
24872 (rint_test_upward): Likewise.
24873 (round_test): Likewise.
24874 (scalb_test): Likewise.
24875 (scalbn_test): Likewise.
24876 (scalbln_test): Likewise.
24877 (signbit_test): Likewise.
24878 (sin_test): Likewise.
24879 (sin_test_tonearest): Likewise.
24880 (sin_test_towardzero): Likewise.
24881 (sin_test_downward): Likewise.
24882 (sin_test_upward): Likewise.
24883 (sincos_test): Likewise.
24884 (sinh_test): Likewise.
24885 (sinh_test_tonearest): Likewise.
24886 (sinh_test_towardzero): Likewise.
24887 (sinh_test_downward): Likewise.
24888 (sinh_test_upward): Likewise.
24889 (sqrt_test): Likewise.
24890 (sqrt_test_tonearest): Likewise.
24891 (sqrt_test_towardzero): Likewise.
24892 (sqrt_test_downward): Likewise.
24893 (sqrt_test_upward): Likewise.
24894 (tan_test): Likewise.
24895 (tan_test_tonearest): Likewise.
24896 (tan_test_towardzero): Likewise.
24897 (tan_test_downward): Likewise.
24898 (tan_test_upward): Likewise.
24899 (tanh_test): Likewise.
24900 (tgamma_test): Likewise.
24901 (trunc_test): Likewise.
24902 (y0_test): Likewise.
24903 (y1_test): Likewise.
24904 (yn_test): Likewise.
24905 (significand_test): Likewise.
24906
24907 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
24908 individual tests in comment.
24909 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
24910 (prev_max_error): New variable.
24911 (prev_real_max_error): Likewise.
24912 (prev_imag_max_error): Likewise.
24913 (compare_ulp_data): Don't refer to test names in comment.
24914 (find_test_ulps): Remove function.
24915 (find_function_ulps): Likewise.
24916 (find_complex_function_ulps): Likewise.
24917 (init_max_error): Take function name as argument. Look up ulps
24918 for that function.
24919 (print_ulps): Remove function.
24920 (print_max_error): Use prev_max_error instead of calling
24921 find_function_ulps.
24922 (print_complex_max_error): Use prev_real_max_error and
24923 prev_imag_max_error instead of calling find_complex_function_ulps.
24924 (check_float_internal): Take max_ulp parameter instead of calling
24925 find_test_ulps. Don't call print_ulps.
24926 (check_float): Update call to check_float_internal.
24927 (check_complex): Update calls to check_float_internal.
24928 (START): Pass argument to init_max_error.
24929 * math/gen-libm-test.pl (%results): Don't include "kind"
24930 information.
24931 (parse_ulps): Don't handle ulps of individual tests.
24932 (print_ulps_file): Likewise.
24933 (output_ulps): Likewise.
24934 * math/README.libm-test: Update.
24935 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
24936 individual tests.
24937 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
24938 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
24939 * sysdeps/arm/libm-test-ulps: Likewise.
24940 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24941 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
24942 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
24943 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
24944 * sysdeps/microblaze/libm-test-ulps: Likewise.
24945 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24946 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24947 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24948 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24949 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24950 * sysdeps/sh/libm-test-ulps: Likewise.
24951 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24952 * sysdeps/tile/libm-test-ulps: Likewise.
24953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24954
24955 2014-03-04 Joseph Myers <joseph@codesourcery.com>
24956
24957 * math/libm-test.inc (print_complex_max_error): Check separately
24958 whether real and imaginary errors are within allowed range and
24959 pass 0 to print_complex_function_ulps instead of value within
24960 allowed range.
24961
24962 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24963
24964 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
24965 formatting.
24966 (get_handles_fopen): Likewise.
24967 (do_write_test): Likewise.
24968
24969 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
24970
24971 * libio/fileops.c (do_ftell): Use cached offset when
24972 available.
24973 * libio/iofwide.c (do_ftell_wide): Likewise.
24974 * libio/iofdopen.c (_IO_new_fdopen): Don't use
24975 _IO_file_attach.
24976 * libio/wfileops.c (_IO_fwide): Don't cache offset.
24977
24978 [BZ #16532]
24979 * libio/libioP.h (get_file_offset): New function.
24980 * libio/fileops.c (get_file_offset): Likewise.
24981 (do_ftell): Likewise.
24982 (_IO_new_file_seekoff): Split out ftell logic.
24983 * libio/wfileops.c (do_ftell_wide): Likewise.
24984 (_IO_wfile_seekoff): Split out ftell logic.
24985 * libio/tst-ftell-active-handler.c: New test case.
24986 * libio/Makefile (tests): Add it.
24987
24988 2014-03-03 Roland McGrath <roland@hack.frob.com>
24989
24990 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
24991 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
24992
24993 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24994
24995 [BZ #16639]
24996 * nscd/connections.c (nscd_init): Call do_exit.
24997 (start_threads): Call do_exit and notify_parent.
24998 (begin_drop_privileges): Call do_exit.
24999 (finish_drop_privileges): Likewise.
25000 * nscd/selinux.c (preserve_capabilities): Likewise.
25001 (install_real_capabilities): Likewise.
25002 (nscd_selinux_enabled): Likewise.
25003 (avc_create_thread): Likewise.
25004 (avc_alloc_lock): Likewise.
25005 (nscd_avc_init): Likewise.
25006 * nscd/nscd.c (parent_fd): New static variable.
25007 (main): Create a pipe between parent and child processes.
25008 Skip closing parent_fd.
25009 (monitor_child): New function.
25010 (do_exit): Likewise.
25011 (notify_parent): Likewise.
25012 * nscd/nscd.h (notify_parent): Likewise.
25013 (do_exit): Likewise.
25014
25015 2014-03-03 Carlos O'Donell <carlos@redhat.com>
25016
25017 * malloc/malloc.c (__libc_calloc): Revert last change.
25018
25019 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25020
25021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25022
25023 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25024
25025 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
25026 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
25027 implementation.
25028 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25029 (__libc_ifunc_impl_list): Likewise.
25030 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
25031 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
25032 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
25033 * string/strrchr.c: Define STRRCHR.
25034
25035 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
25036
25037 * benchtest/bench-strtok.c (simple_strtok): Delete.
25038 (strtok_string): Use as benchmark.
25039 * string/strtok (STRTOK): New macro.
25040
25041 2014-02-28 Carlos O'Donell <carlos@redhat.com>
25042
25043 * manual/threads.texi: Add header and standard comments to all
25044 functions.
25045
25046 * elf/dl-lookup.c (check_match): New function.
25047 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
25048 (do_lookup_x): Remove nested function check_match. Use non-nested
25049 function check_match.
25050
25051 2014-02-28 Roland McGrath <roland@hack.frob.com>
25052
25053 * csu/Makefile (generated, before-compile): Use += rather than =.
25054 * catgets/Makefile (generated, generated-dirs): Likewise.
25055 * debug/Makefile (generated): Likewise.
25056 * dlfcn/Makefile (generated): Likewise.
25057 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
25058 * iconvdata/Makefile (before-compile, generated): Likewise.
25059 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
25060 * libio/Makefile (generated): Likewise.
25061 * malloc/Makefile (generated): Likewise.
25062 * manual/Makefile (generated, generated-dirs): Likewise.
25063 * misc/Makefile (generated): Likewise.
25064 * posix/Makefile (generated): Likewise.
25065 * resolv/Makefile (generated): Likewise.
25066 * sunrpc/Makefile (generated, generated-dirs): Likewise.
25067 * timezone/Makefile (generated, generated-dirs): Likewise.
25068
25069 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
25070
25071 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25072
25073 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25074 power8 implementation.
25075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
25076 file: POWER8 llround ifunc implementation.
25077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25078 (__lllround): Add POWER8 implementation.
25079 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
25080 POWER8 llround implementation.
25081
25082 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
25083 power8 implementation.
25084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
25085 file: POWER8 llrint ifunc implementation.
25086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
25087 Add POWER8 implementation.
25088 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
25089 POWER8 llrint implementation.
25090
25091 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
25092 power8 implementation.
25093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
25094 file: POWER8 finite ifunc implementation.
25095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
25096 Add POWER8 implementation.
25097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
25098 Likewise.
25099 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
25100 POWER8 finite implementation.
25101 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
25102
25103 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
25104 power8 implementation.
25105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
25106 file: POWER8 isinf ifunc implementation.
25107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
25108 POWER8 implementation.
25109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
25110 Likewise.
25111 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
25112 isinf implementation.
25113 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
25114
25115 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25116 (INIT_ARCH): Add hwcap2 initialization.
25117 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25118 power8 implementation.
25119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
25120 file: POWER8 isnan ifunc implementation.
25121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
25122 POWER8 implementation.
25123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
25124 Likewise.
25125 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
25126 isnan implementation.
25127 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
25128
25129 2014-02-27 Joey Ye <joey.ye@arm.com>
25130
25131 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
25132 (_FP_NANFRAC_Q): Set to zero.
25133
25134 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25135
25136 [BZ #16623]
25137 * math/auto-libm-test-in: New test inputs.
25138 * math/auto-libm-test-out: Regenerate.
25139 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
25140 and DA.
25141 (__cos): Likewise.
25142 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25143
25144 2014-02-27 Joseph Myers <joseph@codesourcery.com>
25145
25146 * scripts/evaluate-test.sh: Take new argument indicating whether
25147 failure is expected.
25148 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
25149 indicating whether failure is expected.
25150 * conform/Makefile (test-xfail-run-conformtest): New variable.
25151 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
25152 level.
25153 * posix/Makefile (test-xfail-annexc): New variable.
25154 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
25155
25156 2014-02-26 Joseph Myers <joseph@codesourcery.com>
25157
25158 * argp/Makefile: Include Makeconfig immediately after defining
25159 subdir.
25160 * assert/Makefile: Likewise.
25161 * benchtests/Makefile: Likewise.
25162 * catgets/Makefile: Likewise.
25163 * conform/Makefile: Likewise.
25164 * crypt/Makefile: Likewise.
25165 * csu/Makefile: Likewise.
25166 (all): Remove target.
25167 * ctype/Makefile: Include Makeconfig immediately after defining
25168 subdir.
25169 * debug/Makefile: Likewise.
25170 * dirent/Makefile: Likewise.
25171 * dlfcn/Makefile: Likewise.
25172 * gmon/Makefile: Likewise.
25173 * gnulib/Makefile: Likewise.
25174 * grp/Makefile: Likewise.
25175 * gshadow/Makefile: Likewise.
25176 * hesiod/Makefile: Likewise.
25177 * hurd/Makefile: Likewise.
25178 (all): Remove target.
25179 * iconvdata/Makefile: Include Makeconfig immediately after
25180 defining subdir.
25181 * inet/Makefile: Likewise.
25182 * intl/Makefile: Likewise.
25183 * io/Makefile: Likewise.
25184 * libio/Makefile: Likewise.
25185 (all): Remove target.
25186 * locale/Makefile: Include Makeconfig immediately after defining
25187 subdir.
25188 * login/Makefile: Likewise.
25189 * mach/Makefile: Likewise.
25190 (all): Remove target.
25191 * malloc/Makefile: Include Makeconfig immediately after defining
25192 subdir.
25193 (all): Remove target.
25194 * manual/Makefile: Include Makeconfig immediately after defining
25195 subdir.
25196 * math/Makefile: Likewise.
25197 * misc/Makefile: Likewise.
25198 * nis/Makefile: Likewise.
25199 * nss/Makefile: Likewise.
25200 * po/Makefile: Likewise.
25201 (all): Remove target.
25202 * posix/Makefile: Include Makeconfig immediately after defining
25203 subdir.
25204 * pwd/Makefile: Likewise.
25205 * resolv/Makefile: Likewise.
25206 * resource/Makefile: Likewise.
25207 * rt/Makefile: Likewise.
25208 * setjmp/Makefile: Likewise.
25209 * shadow/Makefile: Likewise.
25210 * signal/Makefile: Likewise.
25211 * socket/Makefile: Likewise.
25212 * soft-fp/Makefile: Likewise.
25213 * stdio-common/Makefile: Likewise.
25214 * stdlib/Makefile: Likewise.
25215 * streams/Makefile: Likewise.
25216 * string/Makefile: Likewise.
25217 * sunrpc/Makefile: Likewise.
25218 (all): Remove target.
25219 * sysvipc/Makefile: Include Makeconfig immediately after defining
25220 subdir.
25221 * termios/Makefile: Likewise.
25222 * time/Makefile: Likewise.
25223 * timezone/Makefile: Likewise.
25224 (all): Remove target.
25225 * wcsmbs/Makefile: Include Makeconfig immediately after defining
25226 subdir.
25227 * wctype/Makefile: Likewise.
25228
25229 2014-02-26 Steve Ellcey <sellcey@mips.com>
25230
25231 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
25232 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
25233 (libc_feholdexcept_setround_mips): Ditto.
25234 (libc_feholdsetround): New.
25235 (libc_feholdsetroundf): New.
25236 (libc_feholdsetroundl): New.
25237 (libc_feupdateenv_test_mips): New.
25238 (libc_feupdateenv_test): New.
25239 (libc_feupdateenv_testf): New.
25240 (libc_feupdateenv_testl): New.
25241 (libc_feresetround): New.
25242 (libc_feresetroundf): New.
25243 (libc_feresetroundl): New.
25244 (libc_fetestexcept_mips): New.
25245 (libc_fetestexcept): New.
25246 (libc_fetestexceptf): New.
25247 (libc_fetestexceptl): New.
25248 (HAVE_RM_CTX): New.
25249 (libc_feholdexcept_setround_mips_ctx): New.
25250 (libc_feholdexcept_setround_ctx): New.
25251 (libc_feholdexcept_setroundf_ctx): New.
25252 (libc_feholdexcept_setroundl_ctx): New.
25253 (libc_fesetenv_mips_ctx): New.
25254 (libc_fesetenv_ctx): New.
25255 (libc_fesetenv_ctxf): New.
25256 (libc_fesetenv_ctxl): New.
25257 (libc_feupdateenv_mips_ctx): New.
25258 (libc_feupdateenv_ctx): New.
25259 (libc_feupdateenvf_ctx): New.
25260 (libc_feupdateenvl_ctx): New.
25261 (libc_feholdsetround_mips_ctx): New.
25262 (libc_feholdsetround_ctx): New.
25263 (libc_feholdsetroundf_ctx): New.
25264 (libc_feholdsetroundl_ctx): New.
25265 (libc_feresetround_mips_ctx): New.
25266 (libc_feresetround_ctx): New.
25267 (libc_feresetroundf_ctx): New.
25268 (libc_feresetroundl_ctx): New.
25269
25270 2014-02-26 Carlos O'Donell <carlos@redhat.com>
25271
25272 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
25273
25274 * manual/ipc.texi: New file.
25275 * manual/Makefile (chapters): Add ipc.
25276 * manual/job.texi: Add "Inter-Process Communication" to next.
25277 * manual/process.texi: Add "Inter-Process Communication" to prev.
25278
25279 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25280
25281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25282
25283 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
25284
25285 * malloc/malloc.c (__libc_calloc): Simplify implementation.
25286
25287 * manual/arith.texi: Fix spaces after sentences.
25288 * manual/charset.texi: Likewise.
25289 * manual/errno.texi: Likewise.
25290 * manual/install.texi: Likewise.
25291 * manual/llio.texi: Likewise.
25292 * manual/locale.texi: Likewise.
25293 * manual/maint.texi: Likewise.
25294 * manual/math.texi: Likewise.
25295 * manual/memory.texi: Likewise.
25296 * manual/message.texi: Likewise.
25297 * manual/probes.texi: Likewise.
25298 * manual/resource.texi: Likewise.
25299 * manual/signal.texi: Likewise.
25300 * manual/socket.texi: Likewise.
25301 * manual/stdio.texi: Likewise.
25302 * manual/string.texi: Likewise.
25303 * manual/time.texi: Likewise.
25304 * manual/users.texi: Likewise.
25305
25306 2014-02-25 Carlos O'Donell <carlos@redhat.com>
25307
25308 [BZ #16632]
25309 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
25310 _DEFAULT_SOURCE is defined.
25311
25312 2014-02-25 Ulrich Drepper <drepper@gmail.com>
25313 Carlos O'Donell <carlos@redhat.com>
25314
25315 [BZ #16613]
25316 * elf/dl-tls.c (_dl_count_modids): New function.
25317 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
25318 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
25319 audit library and increment generation counter.
25320 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
25321 * elf/tst-audit9.c: New file.
25322 * elf/tst-auditmod9a.c: New file.
25323 * elf/tst-auditmod9b.c: New file.
25324 * elf/Makefile: Add rules to build and run tst-audit9.
25325
25326 2014-02-25 Florian Weimer <fweimer@redhat.com>
25327
25328 [BZ #15347]
25329 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
25330
25331 2014-02-25 Will Newton <will.newton@linaro.org>
25332
25333 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
25334 (__longjmp): Restore sp and lr before restoring callee
25335 saved registers. Add longjmp and longjmp_target
25336 SystemTap probe point.
25337 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
25338 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
25339 Define to zero to match jmpbuf layout.
25340 * sysdeps/arm/setjmp.S: Include stap-probe.h.
25341 (__sigsetjmp): Save sp and lr before saving callee
25342 saved registers. Add setjmp SystemTap probe point.
25343
25344 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
25345
25346 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25347
25348 2014-02-24 Andreas Schwab <schwab@suse.de>
25349
25350 [BZ #15804]
25351 * elf/pldd.c (wait_for_ptrace_stop): New function.
25352 (main): Call it after attaching.
25353
25354 2014-02-22 Roland McGrath <roland@hack.frob.com>
25355
25356 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
25357 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
25358 Versions files is now verboten.
25359 * hurd/Versions (libc: GLIBC_2.0):
25360 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
25361 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
25362 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
25363 * mach/Versions: Likewise.
25364
25365 * csu/Versions: Remove unused %include.
25366 * resolv/Versions: Likewise.
25367
25368 2014-02-21 Joseph Myers <joseph@codesourcery.com>
25369
25370 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
25371 ($(objpfx)check-local-headers.out): Likewise.
25372 ($(objpfx)begin-end-check.out): Likewise.
25373 * Makerules (check-abi-%.out): Likewise.
25374 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
25375 ($(objpfx)test2.cat): Likewise.
25376 ($(objpfx)de/libc.cat): Likewise.
25377 ($(objpfx)test-gencat.out): Likewise.
25378 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
25379 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
25380 ($(objpfx)noload-mem): Likewise.
25381 ($(objpfx)tst-pathopt.out): Likewise.
25382 ($(objpfx)tst-rtld-load-self.out): Likewise.
25383 ($(objpfx)tst-array1-cmp.out): Likewise.
25384 ($(objpfx)tst-array1-static-cmp.out): Likewise.
25385 ($(objpfx)tst-array2-cmp.out): Likewise.
25386 ($(objpfx)tst-array3-cmp.out): Likewise.
25387 ($(objpfx)tst-array4-cmp.out): Likewise.
25388 ($(objpfx)tst-array5-cmp.out): Likewise.
25389 ($(objpfx)tst-array5-static-cmp.out): Likewise.
25390 ($(objpfx)check-textrel.out): Likewise.
25391 ($(objpfx)check-execstack.out): Likewise.
25392 ($(objpfx)check-localplt.out): Likewise.
25393 ($(objpfx)order2-cmp.out): Likewise.
25394 ($(objpfx)tst-leaks1-mem): Likewise.
25395 ($(objpfx)tst-leaks1-static-mem): Likewise.
25396 ($(objpfx)tst-initorder-cmp.out): Likewise.
25397 ($(objpfx)tst-initorder2-cmp.out): Likewise.
25398 ($(objpfx)tst-unused-dep.out): Likewise.
25399 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
25400 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
25401 * iconv/Makefile (test-iconvconfig): Likewise.
25402 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
25403 ($(objpfx)iconv-test.out): Likewise.
25404 ($(objpfx)tst-tables.out): Likewise.
25405 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
25406 ($(objpfx)tst-gettext.out): Likewise.
25407 ($(objpfx)tst-translit.out): Likewise.
25408 ($(objpfx)tst-gettext2.out): Likewise.
25409 ($(objpfx)tst-gettext4.out): Likewise.
25410 ($(objpfx)tst-gettext6.out): Likewise.
25411 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
25412 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
25413 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
25414 ($(objpfx)tst-fopenloc-mem.out): Likewise.
25415 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
25416 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
25417 * posix/Makefile ($(objpfx)globtest.out): Likewise.
25418 ($(objpfx)wordexp-tst.out): Likewise.
25419 ($(objpfx)annexc.out): Likewise.
25420 ($(objpfx)tst-fnmatch-mem): Likewise.
25421 ($(objpfx)bug-regex2-mem): Likewise.
25422 ($(objpfx)bug-regex14-mem): Likewise.
25423 ($(objpfx)bug-regex21-mem): Likewise.
25424 ($(objpfx)bug-regex31-mem): Likewise.
25425 ($(objpfx)tst-vfork3-mem): Likewise.
25426 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25427 ($(objpfx)tst-pcre-mem): Likewise.
25428 ($(objpfx)tst-boost-mem): Likewise.
25429 ($(objpfx)tst-getconf.out): Likewise.
25430 ($(objpfx)bug-ga2-mem): Likewise.
25431 ($(objpfx)bug-glob2-mem): Likewise.
25432 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
25433 ($(objpfx)mtrace-tst-leaks2): Likewise.
25434 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
25435 ($(objpfx)tst-printf.out): Likewise.
25436 ($(objpfx)tst-setvbuf1.out): Likewise.
25437 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
25438 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
25439 ($(objpfx)tst-fmtmsg.out): Likewise.
25440 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
25441 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
25442
25443 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
25444 * bits/sigaction.h [__USE_MISC]: Likewise.
25445 * bits/waitstatus.h: Update #endif comments.
25446 * ctype/ctype.h: Likewise.
25447 * dirent/dirent.h: Likewise.
25448 [__USE_MISC]: Remove redundant conditionals.
25449 * grp/grp.h: Update #endif comments.
25450 [__USE_GNU]: Remove redundant conditionals.
25451 [__USE_MISC]: Likewise.
25452 * inet/netinet/in.h [__USE_GNU]: Likewise.
25453 * io/sys/stat.h [__USE_MISC]: Likewise.
25454 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
25455 * libio/bits/stdio.h: Update #endif comments.
25456 [__USE_MISC]: Remove redundant conditionals.
25457 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
25458 * libio/stdio.h: Update #endif comments.
25459 [__USE_MISC]: Remove redundant conditionals.
25460 * math/bits/math-finite.h [__USE_MISC]: Likewise.
25461 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
25462 * math/math.h: Update #else and #endif comments.
25463 [__USE_MISC]: Remove redundant conditionals.
25464 * misc/sys/uio.h: Update #endif comments.
25465 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
25466 * posix/glob.h [__USE_MISC]: Likewise.
25467 * posix/sys/types.h: Update #endif comments.
25468 [__USE_MISC]: Remove redundant conditionals.
25469 * posix/sys/wait.h: Update #endif comments.
25470 [__USE_MISC]: Remove redundant conditionals.
25471 * posix/unistd.h: Update #endif comments.
25472 [__USE_MISC]: Remove redundant conditionals.
25473 * pwd/pwd.h [__USE_GNU]: Likewise.
25474 [__USE_MISC]: Likewise.
25475 * resolv/netdb.h [__USE_GNU]: Likewise.
25476 * signal/signal.h: Update #endif comments.
25477 [__USE_MISC]: Remove redundant conditionals.
25478 * stdlib/stdlib.h: Update #else and #endif comments.
25479 [__USE_MISC]: Remove redundant conditionals.
25480 [__USE_GNU]: Likewise.
25481 * string/bits/string2.h [__USE_MISC]: Likewise.
25482 * string/string.h: Update #endif comments.
25483 [__USE_MISC]: Remove redundant conditionals.
25484 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
25485 Likewise.
25486 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
25487 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
25488 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
25489 Likewise.
25490 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
25491 Likewise.
25492 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
25493 comments.
25494 [__USE_MISC]: Remove redundant conditionals.
25495 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
25496 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
25497 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
25498 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
25499 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
25500 Likewise.
25501 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
25502 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
25503 Likewise.
25504 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
25505 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
25506 Likewise.
25507 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
25508 Likewise.
25509 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
25510 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
25511 Likewise.
25512 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
25513 Likewise.
25514 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
25515 * sysdeps/x86/bits/string.h: Update #endif comments.
25516 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
25517 conditionals.
25518 * time/sys/time.h: Update #endif comments.
25519 * time/time.h: Likewise.
25520 [__USE_MISC]: Remove redundant conditionals.
25521
25522 2014-02-21 Yury Gribov <y.gribov@samsung.com>
25523
25524 [BZ #16600]
25525 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
25526
25527 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
25528
25529 * Versions.def (librt): Add GLIBC_2.17.
25530
25531 2014-02-21 Adam Conrad <adconrad@0c3.net>
25532
25533 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
25534 synonym for _SYS_AUXV_H to allow direct inclusion.
25535 * sysdeps/sparc/bits/hwcap.h: Likewise.
25536 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
25537 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
25538 * sysdeps/sparc/sysdep.h: Likewise.
25539
25540 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25541
25542 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
25543
25544 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25545
25546 * benchtests/bench-strrchr.c: Print length instead of position.
25547
25548 2014-02-20 Joseph Myers <joseph@codesourcery.com>
25549
25550 [BZ #16611]
25551 * sysdeps/unix/sysv/linux/kernel-features.h
25552 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
25553 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
25554 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
25555 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
25556 Likewise.
25557 [__i386__ || __powerpc__ || __sh__ || __sparc__]
25558 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25559 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
25560 (__ASSUME_SENDMMSG): Define instead of using previous
25561 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
25562 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25563 (__ASSUME_SENDMMSG_SYSCALL): Define.
25564 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25565 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
25566 Likewise.
25567 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25568 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25569 Likewise.
25570 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25571 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25572 Likewise.
25573 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
25574 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25575 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25576 [__ASSUME_SENDMMSG]: Change conditionals to
25577 [__ASSUME_SENDMMSG_SOCKETCALL].
25578 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25579 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
25580 Define.
25581 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25582 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
25583 Likewise.
25584 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
25585 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25586 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25587 [!__ASSUME_SENDMMSG]: Change conditional to
25588 [!__ASSUME_SENDMMSG_SOCKETCALL].
25589 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25590 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25591 Define.
25592
25593 [BZ #16610]
25594 * sysdeps/unix/sysv/linux/kernel-features.h
25595 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
25596 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
25597 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
25598 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
25599 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25600 [__i386__ || __sparc__]
25601 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25602 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
25603 (__ASSUME_RECVMMSG): Define instead of using previous
25604 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
25605 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25606 (__ASSUME_RECVMMSG_SYSCALL): Define.
25607 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25608 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25609 Likewise.
25610 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25611 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25612 Likewise.
25613 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25614 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25615 Likewise.
25616 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
25617 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25618 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25619 [__ASSUME_RECVMMSG]: Change condition to
25620 [__ASSUME_RECVMMSG_SOCKETCALL].
25621 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25622 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25623 Define.
25624 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25625 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25626 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25627 Likewise.
25628 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
25629 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25630 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25631 [!__ASSUME_RECVMMSG]: Change condition to
25632 [!__ASSUME_RECVMMSG_SOCKETCALL].
25633 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25634 (__ASSUME_RECVMMSG_SYSCALL): Define.
25635
25636 [BZ #16609]
25637 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
25638 __powerpc__ || __s390__ || __sh__ || __sparc__]
25639 (__ASSUME_SOCKETCALL): Define.
25640 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
25641 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
25642 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
25643 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
25644 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25645 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
25646 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
25647 (__ASSUME_ACCEPT4): Define instead of using previous
25648 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
25649 __powerpc__ || __sparc__ || __s390__)] condition.
25650 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25651 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25652 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
25653 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25654 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25655 [!__ASSUME_ACCEPT4]: Change condition to
25656 [!__ASSUME_ACCEPT4_SOCKETCALL].
25657 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25658 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
25659 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
25660 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25661 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
25662 __ASSUME_ACCEPT4_SYSCALL.
25663 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
25664 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
25665 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25666 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
25667 __ASSUME_ACCEPT4_SYSCALL.
25668 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
25669 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25670 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25671 [__ASSUME_ACCEPT4]: Change condition to
25672 [__ASSUME_ACCEPT4_SOCKETCALL].
25673 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25674 (__ASSUME_SOCKETCALL): Define.
25675 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
25676 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25677 (__ASSUME_SOCKETCALL): Define.
25678 (__ASSUME_ACCEPT4): Remove.
25679 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
25680 Define.
25681 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25682 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
25683 Likewise.
25684 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25685 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25686
25687 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
25688 macro.
25689 (HWCAP_ARM_LPAE): Likewise.
25690 (HWCAP_ARM_EVTSTRM): Likewise.
25691 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
25692 Add vpfd32, lpae and evtstrm.
25693 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
25694 Increase to 22.
25695
25696 2014-02-19 Joseph Myers <joseph@codesourcery.com>
25697
25698 * math/auto-libm-test-in: Add tests of clog10.
25699 * math/auto-libm-test-out: Regenerated.
25700 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
25701 * sysdeps/i386/fpu/libm-test-ulps: Update.
25702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25703
25704 2014-02-18 Andreas Schwab <schwab@suse.de>
25705
25706 [BZ #16574]
25707 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
25708 Store non-zero if the second buffer was newly allocated.
25709 (send_dg): Likewise.
25710 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
25711 to send_vc and send_dg.
25712 (res_nsend): Pass NULL for ansp2_malloced.
25713 * resolv/res_query.c (__libc_res_nquery): Add parameter
25714 answerp2_malloced and pass it down to __libc_res_nsend.
25715 (res_nquery): Pass additional NULL to __libc_res_nquery.
25716 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
25717 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
25718 second answer buffer if answerp2_malloced was set.
25719 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
25720 (__libc_res_nquerydomain): Add parameter
25721 answerp2_malloced and pass it down to __libc_res_nquery.
25722 (res_nquerydomain): Pass additional NULL to
25723 __libc_res_nquerydomain.
25724 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
25725 additional NULL to __libc_res_nsend and __libc_res_nquery.
25726 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
25727 additional NULL to __libc_res_nsearch.
25728 (_nss_dns_gethostbyname4_r): Revert last change. Use new
25729 parameter of __libc_res_nsearch to check for separately allocated
25730 second buffer.
25731 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
25732 __libc_res_nquery.
25733 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
25734 additional NULL to __libc_res_nquery.
25735 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
25736 __libc_res_nsearch.
25737 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
25738 * include/resolv.h: Update prototypes of __libc_res_nquery,
25739 __libc_res_nsearch, __libc_res_nsend.
25740
25741 2014-02-18 Joseph Myers <joseph@codesourcery.com>
25742
25743 * math/auto-libm-test-in: Add tests of fma.
25744 * math/auto-libm-test-out: Regenerated.
25745 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
25746 (fma_towardzero_test_data): Likewise.
25747 (fma_downward_test_data): Likewise.
25748 (fma_upward_test_data): Likewise.
25749 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
25750 mpc_mode.
25751 (rounding_modes): Add values for new field.
25752 (func_calc_method): Add value mpfr_fff_f.
25753 (func_calc_desc): Add mpfr_fff_f union field.
25754 (test_function): Add field exact_args.
25755 (FUNC): Add macro argument EXACT_ARGS.
25756 (FUNC_mpfr_f_f): Update call to FUNC.
25757 (FUNC_mpfr_f_f): Likewise.
25758 (FUNC_mpfr_ff_f): Likewise.
25759 (FUNC_mpfr_if_f): Likewise.
25760 (FUNC_mpc_c_f): Likewise.
25761 (FUNC_mpc_c_c): Likewise.
25762 (test_functions): Add fma. Update calls to FUNC.
25763 (handle_input_arg): Add argument exact_args.
25764 (add_test): Update call to handle_input_arg.
25765 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
25766 (output_for_one_input_case): Update call to calc_generic_results.
25767 Recalculate exact zero results in each rounding mode.
25768
25769 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
25770 non-negative before setting low bit.
25771 * math/auto-libm-test-in: Mark one asin test possibly having
25772 spurious underflow.
25773 * math/auto-libm-test-out: Regenerated.
25774 * sysdeps/i386/fpu/libm-test-ulps: Update.
25775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25776
25777 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
25778
25779 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
25780 * sysdeps/unix/sysv/linux/microblaze: Move directory from
25781 ports/sysdeps/unix/sysv/linux/microblaze.
25782 * README: Add missing listing for microblaze*-*-linux-gnu.
25783
25784 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
25785
25786 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
25787 duplicate code
25788
25789 2014-02-16 Mike Frysinger <vapier@gentoo.org>
25790
25791 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
25792 * sysdeps/unix/sysv/linux/ia64: Move directory from
25793 ports/sysdeps/unix/sysv/linux/ia64.
25794 * README: Update listing for ia64-*-linux-gnu.
25795
25796 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
25797 Joseph Myers <joseph@codesourcery.com>
25798
25799 * Makeconfig (test-name): New variable.
25800 (evaluate-test): Likewise.
25801 * Makerules (do-test-clean): Remove .test-result files.
25802 (common-mostlyclean): Likewise.
25803 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
25804 * scripts/evaluate-test.sh: New file.
25805
25806 2014-02-14 Joseph Myers <joseph@codesourcery.com>
25807
25808 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
25809 separate $(objpfx)tst-fopenloc-cmp.out and
25810 $(objpfx)tst-fopenloc-mem.out targets.
25811 (tests): Update dependencies.
25812 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
25813 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
25814 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
25815 (tst-rxspencer-no-utf8-ARGS): New variable.
25816 (tst-rxspencer-no-utf8-ENV): Likewise.
25817 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
25818 instead of $(objpfx)tst-rxspencer-mem.
25819 ($(objpfx)tst-rxspencer-mem): Change target to
25820 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
25821 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
25822 * posix/tst-rxspencer-no-utf8.c: New file.
25823
25824 * elf/Makefile ($(objpfx)order.out): Remove rule.
25825 [$(run-built-tests) = yes] (tests): Depend on
25826 $(objpfx)order-cmp.out.
25827 ($(objpfx)order-cmp.out): New rule.
25828 [$(run-built-tests) = yes] (tests): Depend on
25829 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
25830 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
25831 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
25832 $(objpfx)tst-array5-static-cmp.out.
25833 ($(objpfx)tst-array1.out): Remove rule.
25834 ($(objpfx)tst-array1-cmp.out): New rule.
25835 ($(objpfx)tst-array1-static.out): Remove rule.
25836 ($(objpfx)tst-array1-static-cmp.out): New rule.
25837 ($(objpfx)tst-array2.out): Remove rule.
25838 ($(objpfx)tst-array2-cmp.out): New rule.
25839 ($(objpfx)tst-array3.out): Remove rule.
25840 ($(objpfx)tst-array3-cmp.out): New rule.
25841 ($(objpfx)tst-array4.out): Remove rule.
25842 ($(objpfx)tst-array4-cmp.out): New rule.
25843 ($(objpfx)tst-array5.out): Remove rule.
25844 ($(objpfx)tst-array5-cmp.out): New rule.
25845 ($(objpfx)tst-array5-static.out): Remove rule.
25846 ($(objpfx)tst-array5-static-cmp.out): New rule.
25847 [$(run-built-tests) = yes] (tests): Depend on
25848 $(objpfx)order2-cmp.out.
25849 ($(objpfx)order2.out): Remove rule.
25850 ($(objpfx)order2-cmp.out): New rule.
25851 ($(objpfx)tst-initorder.out): Remove rule.
25852 [$(run-built-tests) = yes] (tests): Depend on
25853 $(objpfx)tst-initorder-cmp.out.
25854 ($(objpfx)tst-initorder-cmp.out): New rule.
25855 ($(objpfx)tst-initorder2.out): Remove rule.
25856 [$(run-built-tests) = yes] (tests): Depend on
25857 $(objpfx)tst-initorder2-cmp.out.
25858 ($(objpfx)tst-initorder2-cmp.out): New rule.
25859 [$(run-built-tests) = yes] (tests): Depend on
25860 $(objpfx)tst-unused-dep-cmp.out.
25861 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
25862 ($(objpfx)tst-unused-dep-cmp.out): New rule.
25863 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
25864 on $(objpfx)tst-setvbuf1-cmp.out.
25865 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
25866 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
25867 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
25868 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
25869 ($(objpfx)tst-svc.out): Remove rule.
25870 ($(objpfx)tst-svc-cmp.out): New rule.
25871
25872 2014-02-13 Joseph Myers <joseph@codesourcery.com>
25873
25874 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
25875 * ctype/ctype.h [__USE_MISC]: Likewise.
25876 * dirent/dirent.h [__USE_MISC]: Likewise.
25877 * grp/grp.h [__USE_MISC]: Likewise.
25878 * io/fcntl.h [__USE_MISC]: Likewise.
25879 * io/sys/stat.h [__USE_MISC]: Likewise.
25880 * libio/stdio.h [__USE_MISC]: Likewise.
25881 * posix/unistd.h [__USE_MISC]: Likewise.
25882 * pwd/pwd.h [__USE_MISC]: Likewise.
25883 * stdlib.h [__USE_MISC]: Likewise.
25884 * string/bits/string2.h [__USE_MISC]: Likewise.
25885 * string/string.h [__USE_MISC]: Likewise.
25886 * time/time.h [__USE_MISC]: Likewise.
25887
25888 2014-02-13 Andreas Schwab <schwab@suse.de>
25889
25890 [BZ #16574]
25891 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
25892 second answer buffer if it was separately allocated.
25893
25894 2014-02-12 Joseph Myers <joseph@codesourcery.com>
25895
25896 * sysdeps/mips/math-tests.h: Include <features.h>.
25897 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25898 (ROUNDING_TESTS_long_double): Do not define.
25899 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25900 (EXCEPTION_TESTS_long_double): Likewise.
25901 * sysdeps/mips/mips64/libm-test-ulps: Update.
25902
25903 * include/features.h (__USE_BSD): Remove macro definitions.
25904 (__USE_SVID): Likewise.
25905 (_BSD_SOURCE): Likewise.
25906 (_SVID_SOURCE): Likewise.
25907 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
25908 from definition of _DEFAULT_SOURCE.
25909 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
25910 [_DEFAULT_SOURCE].
25911 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
25912 * bits/mman.h [__USE_BSD]: Likewise.
25913 * bits/termios.h [__USE_BSD]: Likewise.
25914 * bits/waitstatus.h [__USE_BSD]: Likewise.
25915 * ctype/ctype.h [__USE_SVID]: Likewise.
25916 * dirent/dirent.h [__USE_BSD]: Likewise.
25917 * grp/grp.h [__USE_SVID]: Likewise.
25918 [__USE_BSD]: Likewise.
25919 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
25920 * io/fcntl.h [__USE_BSD]: Likewise.
25921 * io/ftw.h [__USE_BSD]: Likewise.
25922 * io/sys/stat.h [__USE_BSD]: Likewise.
25923 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
25924 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
25925 * libio/stdio.h [__USE_SVID]: Likewise.
25926 [__USE_BSD]: Likewise.
25927 * math/math.h [__USE_SVID]: Likewise.
25928 [__USE_BSD]: Likewise.
25929 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
25930 * misc/bits/syslog.h [__USE_BSD]: Likewise.
25931 * misc/search.h [__USE_SVID]: Likewise.
25932 * misc/sys/mman.h [__USE_BSD]: Likewise.
25933 * misc/sys/syslog.h [__USE_BSD]: Likewise.
25934 * misc/sys/uio.h [__USE_BSD]: Likewise.
25935 * posix/bits/unistd.h [__USE_BSD]: Likewise.
25936 * posix/glob.h [__USE_BSD]: Likewise.
25937 * posix/regex.h [__USE_BSD]: Likewise.
25938 * posix/sys/types.h [__USE_BSD]: Likewise.
25939 [__USE_SVID]: Likewise.
25940 * posix/sys/utsname.h [__USE_SVID]: Likewise.
25941 * posix/sys/wait.h [__USE_BSD]: Likewise.
25942 [__USE_SVID]: Likewise.
25943 * posix/unistd.h [__USE_BSD]: Likewise.
25944 [__USE_SVID]: Likewise.
25945 * pwd/pwd.h [__USE_SVID]: Likewise.
25946 * resolv/netdb.h [__USE_BSD]: Likewise.
25947 * setjmp/setjmp.h [__USE_BSD]: Likewise.
25948 * signal/signal.h [__USE_BSD]: Likewise.
25949 [__USE_SVID]: Likewise.
25950 * socket/sys/socket.h [__USE_BSD]: Likewise.
25951 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
25952 * stdlib/stdlib.h [__USE_BSD]: Likewise.
25953 [__USE_SVID]: Likewise.
25954 * string/bits/string2.h [__USE_BSD]: Likewise.
25955 [__USE_SVID]: Likewise.
25956 * string/bits/string3.h [__USE_BSD]: Likewise.
25957 * string/endian.h [__USE_BSD]: Likewise.
25958 * string/string.h [__USE_SVID]: Likewise.
25959 [__USE_BSD]: Likewise.
25960 * string/strings.h [__USE_BSD]: Likewise.
25961 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
25962 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
25963 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
25964 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
25965 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
25966 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
25967 Likewise.
25968 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
25969 Likewise.
25970 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
25971 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
25972 Likewise.
25973 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
25974 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
25975 Likewise.
25976 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
25977 Likewise.
25978 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
25979 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
25980 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
25981 Likewise.
25982 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
25983 Likewise.
25984 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
25985 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
25986 * termios/termios.h [__USE_BSD]: Likewise.
25987 * time/sys/time.h [__USE_BSD]: Likewise.
25988 * time/time.h [__USE_BSD]: Likewise.
25989 [__USE_SVID]: Likewise.
25990
25991 * Makefile (subdir_targets): Remove subdir_lint.out.
25992
25993 * stdio-common/Makefile (do-tst-unbputc): Remove target.
25994 (do-tst-printf): Likewise.
25995 (tests): Depend directly on $(objpfx)tst-unbputc.out and
25996 $(objpfx)tst-printf.out.
25997
25998 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
25999
26000 * Makerules (check-abi-%): Change target to
26001 $(objpfx)check-abi-%.out.
26002 (check-abi target): Update dependencies.
26003 (check-abi-pattern variable): Redirect output of diff to $@.
26004 (check-abi variable): Likewise.
26005 * elf/Makefile (check-abi): Update dependencies.
26006
26007 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
26008 unused.
26009 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
26010 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
26011 subnormal range.
26012 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
26013 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
26014 value has largest subnormal exponent.
26015 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
26016 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
26017 * sysdeps/aarch64/soft-fp/sfp-machine.h
26018 (_FP_TININESS_AFTER_ROUNDING): New macro.
26019 * sysdeps/alpha/soft-fp/sfp-machine.h
26020 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26021 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26022 Likewise.
26023 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
26024 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26025 * sysdeps/mips/soft-fp/sfp-machine.h
26026 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26027 * sysdeps/powerpc/soft-fp/sfp-machine.h
26028 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26029 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26030 Likewise.
26031 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26032 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26033 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26034 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26035 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26036 Likewise.
26037
26038 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
26039
26040 [BZ #16545]
26041 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
26042 model 1.
26043
26044 2014-02-12 Richard Henderson <rth@redhat.com>
26045
26046 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
26047 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
26048 * sysdeps/unix/sysv/linux/alpha: Move directory from
26049 ports/sysdeps/unix/sysv/linux/alpha.
26050 * README: Update listing for alpha-*-linux-gnu.
26051
26052 2014-02-11 Joseph Myers <joseph@codesourcery.com>
26053
26054 * include/features.h: Update comment documenting feature test
26055 macros.
26056 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
26057 _DEFAULT_SOURCE.
26058 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
26059 (_SVID_SOURCE): Likewise.
26060 (_DEFAULT_SOURCE): Update description of default features.
26061 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
26062 with _GNU_SOURCE.
26063 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
26064 (S_ISVTX): Likewise.
26065 * manual/math.texi (Mathematical Constants): Likewise.
26066 * manual/signal.texi (Interrupted Primitives): Likewise.
26067 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
26068 * math/test-matherr.c (_SVID_SOURCE): Do not define.
26069 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
26070 Don't refer to _SVID_SOURCE in warning text.
26071
26072 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26073
26074 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
26075 already defined.
26076 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
26077 * sysdeps/mips/dl-lookup.c: Remove.
26078 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
26079
26080 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
26081
26082 [BZ #16447]
26083 * math/auto-libm-test-in: Add testcase for expl.
26084 * math/auto-libm-test-out: Regenerate.
26085 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
26086 calculation of unsafe.
26087 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
26088
26089 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
26090
26091 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
26092 * sysdeps/unix/sysv/linux/aarch64: Move directory from
26093 ports/sysdeps/unix/sysv/linux/aarch64.
26094 * README: Update listing for aarch64*-*-linux-gnu.
26095
26096 2014-02-11 Will Newton <will.newton@linaro.org>
26097
26098 * manual/probes.texi (Mathematical Function Probes): Use
26099 "triggered" instead of "hit".
26100
26101 * manual/probes.texi (Internal Probes): Add documentation
26102 of setjmp, longjmp and longjmp_target probes.
26103
26104 * include/stap-probe.h: Add comment about probe argument
26105 format.
26106
26107 * malloc/mtrace.c (attribute_hidden): Remove unused macro
26108 definition. (tr_where, tr_freehook, tr_mallochook,
26109 tr_reallochook, tr_memalignhook): Use ANSI protoype.
26110
26111 2014-02-11 David S. Miller <davem@davemloft.net>
26112
26113 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
26114 processing int_tests.
26115
26116 2014-02-10 Joseph Myers <joseph@codesourcery.com>
26117
26118 * sysdeps/mips: Move directory from ports/sysdeps/mips.
26119 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
26120 * sysdeps/unix/sysv/linux/mips: Move directory from
26121 ports/sysdeps/unix/sysv/linux/mips.
26122 * README: Update listing for mips-*-linux-gnu and
26123 mips64-*-linux-gnu.
26124
26125 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
26126
26127 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
26128 * sysdeps/unix/sysv/linux/m68k: Move directory from
26129 ports/sysdeps/unix/sysv/linux/m68k.
26130 * README: Update listing for m68k-*-linux-gnu.
26131
26132 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
26133
26134 * sysdeps/tile: Move directory from ports/sysdeps/tile.
26135 * sysdeps/unix/sysv/linux/generic: Move directory from
26136 ports/sysdeps/unix/sysv/linux/generic.
26137 * sysdeps/unix/sysv/linux/tile: Move directory from
26138 ports/sysdeps/unix/sysv/linux/tile.
26139 * README: Update listing for tile*-*-linux-gnu.
26140
26141 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
26142
26143 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
26144 __builtin_expect.
26145 * benchtests/bench-memmem.c (simple_memmem): Likewise.
26146 * catgets/open_catalog.c (__open_catalog): Likewise.
26147 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
26148 * debug/confstr_chk.c: Likewise.
26149 * debug/fread_chk.c (__fread_chk): Likewise.
26150 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
26151 * debug/getgroups_chk.c: Likewise.
26152 * debug/mbsnrtowcs_chk.c: Likewise.
26153 * debug/mbsrtowcs_chk.c: Likewise.
26154 * debug/mbstowcs_chk.c: Likewise.
26155 * debug/memcpy_chk.c: Likewise.
26156 * debug/memmove_chk.c: Likewise.
26157 * debug/mempcpy_chk.c: Likewise.
26158 * debug/memset_chk.c: Likewise.
26159 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26160 * debug/strcat_chk.c (__strcat_chk): Likewise.
26161 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
26162 * debug/strncat_chk.c (__strncat_chk): Likewise.
26163 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
26164 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
26165 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
26166 * debug/wcpncpy_chk.c: Likewise.
26167 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26168 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
26169 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
26170 * debug/wcsncpy_chk.c: Likewise.
26171 * debug/wcsnrtombs_chk.c: Likewise.
26172 * debug/wcsrtombs_chk.c: Likewise.
26173 * debug/wcstombs_chk.c: Likewise.
26174 * debug/wmemcpy_chk.c: Likewise.
26175 * debug/wmemmove_chk.c: Likewise.
26176 * debug/wmempcpy_chk.c: Likewise.
26177 * debug/wmemset_chk.c: Likewise.
26178 * dirent/scandirat.c (SCANDIRAT): Likewise.
26179 * dlfcn/dladdr1.c (dladdr1): Likewise.
26180 * dlfcn/dladdr.c (dladdr): Likewise.
26181 * dlfcn/dlclose.c (dlclose_doit): Likewise.
26182 * dlfcn/dlerror.c (__dlerror): Likewise.
26183 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
26184 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
26185 * dlfcn/dlopen.c (dlopen_doit): Likewise.
26186 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
26187 * dlfcn/dlsym.c (dlsym_doit): Likewise.
26188 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
26189 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
26190 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
26191 Likewise.
26192 * elf/dl-conflict.c: Likewise.
26193 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
26194 * elf/dl-dst.h: Likewise.
26195 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
26196 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
26197 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
26198 * elf/dl-init.c (call_init, _dl_init): Likewise.
26199 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
26200 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
26201 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
26202 Likewise.
26203 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
26204 Likewise.
26205 * elf/dl-minimal.c (__libc_memalign): Likewise.
26206 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
26207 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26208 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
26209 * elf/dl-sym.c (do_sym): Likewise.
26210 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
26211 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
26212 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
26213 * elf/dl-writev.h (_dl_writev): Likewise.
26214 * elf/ldconfig.c (search_dir): Likewise.
26215 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
26216 (dl_main): Likewise.
26217 * elf/setup-vdso.h (setup_vdso): Likewise.
26218 * grp/compat-initgroups.c (compat_call): Likewise.
26219 * grp/fgetgrent.c (fgetgrent): Likewise.
26220 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
26221 * grp/putgrent.c (putgrent): Likewise.
26222 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26223 Likewise.
26224 * hurd/hurdinit.c: Likewise.
26225 * iconvdata/8bit-gap.c (struct): Likewise.
26226 * iconvdata/ansi_x3.110.c : Likewise.
26227 * iconvdata/big5.c : Likewise.
26228 * iconvdata/big5hkscs.c : Likewise.
26229 * iconvdata/cp1255.c: Likewise.
26230 * iconvdata/cp1258.c : Likewise.
26231 * iconvdata/cp932.c : Likewise.
26232 * iconvdata/euc-cn.c: Likewise.
26233 * iconvdata/euc-jisx0213.c : Likewise.
26234 * iconvdata/euc-jp.c: Likewise.
26235 * iconvdata/euc-jp-ms.c : Likewise.
26236 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
26237 * iconvdata/gb18030.c : Likewise.
26238 * iconvdata/gbbig5.c (const): Likewise.
26239 * iconvdata/gbgbk.c: Likewise.
26240 * iconvdata/gbk.c : Likewise.
26241 * iconvdata/ibm1364.c : Likewise.
26242 * iconvdata/ibm930.c : Likewise.
26243 * iconvdata/ibm932.c: Likewise.
26244 * iconvdata/ibm933.c : Likewise.
26245 * iconvdata/ibm935.c : Likewise.
26246 * iconvdata/ibm937.c : Likewise.
26247 * iconvdata/ibm939.c : Likewise.
26248 * iconvdata/ibm943.c: Likewise.
26249 * iconvdata/iso_11548-1.c: Likewise.
26250 * iconvdata/iso-2022-cn.c : Likewise.
26251 * iconvdata/iso-2022-cn-ext.c : Likewise.
26252 * iconvdata/iso-2022-jp-3.c: Likewise.
26253 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
26254 * iconvdata/iso-2022-kr.c : Likewise.
26255 * iconvdata/iso646.c (gconv_end): Likewise.
26256 * iconvdata/iso_6937-2.c : Likewise.
26257 * iconvdata/iso_6937.c : Likewise.
26258 * iconvdata/iso8859-1.c: Likewise.
26259 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
26260 * iconvdata/shift_jisx0213.c : Likewise.
26261 * iconvdata/sjis.c : Likewise.
26262 * iconvdata/t.61.c : Likewise.
26263 * iconvdata/tcvn5712-1.c : Likewise.
26264 * iconvdata/tscii.c: Likewise.
26265 * iconvdata/uhc.c : Likewise.
26266 * iconvdata/unicode.c (gconv_end): Likewise.
26267 * iconvdata/utf-16.c (gconv_end): Likewise.
26268 * iconvdata/utf-32.c (gconv_end): Likewise.
26269 * iconvdata/utf-7.c (base64): Likewise.
26270 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
26271 * iconv/gconv_close.c (__gconv_close): Likewise.
26272 * iconv/gconv_open.c (__gconv_open): Likewise.
26273 * iconv/gconv_simple.c (internal_ucs4_loop_single)
26274 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
26275 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
26276 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
26277 (ucs4le_internal_loop_single): Likewise.
26278 * iconv/iconv.c (iconv): Likewise.
26279 * iconv/iconv_close.c: Likewise.
26280 * iconv/loop.c (SINGLE): Likewise.
26281 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
26282 * include/atomic.h: Likewise.
26283 * inet/inet6_option.c (option_alloc): Likewise.
26284 * intl/bindtextdom.c (set_binding_values): Likewise.
26285 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
26286 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
26287 * intl/localealias.c (read_alias_file): Likewise.
26288 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26289 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
26290 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
26291 * libio/fmemopen.c (fmemopen): Likewise.
26292 * libio/iofgets.c (_IO_fgets): Likewise.
26293 * libio/iofgets_u.c (fgets_unlocked): Likewise.
26294 * libio/iofgetws.c (fgetws): Likewise.
26295 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
26296 * libio/iogetdelim.c (_IO_getdelim): Likewise.
26297 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
26298 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
26299 * locale/findlocale.c (_nl_find_locale): Likewise.
26300 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
26301 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
26302 Likewise.
26303 * locale/setlocale.c (setlocale): Likewise.
26304 * login/programs/pt_chown.c (main): Likewise.
26305 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
26306 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
26307 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
26308 (mmap, mmap64, mremap, munmap): Likewise.
26309 * math/e_exp2l.c: Likewise.
26310 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
26311 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
26312 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
26313 * math/s_catan.c (__catan): Likewise.
26314 * math/s_catanf.c (__catanf): Likewise.
26315 * math/s_catanh.c (__catanh): Likewise.
26316 * math/s_catanhf.c (__catanhf): Likewise.
26317 * math/s_catanhl.c (__catanhl): Likewise.
26318 * math/s_catanl.c (__catanl): Likewise.
26319 * math/s_ccosh.c (__ccosh): Likewise.
26320 * math/s_ccoshf.c (__ccoshf): Likewise.
26321 * math/s_ccoshl.c (__ccoshl): Likewise.
26322 * math/s_cexp.c (__cexp): Likewise.
26323 * math/s_cexpf.c (__cexpf): Likewise.
26324 * math/s_cexpl.c (__cexpl): Likewise.
26325 * math/s_clog10.c (__clog10): Likewise.
26326 * math/s_clog10f.c (__clog10f): Likewise.
26327 * math/s_clog10l.c (__clog10l): Likewise.
26328 * math/s_clog.c (__clog): Likewise.
26329 * math/s_clogf.c (__clogf): Likewise.
26330 * math/s_clogl.c (__clogl): Likewise.
26331 * math/s_csin.c (__csin): Likewise.
26332 * math/s_csinf.c (__csinf): Likewise.
26333 * math/s_csinh.c (__csinh): Likewise.
26334 * math/s_csinhf.c (__csinhf): Likewise.
26335 * math/s_csinhl.c (__csinhl): Likewise.
26336 * math/s_csinl.c (__csinl): Likewise.
26337 * math/s_csqrt.c (__csqrt): Likewise.
26338 * math/s_csqrtf.c (__csqrtf): Likewise.
26339 * math/s_csqrtl.c (__csqrtl): Likewise.
26340 * math/s_ctan.c (__ctan): Likewise.
26341 * math/s_ctanf.c (__ctanf): Likewise.
26342 * math/s_ctanh.c (__ctanh): Likewise.
26343 * math/s_ctanhf.c (__ctanhf): Likewise.
26344 * math/s_ctanhl.c (__ctanhl): Likewise.
26345 * math/s_ctanl.c (__ctanl): Likewise.
26346 * math/w_pow.c: Likewise.
26347 * math/w_powf.c: Likewise.
26348 * math/w_powl.c: Likewise.
26349 * math/w_scalb.c (sysv_scalb): Likewise.
26350 * math/w_scalbf.c (sysv_scalbf): Likewise.
26351 * math/w_scalbl.c (sysv_scalbl): Likewise.
26352 * misc/error.c (error_tail): Likewise.
26353 * misc/pselect.c (__pselect): Likewise.
26354 * nis/nis_callback.c (__nis_create_callback): Likewise.
26355 * nis/nis_call.c (__nisfind_server): Likewise.
26356 * nis/nis_creategroup.c (nis_creategroup): Likewise.
26357 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
26358 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
26359 * nis/nis_getservlist.c (nis_getservlist): Likewise.
26360 * nis/nis_lookup.c (nis_lookup): Likewise.
26361 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
26362 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
26363 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
26364 * nis/nis_xdr.c (xdr_endpoint): Likewise.
26365 * nis/nss_compat/compat-grp.c (getgrent_next_file)
26366 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
26367 * nis/nss_compat/compat-initgroups.c (add_group)
26368 (internal_getgrent_r): Likewise.
26369 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
26370 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
26371 * nis/nss_compat/compat-spwd.c (getspent_next_file)
26372 (internal_getspnam_r): Likewise.
26373 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
26374 (_nss_nis_getaliasbyname_r): Likewise.
26375 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
26376 (_nss_nis_getntohost_r): Likewise.
26377 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
26378 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
26379 (_nss_nis_getgrgid_r): Likewise.
26380 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
26381 (internal_nis_gethostent_r, internal_gethostbyname2_r)
26382 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
26383 (_nss_nis_gethostbyname4_r): Likewise.
26384 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
26385 (initgroups_netid): Likewise.
26386 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
26387 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
26388 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
26389 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
26390 (_nss_nis_getprotobynumber_r): Likewise.
26391 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
26392 (_nss_nis_getsecretkey): Likewise.
26393 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
26394 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
26395 (_nss_nis_getpwuid_r): Likewise.
26396 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
26397 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
26398 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
26399 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
26400 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
26401 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
26402 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
26403 Likewise.
26404 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
26405 (_nss_nisplus_getntohost_r): Likewise.
26406 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
26407 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
26408 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
26409 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
26410 Likewise.
26411 * nis/nss_nisplus/nisplus-initgroups.c
26412 (_nss_nisplus_initgroups_dyn): Likewise.
26413 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
26414 (_nss_nisplus_getnetbyaddr_r): Likewise.
26415 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
26416 (_nss_nisplus_getprotobynumber_r): Likewise.
26417 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
26418 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
26419 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
26420 Likewise.
26421 * nis/nss_nisplus/nisplus-service.c
26422 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
26423 (_nss_nisplus_getservbyport_r): Likewise.
26424 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
26425 (_nss_nisplus_getspnam_r): Likewise.
26426 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
26427 Likewise.
26428 * nscd/aicache.c (addhstaiX): Likewise.
26429 * nscd/cache.c (cache_search, prune_cache): Likewise.
26430 * nscd/connections.c (register_traced_file, send_ro_fd)
26431 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
26432 (main_loop_epoll): Likewise.
26433 * nscd/grpcache.c (addgrbyX): Likewise.
26434 * nscd/hstcache.c (addhstbyX): Likewise.
26435 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26436 * nscd/mem.c (gc, mempool_alloc): Likewise.
26437 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
26438 (addinnetgrX): Likewise.
26439 * nscd/nscd-client.h (__nscd_acquire_maplock)
26440 (__nscd_drop_map_ref): Likewise.
26441 * nscd/nscd_getai.c (__nscd_getai): Likewise.
26442 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
26443 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
26444 Likewise.
26445 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
26446 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26447 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
26448 (__nscd_get_map_ref): Likewise.
26449 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
26450 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
26451 Likewise.
26452 * nscd/pwdcache.c (addpwbyX): Likewise.
26453 * nscd/selinux.c (preserve_capabilities): Likewise.
26454 * nscd/servicescache.c (addservbyX): Likewise.
26455 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
26456 * posix/fnmatch.c (fnmatch): Likewise.
26457 * posix/getopt.c (_getopt_internal_r): Likewise.
26458 * posix/glob.c (glob, glob_in_dir): Likewise.
26459 * posix/wordexp.c (exec_comm_child): Likewise.
26460 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
26461 (getanswer_r, gaih_getanswer_slice): Likewise.
26462 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
26463 * resolv/res_init.c: Likewise.
26464 * resolv/res_mkquery.c (res_nmkquery): Likewise.
26465 * resolv/res_query.c (__libc_res_nquery): Likewise.
26466 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
26467 Likewise.
26468 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
26469 * stdio-common/perror.c (perror): Likewise.
26470 * stdio-common/printf_fp.c (___printf_fp): Likewise.
26471 * stdio-common/tmpnam.c (tmpnam): Likewise.
26472 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26473 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26474 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26475 Likewise.
26476 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
26477 * stdlib/putenv.c (putenv): Likewise.
26478 * stdlib/setenv.c (__add_to_environ): Likewise.
26479 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26480 * stdlib/strtol_l.c (INTERNAL): Likewise.
26481 * string/memmem.c (memmem): Likewise.
26482 * string/strerror.c (strerror): Likewise.
26483 * string/strnlen.c (__strnlen): Likewise.
26484 * string/test-memmem.c (simple_memmem): Likewise.
26485 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
26486 * sunrpc/pm_getport.c (__get_socket): Likewise.
26487 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
26488 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
26489 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
26490 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
26491 Likewise.
26492 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
26493 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26494 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
26495 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
26496 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
26497 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
26498 Likewise.
26499 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
26500 Likewise.
26501 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26502 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26503 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26504 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26505 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
26506 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
26507 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
26508 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
26509 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
26510 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
26511 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26512 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
26513 Likewise.
26514 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
26515 Likewise.
26516 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
26517 Likewise.
26518 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
26519 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26520 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
26521 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
26522 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
26523 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
26524 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26525 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
26526 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
26527 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
26528 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
26529 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26530 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26531 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
26532 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26533 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
26534 Likewise.
26535 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
26536 Likewise.
26537 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
26538 Likewise.
26539 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
26540 Likewise.
26541 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26542 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26543 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
26544 Likewise.
26545 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
26546 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
26547 * sysdeps/posix/opendir.c (__opendirat): Likewise.
26548 * sysdeps/posix/sleep.c: Likewise.
26549 * sysdeps/posix/tempname.c: Likewise.
26550 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
26551 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26552 Likewise.
26553 * sysdeps/powerpc/powerpc32/dl-machine.h
26554 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
26555 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26556 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26557 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
26558 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
26559 Likewise.
26560 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
26561 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
26562 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26563 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
26564 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26565 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
26566 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
26567 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
26568 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26569 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
26570 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
26571 (elf_machine_lazy_rel): Likewise.
26572 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26573 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
26574 (elf_machine_lazy_rel): Likewise.
26575 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
26576 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
26577 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
26578 * sysdeps/unix/grantpt.c (grantpt): Likewise.
26579 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
26580 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
26581 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
26582 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26583 Likewise.
26584 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26585 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26586 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
26587 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
26588 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26589 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26590 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
26591 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
26592 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
26593 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26594 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26595 Likewise.
26596 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
26597 (__posix_fallocate64_l64): Likewise.
26598 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
26599 (posix_fallocate): Likewise.
26600 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
26601 Likewise.
26602 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26603 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
26604 (getifaddrs_internal): Likewise.
26605 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
26606 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
26607 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
26608 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
26609 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26610 (__posix_fallocate64_l64): Likewise.
26611 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
26612 Likewise.
26613 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
26614 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
26615 (__get_clockfreq): Likewise.
26616 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
26617 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
26618 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
26619 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26620 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26621 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
26622 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
26623 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
26624 Likewise.
26625 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
26626 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
26627 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26628 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
26629 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26630 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
26631 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
26632 Likewise.
26633 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26634 (posix_fallocate): Likewise.
26635 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26636 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
26637 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
26638 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
26639 (elf_machine_rela, elf_machine_rela_relative)
26640 (elf_machine_lazy_rel): Likewise.
26641 * time/asctime.c (asctime_internal): Likewise.
26642 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
26643 * time/tzset.c (__tzset_parse_tz): Likewise.
26644 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26645 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26646 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
26647 * wcsmbs/wcsmbsload.h: Likewise.
26648
26649 [BZ #15894]
26650 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
26651
26652 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
26653 (arena_get2): Remove THREAD_STATS conditionals.
26654 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
26655 (__malloc_stats, int): Likewise.
26656
26657 2014-02-08 Mike Frysinger <vapier@gentoo.org>
26658
26659 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
26660 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
26661
26662 * manual/setjmp.texi: Fix typos/grammar errors.
26663
26664 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
26665 Only return early when n is <= 0. Delete unused return statement.
26666
26667 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
26668 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
26669 * debug/tst-longjmp_chk3.c: New file.
26670
26671 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
26672 (test_main): Replace code with set_fortify_handler call.
26673 * debug/test-strcpy_chk.c: Likewise.
26674 * debug/tst-chk1.c: Likewise.
26675 * debug/tst-longjmp_chk.c: Likewise.
26676 * test-skeleton.c: Include fcntl.h & paths.h
26677 (set_fortify_handler): Define.
26678
26679 * debug/tst-longjmp_chk.c: Add header comment and include
26680 ../test-skeleton.c.
26681 (do_test): Mark static.
26682 (TEST_FUNCTION): Define.
26683
26684 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
26685 (IP_PMTUDISC_INTERFACE): Likewise.
26686 (IP_MULTICAST_IF): Likewise.
26687 (IP_MULTICAST_TTL): Likewise.
26688 (IP_MULTICAST_LOOP): Likewise.
26689 (IP_ADD_MEMBERSHIP): Likewise.
26690 (IP_DROP_MEMBERSHIP): Likewise.
26691 (IP_UNBLOCK_SOURCE): Likewise.
26692 (IP_BLOCK_SOURCE): Likewise.
26693 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
26694 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
26695 (IP_MSFILTER): Likewise.
26696 (MCAST_JOIN_GROUP): Likewise.
26697 (MCAST_BLOCK_SOURCE): Likewise.
26698 (MCAST_UNBLOCK_SOURCE): Likewise.
26699 (MCAST_LEAVE_GROUP): Likewise.
26700 (MCAST_JOIN_SOURCE_GROUP): Likewise.
26701 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
26702 (MCAST_MSFILTER): Likewise.
26703 (IP_MULTICAST_ALL): Likewise.
26704 (IP_UNICAST_IF): Likewise.
26705
26706 * timezone/Makefile: Delete $(have-ksh) check.
26707 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
26708 * timezone/tzselect.ksh: Add +x mode bits.
26709
26710 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
26711 (ANON_INODE_FS_MAGIC): Likewise.
26712 (BDEVFS_MAGIC): Likewise.
26713 (BINFMTFS_MAGIC): Likewise.
26714 (BTRFS_TEST_MAGIC): Likewise.
26715 (CRAMFS_MAGIC_WEND): Likewise.
26716 (DEBUGFS_MAGIC): Likewise.
26717 (ECRYPTFS_SUPER_MAGIC): Likewise.
26718 (EXT3_SUPER_MAGIC): Likewise.
26719 (EXT4_SUPER_MAGIC): Likewise.
26720 (FUTEXFS_SUPER_MAGIC): Likewise.
26721 (HOSTFS_SUPER_MAGIC): Likewise.
26722 (HUGETLBFS_MAGIC): Likewise.
26723 (MINIX3_SUPER_MAGIC): Likewise.
26724 (MTD_INODE_FS_MAGIC): Likewise.
26725 (NILFS_SUPER_MAGIC): Likewise.
26726 (OPENPROM_SUPER_MAGIC): Likewise.
26727 (PIPEFS_MAGIC): Likewise.
26728 (PSTOREFS_MAGIC): Likewise.
26729 (QNX6_SUPER_MAGIC): Likewise.
26730 (RAMFS_MAGIC): Likewise.
26731 (REISERFS_SUPER_MAGIC_STRING): Likewise.
26732 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
26733 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
26734 (SECURITYFS_MAGIC): Likewise.
26735 (SELINUX_MAGIC): Likewise.
26736 (SMACK_MAGIC): Likewise.
26737 (SOCKFS_MAGIC): Likewise.
26738 (SQUASHFS_MAGIC): Likewise.
26739 (STACK_END_MAGIC): Likewise.
26740 (TMPFS_MAGIC): Likewise.
26741 (USBDEVICE_SUPER_MAGIC): Likewise.
26742 (V9FS_MAGIC): Likewise.
26743 (XENFS_SUPER_MAGIC): Likewise.
26744 (CRAMFS_MAGIC): Fix typo in comment.
26745 (EXT2_SUPER_MAGIC): Update comment.
26746 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
26747
26748 2014-02-08 Joseph Myers <joseph@codesourcery.com>
26749
26750 * sysdeps/arm: Move directory from ports/sysdeps/arm.
26751 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
26752 * sysdeps/unix/sysv/linux/arm: Move directory from
26753 ports/sysdeps/unix/sysv/linux/arm.
26754 * README: Update listing for arm-*-linux-gnueabi.
26755
26756 * README: Remove mention of am33.
26757
26758 2014-02-07 Roland McGrath <roland@hack.frob.com>
26759
26760 * bits/sigset.h (__sigemptyset): Use a statement expression rather
26761 than the comma operator, to avoid "rhs of comma has no effect"
26762 compiler warnings.
26763 (__sigfillset, __sigandset, __sigorset): Likewise.
26764 * include/signal.h (__sigemptyset): Likewise.
26765 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
26766
26767 2014-02-07 Allan McRae <allan@archlinux.org>
26768
26769 * version.h (RELEASE): Set to "development".
26770 (VERSION): Set to "2.19.90"
26771 * NEWS: Add 2.20 section.
26772
26773 2014-02-06 Carlos O'Donell <carlos@redhat.com>
26774
26775 [BZ #16529]
26776 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
26777
26778 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26779
26780 * manual/contrib.texi: Update entry for Carlos O'Donell,
26781 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
26782
26783 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
26784
26785 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
26786
26787 * sysdeps/unix/sysv/linux/kernel-features.h
26788 [__LINUX_KERNEL_VERSION >= 0x020621]
26789 (__ASSUME_PROC_PID_TASK_COMM): Define.
26790
26791 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26792
26793 [BZ #16398]
26794 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
26795 conversion when destination buffer does not have enough space.
26796 * libio/tst-ftell-partial-wide.c: New test case.
26797 * libio/Makefile (tests): Add tst-ftell-partial-wide.
26798
26799 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
26800 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
26801 Leonard and Allan McRae.
26802
26803 2014-02-04 David S. Miller <davem@davemloft.net>
26804
26805 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
26806 32-bit.
26807
26808 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26809
26810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
26811 New file
26812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
26813 New file
26814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
26815 New file.
26816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
26817 New file.
26818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26819 New file.
26820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
26821 New file.
26822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
26823 New file.
26824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
26825 New file.
26826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26827 New file.
26828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26829 New file.
26830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26831 New file.
26832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26833 New file.
26834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26835 New file.
26836
26837 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26838
26839 * nptl/shlib-versions: Change powerpc*le start to 2.17.
26840 * shlib-versions: Likewise.
26841
26842 2014-02-04 Roland McGrath <roland@hack.frob.com>
26843 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26844
26845 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
26846 (abilist-pattern): New variable, set to %-le.abilist.
26847
26848 * Makerules (abilist-pattern): New variable.
26849 (vpath): Use $(abilist-pattern) in place of %.abilist.
26850 (check-abi-% pattern rule): Likewise.
26851 (check-abi, update-abi): Likewise.
26852
26853 2014-02-04 Eric Wong <normalperson@yhbt.net>
26854
26855 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26856
26857 2014-02-03 Carlos O'Donell <carlos@redhat.com>
26858
26859 * manual/startup.texi: Add next, previous, and top entries for
26860 the `Program Arguments' and `Environment Variables' nodes.
26861
26862 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
26863
26864 * manual/macros.texi: Add comments before MTASC-safety macros.
26865
26866 * manual/users.texi: Document MTASC-safety properties.
26867
26868 * manual/threads.texi (pthread_key_create, pthread_key_delete)
26869 (pthread_getspecific, pthread_setspecific): Format with
26870 @deftypefun, and add @safety note.
26871 * manual/signal.texi: Move comments that analyze the above
26872 functions to their home place.
26873
26874 2014-02-03 Allan McRae <allan@archlinux.org>
26875
26876 * po/sl.po: Update Slovenian translation from translation project.
26877
26878 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
26879
26880 * manual/time.texi (timegm): Add missing blank after @c.
26881 Reported by Joseph Myers <joseph@codesourcery.com>.
26882
26883 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
26884
26885 * manual/check-safety.sh: New.
26886 * manual/Makefile ($(objpfx)stamp-summary): Run it.
26887
26888 * manual/terminal.texi: Document MTASC-safety properties.
26889
26890 * manual/filesys.texi: Document MTASC-safety properties.
26891
26892 * manual/errno.texi: Document MTASC-safety properties.
26893
26894 * manual/intro.texi: Document safety identifiers and
26895 conditionals.
26896
26897 * manual/string.texi (wcstok): Fix prototype.
26898 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
26899
26900 * manual/time.texi: Document MTASC-safety properties.
26901
26902 * manual/string.texi: Document MTASC-safety properties.
26903
26904 * manual/threads.texi: Document MTASC-safety properties.
26905
26906 * manual/stdio.texi: Document MTASC-safety properties.
26907
26908 * manual/syslog.texi: Document MTASC-safety properties.
26909
26910 * manual/sysinfo.texi: Document MTASC-safety properties.
26911
26912 * manual/startup.texi: Document MTASC-safety properties.
26913
26914 * manual/socket.texi: Document MTASC-safety properties.
26915
26916 * manual/signal.texi: Document MTASC-safety properties.
26917
26918 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
26919
26920 * manual/setjmp.texi: Document MTASC-safety properties.
26921
26922 * manual/search.texi: Document MTASC-safety properties.
26923
26924 * manual/resource.texi: Document MTASC-safety properties.
26925
26926 * manual/process.texi: Document MTASC-safety properties.
26927
26928 * manual/platform.texi: Document MTASC-safety properties.
26929
26930 * manual/pipe.texi: Document MTASC-safety properties.
26931
26932 * manual/pattern.texi: Document MTASC-safety properties.
26933
26934 * manual/message.texi: Document MTASC-safety properties.
26935
26936 [BZ #12751]
26937 * manual/memory.texi: Document MTASC-safety properties.
26938
26939 * manual/math.texi: Document MTASC-safety properties.
26940
26941 * manual/locale.texi: Document MTASC-safety properties.
26942
26943 * manual/llio.texi: Document MTASC-safety properties.
26944
26945 * manual/libdl.texi: New.
26946
26947 * manual/lang.texi: Document MTASC-safety properties.
26948
26949 * manual/job.texi: Document MTASC-safety properties.
26950
26951 * manual/getopt.texi: Document MTASC-safety properties.
26952
26953 * manual/ctype.texi: Document MTASC-safety properties.
26954
26955 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
26956
26957 [BZ #16046]
26958 * csu/libc-tls.c (static_map): Remove variable.
26959 (__libc_setup_tls): Use main executable's link map for TLS data.
26960 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
26961 casing for LM_ID_BASE and GL(dl_nns).
26962 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
26963 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
26964 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
26965 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
26966 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
26967 member.
26968 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
26969 l_phnum members.
26970
26971 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
26972
26973 * manual/debug.texi: Document MTASC-safety properties.
26974
26975 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
26976
26977 [BZ #16510]
26978 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
26979 of __x86_64__ when disabling x87 inline functions.
26980
26981 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
26982
26983 * manual/charset.texi: Document MTASC-safety properties.
26984
26985 * manual/crypt.texi: Document MTASC-safety properties.
26986
26987 * manual/conf.texi: Document MTASC-safety properties.
26988
26989 * manual/arith.texi: Document MTASC-safety properties.
26990
26991 * manual/argp.texi: Document MTASC-safety properties.
26992
26993 * manual/macros.texi: Introduce macros to document multi
26994 thread, asynchronous signal and asynchronous cancellation
26995 safety properties.
26996 * manual/intro.texi: Introduce the properties themselves.
26997
26998 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26999
27000 * sysdeps/sh/sh4/Makefile: New file.
27001
27002 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
27003
27004 * math/gen-libm-test.pl ($srcdir): New variable.
27005 ($auto_input): Use it.
27006
27007 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27008
27009 [BZ #16506]
27010 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
27011 access beyond array bounds when parsing netgroups file.
27012
27013 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
27014 the old buffer before realloc.
27015
27016 2014-01-27 Allan McRae <allan@archlinux.org>
27017
27018 * po/fr.po: Update French translation from translation project.
27019
27020 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27021
27022 * sysdeps/sh/libm-test-ulps: Regenerate.
27023
27024 2014-01-24 David S. Miller <davem@davemloft.net>
27025
27026 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
27027
27028 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27029
27030 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
27031 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
27032
27033 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27034
27035 [BZ #16474]
27036 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
27037 string pointers after reallocation.
27038
27039 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27040
27041 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
27042 __SH4A__ instead of __SH_FPU_ANY__.
27043
27044 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27045
27046 * sysdeps/sh/fpu_control.h: New file.
27047 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
27048 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
27049 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
27050 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
27051 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
27052 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
27053 * sysdeps/sh/sys/ucontext.h: Remove.
27054 * sysdeps/sh/sys: Remove directory.
27055
27056 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27057
27058 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
27059 s390/sys/ucontext.h.
27060 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
27061 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
27062
27063 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
27064
27065 [BZ #15605]
27066 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
27067
27068 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27069
27070 [BZ#16431]
27071 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27072 Adjust the vDSO correctly for internal calls.
27073 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
27074
27075 2014-01-20 Allan McRae <allan@archlinux.org>
27076
27077 * po/ca.po: Update Catalan translation from translation project.
27078
27079 2014-01-16 Mike Frysinger <vapier@gentoo.org>
27080
27081 * sysdeps/s390/sotruss-lib.c: New file.
27082
27083 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27084
27085 [BZ#16430]
27086 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
27087 (__GI___gettimeofday): Alias for a different internal symbol to avoid
27088 local calls issues by not having a PLT stub required for IFUNC calls.
27089 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
27090
27091 2014-01-16 Joseph Myers <joseph@codesourcery.com>
27092
27093 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
27094 * math/test-fpucw-static.c: Likewise.
27095
27096 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27097
27098 [BZ #16453]
27099 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
27100
27101 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27102
27103 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
27104 implementation for powerpc.
27105
27106 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
27107
27108 [BZ #14782]
27109 * sysdeps/posix/system.c (__libc_system): Do not enable
27110 asynchronous cancellation.
27111
27112 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27113
27114 [BZ #16427]
27115 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
27116 handling only for numbers special also in the IEEE case.
27117
27118 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27119
27120 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27121
27122 2014-01-11 Allan McRae <allan@archlinux.org>
27123
27124 * po/bg.po: Update Bulgarian translation from translation project.
27125
27126 * po/de.po: Update German translation from translation project.
27127
27128 2014-01-10 Roland McGrath <roland@hack.frob.com>
27129
27130 * sysdeps/generic/gcc-compat.h: New file.
27131
27132 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27133
27134 * benchtests/asin-inputs: Correct slow inputs.
27135 * benchtests/acos-inputs: Likewise.
27136
27137 2014-01-10 Allan McRae <allan@archlinux.org>
27138
27139 * po:sv.po: Update Swedish translation from translation project.
27140
27141 * po/vi.po: Update Vietnamese translation from translation project.
27142
27143 * po/eo.po: Update Esperanto translation from translation project.
27144
27145 * po/cs.po: Update Czech translation from translation project.
27146
27147 * po/nl.po: Update Dutch translation from translation project.
27148
27149 * po/pl.po: Update Polish translation from translation project.
27150
27151 * po/ru.po: Update Russian translation from translation project.
27152
27153 * po/uk.po: Update Ukrainian translation from translation project.
27154
27155 2014-01-08 Brooks Moses <bmoses@google.com>
27156
27157 * elf/dl-load.c: Fix comment typo.
27158
27159 2014-01-08 Carlos O'Donell <carlos@redhat.com>
27160
27161 * po/header.pot: Rename to...
27162 * po/pot.header: ... this.
27163 * po/Makefile: Use pot.header.
27164
27165 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
27166 Maxim Kuvyrkov <maxim@kugelworks.com>
27167
27168 [BZ #16394]
27169 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
27170 SRC and DEST against LEN.
27171
27172 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27173
27174 [BZ #16414]
27175 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
27176 implementation.
27177 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
27178
27179 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27180
27181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27182
27183 2014-01-08 Joseph Myers <joseph@codesourcery.com>
27184
27185 [BZ #16408]
27186 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
27187 for large positive arguments.
27188
27189 2014-01-07 Joseph Myers <joseph@codesourcery.com>
27190
27191 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27192
27193 * math/auto-libm-test-in: Mark various tests with
27194 xfail-rounding:ldbl-128ibm.
27195 * math/auto-libm-test-out: Regenerated.
27196
27197 [BZ #16407]
27198 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
27199 Increase overflow threshold.
27200
27201 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
27202
27203 [BZ #14286]
27204 * stdio-common/vfprintf.c: Check for integer overflow.
27205
27206 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27207
27208 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
27209 the first argument and return value of __tls_get_addr_internal.
27210
27211 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27212
27213 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
27214 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
27215
27216 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27217
27218 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
27219 * sysdeps/s390/rtld-global-offsets.sym: New file.
27220 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
27221 GLIBC_2.19 symbol.
27222 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
27223 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
27224 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27225 ... this.
27226 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
27227 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27228 ... this.
27229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27230 Regenerate.
27231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27232 Regenerate.
27233 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
27234 halfs of GPRs for high_gprs contexts.
27235 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
27236 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
27237 field.
27238 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
27239 uc_flags field.
27240 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
27241 64 bit versions:
27242 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
27243 for high GPRs (uc_high_gprs) and for future extensions
27244 (__reserved).
27245 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
27246 for future extensions (__reserved).
27247 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
27248 64 bit versions:
27249 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
27250 SC_HIGHGPRS offset definition.
27251 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
27252 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
27253
27254 * Versions.def: Add GLIBC_2.19 for libpthread.
27255 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
27256 siglongjmp for libpthread with GLIBC_2.19 symver.
27257 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
27258 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
27259 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
27260 * sysdeps/s390/__longjmp.c: New file.
27261 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
27262 * sysdeps/s390/longjmp.c: New file.
27263 * sysdeps/s390/setjmp.S: New file.
27264 * sysdeps/s390/sigjmp.S: New file.
27265 * sysdeps/s390/v1-longjmp.c: New file.
27266 * sysdeps/s390/v1-setjmp.h: New file.
27267 * sysdeps/s390/v1-sigjmp.c: New file.
27268 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
27269 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
27270 GLIBC_2.19 version.
27271 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
27272 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
27273 versioned symbols for ____longjmp_chk.
27274 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27275 Likewise.
27276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27277 Regenerate.
27278 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27279 Regenerate.
27280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27281 Regenerate.
27282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27283 Regenerate.
27284 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
27285 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
27286 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
27287 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
27288 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
27289 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
27290 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
27291 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
27292 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
27293 * sysdeps/s390/rtld-__longjmp.c: New file.
27294 * sysdeps/s390/rtld-setjmp.S: New file.
27295
27296 2014-01-06 Joseph Myers <joseph@codesourcery.com>
27297
27298 [BZ #16400]
27299 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27300 Return -__logl (x) for small positive arguments without evaluating
27301 a polynomial.
27302
27303 2014-01-06 Mike Frysinger <vapier@gentoo.org>
27304
27305 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
27306 Rename to ...
27307 (__ptrace_peeksiginfo_args): ... this.
27308 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27309 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27310 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27311
27312 2014-01-06 Allan McRae <allan@archlinux.org>
27313
27314 * inet/netinet/in.h: Fix typo in comment.
27315
27316 2014-01-05 Andreas Jaeger <aj@suse.de>
27317
27318 * sysdeps/i386/fpu/libm-test-ulps: Update.
27319
27320 2014-01-05 Allan McRae <allan@archlinux.org>
27321
27322 * po/libc.pot: Regenerated.
27323
27324 * malloc/memusagestat.c: Fix gettext call formatting.
27325
27326 2014-01-04 Sami Kerola <kerolasa@iki.fi>
27327
27328 * nscd/nscd.c: Improve usage() output.
27329
27330 2014-01-04 Mike Frysinger <vapier@gentoo.org>
27331
27332 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
27333 * sysdeps/unix/sysv/linux/configure: Regenerated.
27334 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
27335 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
27336
27337 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27338
27339 [BZ #16390]
27340 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27341 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
27342
27343 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27344
27345 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
27346 extra tokens at end of #undef directive.
27347 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27348 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27349 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27350
27351 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27352
27353 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27354
27355 * math/auto-libm-test-in: Mark various tests with
27356 xfail-rounding:ldbl-128ibm.
27357 * math/auto-libm-test-out: Regenerated.
27358
27359 2014-01-02 Joseph Myers <joseph@codesourcery.com>
27360
27361 [BZ #16386]
27362 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
27363 numbers with subnormal high part when calculating exponent.
27364
27365 [BZ #16385]
27366 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
27367 fabs.
27368
27369 [BZ #16384]
27370 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
27371 M_LN2l.
27372 (__ieee754_acoshl): Use __log1pl not __log1p.
27373
27374 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
27375
27376 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
27377 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
27378 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
27379 (grow_heap, heap_trim, _int_new_arena, get_free_list)
27380 (reused_arena, arena_get2): Convert to GNU style.
27381 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
27382 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
27383 (memalign_check, __malloc_set_state): Likewise.
27384 * malloc/mallocbug.c (main): Likewise.
27385 * malloc/malloc.c (__malloc_assert, malloc_init_state)
27386 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
27387 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
27388 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
27389 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
27390 (__posix_memalign, malloc_info): Likewise.
27391 * malloc/malloc.h: Likewise.
27392 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
27393 (mallochook, memalignhook, reallochook, mabort): Likewise.
27394 * malloc/mcheck.h: Likewise.
27395 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
27396 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
27397 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
27398 * malloc/morecore.c (__default_morecore): Likewise.
27399 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
27400 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
27401 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
27402 (print_and_abort): Likewise.
27403 * malloc/obstack.h: Likewise.
27404 * malloc/set-freeres.c (__libc_freeres): Likewise.
27405 * malloc/tst-mallocstate.c (main): Likewise.
27406 * malloc/tst-mtrace.c (main): Likewise.
27407 * malloc/tst-realloc.c (do_test): Likewise.
27408
27409 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27410
27411 [BZ #16366]
27412 * nscd/netgroupcache.c (do_notfound): New function.
27413 (addgetnetgrentX): Use it.
27414
27415 [BZ # 16365]
27416 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
27417 NSS_STATUS_NOTFOUND.
27418
27419 2014-01-01 Joseph Myers <joseph@codesourcery.com>
27420
27421 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27423
27424 2014-01-01 Allan McRae <allan@archlinux.org>
27425
27426 * scripts/update-copyrights: Update configure input file suffix.
27427
27428 * NEWS: Update copyright year.
27429 * catgets/gencat.c: Likewise.
27430 * csu/version.c: Likewise.
27431 * debug/catchsegv.sh: Likewise.
27432 * debug/pcprofiledump.c: Likewise.
27433 * debug/xtrace.sh: Likewise.
27434 * elf/ldconfig.c: Likewise.
27435 * elf/ldd.bash.in: Likewise.
27436 * elf/pldd.c: Likewise.
27437 * elf/sotruss.ksh: Likewise.
27438 * elf/sprof.c: Likewise.
27439 * iconv/iconv_prog.c: Likewise.
27440 * iconv/iconvconfig.c: Likewise.
27441 * locale/programs/locale.c: Likewise.
27442 * locale/programs/localedef.c: Likewise.
27443 * login/programs/pt_chown.c: Likewise.
27444 * malloc/memusage.sh: Likewise.
27445 * malloc/memusagestat.c: Likewise.
27446 * malloc/mtrace.pl: Likewise.
27447 * manual/libc.texinfo: Likewise.
27448 * nscd/nscd.c: Likewise.
27449 * nss/getent.c: Likewise.
27450 * nss/makedb.c: Likewise.
27451 * posix/getconf.c: Likewise.
27452 * scripts/test-installation.pl: Likewise.
27453
27454 * All files with FSF copyright notices: Update copyright dates
27455 using scripts/update-copyrights.
27456 * intl/plural.c: Regenerated.
27457 * locale/programs/charmap-kw.h: Likewise.
27458 * locale/programs/locfile-kw.h: Likewise.
27459
27460 2013-12-31 Mike Frysinger <vapier@gentoo.org>
27461
27462 * sysdeps/unix/sysv/linux/configure: Regenerated.
27463 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
27464 the linux/fanotify.h header.
27465 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
27466 HAVE_LINUX_FANOTIFY_H is defined.
27467
27468 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27469
27470 * benchtests/cos-inputs: New inputs.
27471 * benchtests/sin-inputs: Likewise.
27472
27473 * benchtests/atan-inputs: New inputs. Fix name of multiple
27474 precision fallback inputs.
27475
27476 * benchtests/atanh-inputs: New inputs.
27477 * benchtests/tanh-inputs: Likewise.
27478
27479 * benchtests/acosh-inputs: New inputs.
27480 * benchtests/asinh-inputs: Likewise.
27481
27482 * benchtests/cosh-inputs: New inputs.
27483 * benchtests/sinh-inputs: Likewise.
27484
27485 * benchtests/acos-inputs: Add more inputs.
27486 * benchtests/asin-inputs: Likewise.
27487
27488 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
27489
27490 [BZ #16375]
27491 * manual/arith.texi: Fix spelling.
27492 * manual/charset.texi: Likewise.
27493 * manual/errno.texi: Likewise.
27494 * manual/filesys.texi: Likewise.
27495 * manual/lang.texi: Likewise.
27496 * manual/llio.texi: Likewise.
27497 * manual/locale.texi: Likewise.
27498 * manual/message.texi: Likewise.
27499 * manual/resource.texi: Likewise.
27500 * manual/search.texi: Likewise.
27501 * manual/setjmp.texi: Likewise.
27502 * manual/stdio.texi: Likewise.
27503 * manual/string.texi: Likewise.
27504 * manual/sysinfo.texi: Likewise.
27505 * manual/time.texi: Likewise.
27506
27507 2013-12-27 Carlos O'Donell <carlos@redhat.com>
27508
27509 * po/sl.po: New file.
27510
27511 2013-12-27 Mike Frysinger <vapier@gentoo.org>
27512
27513 * .gitignore: Add core/.gdbinit/.gdb_history.
27514
27515 2013-12-27 Allan McRae <allan@archlinux.org>
27516
27517 [BZ #16369]
27518 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
27519 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
27520
27521 2013-12-24 Brooks Moses <bmoses@google.com>
27522
27523 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
27524 all compilers that claim C++98 compliance, not just GCC.
27525 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27526 Likewise.
27527
27528 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27529
27530 * NEWS: Restore accidentally deleted bug-fix entries.
27531
27532 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27533 Ondřej Bílka <neleai@seznam.cz>
27534
27535 [BZ #15073]
27536 * malloc/malloc.c (_int_free): Perform sanity check only if we
27537 have_lock.
27538
27539 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
27540
27541 [BZ #12986]
27542 * manual/stdio.texi (String Input Conversions): Clarify that character
27543 classes are not supported.
27544
27545 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27546
27547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27548
27549 2013-12-22 Joseph Myers <joseph@codesourcery.com>
27550
27551 [BZ #16337]
27552 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27553 Calculate results for small negative arguments directly rather
27554 than using reflection formula with special underflow handling.
27555
27556 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
27557 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
27558 sysdeps/unix/bsd/bsd4.4/syscalls.list.
27559 (fchflags): Likewise.
27560 (revoke): Likewise.
27561 (setlogin): Likewise.
27562 (sigaltstack): Likewise.
27563 (wait4): Likewise.
27564 (sigblock): Remove.
27565 (sigsetmask): Likewise.
27566 (wait3): Likewise.
27567 (waitpid): Likewise.
27568 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
27569 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
27570 file.
27571 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
27572 * sysdeps/unix/bsd/Makefile: ... here.
27573 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
27574 * sysdeps/unix/bsd/Versions: ... here.
27575 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
27576 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
27577 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
27578 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
27579 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
27580 * sysdeps/unix/bsd/sigblock.c: ... here.
27581 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
27582 * sysdeps/unix/bsd/sigsetmask.c: ... here.
27583 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
27584 * sysdeps/unix/bsd/sigvec.c: ... here.
27585 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
27586 * sysdeps/unix/bsd/tcdrain.c: ... here.
27587 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
27588 * sysdeps/unix/bsd/tcgetattr.c: ... here.
27589 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
27590 * sysdeps/unix/bsd/tcsetattr.c: ... here.
27591 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
27592 * sysdeps/unix/bsd/wait.c: ... here.
27593 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
27594 * sysdeps/unix/bsd/wait3.c: ... here.
27595 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
27596 * sysdeps/unix/bsd/waitpid.c: ... here.
27597
27598 2013-12-21 Joseph Myers <joseph@codesourcery.com>
27599
27600 [BZ #16356]
27601 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
27602 round-to-nearest for [!USE_AS_EXPM1L].
27603 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
27604 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
27605 more tests of exp and exp10. Expect some exp10 tests to miss
27606 exceptions or fail in directed rounding modes.
27607 * math/auto-libm-test-out: Regenerated.
27608 * math/libm-test.inc (exp10_tonearest_test_data): New array.
27609 (exp10_test_tonearest): New function.
27610 (exp10_towardzero_test_data): New array.
27611 (exp10_test_towardzero): New function.
27612 (exp10_downward_test_data): New array.
27613 (exp10_test_downward): New function.
27614 (exp10_upward_test_data): New array.
27615 (exp10_test_upward): New function.
27616 (main): Call the new functions.
27617 * sysdeps/i386/fpu/libm-test-ulps: Update.
27618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27619
27620 2013-12-20 Joseph Myers <joseph@codesourcery.com>
27621
27622 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27623 asinh, atan, atan2, atanh, cbrt, cos and cosh.
27624 * math/auto-libm-test-out: Regenerated.
27625 * math/libm-test.inc (acosh_test_data): Add more tests.
27626 (atanh_test_data): Likewise.
27627 (ceil_test_data): Likewise.
27628 (copysign_test_data): Likewise.
27629 * sysdeps/i386/fpu/libm-test-ulps: Update.
27630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27631
27632 * timezone/checktab.awk: Update from tzcode 2013i.
27633 * timezone/private.h: Likewise.
27634 * timezone/scheck.c: Likewise.
27635 * timezone/tzfile.h: Likewise.
27636 * timezone/tzselect.ksh: Likewise.
27637 * timezone/zdump.c: Likewise.
27638 * timezone/zic.c: Likewise.
27639
27640 * math/auto-libm-test-in: Add tests of cpow.
27641 * math/auto-libm-test-out: Regenerated.
27642 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
27643 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27644 mpc_cc_c.
27645 (func_calc_desc): Add mpc_cc_c union field.
27646 (test_functions): Add cpow.
27647 (special_fill_2pi): New function.
27648 (special_real_inputs): Add 2pi.
27649 (calc_generic_results): Handle mpc_cc_c.
27650 * sysdeps/i386/fpu/libm-test-ulps: Update.
27651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27652
27653 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
27654 csqrt, ctan and ctanh.
27655 * math/auto-libm-test-out: Regenerated.
27656 * math/libm-test.inc (TEST_COND_x86_64): New macro.
27657 (TEST_COND_x86): Likewise.
27658 (ccos_test_data): Use AUTO_TESTS_c_c.
27659 (ccosh_test_data): Likewise.
27660 (cexp_test_data): Likewise.
27661 (clog_test_data): Likewise.
27662 (csqrt_test_data): Likewise.
27663 (ctan_test_data): Likewise.
27664 (ctan_tonearest_test_data): Likewise.
27665 (ctan_towardzero_test_data): Likewise.
27666 (ctan_downward_test_data): Likewise.
27667 (ctan_upward_test_data): Likewise.
27668 (ctanh_test_data): Likewise.
27669 (ctanh_tonearest_test_data): Likewise.
27670 (ctanh_towardzero_test_data): Likewise.
27671 (ctanh_downward_test_data): Likewise.
27672 (ctanh_upward_test_data): Likewise.
27673 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27674 mpc_c_c.
27675 (func_calc_desc): Add mpc_c_c union field.
27676 (FUNC_mpc_c_c): New macro.
27677 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
27678 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
27679 ctanh.
27680 (special_fill_min_subnorm_p120): New function.
27681 (special_real_inputs): Add min_subnorm_p120.
27682 (calc_generic_results): Handle mpc_c_c.
27683 * sysdeps/i386/fpu/libm-test-ulps: Update.
27684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27685
27686 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27687
27688 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
27689 (do_sin_slow): New functions.
27690 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
27691 (cslow2, csloww1, csloww2): Use the new functions.
27692
27693 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
27694 Use M to change sign of result instead of X. Assume X is
27695 positive.
27696 (csloww1): Likewise.
27697 (__sin): Adjust.
27698 (__cos): Adjust.
27699
27700 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
27701 arguments A and DA.
27702 (__sin): Adjust.
27703 (__cos): Likewise.
27704
27705 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
27706 (__cos): Likewise.
27707 (sloww1): Don't adjust sign of DX.
27708 (csloww1): Likewise.
27709 (sloww2): Use X directly and don't adjust sign of DX.
27710 (csloww2): Likewise.
27711
27712 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27713
27714 * math/auto-libm-test-in: Add tests of cabs and carg.
27715 * math/auto-libm-test-out: Regenerated.
27716 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
27717 (carg_test_data): Likewise.
27718 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27719 mpc_c_f.
27720 (func_calc_desc): Add mpc_c_f union field.
27721 (test_functions): Add cabs and carg.
27722 (calc_generic_results): Handle mpc_c_f.
27723
27724 * sysdeps/powerpc/powerpc32/libgcc-compat.S
27725 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
27726 as a macro and a compat symbol.
27727 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27728 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27729 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
27730 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
27731 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
27732 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
27733 not use .hidden.
27734 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
27735 Likewise.
27736 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
27737 Likewise.
27738 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
27739 Likewise.
27740 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
27741 Likewise.
27742 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
27743 Likewise.
27744 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
27745 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
27746 from GLIBC_2.3.2.
27747
27748 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27749
27750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27751
27752 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27753
27754 * manual/texinfo.tex: Update to version 2013-11-26.10 with
27755 trailing whitespace removed.
27756 * scripts/config.guess: Update to version 2013-11-29.
27757 * scripts/config.sub: Update to version 2013-10-01.
27758
27759 * math/auto-libm-test-in: Add tests of sincos.
27760 * math/auto-libm-test-out: Regenerated.
27761 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
27762 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27763 mpfr_f_11.
27764 (func_calc_desc): Add mpfr_f_11 union field.
27765 (test_functions): Add sincos.
27766 (calc_generic_results): Handle mpfr_f_11.
27767 * sysdeps/i386/fpu/libm-test-ulps: Update.
27768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27769
27770 2013-12-19 Andreas Schwab <schwab@suse.de>
27771
27772 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
27773 CALL_MCOUNT.
27774 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27775 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
27776 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
27777
27778 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27779
27780 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
27781 * sysdeps/i386/fpu/libm-test-ulps: Update.
27782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27783
27784 [BZ #16293]
27785 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
27786 round-to-nearest mode when using frndint.
27787 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
27788 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27789 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27790 Likewise.
27791 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
27792 sinh test to fail.
27793 * math/auto-libm-test-out: Regenerated.
27794 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
27795 (TEST_COND_x86): Likewise.
27796 (expm1_tonearest_test_data): New array.
27797 (expm1_test_tonearest): New function.
27798 (expm1_towardzero_test_data): New array.
27799 (expm1_test_towardzero): New function.
27800 (expm1_downward_test_data): New array.
27801 (expm1_test_downward): New function.
27802 (expm1_upward_test_data): New array.
27803 (expm1_test_upward): New function.
27804 (main): Run the new test functions.
27805 * sysdeps/i386/fpu/libm-test-ulps: Update.
27806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27807
27808 * include/features.h: Update comment documenting feature test
27809 macros. Mention _DEFAULT_SOURCE in comment.
27810 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
27811 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
27812 _BSD_SOURCE and _SVID_SOURCE.
27813 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
27814 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
27815 !_SVID_SOURCE]: Likewise.
27816 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27817 (__USE_POSIX_IMPLICITLY): Define.
27818 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27819 (_POSIX_SOURCE): Undefine and redefine.
27820 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27821 (_POSIX_C_SOURCE): Likewise.
27822 * manual/creature.texi (_DEFAULT_SOURCE): Document.
27823 (Feature Test Macros): Update documentation of default features.
27824
27825 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27826
27827 * benchtests/Makefile: Add bench-strtok.
27828 * benchtests/bench-strtok.c: New file: strtok benchtest.
27829
27830 2013-12-19 Allan McRae <allan@archlinux.org>
27831
27832 * manual/install.texi: Suppress menu for plain text output.
27833 * INSTALL: Regenerated.
27834
27835 2013-12-18 Brooks Moses <bmoses@google.com>
27836
27837 [BZ #15846]
27838 * misc/getauxval.c: Include errno.h.
27839 (__getauxval): Set errno to ENOENT if the requested type is not
27840 found.
27841 * misc/sys/auxv.h (getauxval): Document that it may set errno;
27842 don't declare with __attribute_const__.
27843 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
27844 * manual/startup.texi: Document that getauxval sets errno.
27845
27846 2013-12-18 Joseph Myers <joseph@codesourcery.com>
27847
27848 * math/auto-libm-test-in: Add tests of jn and yn.
27849 * math/auto-libm-test-out: Regenerated.
27850 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
27851 (yn_test_data): Likewise.
27852 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27853 mpfr_if_f.
27854 (func_calc_desc): Add mpfr_if_f union field.
27855 (FUNC_mpfr_if_f): New macro.
27856 (test_functions): Add jn and yn.
27857 (calc_generic_results): Assert type of second input for
27858 mpfr_ff_f. Handle mpfr_if_f.
27859 (output_for_one_input_case): Disable all checking for arguments
27860 fitting floating-point types in case of an integer argument.
27861 * sysdeps/i386/fpu/libm-test-ulps: Update.
27862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27863
27864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27865 Don't expect fegetround reference in libm.so.
27866
27867 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27868
27869 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
27870 $(config-cflags-nofma).
27871
27872 2013-12-18 Joseph Myers <joseph@codesourcery.com>
27873
27874 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
27875 * math/auto-libm-test-out: Regenerated.
27876
27877 [BZ #16338]
27878 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
27879 to determine exponent and adjust argument to have exponent of -1.
27880 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27881 log2.
27882 * math/auto-libm-test-out: Regenerated.
27883 * sysdeps/i386/fpu/libm-test-ulps: Update.
27884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27885
27886 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
27887
27888 * manual/probes.texi: Remove cases when per-thread arenas are
27889 disabled.
27890
27891 2013-12-18 Andreas Schwab <schwab@suse.de>
27892
27893 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
27894 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
27895 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
27896 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
27897 * sysdeps/i386/i686/multiarch/Makefile: Update.
27898 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
27899
27900 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27901
27902 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
27903 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
27904
27905 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
27906
27907 [BZ #15968]
27908 Support TZ transition times < 00:00:00.
27909 This is needed for version-3 tz-format files; it supports time
27910 stamps past 2037 for America/Godthab (the only entry in the tz
27911 database for which this change is relevant).
27912 * manual/time.texi (TZ Variable): Document transition times
27913 from -167:59:59 through -00:00:01.
27914 * time/tzset.c (tz_rule): Time of day is now signed.
27915 (__tzset_parse_tz): Parse negative time of day.
27916
27917 Document TZ transition times >= 25:00:00.
27918 * manual/time.texi (TZ Variable): Document transition times from
27919 25:00:00 through 167:59:59. These are already supported, and this
27920 support will help with version-3 tz-format files.
27921
27922 * manual/time.texi (TZ Variable): Modernize North America example
27923 to reflect current (i.e., 2007-and-later) daylight saving rules.
27924
27925 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
27926
27927 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27928
27929 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
27930 * sysdeps/unix/bsd/bits/stat.h: Likewise.
27931 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
27932 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27933 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
27934 * sysdeps/unix/bsd/bsdstat.h: Likewise.
27935 * sysdeps/unix/bsd/clock.c: Likewise.
27936 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
27937 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
27938 * sysdeps/unix/bsd/init-posix.c: Likewise.
27939 * sysdeps/unix/bsd/poll.c: Likewise.
27940 * sysdeps/unix/bsd/ptsname.c: Likewise.
27941 * sysdeps/unix/bsd/seekdir.c: Likewise.
27942 * sysdeps/unix/bsd/setegid.c: Likewise.
27943 * sysdeps/unix/bsd/seteuid.c: Likewise.
27944 * sysdeps/unix/bsd/setgid.c: Likewise.
27945 * sysdeps/unix/bsd/setrgid.c: Likewise.
27946 * sysdeps/unix/bsd/setruid.c: Likewise.
27947 * sysdeps/unix/bsd/setsid.c: Likewise.
27948 * sysdeps/unix/bsd/setuid.c: Likewise.
27949 * sysdeps/unix/bsd/sigaction.c: Likewise.
27950 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
27951 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
27952 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
27953 * sysdeps/unix/bsd/telldir.c: Likewise.
27954 * sysdeps/unix/bsd/times.c: Likewise.
27955 * sysdeps/unix/bsd/usleep.c: Likewise.
27956
27957 * misc/Makefile (install-lib): Remove libbsd-compat.a.
27958 ($(objpfx)libbsd-compat.a): Remove rule.
27959
27960 * include/features.h (__FAVOR_BSD): Do not define.
27961 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
27962 features conflicting with POSIX.
27963 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
27964 (_BSD_SOURCE): Remove description of not being a subset of other
27965 feature test macros.
27966 * manual/job.texi (getpgrp): Do not document BSD version.
27967 (getpgid): Do not document by reference to BSD getpgrp.
27968 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
27969 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
27970 * signal/signal.h [__FAVOR_BSD]: Likewise.
27971 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
27972 instead of making contents conditional on [__FAVOR_BSD].
27973 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
27974
27975 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27976
27977 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27978
27979 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27980
27981 [BZ #16314]
27982 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
27983 values below 2**-450, not 2**-500.
27984 * math/auto-libm-test-in: Don't allow spurious underflow from
27985 hypot.
27986 * math/auto-libm-test-out: Regenerated.
27987
27988 [BZ #16316]
27989 [BZ #16330]
27990 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
27991 values of ha and hb and sort them after adjusting subnormal
27992 arguments.
27993 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
27994 Likewise.
27995 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
27996 values of ea and eb and sort them after adjusting subnormal
27997 arguments.
27998 * math/auto-libm-test-in: Do not expect some hypot tests of
27999 subnormals to fail. Add more hypot tests.
28000 * math/auto-libm-test-out: Regenerated.
28001
28002 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28003
28004 [BZ #13304]
28005 * sysdeps/sh/s_fma.c: New file.
28006 * sysdeps/sh/s_fmaf.c: New file.
28007 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
28008 version.
28009 * sysdeps/sh/Implies: Add sh/soft-fp.
28010
28011 2013-12-16 Roland McGrath <roland@hack.frob.com>
28012
28013 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
28014 level of indirection to members `objname', `errstring', `malloced'.
28015 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
28016 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
28017 it as the __longjmp argument (just pass 1 instead).
28018 (_dl_catch_error): Initialize C with argument pointers and address of
28019 volatile local ERRCODE rather than copying values out of C at return.
28020
28021 2013-12-16 Joseph Myers <joseph@codesourcery.com>
28022
28023 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
28024 * math/auto-libm-test-out: Regenerated.
28025 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
28026 (hypot_test_data): Likewise.
28027 (pow_test_data): Likewise.
28028 (pow_tonearest_test_data): Likewise.
28029 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28030 mpfr_ff_f.
28031 (func_calc_desc): Add mpfr_ff_f union field.
28032 (FUNC_mpfr_ff_f): New macro.
28033 (test_functions): Add atan2, hypot and pow.
28034 (special_fill_min): New function.
28035 (special_fill_minus_min): Likewise.
28036 (special_fill_min_subnorm): Likewise.
28037 (special_fill_minus_min_subnorm): Likewise.
28038 (special_real_inputs): Add min, -min, min_subnorm and
28039 -min_subnorm.
28040 (calc_generic_results): Handle mpfr_ff_f.
28041 * sysdeps/i386/fpu/libm-test-ulps: Update.
28042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28043
28044 2013-12-16 Will Newton <will.newton@linaro.org>
28045
28046 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
28047 (Aligned Memory Blocks): Add documentation for aligned_alloc
28048 and suggest it as an alternative to posix_memalign.
28049 (Hooks for Malloc): Document __memalign_hook is also called
28050 for aligned_alloc. (Summary of Malloc): Add summary for
28051 aligned alloc. Document __memalign_hook is also called
28052 for aligned_alloc.
28053
28054 2013-12-16 Will Newton <will.newton@linaro.org>
28055
28056 * manual/memory.texi (Malloc Examples): Clarify default
28057 alignment documentation. Suggest posix_memalign rather
28058 than memalign or valloc.
28059 (Aligned Memory Blocks): Remove suggestion to use memalign
28060 or valloc. Remove obsolete comment about BSD.
28061 Document memalign errno values and mark the function obsolete.
28062 Document posix_memalign returned error codes. Mark valloc
28063 as obsolete. (Hooks for Malloc): __memalign_hook is also
28064 called for posix_memalign and valloc.
28065 (Summary of Malloc): Add posix_memalign to function summary.
28066 __memalign_hook is also called for posix_memalign and valloc.
28067
28068 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28069
28070 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
28071 TAYLOR_SIN.
28072 (__sin): Adjust.
28073 (__cos): Likewise.
28074 (sloww): Use mynumber union. Expand ternary operator into
28075 if-else statements.
28076 (cslow): use mynumber union.
28077
28078 2013-12-16 Allan McRae <allan@archlinux.org>
28079
28080 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
28081 * configure: Regenerated.
28082
28083 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
28084
28085 [BZ #14120]
28086 * configure.ac: Added --enable-maintainer-mode. Check for
28087 autoconf when enabled.
28088 * configure: Regenerated.
28089
28090 * nscd/nscd.service: New file.
28091 * nscd/nscd.tmpfiles: New file.
28092
28093 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
28094
28095 [BZ #12100]
28096 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
28097 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
28098 * sysdeps/x86_64/multiarch/strstr.c: ... here.
28099 (strstr): Add __strstr_sse2_unaligned ifunc.
28100 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
28101 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
28102 (strcasestr): Remove __strcasestr_sse42 ifunc.
28103 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
28104 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28105 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28106
28107 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28108
28109 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
28110 * sysdeps/sh/bits/fenv.h: ... here.
28111 * sysdeps/sh/sh4/fpu/bits: Remove directory.
28112
28113 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28114
28115 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
28116
28117 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
28118 hypotf multiarch implementations.
28119 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
28120 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
28121 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
28122 multiarch hypot for PPC64.
28123 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
28124 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
28125 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
28126 multiarch hypotf for PPC64.
28127
28128 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
28129 modff multiarch implementations.
28130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
28131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
28132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
28133 multiarch modf for PPC64.
28134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
28135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
28136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
28137 multiarch modff for PPC64.
28138
28139 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
28140 and logl multiarch implementations.
28141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
28142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
28143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
28144 multiarch logb for PPC64.
28145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
28146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
28147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
28148 multiarch logb for PPC64.
28149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
28150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
28151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
28152 multiarch logb for PPC64.
28153
28154 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
28155 isinff multiarch implementation.
28156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
28157 file.
28158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
28159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
28160 multiarch isinf for PPC64.
28161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
28162 file.
28163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
28164 multiarch isinff for PPC64.
28165
28166 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
28167 finitef multiarch implementation.
28168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
28169 file.
28170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
28171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
28172 multiarch finite for PPC64.
28173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
28174 file.
28175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
28176 multiarch finitef for PPC64.
28177
28178 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
28179 lrint multiarch implementation.
28180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
28181 file.
28182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
28183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
28184 multiarch llrint for PPC64.
28185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
28186 multiarch lrint for PPC64.
28187
28188 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
28189 copysignf multiarch implementation.
28190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
28191 file.
28192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
28193 file.
28194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
28195 multiarch copysign for PPC64.
28196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
28197 multiarch copysignf for PPC64.
28198
28199 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
28200 multiarch implementation.
28201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
28202 file.
28203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
28204 file.
28205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
28206 file.
28207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
28208 file.
28209 multiarch llround for PPC64.
28210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
28211 multiarch trunc for PPC64.
28212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
28213 multiarch truncf for PPC64.
28214
28215 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
28216 multiarch implementation.
28217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
28218 file.
28219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
28220 file.
28221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
28222 file.
28223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
28224 file.
28225 multiarch llround for PPC64.
28226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
28227 multiarch round for PPC64.
28228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
28229 multiarch roundf for PPC64.
28230
28231 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
28232 multiarch implementation.
28233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
28234 file.
28235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
28236 file.
28237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
28238 file.
28239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
28240 file.
28241 multiarch llround for PPC64.
28242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
28243 multiarch floor for PPC64.
28244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
28245 multiarch floorf for PPC64.
28246
28247 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
28248 multiarch implementation.
28249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
28250 file.
28251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
28252 file.
28253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
28254 file.
28255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
28256 file.
28257 multiarch llround for PPC64.
28258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
28259 multiarch ceil for PPC64.
28260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
28261 multiarch ceilf for PPC64.
28262
28263 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
28264 multiarch implementation.
28265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
28266 file.
28267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
28268 file.
28269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
28270 file.
28271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
28272 multiarch llround for PPC64.
28273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
28274 multiarch lround for PPC64.
28275
28276 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
28277 multiarch implementation.
28278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
28279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
28280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
28281 file.
28282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
28283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
28284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
28285 multiarch isnan for PPC64.
28286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
28287 multiarch isnanf for PPC64.
28288
28289 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
28290 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
28291 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
28292 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
28293 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
28294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
28295
28296 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
28297 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28298 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28299 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28300
28301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
28302 multiarch implementations.
28303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28304 (__libc_ifunc_impl_list): Likewise.
28305 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
28306 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
28307 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
28308 multiarch stpcpy for PPC64.
28309
28310 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
28311 multiarch implementations.
28312 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28313 (__libc_ifunc_impl_list): Likewise.
28314 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
28315 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
28316 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
28317 multiarch strcpy for PPC64.
28318
28319 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
28320 redefine function name.
28321 (_wordcopy_fwd_dest_aligned): Likewise.
28322 (_wordcopy_bwd_aligned): Likewise.
28323 (_wordcopy_bwd_dest_aligned): Likewise.
28324 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
28325 multiarch implementations.
28326 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28327 (__libc_ifunc_impl_list): Likewise.
28328 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
28329 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
28330 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
28331 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
28332 multiarch wcscpy for PPC64.
28333
28334 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
28335 multiarch implementations.
28336 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28337 (__libc_ifunc_impl_list): Likewise.
28338 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
28339 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
28340 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
28341 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
28342 multiarch wcscpy for PPC64.
28343
28344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
28345 multiarch implementations.
28346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28347 (__libc_ifunc_impl_list): Likewise.
28348 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
28349 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
28350 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
28351 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
28352 multiarch wcsrchr for PPC64.
28353
28354 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
28355 multiarch implementations.
28356 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28357 (__libc_ifunc_impl_list): Likewise.
28358 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
28359 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
28360 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
28361 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
28362 multiarch wcschr for PPC64.
28363
28364 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
28365 multiarch implementations.
28366 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28367 (__libc_ifunc_impl_list): Likewise.
28368 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
28369 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
28370 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
28371 multiarch strchrnul for PPC64.
28372
28373 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
28374 implementations.
28375 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28376 (__libc_ifunc_impl_list): Likewise.
28377 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
28378 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
28379 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
28380 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
28381 strchr for PPC64.
28382
28383 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
28384 implementations.
28385 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28386 (__libc_ifunc_impl_list): Likewise.
28387 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
28388 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
28389 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
28390 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
28391 strncmp for PPC64.
28392
28393 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
28394 multiarch implementations.
28395 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28396 (__libc_ifunc_impl_list): Likewise.
28397 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
28398 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
28399 strncasecmp for PPC64.
28400 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
28401 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
28402 multiarch strncasecmp_l for PPC64.
28403
28404 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
28405 multiarch implementations.
28406 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28407 (__libc_ifunc_impl_list): Likewise.
28408 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
28409 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
28410 multiarch strcasecmp for PPC64.
28411 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
28412 file.
28413 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
28414 multiarch strcasecmp_l for PPC64.
28415
28416 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
28417 implementations.
28418 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28419 (__libc_ifunc_impl_list): Likewise.
28420 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
28421 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
28422 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
28423 strnlen for PPC64.
28424
28425 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
28426 implementations.
28427 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28428 (__libc_ifunc_impl_list): Likewise.
28429 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
28430 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
28431 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
28432 strlen for PPC64.
28433
28434 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
28435 implementations.
28436 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28437 (__libc_ifunc_impl_list): Likewise.
28438 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
28439 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
28440 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
28441 rawmemrchr for PPC64.
28442
28443 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
28444 implementation.
28445 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28446 (__libc_ifunc_impl_list): Likewise.
28447 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
28448 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
28449 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
28450 memrchr for PPC64.
28451
28452 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
28453 implementation.
28454 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28455 (__libc_ifunc_impl_list): Likewise.
28456 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
28457 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
28458 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
28459 memchr for PPC64.
28460
28461 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
28462 implementation.
28463 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28464 (__libc_ifunc_impl_list): Likewise.
28465 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
28466 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
28467 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
28468 mempcpy for PPC64.
28469
28470 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
28471 avoid cretion of __bzero symbol.
28472 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
28473 Likewise.
28474 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
28475 Likewise.
28476 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
28477 Likewise.
28478 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
28479 multiarch implementations.
28480 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28481 (__libc_ifunc_impl_list): Likewise.
28482 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
28483 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
28484 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
28485 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
28486 bzero for PPC32.
28487 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
28488 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
28489 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
28490 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
28491 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
28492 memset for PPC64.
28493 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
28494
28495 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
28496 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
28497 implementations.
28498 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28499 (__libc_ifunc_impl_list): Likewise.
28500 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
28501 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
28502 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
28503 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
28504 memcmp for PPC64.
28505
28506 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
28507 multiarch for POWER/PPC64.
28508 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
28509 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
28510 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
28511 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
28512 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
28513 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
28514 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
28515 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
28516 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
28517 memcpy for PPC64.
28518
28519 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
28520 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
28521 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
28522 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
28523 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
28524 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
28525 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
28526 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
28527 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
28528 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
28529 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
28530 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
28531 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
28532 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
28533 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
28534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
28535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
28536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
28537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
28538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
28539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
28540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
28541
28542 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28543
28544 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
28545
28546 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28547
28548 * benchtests/Makefile (bench): Add exp2 and log2.
28549 (LDLIBS-bench-exp2): Add -lm.
28550 (LDLIBS-bench-log2): Likewise.
28551 * benchtests/exp2-inputs: New inputs file.
28552 * benchtests/log2-inputs: New inputs file.
28553 * benchtests/log-inputs: Add new inputs.
28554 * benchtests/tan-inputs: Likewise.
28555
28556 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28557
28558 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
28559 definition...
28560 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
28561 (csloww2): ... from here.
28562
28563 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
28564 instead of structures.
28565 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
28566 (POLYNOMIAL): Likewise.
28567 (TAYLOR_SLOW): Likewise.
28568 (__sin): Likewise.
28569 (__cos): Likewise.
28570 (slow1): Likewise.
28571 (slow2): Likewise.
28572 (sloww): Likewise.
28573 (sloww1); Likewise.
28574 (sloww2): Likewise.
28575 (bsloww1): Likewise.
28576 (bsloww2): Likewise.
28577 (cslow2): Likewise.
28578 (csloww): Likewise.
28579 (csloww1): Likewise.
28580 (csloww2): Likewise.
28581
28582 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
28583
28584 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
28585 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
28586 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
28587 * malloc/hooks.c (realloc_check): Likewise.
28588
28589 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
28590 * malloc/arena.c: Remove PER_THREAD conditional.
28591 [!PER_THREAD]: Remove code.
28592 (ptmalloc_unlock_all2): Likewise.
28593 (ptmalloc_init): Likewise.
28594 (_int_new_arena): Likewise.
28595 (arena_get2): Likewise.
28596 * malloc/hooks.c (__malloc_get_state): Likewise.
28597 (__malloc_set_state): Likewise.
28598 * malloc/malloc.c: Likewise.
28599 (struct malloc_state): Likewise.
28600 (struct malloc_par): Likewise.
28601 (__libc_realloc): Likewise.
28602 (__libc_mallopt): Likewise.
28603
28604 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28605
28606 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
28607
28608 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
28609
28610 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
28611 macro to a function. Check for zero perturb_byte.
28612 (_int_malloc, _int_free): Remove zero perturb_byte checks.
28613
28614 * malloc/malloc.c: (force_reg): Remove.
28615 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
28616 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
28617 force_reg by atomic_forced_read.
28618 * malloc/arena.c (ptmalloc_init): Likewise.
28619 * malloc/hooks.c (top_check): Likewise.
28620
28621 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28622
28623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28624
28625 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
28626
28627 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28628
28629 2013-12-08 Joseph Myers <joseph@codesourcery.com>
28630
28631 * math/auto-libm-test-in: Add tests of lgamma.
28632 * math/auto-libm-test-out: Regenerated.
28633 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
28634 (M_LOG_2_SQRT_PIl): Likewise.
28635 (lgamma_test_data): Use AUTO_TESTS_f_f1.
28636 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28637 mpfr_f_f1.
28638 (func_calc_desc): Add mpfr_f_f1 union field.
28639 (ARGS1): New macro.
28640 (ARGS2): Likewise.
28641 (ARGS3): Likewise.
28642 (ARGS4): Likewise.
28643 (RET1): Likewise.
28644 (RET2): Likewise.
28645 (CALC): Likewise.
28646 (FUNC): Likewise.
28647 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
28648 (test_functions): Add lgamma.
28649 (calc_generic_results): Handle mpfr_f_f1.
28650 * sysdeps/i386/fpu/libm-test-ulps: Update.
28651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28652
28653 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28654
28655 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
28656 __mpn_add_n for PowerPC64/POWER7.
28657 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
28658 __mpn_sub_n for PowerPC64/POWER7.
28659
28660 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
28661 __mpn_addmul_1 for PowerPC64.
28662 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
28663 __mpn_submul_1 for PowerPC64.
28664 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
28665 for PowerPC64.
28666 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
28667 for PowerPC64.
28668
28669 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
28670
28671 [BZ #15089]
28672 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
28673
28674 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28675
28676 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
28677
28678 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
28679 add multiarch folders.
28680 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
28681 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
28682 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
28683 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
28684 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
28685 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
28686 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
28687 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
28688 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
28689 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
28690 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
28691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
28692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
28693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
28694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
28695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
28696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
28697
28698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28699 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
28700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
28701 New file.
28702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
28703 New file.
28704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
28705 multiarch __ieee754_hypot for PowerPC32.
28706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
28707 New file.
28708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
28709 New file.
28710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
28711 multiarch __ieee754_hypotf for PowerPC32.
28712
28713 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
28714 long_double_symbol only if __logbl is defined.
28715 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
28716 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
28717 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
28718 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
28719 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
28720 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
28721 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
28722 path for implementation.
28723 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
28724 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
28725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
28726 logb, and logbl multiarch implementations for PowerPC32.
28727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
28728 file.
28729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
28730 file.
28731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
28732 multiarch logb for PowerPC32.
28733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
28734 file.
28735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
28736 file.
28737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
28738 multiarch logbf for PowerPC32.
28739 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
28740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
28741 file.
28742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
28743 multiarch logbl implementation for PowerPC32.
28744
28745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
28746 and modff multiarch implementations.
28747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
28748 New file.
28749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
28750 New file.
28751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
28752 multiarch modf for PowerPC32.
28753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
28754 New file.
28755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
28756 New file.
28757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
28758 multiarch modff for PowerPC32.
28759
28760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
28761 and lrintf multiarch implementations.
28762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
28763 New file.
28764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
28765 New file.
28766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
28767 multiarch lrint for PowerPC32.
28768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
28769 file: multiarch lrintf for PowerPC32.
28770
28771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
28772 and lroundf multiarch implementations.
28773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
28774 New file.
28775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
28776 New file.
28777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
28778 New file.
28779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
28780 multiarch lround for PowerPC32.
28781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
28782 file: multiarch lroundf for PowerPC32.
28783
28784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28785 copysign and copysignf multiarch implementations.
28786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
28787 New file.
28788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
28789 New file.
28790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
28791 file: multiarch copysign for PowerPC32.
28792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
28793 file: multiarch copysignf for PowerPC32.
28794
28795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
28796 and truncf multiarch implementations.
28797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
28798 New file.
28799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
28800 file.
28801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
28802 multiarch trunc for PowerPC32.
28803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
28804 New file.
28805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
28806 New file.
28807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
28808 multiarch truncf for PowerPC32.
28809
28810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
28811 and roundf multiarch implementations.
28812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
28813 New file.
28814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
28815 file.
28816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
28817 multiarch round for PowerPC32.
28818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
28819 New file.
28820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
28821 New file.
28822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
28823 multiarch roundf for PowerPC32.
28824
28825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
28826 and floorf multiarch implementations.
28827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
28828 New file.
28829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
28830 file.
28831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
28832 multiarch floor for PowerPC32.
28833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
28834 New file.
28835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
28836 New file.
28837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
28838 multiarch floorf for PowerPC32.
28839
28840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
28841 and ceilf multiarch implementations.
28842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
28843 New file.
28844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
28845 file.
28846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
28847 multiarch ceil for PowerPC32.
28848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
28849 New file.
28850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
28851 file.
28852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
28853 multiarch ceilf for PowerPC32.
28854
28855 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
28856 is defined.
28857 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
28858 FINITEF is defined.
28859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
28860 and finitef multiarch implementations.
28861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
28862 New file.
28863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
28864 file.
28865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
28866 multiarch finite for PowerPC32.
28867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
28868 New file.
28869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
28870 file: multiarch finitef for PowerPC32.
28871
28872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
28873 and isinff multiarch implementations.
28874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
28875 file.
28876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
28877 file.
28878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
28879 multiarch isinf for PowerPC32.
28880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
28881 New file.
28882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
28883 multiarch isinff for PowerPC32.
28884
28885 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
28886 alias when __isnan is defined.
28887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
28888 and isnanf multiarch implementations.
28889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
28890 file.
28891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
28892 file.
28893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
28894 file.
28895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
28896 file.
28897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
28898 multiarch isnan for PowerPC32.
28899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
28900 New file.
28901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
28902 New file.
28903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
28904 multiarch isnanf for PowerPC32.
28905
28906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
28907 and sqrtf multiarch implementations.
28908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
28909 file.
28910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
28911 file.
28912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
28913 multiarch sqrt for PowerPC32.
28914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
28915 file.
28916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
28917 file.
28918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
28919 multiarch sqrtf for PowerPC32.
28920
28921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
28922 and llroundf multiarch implementations.
28923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
28924 New file.
28925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
28926 New file.
28927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
28928 New file.
28929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
28930 file: multiarch llround for PowerPC32.
28931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
28932 file: multiarch llroundf for PowerPC32.
28933
28934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
28935 multiarch PowerPC32 fpu implementations.
28936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
28937 New file.
28938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
28939 New file.
28940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
28941 multiarch llrint for PowerPC32.
28942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
28943 New file.
28944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
28945 New file.
28946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
28947 file.
28948
28949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
28950
28951 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
28952 file.
28953 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
28954 file.
28955 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
28956 file.
28957 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
28958 multiarch wordcopy for PPC32.
28959 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28960 wordcopy objects.
28961 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28962 (__libc_ifunc_impl_list): Likewise.
28963 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
28964 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
28965 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
28966 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
28967 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
28968 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
28969
28970 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
28971 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
28972 file.
28973 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
28974 file.
28975 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
28976 file.
28977 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
28978 multiarch wcscpy for PPC32.
28979 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28980 multiarch objects.
28981 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28982 (__libc_ifunc_impl_list): Likewise.
28983 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28984 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28985 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
28986 sysdeps/powerpc/power6/wcscpy.c.
28987
28988 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
28989 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
28990 file.
28991 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
28992 file.
28993 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
28994 file.
28995 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
28996 multiarch wcsrchr for PPC32.
28997 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28998 multiarch objects.
28999 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29000 (__libc_ifunc_impl_list): Likewise.
29001 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
29002 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
29003 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
29004 sysdeps/powerpc/power6/wcsrchr.c.
29005
29006 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
29007 file.
29008 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
29009 file.
29010 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
29011 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
29012 multiarch wcschr for PPc32.
29013 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
29014 multiarch objects.
29015 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29016 (__libc_ifunc_impl_list): Likewise.
29017 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
29018 * sysdeps/powerpc/power6/wcschr.c: ... to here.
29019 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
29020 sysdeps/powerpc/power6/wcschr.c.
29021
29022 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
29023 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
29024 file.
29025 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
29026 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
29027 file: multiarch strchr for PPC32.
29028 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
29029 multiarch objects.
29030 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29031 (__libc_ifunc_impl_list): Likewise.
29032
29033 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
29034 name.
29035 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
29036 file.
29037 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
29038 file.
29039 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
29040 multiarch strchrnul for PPC32.
29041 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
29042 multiarch objects.
29043 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29044 (__libc_ifunc_impl_list): Likewise.
29045
29046 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
29047 file.
29048 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
29049 multiarch strncasecmp for PPC32.
29050 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
29051 file.
29052 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
29053 multiarch strncasecmp_l for PPC32.
29054 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
29055 strncasecmp multiarch objects.
29056 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29057 (__libc_ifunc_impl_list): Likewise.
29058
29059 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
29060 file.
29061 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
29062 multiarch strncasecmp for PPC32.
29063 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
29064 New file.
29065 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
29066 multiarch strcasecmp_l for PPC32.
29067 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
29068 multiarch objects.
29069 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29070 (__libc_ifunc_impl_list): Likewise.
29071
29072 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
29073 file.
29074 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
29075 file.
29076 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
29077 multiarch strncmp for PPC32.
29078 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
29079 multiarch objects.
29080 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29081 (__libc_ifunc_impl_list): Likewise.
29082
29083 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
29084 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
29085 file.
29086 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
29087 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
29088 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
29089 multiarch objects.
29090 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29091 (__libc_ifunc_impl_list): Likewise.
29092
29093 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
29094 file.
29095 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
29096 file.
29097 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
29098 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
29099 multiarch objects.
29100 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29101 (__libc_ifunc_impl_list): Likewise.
29102
29103 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
29104 file.
29105 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
29106 file.
29107 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
29108 multiarch rawmemchr for PPC32.
29109 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
29110 multiarch objects.
29111 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29112 (__libc_ifunc_impl_list): Likewise.
29113
29114 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
29115 file.
29116 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
29117 file.
29118 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
29119 file: memrchr multiarch for PPC32.
29120 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
29121 multiarch objects.
29122 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29123 (__libc_ifunc_impl_list): Likewise.
29124
29125 * string/memchr.c (__memchr): Using macro to redefine symbol name.
29126 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
29127 file.
29128 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
29129 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
29130 multiarch memchr for PPC32.
29131 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
29132 multiarch objects.
29133 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29134 (__libc_ifunc_impl_list): Likewise.
29135
29136 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
29137 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
29138 file.
29139 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
29140 file.
29141 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
29142 file: multiarch mempcpy for PPC32.
29143 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
29144 multiarch objects.
29145 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29146 (__libc_ifunc_impl_list): Likewise.
29147
29148 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
29149 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
29150 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
29151 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
29152 multiarch bzero for PPC32.
29153 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
29154 file.
29155 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
29156 file.
29157 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
29158 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
29159 file: multiarch memset for PPC32.
29160 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
29161 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
29162 memset multiarch objects.
29163 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29164 (__libc_ifunc_impl_list): Likewise.
29165
29166 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
29167 file.
29168 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
29169 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
29170 memcmp for PPC32.
29171 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
29172 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
29173 multiarch objects.
29174 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29175 (__libc_ifunc_impl_list): Likewise.
29176
29177 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
29178 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
29179 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
29180 file.
29181 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
29182 file.
29183 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
29184 file.
29185 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
29186 multiarch memcpy for PPC32.
29187 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
29188 multiarch objects.
29189 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29190 (__libc_ifunc_impl_list): Likewise.
29191
29192 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
29193 support multiarch for POWER/PPC32.
29194 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
29195 Likewise.
29196 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
29197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
29198 Implies file to make multiarch folder appers before the fpu and
29199 default folder for power4 configuration.
29200
29201 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29202
29203 * scripts/bench.pl: Append volatile keyword to type.
29204
29205 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29206
29207 * sysdeps/sh/sotruss-lib.c: New file.
29208 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
29209
29210 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29211
29212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29213
29214 2013-12-05 Joseph Myers <joseph@codesourcery.com>
29215
29216 [BZ #6810]
29217 * math/w_tgamma.c: Include <errno.h>.
29218 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
29219 * math/w_tgammaf.c: Include <errno.h>.
29220 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
29221 * math/w_tgammal.c: Include <errno.h>.
29222 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
29223 * math/auto-libm-test-in: Do not allow missing errno on tgamma
29224 underflow. Add more tgamma tests.
29225 * math/auto-libm-test-out: Regenerated.
29226 * sysdeps/i386/fpu/libm-test-ulps: Update.
29227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29228
29229 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
29230 sin, sinh, tan, tanh, tgamma, y0 and y1.
29231 * math/auto-libm-test-out: Regenerated.
29232 * math/libm-test.inc (TEST_COND_x86_64): New macro.
29233 (TEST_COND_x86): Likewise.
29234 (M_E2l): Remove macro.
29235 (M_E3l): Likewise.
29236 (M_2_SQRT_PIl): Likewise.
29237 (M_SQRT_PIl): Likewise.
29238 (M_1_DIV_El): Likewise.
29239 (log_test_data): Use AUTO_TESTS_f_f.
29240 (log10_test_data): Likewise.
29241 (log1p_test_data): Likewise.
29242 (log2_test_data): Likewise.
29243 (sin_test_data): Likewise.
29244 (sin_tonearest_test_data): Likewise.
29245 (sin_towardzero_test_data): Likewise.
29246 (sin_downward_test_data): Likewise.
29247 (sin_upward_test_data): Likewise.
29248 (sinh_test_data): Likewise.
29249 (sinh_tonearest_test_data): Likewise.
29250 (sinh_towardzero_test_data): Likewise.
29251 (sinh_downward_test_data): Likewise.
29252 (sinh_upward_test_data): Likewise.
29253 (tan_test_data): Likewise.
29254 (tan_tonearest_test_data): Likewise.
29255 (tan_towardzero_test_data): Likewise.
29256 (tan_downward_test_data): Likewise.
29257 (tan_upward_test_data): Likewise.
29258 (tanh_test_data): Likewise.
29259 (tgamma_test_data): Likewise.
29260 (y0_test_data): Likewise.
29261 (y1_test_data): Likewise.
29262 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
29263 (special_real_inputs): Add pi/4.
29264 * sysdeps/i386/fpu/libm-test-ulps: Update.
29265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29266
29267 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29268
29269 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
29270 "longjmp_target" static probes.
29271 (__longjmp): Rename to __longjmp_symbol.
29272 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29273 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
29274 on which longjmp to generate.
29275 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29276 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
29277 probe.
29278 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29279 (__sigjmp_save): Rename to __sigjmp_save_symbol.
29280 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29281 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
29282 and __sigjmp_save_symbol based on which sigsetjmp to generated.
29283 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
29284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
29285 __longjmp_symbol based on which __longjmp to generate.
29286 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
29287 probe.
29288 (setjmp): Rename to setjmp_symbol.
29289 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29290 (_setjmp): Rename to _setjmp_symbol.
29291 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29292 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
29293 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
29294 which setjmp to generate.
29295 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
29296 "longjmp_target" static probes.
29297
29298 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29299
29300 * benchtests/README: Add note about output arguments.
29301 * benchtests/bench-sincos.c: Remove file.
29302 * benchtests/sincos-inputs: New file.
29303 * scripts/bench.pl: Identify output arguments and define
29304 static variables for them.
29305
29306 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
29307
29308 [BZ #15941]
29309 * Makefile (INSTALL): Add install-plain.texi as the primary
29310 dependency.
29311 * manual/install-plain.texi: New file.
29312 * manual/install.texi: Include node directive only for
29313 non-plaintext output.
29314
29315 2013-12-04 Joseph Myers <joseph@codesourcery.com>
29316
29317 * stdlib/longlong.h: Update from GCC.
29318
29319 [BZ #6807]
29320 [BZ #15901]
29321 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
29322 * math/w_j0f.c (y0f): Likewise.
29323 * math/w_j0l.c (__y0l): Likewise.
29324 * math/w_j1.c (y1): Likewise.
29325 * math/w_j1f.c (y1f): Likewise.
29326 * math/w_j1l.c (__y1l): Likewise
29327 * math/w_jn.c (yn): Likewise.
29328 * math/w_jnf.c (ynf): Likewise.
29329 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
29330 Bessel function pole errors in _POSIX_ mode. Use NAN as return
29331 value for Bessel function domain errors outside _SVID_ mode.
29332 Adjust sign of return value for yn (negative integer, 0).
29333 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
29334 by zero in return for negative x and set sign appropriately for
29335 negative n.
29336 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
29337 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29338 * math/libm-test.inc (y0_test_data): Add more tests and adjust
29339 expectations in error cases.
29340 (y1_test_data): Likewise.
29341 (yn_test_data): Likewise.
29342 * sysdeps/i386/fpu/libm-test-ulps: Update.
29343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29344
29345 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29346
29347 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
29348 "64" to "64-v1". Add "64-v2".
29349 (abi-64-options): Rename to ...
29350 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
29351 (abi-64-condition): Rename to ...
29352 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
29353 (abi-64-ld-soname): Rename to ...
29354 (abi-64-v1-ld-soname): ... this.
29355 (abi-64-v2-options): Define.
29356 (abi-64-v2-condition): Likewise.
29357 (abi-64-v2-ld-soname): Likewise.
29358 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
29359 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
29360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
29361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
29362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
29363
29364 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29365 Alan Modra <amodra@gmail.com>
29366
29367 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
29368 New versions for use with the ELFv2 ABI.
29369 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
29370 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
29371 declaration.
29372 (struct La_ppc64v2_retval): Likewise.
29373 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
29374 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
29375 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
29376 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
29377 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
29378 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29379 Do not save or restore CR.
29380 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
29381 (_dl_profile_resolve): Do no save or restore CR. Support extended
29382 return values for ELFv2 ABI. Fix location of FPR return registers.
29383 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
29384 updated values for _CALL_ELF == 2.
29385 (La_regs, La_retval, int_retval): Likewise.
29386
29387 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29388
29389 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
29390 (FRAME_MIN_SIZE_PARM): Likewise.
29391 (FRAME_BACKCHAIN): Likewise.
29392 (FRAME_CR_SAVE): Likewise.
29393 (FRAME_LR_SAVE): Likewise.
29394 (FRAME_TOC_SAVE): Likewise.
29395 (FRAME_PARM_SAVE): Likewise.
29396 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
29397 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
29398 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29399 (call_mcount_parm_offset): New macro.
29400 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
29401 (PROF): Use symbolic stack frame offsets.
29402 (TAIL_CALL_SYSCALL_ERROR): Likewise.
29403 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
29404 Redefine in terms of FRAME_MIN_SIZE.
29405 (_dl_runtime_resolve): Use symbolic stack frame offsets.
29406 (_dl_profile_resolve): Likewise. Update comment.
29407 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
29408 symbols stack frame offsets.
29409 (__sigsetjmp): Likewise.
29410 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
29411 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
29412 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
29413 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
29414
29415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
29416 (FRAME_BACKCHAIN): Remove.
29417 (FRAME_CR_SAVE): Likewise.
29418 (FRAME_LR_SAVE): Likewise.
29419 (FRAME_COMPILER_DW): Likewise.
29420 (FRAME_LINKER_DW): Likewise.
29421 (FRAME_TOC_SAVE): Likewise.
29422 (FRAME_PARM_SAVE): Likewise.
29423 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
29424 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
29425 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
29427 (CHECK_SP): Use symbolic stack frame offsets.
29428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
29429 zone" instead of caller's parameter save area for temp storage.
29430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29431 Likewise. Also, use symbolic stack frame offsets.
29432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
29433 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
29434 our own stack frame instead of the caller's.
29435 (__socket): Use symbolic stack frame offsets.
29436
29437 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29438 Alan Modra <amodra@gmail.com>
29439
29440 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
29441 Define.
29442 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
29443 (PPC64_LOCAL_ENTRY_OFFSET): Define.
29444 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
29445 New function.
29446 (elf_machine_fixup_plt): Call it.
29447 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
29448 reloc arguments.
29449 (elf_machine_rela): Update call to elf_machine_plt_conflict.
29450 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29451 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
29452 r2 before calling target.
29453
29454 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29455 Alan Modra <amodra@gmail.com>
29456
29457 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
29458 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
29459 versions of macros to support ELFv2 ABI.
29460 (LOCALENTRY): New macro.
29461 (ENTRY, EALIGN): Use it.
29462 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
29463 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
29464 fall through into ENTRY entry point.
29465 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
29466 Only define if _CALL_ELF != 2.
29467
29468 (elf_machine_matches_host): Verify ABI version matches.
29469 (RTLD_START): Use LOCALENTRY.
29470 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
29471 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
29472 (PLT_ENTRY_WORDS): New macro.
29473 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
29474 (elf_machine_runtime_setup): Support ELFv2 ABI.
29475 (elf_machine_fixup_plt): Likewise.
29476 (elf_machine_plt_conflict): Likewise.
29477 (resolve_ifunc): Likewise.
29478 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
29479 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29480 Likewise.
29481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
29482 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
29483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29484 (makecontext): Support ELFv2 ABI.
29485 * elf/elf.h (EF_PPC64_ABI): Define.
29486
29487 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29488
29489 * sysdeps/powerpc/powerpc64/sysdep.h
29490 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
29491 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
29492 (ENTRY) [ASSEMBLER]: ... but instead here ...
29493 (EALIGN) [ASSEMBLER]: ... and here.
29494 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
29495 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
29496 (ENTRY_2) [!ASSEMBLER]: Use it.
29497 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
29498 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
29499 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29500 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
29501 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
29502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
29503 Use PPC64_LOAD_FUNCPTR.
29504
29505 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
29506
29507 2013-12-04 Alan Modra <amodra@gmail.com>
29508
29509 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
29510 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
29511 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
29512 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
29513
29514 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
29515 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
29516 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
29517 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
29518 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
29519 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
29520
29521 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29522
29523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29524 (__makecontext): Fix incorrect CFI when backtracing out of
29525 context created via makecontext.
29526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
29527 (__setcontext): Fix incorrect CFI during switch to new context.
29528 (__novec_setcontext): Likewise.
29529
29530 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29531
29532 [BZ #4772]
29533 * time/strptime_l.c (__strptime_internal): Allow modifiers
29534 in strptime.
29535 * time/tst-strptime.c (day_tests): Add testcase.
29536
29537 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29538
29539 * scripts/bench.pl: Skip over blank lines.
29540
29541 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
29542
29543 [BZ #926]
29544 * manual/time.texi (Calendar Time): Clarify what timezone functions
29545 use.
29546
29547 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29548
29549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29550
29551 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29552
29553 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
29554 implementation.
29555 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
29556 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
29557 * debug/memset_chk.c (__memset_chk): Likewise.
29558 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
29559 * debug/strncpy_chk.c: Likewise.
29560
29561 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29562
29563 [BZ #15268]
29564 [BZ #15425]
29565 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
29566 (__ieee754_exp): For possibly underflowing results, check size of
29567 result and force underflow exception if required.
29568 * math/auto-libm-test-in: Add more tests of exp.
29569 * math/auto-libm-test-out: Regenerated.
29570 * sysdeps/i386/fpu/libm-test-ulps: Update.
29571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29572
29573 [BZ #16283]
29574 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
29575 * math/w_exp2f.c (__exp2f): Likewise.
29576 * math/w_exp2l.c (__exp2l): Likewise.
29577 * math/auto-libm-test-in: Do not allow missing errno on exp2
29578 underflow.
29579 * math/auto-libm-test-out: Regenerated.
29580
29581 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
29582
29583 [BZ #16274]
29584 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
29585 handle filename validation.
29586 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
29587 (do_open): Delete.
29588
29589 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29590
29591 [BZ #6786]
29592 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
29593 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
29594 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
29595 <float.h>.
29596 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
29597 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
29598 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29599 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
29600 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29601 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
29602 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29603 * math/auto-libm-test-in: Don't allow missing errno from erfc.
29604 Add more erfc tests.
29605 * math/auto-libm-test-out: Regenerated.
29606 * sysdeps/i386/fpu/libm-test-ulps: Update.
29607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29608
29609 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
29610 exp2, expm1, j0 and j1.
29611 * math/auto-libm-test-out: Regenerated.
29612 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
29613 (erfc_test_data): Likewise.
29614 (exp_test_data): Likewise.
29615 (exp_tonearest_test_data): Likewise.
29616 (exp_towardzero_test_data): Likewise.
29617 (exp_downward_test_data): Likewise.
29618 (exp_upward_test_data): Likewise.
29619 (exp10_test_data): Likewise.
29620 (exp2_test_data): Likewise.
29621 (expm1_test_data): Likewise.
29622 (j0_test_data): Likewise.
29623 (j1_test_data): Likewise.
29624 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
29625 (input_flag_type): Add flag_xfail_rounding.
29626 (input_flags): Add xfail-rounding.
29627 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
29628 (output_for_one_input_case): Handle flag_xfail_rounding.
29629 * sysdeps/i386/fpu/libm-test-ulps: Update.
29630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29631
29632 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
29633
29634 [BZ #16289]
29635 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
29636 division by 0.
29637
29638 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29639
29640 [BZ #16195]
29641 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
29642 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
29643 (STAP_PROBE0): New macro.
29644 (STAP_PROBE1): Likewise.
29645 (STAP_PROBE2): Likewise.
29646 (STAP_PROBE3): Likewise.
29647 (STAP_PROBE4): Likewise.
29648
29649 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
29650
29651 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
29652
29653 2013-12-02 Steve Ellcey <sellcey@mips.com>
29654
29655 * benchtests/Makefile (bench): Add sqrt.
29656 (LDLIBS-bench-sqrt): New.
29657 * benchtests/sqrt-input: New.
29658
29659 2013-12-02 Pavel Simerda <psimerda@redhat.com>
29660
29661 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
29662 (GAIH_EAI): Likewise.
29663 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
29664 (gaih_inet): Likewise.
29665 (getaddrinfo): Don't use GAIH_EAI.
29666
29667 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
29668 (struct gaih): Remove definition.
29669
29670 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29671
29672 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
29673 Use HERRNOP directly.
29674
29675 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29676
29677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29678
29679 2013-11-30 Joseph Myers <joseph@codesourcery.com>
29680
29681 * math/gen-auto-libm-tests.c (test_functions): Add more
29682 single-argument functions.
29683 (special_fill_pi_2): New function.
29684 (special_fill_minus_pi_2): Likewise.
29685 (special_fill_pi_6): Likewise.
29686 (special_fill_minus_pi_6): Likewise.
29687 (special_fill_pi_3): Likewise.
29688 (special_fill_2pi_3): Likewise.
29689 (special_fill_e): Likewise.
29690 (special_fill_1_e): Likewise.
29691 (special_fill_e_minus_1): Likewise.
29692 (special_real_inputs): Add more special inputs.
29693 (output_for_one_input_case): Do not require ERANGE on underflow to
29694 zero if round-to-nearest result does not underflow to zero, unless
29695 exact results required.
29696 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
29697 atan, atanh, cbrt, cos and cosh.
29698 * math/auto-libm-test-out: Regenerated.
29699 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
29700 (acos_tonearest_test_data): Likewise.
29701 (acos_towardzero_test_data): Likewise.
29702 (acos_downward_test_data): Likewise.
29703 (acos_upward_test_data): Likewise.
29704 (acosh_test_data): Likewise.
29705 (asin_test_data): Likewise.
29706 (asin_tonearest_test_data): Likewise.
29707 (asin_towardzero_test_data): Likewise.
29708 (asin_upward_test_data): Likewise.
29709 (asinh_test_data): Likewise.
29710 (atan_test_data): Likewise.
29711 (atanh_test_data): Likewise.
29712 (cbrt_test_data): Likewise.
29713 (cos_test_data): Likewise.
29714 (cos_tonearest_test_data): Likewise.
29715 (cos_towardzero_test_data): Likewise.
29716 (cos_downward_test_data): Likewise.
29717 (cos_upward_test_data): Likewise.
29718 (cosh_test_data): Likewise.
29719 (cosh_tonearest_test_data): Likewise.
29720 (cosh_towardzero_test_data): Likewise.
29721 (cosh_downward_test_data): Likewise.
29722 (cosh_upward_test_data): Likewise.
29723 * sysdeps/i386/fpu/libm-test-ulps: Update.
29724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29725
29726 2013-11-29 Joseph Myers <joseph@codesourcery.com>
29727
29728 [BZ #6787]
29729 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
29730 * math/w_exp10f.c (__exp10f): Likewise.
29731 * math/w_exp10l.c (__exp10l): Likewise.
29732 * math/libm-test.inc (exp10_test_data): Add more tests and expect
29733 errno settings in existing tests.
29734
29735 [BZ #14032]
29736 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
29737 precision control set to double precision.
29738 * sysdeps/i386/fpu/w_sqrt.c: New file.
29739 * math/auto-libm-test-in: Add more tests.
29740 * math/auto-libm-test-out: Update.
29741
29742 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
29743 (sqrt_test_tonearest): New function.
29744 (sqrt_towardzero_test_data): New variable.
29745 (sqrt_test_towardzero): New function.
29746 (sqrt_downward_test_data): New variable.
29747 (sqrt_test_downward): New function.
29748 (sqrt_upward_test_data): New variable.
29749 (sqrt_test_upward): New function.
29750 (main): Call the new functions.
29751
29752 * math/gen-auto-libm-tests.c: New file.
29753 * math/auto-libm-test-in: Likewise.
29754 * math/auto-libm-test-out: New generated file.
29755 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
29756 variables.
29757 (%beautify): Add generated representations of zero.
29758 (top level): Set $auto_input and call parse_auto_input.
29759 (beautify): Remove trailing "f" from hex float constants.
29760 (parse_args): Handle XFAIL_TEST.
29761 (convert_condition): New function.
29762 (or_value): Likewise.
29763 (or_cond_value): Likewise.
29764 (generate_testfile): Handle AUTO_TESTS_* lines.
29765 (parse_auto_input): New function.
29766 * math/libm-test.inc (XFAIL_TEST): New macro.
29767 (ERRNO_UNCHANGED): Update value.
29768 (ERRNO_EDOM): Likewise.
29769 (ERRNO_ERANGE): Likewise.
29770 (IGNORE_RESULT): Likewise.
29771 (TEST_COND_flt_32): New macro.
29772 (TEST_COND_dbl_64): Likewise.
29773 (TEST_COND_ldbl_96_intel): Likewise.
29774 (TEST_COND_ldbl_96_m68k): Likewise.
29775 (TEST_COND_ldbl_128): Likewise.
29776 (TEST_COND_ldbl_128ibm): Likewise.
29777 (TEST_COND_long32): Likewise.
29778 (TEST_COND_long64): Likewise.
29779 (TEST_COND_before_rounding): Likewise.
29780 (TEST_COND_after_rounding): Likewise.
29781 (enable_test): Handle XFAIL_TEST flag.
29782 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
29783 with finite results.
29784 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
29785 auto-libm-test-out.
29786
29787 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29788 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29789
29790 [BZ #16214]
29791 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
29792 __tls_get_addr_internal instead of __tls_get_offset in order to
29793 avoid GOT pointer dependency. Make rtld export
29794 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
29795 __tls_get_addr since we are a __tls_get_offset platform.
29796 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
29797 GOT pointer being set up before.
29798 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
29799
29800 2013-11-28 Joseph Myers <joseph@codesourcery.com>
29801
29802 * manual/math.texi (Errors in Math Functions): Document accuracy
29803 goals.
29804
29805 [BZ #15004]
29806 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
29807 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
29808 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29809 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29810 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29811 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29812 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29813 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29814 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29815 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29816 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29817 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29818 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29819 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29820 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29821 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29822
29823 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
29824 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
29825 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
29826 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
29827 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
29828 Likewise.
29829 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
29830 Likewise.
29831 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
29832 Likewise.
29833 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
29834 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
29835 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
29836 atomic-feupdateenv and flt-rounds.
29837 * sysdeps/powerpc/nofpu/Versions (libc): Add
29838 __atomic_feholdexcept, __atomic_feclearexcept,
29839 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
29840 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
29841 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
29842 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
29843 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
29844 here.
29845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29846 Update.
29847
29848 * manual/arith.texi (FP Exceptions): Document that exceptions may
29849 not be raised when matherr is used.
29850 (Math Error Reporting): Document overflow in directed rounding
29851 modes. Document that errno may not be set when finite values are
29852 returned on overflow. Document intent to set errno on underflow
29853 only for underflow to zero.
29854
29855 [BZ #16271]
29856 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
29857 round-to-nearest then adjust result for other rounding modes.
29858 * include/fenv.h (fegetround): Use libm_hidden_proto.
29859 * math/fegetround.c (fegetround): Use libm_hidden_def.
29860 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
29861 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
29862 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29863 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
29864 Likewise.
29865 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
29866 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29867 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
29868 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
29869
29870 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29871
29872 [BZ #16077]
29873 * nss/Versions (libnss_files): Add
29874 _nss_files_gethostbyname3_r.
29875 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
29876 New function.
29877 (HOST_DB_LOOKUP): Remove macro.
29878 (_nss_files_gethostbyname_r): Implement function without the
29879 HOST_DB_LOOKUP macro.
29880 (_nss_files_gethostbyname2_r): Likewise.
29881
29882 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
29883
29884 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
29885
29886 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
29887
29888 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
29889 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
29890 warning.
29891
29892 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29893
29894 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
29895 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
29896 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
29897 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29898 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
29899 __fe_nomask_env_priv and attribute_hidden.
29900 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
29901 (libc_feupdateenv_test_ppc): Likewise.
29902 (libc_feresetround_ppc): Likewise.
29903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29904 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
29905 compat_symbol macro.
29906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29907 (__fe_nomask_env): Likewise.
29908 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
29909
29910 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29911
29912 * string/Makefile: Remove ifunc tests.
29913 * string/test-string.h: Define TEST_IFUNC.
29914 * string/test-bcopy-ifunc.c: Remove.
29915 * string/test-bzero-ifunc.c: Likewise.
29916 * string/test-memccpy-ifunc.c: Likewise.
29917 * string/test-memchr-ifunc.c: Likewise.
29918 * string/test-memcmp-ifunc.c: Likewise.
29919 * string/test-memcpy-ifunc.c: Likewise.
29920 * string/test-memmem-ifunc.c: Likewise.
29921 * string/test-memmove-ifunc.c: Likewise.
29922 * string/test-mempcpy-ifunc.c: Likewise.
29923 * string/test-memrchr-ifunc.c: Likewise.
29924 * string/test-memset-ifunc.c: Likewise.
29925 * string/test-rawmemchr-ifunc.c: Likewise.
29926 * string/test-stpcpy-ifunc.c: Likewise.
29927 * string/test-stpncpy-ifunc.c: Likewise.
29928 * string/test-strcasecmp-ifunc.c: Likewise.
29929 * string/test-strcasestr-ifunc.c: Likewise.
29930 * string/test-strcat-ifunc.c: Likewise.
29931 * string/test-strchr-ifunc.c: Likewise.
29932 * string/test-strchrnul-ifunc.c: Likewise.
29933 * string/test-strcmp-ifunc.c: Likewise.
29934 * string/test-strcpy-ifunc.c: Likewise.
29935 * string/test-strcspn-ifunc.c: Likewise.
29936 * string/test-strlen-ifunc.c: Likewise.
29937 * string/test-strncasecmp-ifunc.c: Likewise.
29938 * string/test-strncat-ifunc.c: Likewise.
29939 * string/test-strncmp-ifunc.c: Likewise.
29940 * string/test-strncpy-ifunc.c: Likewise.
29941 * string/test-strnlen-ifunc.c: Likewise.
29942 * string/test-strpbrk-ifunc.c: Likewise.
29943 * string/test-strrchr-ifunc.c: Likewise.
29944 * string/test-strspn-ifunc.c: Likewise.
29945 * string/test-strstr-ifunc.c: Likewise.
29946
29947 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29948
29949 * benchtests/Makefile: Remove ifunc tests.
29950 * benchtests/bench-string.h: Define TEST_IFUNC.
29951 * benchtests/bench-bcopy-ifunc.c: Remove.
29952 * benchtests/bench-bzero-ifunc.c: Likewise.
29953 * benchtests/bench-memccpy-ifunc.c: Likewise.
29954 * benchtests/bench-memchr-ifunc.c: Likewise.
29955 * benchtests/bench-memcmp-ifunc.c: Likewise.
29956 * benchtests/bench-memcpy-ifunc.c: Likewise.
29957 * benchtests/bench-memmem-ifunc.c: Likewise.
29958 * benchtests/bench-memmove-ifunc.c: Likewise.
29959 * benchtests/bench-mempcpy-ifunc.c: Likewise.
29960 * benchtests/bench-memrchr-ifunc.c: Likewise.
29961 * benchtests/bench-memset-ifunc.c: Likewise.
29962 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
29963 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
29964 * benchtests/bench-stpcpy-ifunc.c: Likewise.
29965 * benchtests/bench-stpncpy-ifunc.c: Likewise.
29966 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
29967 * benchtests/bench-strcasestr-ifunc.c: Likewise.
29968 * benchtests/bench-strcat-ifunc.c: Likewise.
29969 * benchtests/bench-strchr-ifunc.c: Likewise.
29970 * benchtests/bench-strchrnul-ifunc.c: Likewise.
29971 * benchtests/bench-strcmp-ifunc.c: Likewise.
29972 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
29973 * benchtests/bench-strcpy-ifunc.c: Likewise.
29974 * benchtests/bench-strcspn-ifunc.c: Likewise.
29975 * benchtests/bench-strlen-ifunc.c: Likewise.
29976 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
29977 * benchtests/bench-strncat-ifunc.c: Likewise.
29978 * benchtests/bench-strncmp-ifunc.c: Likewise.
29979 * benchtests/bench-strncpy-ifunc.c: Likewise.
29980 * benchtests/bench-strnlen-ifunc.c: Likewise.
29981 * benchtests/bench-strpbrk-ifunc.c: Likewise.
29982 * benchtests/bench-strrchr-ifunc.c: Likewise.
29983 * benchtests/bench-strsep-ifunc.c: Likewise.
29984 * benchtests/bench-strspn-ifunc.c: Likewise.
29985 * benchtests/bench-strstr-ifunc.c: Likewise.
29986
29987 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29988
29989 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
29990
29991 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29992
29993 * resolv/netdb.h: Use __glibc_reserved instead __unused.
29994 * rt/aio.h: Likewise.
29995 * sysdeps/gnu/bits/utmp.h: Likewise.
29996 * sysdeps/gnu/bits/utmpx.h: Likewise.
29997 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29998 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
29999 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
30000 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
30001 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
30002 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
30003 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
30004 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
30005 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
30006 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
30007 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
30008 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
30009 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
30010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
30011 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30012 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
30013 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
30014 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
30015 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
30016 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
30017 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
30018 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
30019 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
30020 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30021 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
30022 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30023 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
30024 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
30025 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
30026 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
30027 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
30028 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
30029 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
30030 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30031 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
30032 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
30033 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
30034 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
30035 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
30036 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
30037 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
30038 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30039
30040 2013-11-25 Carlos O'Donell <carlos@redhat.com>
30041
30042 [BZ #16245]
30043 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
30044 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
30045
30046 2013-11-25 Joseph Myers <joseph@codesourcery.com>
30047
30048 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
30049 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
30050 Likewise.
30051
30052 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30053
30054 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
30055 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
30056 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
30057 (__fesetround): Remove define.
30058 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
30059 rounding and exceptions handling.
30060 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
30061 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
30062 (__fe_nomask_env): Likewise.
30063 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
30064 __fegetround instead of fegetround.
30065 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
30066 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
30067
30068 2013-11-21 Roland McGrath <roland@hack.frob.com>
30069
30070 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
30071 it's there.
30072
30073 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
30074
30075 2013-11-21 Meador Inge <meadori@codesourcery.com>
30076
30077 [BZ #11157]
30078 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
30079 (encrypt_r): Likewise.
30080 * malloc/obstack.h (obstack_free): Likewise.
30081 * posix/unistd.h (encrypt): Likewise.
30082
30083 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
30084
30085 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
30086 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
30087 DL_CALL_DT_FINI() that call the functions directly.
30088 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
30089 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
30090 * elf/dl-fini.c: Likewise.
30091
30092 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
30093
30094 * malloc/hooks.c (memalign_check): Add alignment rounding.
30095 * malloc/malloc.c (_mid_memalign): New function.
30096 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
30097 Implement by calling _mid_memalign.
30098 * manual/probes.texi (Memory Allocation Probes): Remove
30099 memory_valloc_retry and memory_pvalloc_retry.
30100
30101 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30102
30103 * locale/programs/locarchive.c (open_archive): Add const
30104 qualifier to ARCHIVEFNAME and copy default fname to
30105 DEFAULT_FNAME.
30106
30107 [BZ #15601]
30108 * libio/tst-widetext.input: Rename Oriya to Odia.
30109 * locale/iso-639.def: Likewise.
30110
30111 * manual/probes.texi (Mathematical Function Probes): Add
30112 documentation for sin, cos, asin and acos probes.
30113 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
30114 (__sin32): Add slowasin probe.
30115 (__cos32): Add slowacos probe.
30116 (__mpsin): Add slowsin probe.
30117 (__mpcos): Add slowcos probe.
30118
30119 2013-11-19 Joseph Myers <joseph@codesourcery.com>
30120
30121 [BZ #15483]
30122 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
30123 thread-local __sim_exceptions_thread and global
30124 __sim_exceptions_global.
30125 (__sim_disabled_exceptions): Change to thread-local
30126 __sim_disabled_exceptions_thread and global
30127 __sim_disabled_exceptions_global.
30128 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30129 and global __sim_round_mode_global.
30130 (__simulate_exceptions): Use thread-local floating-point state and
30131 set global state from it as needed.
30132 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
30133 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
30134 __sim_round_mode_thread.
30135 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
30136 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
30137 and global __sim_exceptions_global.
30138 (__sim_disabled_exceptions): Change to thread-local
30139 __sim_disabled_exceptions_thread and global
30140 __sim_disabled_exceptions_global.
30141 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30142 and global __sim_round_mode_global.
30143 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
30144 (SIM_SET_GLOBAL): Likewise.
30145 * sysdeps/powerpc/soft-fp/sfp-machine.h
30146 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
30147 __sim_round_mode_thread.
30148 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
30149 __sim_disabled_exceptions_thread.
30150 (__sim_exceptions): Change to __sim_exceptions_thread.
30151 (__sim_disabled_exceptions): Change to
30152 __sim_disabled_exceptions_thread.
30153 (__sim_round_mode): Change to __sim_round_mode_thread.
30154 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
30155 thread-local floating-point state and set global state from it as
30156 needed.
30157 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
30158 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
30159 (__sim_disabled_exceptions): Remove extern declaration.
30160 (feenableexcept): Use thread-local floating-point state and set
30161 global state from it as needed.
30162 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
30163 extern declaration.
30164 (__sim_disabled_exceptions): Likewise.
30165 (__sim_round_mode): Likewise.
30166 (__fegetenv): Use thread-local floating-point state.
30167 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
30168 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30169 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
30170 floating-point state and set global state from it as needed.
30171 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
30172 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30173 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
30174 Likewise.
30175 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
30176 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
30177 Likewise.
30178 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
30179 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
30180 Use __sim_round_mode_thread.
30181 * math/test-fenv-tls.c: New file.
30182 * math/Makefile (tests): Add test-fenv-tls.
30183 ($(objpfx)test-fenv-tls): Depend on
30184 $(common-objpfx)nptl/libpthread.so.
30185
30186 2013-11-19 Andreas Schwab <schwab@suse.de>
30187
30188 * locale/programs/locale.c (show_info): Decode wordarray elements.
30189 * locale/categories.def (LC_MONETARY): Add element for
30190 _NL_MONETARY_CRNCYSTR.
30191 * locale/C-monetary.c (conversion_rate): New variable.
30192 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
30193 element.
30194
30195 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
30196
30197 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
30198 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
30199
30200 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30201
30202 * elf/Makefile (tst-auxv): New test.
30203 * elf/tst-auxv.c: New
30204 * elf/rtld.c (dl_main): Adjust AT_EXECFN
30205
30206 2013-11-18 Joseph Myers <joseph@codesourcery.com>
30207
30208 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
30209 (hidden_proto): Caller changed.
30210 (hidden_tls_proto): New macro.
30211 (libc_hidden_tls_proto): Likewise.
30212 (rtld_hidden_tls_proto): Likewise.
30213 (libm_hidden_tls_proto): Likewise.
30214 (libresolv_hidden_tls_proto): Likewise.
30215 (librt_hidden_tls_proto): Likewise.
30216 (libdl_hidden_tls_proto): Likewise.
30217 (libnss_files_hidden_tls_proto): Likewise.
30218 (libnsl_hidden_tls_proto): Likewise.
30219 (libnss_nisplus_hidden_tls_proto): Likewise.
30220 (libutil_hidden_tls_proto): Likewise.
30221
30222 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
30223
30224 [BZ #10253]
30225 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
30226 (decompose_rpath): Defer expansion to fillin_rpath.
30227 (_dl_init_paths): Pass linkmap to fillin_rpath.
30228
30229 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30230
30231 * benchtests/Makefile: Add strsep.
30232 * benchtests/bench-strsep.c: New file: strsep benchtest.
30233 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
30234
30235 2013-11-18 Andreas Schwab <schwab@suse.de>
30236
30237 * locale/programs/locale.c (show_info) [case byte]: Check for
30238 '\377' instead of '\177'.
30239 * locale/C-monetary.c (not_available): Always use "\377".
30240 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
30241 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
30242 detect unavailable sign_posn locale elements.
30243 * locale/localeconv.c (__localeconv): For grouping and
30244 mon_grouping handle "\177" and "\377" like no grouping.
30245 (INT_ELEM): New macro. Use it to set all numeric members.
30246 * locale/programs/ld-monetary.c (monetary_read)
30247 <tok_mon_grouping>: Normalize single -1 to the empty string.
30248 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
30249 Likewise.
30250
30251 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30252
30253 [BZ #16055]
30254 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
30255 when we match (nil).
30256 * stdio-common/tst-sscanf.c (struct test): Add testcase.
30257
30258 2013-11-16 Joseph Myers <joseph@codesourcery.com>
30259
30260 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
30261 (NO_TEST_INLINE): Update value.
30262 (ERRNO_UNCHANGED): Likewise.
30263 (ERRNO_EDOM): Likewise.
30264 (ERRNO_ERANGE): Likewise.
30265 (IGNORE_RESULT): Likewise.
30266 (check_float_internal): Check signs of NaN results if
30267 TEST_NAN_SIGN used.
30268 (check_complex): Pass TEST_NAN_SIGN flag through to second
30269 check_float_internal call.
30270 (copysign_test_data): Add tests with quiet NaNs as second
30271 argument. Use TEST_NAN_SIGN.
30272 (fabs_test_data): Add test of negative quiet NaN argument. Use
30273 TEST_NAN_SIGN.
30274 (signbit_test_data): Add tests of quiet NaN argument.
30275 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
30276
30277 * math/gen-libm-test.pl (show_exceptions): Take extra argument
30278 $ignore_result.
30279 (parse_args): Handle function results specified as IGNORE.
30280 * math/libm-test.inc (IGNORE_RESULT): New macro.
30281 (check_float_internal): Do not check numerical result if flag
30282 IGNORE_RESULT set.
30283 (check_complex): Pass through IGNORE_RESULT to second
30284 check_float_internal call.
30285 (check_int): Do not check numerical result if flag IGNORE_RESULT
30286 set.
30287 (check_long): Likewise.
30288 (check_bool): Likewise.
30289 (check_longlong): Likewise.
30290 (lrint_test_data): Add tests of infinite and NaN arguments.
30291 (lrint_tonearest_test_data): Likewise.
30292 (lrint_towardzero_test_data): Likewise.
30293 (lrint_downward_test_data): Likewise.
30294 (lrint_upward_test_data): Likewise.
30295 (llrint_test_data): Likewise.
30296 (llrint_tonearest_test_data): Likewise.
30297 (llrint_towardzero_test_data): Likewise.
30298 (llrint_downward_test_data): Likewise.
30299 (llrint_upward_test_data): Likewise.
30300 (lround_test_data): Likewise.
30301 (llround_test_data): Likewise.
30302
30303 * math/libm-test.inc (NO_TEST_INLINE): New macro.
30304 (ERRNO_UNCHANGED): Update value.
30305 (ERRNO_EDOM): Likewise.
30306 (ERRNO_ERANGE): Likewise.
30307 (NO_TEST_INLINE_FLOAT): New macro.
30308 (NO_TEST_INLINE_DOUBLE): Likewise.
30309 (enable_test): New function.
30310 (RUN_TEST_f_f): Check enable_test before running test.
30311 (RUN_TEST_2_f): Likewise.
30312 (RUN_TEST_fff_f): Likewise.
30313 (RUN_TEST_c_f): Likewise.
30314 (RUN_TEST_f_f1): Likewise.
30315 (RUN_TEST_fF_f1): Likewise.
30316 (RUN_TEST_fI_f1): Likewise.
30317 (RUN_TEST_ffI_f1): Likewise.
30318 (RUN_TEST_c_c): Likewise.
30319 (RUN_TEST_cc_c): Likewise.
30320 (RUN_TEST_f_i): Likewise.
30321 (RUN_TEST_f_i_tg): Likewise.
30322 (RUN_TEST_ff_i_tg): Likewise.
30323 (RUN_TEST_f_b): Likewise.
30324 (RUN_TEST_f_b_tg): Likewise.
30325 (RUN_TEST_f_l): Likewise.
30326 (RUN_TEST_f_L): Likewise.
30327 (RUN_TEST_fFF_11): Likewise.
30328 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
30329 conditionals.
30330 (cosh_test_data): Likewise.
30331 (exp_test_data): Likewise.
30332 (expm1_test_data): Likewise.
30333 (hypot_test_data): Likewise.
30334 (pow_test_data): Likewise.
30335 (sinh_test_data): Likewise.
30336 (tanh_test_data): Likewise.
30337 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
30338 flags argument.
30339
30340 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
30341 tests with quiet NaN input and output.
30342 (acosh_test_data): Likewise.
30343 (asin_test_data): Likewise.
30344 (asinh_test_data): Likewise.
30345 (atan_test_data): Likewise.
30346 (atanh_test_data): Likewise.
30347 (atan2_test_data): Likewise.
30348 (cbrt_test_data): Likewise.
30349 (cos_test_data): Likewise.
30350 (cosh_test_data): Likewise.
30351 (erf_test_data): Likewise.
30352 (erfc_test_data): Likewise.
30353 (exp_test_data): Likewise.
30354 (exp10_test_data): Likewise.
30355 (exp2_test_data): Likewise.
30356 (expm1_test_data): Likewise.
30357 (hypot_test_data): Likewise.
30358 (j0_test_data): Likewise.
30359 (j1_test_data): Likewise.
30360 (jn_test_data): Likewise.
30361 (lgamma_test_data): Likewise.
30362 (log_test_data): Likewise.
30363 (log10_test_data): Likewise.
30364 (log1p_test_data): Likewise.
30365 (log2_test_data): Likewise.
30366 (pow_test_data): Likewise.
30367 (scalb_test_data): Likewise.
30368 (sin_test_data): Likewise.
30369 (sincos_test_data): Likewise.
30370 (sinh_test_data): Likewise.
30371 (tan_test_data): Likewise.
30372 (tanh_test_data): Likewise.
30373 (tgamma_test_data): Likewise.
30374 (y0_test_data): Likewise.
30375 (y1_test_data): Likewise.
30376 (yn_test_data): Likewise.
30377
30378 [BZ #16167]
30379 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
30380 argument being NaN and avoid computations with second argument in
30381 that case.
30382 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30383 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30384 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30385
30386 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
30387
30388 * locale/iso-639.def: Add Chitwani Tharu (the).
30389
30390 2013-11-14 Andreas Schwab <schwab@suse.de>
30391
30392 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
30393 word instead of empty string.
30394
30395 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30396
30397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30398 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
30399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30400 (__fe_nomask_env): Likewise.
30401
30402 2013-11-13 Steve Ellcey <sellcey@mips.com>
30403
30404 * benchtests/bench-timing.h: Include time.h.
30405
30406 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
30407
30408 [BZ #15997]
30409 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
30410 to 3.4.0 for x32.
30411 * sysdeps/unix/sysv/linux/configure: Regenerated.
30412
30413 2013-11-13 Joseph Myers <joseph@codesourcery.com>
30414
30415 [BZ #16151]
30416 * stdlib/strtod_l.c (round_and_return): Do not consider
30417 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
30418 exponent one less than half the least subnormal exponent.
30419 * stdlib/test-strtod-round-data: Add more tests.
30420 * stdlib/tst-strtod-round.c (tests): Regenerated.
30421
30422 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30423
30424 [BZ #14143]
30425 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
30426 (__fe_mask_env): Likewise.
30427 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
30428 libm_hidden_proto and add function prototype.
30429 (__fe_mask_env): Add function prototype.
30430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30431 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
30432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30433 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
30434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30435 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
30436
30437 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30438
30439 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
30440 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
30441
30442 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30443
30444 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
30445 of htab_find_slot().
30446
30447 2013-11-11 David S. Miller <davem@davemloft.net>
30448
30449 [BZ #16150]
30450 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
30451 symbol in the non-vis3 case in static builds.
30452 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
30453 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
30454 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
30455 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
30456
30457 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
30458
30459 [BZ #387]
30460 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
30461 it is empty.
30462
30463 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30464
30465 * benchtests/Makefile: Add bench-strtod.
30466 * benchtests/bench-strtod.c: New file: strtod benchtest
30467
30468 2013-11-11 Andreas Schwab <schwab@suse.de>
30469
30470 [BZ #16153]
30471 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
30472 terminating NUL in key length.
30473
30474 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30475
30476 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30477 Add artificial ODP entry for vDSO symbol for PPC64.
30478 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
30479 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
30480
30481 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30482
30483 [BZ #15374]
30484 * nss/getent.c (services_keys): Recognize services starting with digit.
30485
30486 2013-11-06 David S. Miller <davem@davemloft.net>
30487
30488 [BZ #15985]
30489 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
30490 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
30491
30492 2013-11-06 Will Newton <will.newton@linaro.org>
30493
30494 * manual/memory.texi (Malloc Examples): Remove register
30495 keyword from examples.
30496
30497 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
30498
30499 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
30500
30501 2013-11-04 Joseph Myers <joseph@codesourcery.com>
30502
30503 [BZ #6981]
30504 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
30505 depending on [__GCC_IEC_559 > 0].
30506 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
30507 depending on [__GCC_IEC_559_COMPLEX > 0].
30508
30509 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
30510
30511 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
30512 to iso-639.def.
30513
30514 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
30515
30516 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
30517
30518 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
30519
30520 [BZ #16112]
30521 * malloc/malloc (malloc_info): Do not handle first bin as
30522 special case.
30523
30524 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
30525
30526 * locale/iso-639.def: Add Central Nahuatl (nhn).
30527
30528 2013-11-01 Bruno Haible <bruno@clisp.org>
30529
30530 [BZ #7003]
30531 * manual/math.texi (BSD Random): Specify range upper bound as
30532 in POSIX.
30533
30534 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
30535
30536 * locale/iso-639.def: Add Meadow Mari (mhr).
30537
30538 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
30539
30540 [BZ #14752], [BZ #15763]
30541 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
30542 Validate name.
30543 * rt/tst_shm.c: Add test for escaping directory.
30544
30545 2013-10-31 Andreas Schwab <schwab@suse.de>
30546
30547 [BZ #15917]
30548 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
30549 followed by 'x' as part of digit sequence.
30550 * stdio-common/tst-sscanf.c (double_tests2): New tests.
30551
30552 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
30553
30554 [BZ #16037]
30555 * configure.ac: allow GNU Make 4.0 and greater.
30556 * configure: Regenerated.
30557
30558 2013-10-30 Will Newton <will.newton@linaro.org>
30559
30560 [BZ #16038]
30561 * malloc/hooks.c (memalign_check): Limit alignment to the
30562 maximum representable power of two.
30563 * malloc/malloc.c (__libc_memalign): Likewise.
30564 * malloc/tst-memalign.c (do_test): Add test for very
30565 large alignment values.
30566 * malloc/tst-posix_memalign.c (do_test): Likewise.
30567
30568 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30569
30570 [BZ #11087]
30571 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
30572 (munmap_chunk): Likewise.
30573 (mremap_chunk): Likewise.
30574
30575 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30576
30577 [BZ #15799]
30578 * stdlib/div.c (div): Remove obsolete code.
30579 * stdlib/ldiv.c (ldiv): Likewise.
30580 * stdlib/lldiv.c (lldiv): Likewise.
30581
30582 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30583
30584 [BZ #16071]
30585 * nss/nss_files/files-XXX.c (get_contents_ret): New
30586 enumerator.
30587 (get_contents): New function.
30588 (internal_getent): Use it. Expand size of LINEBUFLEN.
30589
30590 2013-10-30 Mike Frysinger <vapier@gentoo.org>
30591
30592 * configure.in: Moved to ...
30593 * configure.ac: ... here. Change reference to configure.in
30594 to configure.ac.
30595 * sysdeps/arm/preconfigure.ac: ... here.
30596 configure.in to configure.ac.
30597 * sysdeps/gnu/configure.in: Moved to ...
30598 * sysdeps/gnu/configure.ac: ... here.
30599 * sysdeps/i386/configure.in: Moved to ...
30600 * sysdeps/i386/configure.ac: ... here.
30601 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
30602 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
30603 * sysdeps/mach/configure.in: Moved to ...
30604 * sysdeps/mach/configure.ac: ... here.
30605 * sysdeps/mach/hurd/configure.in: Moved to ...
30606 * sysdeps/mach/hurd/configure.ac: ... here.
30607 * sysdeps/powerpc/configure.in: Moved to ...
30608 * sysdeps/powerpc/configure.ac: ... here.
30609 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
30610 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
30611 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
30612 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
30613 * sysdeps/s390/s390-32/configure.in: Moved to ...
30614 * sysdeps/s390/s390-32/configure.ac: ... here.
30615 * sysdeps/s390/s390-64/configure.in: Moved to ...
30616 * sysdeps/s390/s390-64/configure.ac: ... here.
30617 * sysdeps/sh/configure.in: Moved to ...
30618 * sysdeps/sh/configure.ac: ... here.
30619 * sysdeps/sparc/configure.in: Moved to ...
30620 * sysdeps/sparc/configure.ac: ... here.
30621 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
30622 * sysdeps/unix/sysv/linux/configure.ac: ... here.
30623 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
30624 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
30625 * sysdeps/x86_64/configure.in: Moved to ...
30626 * sysdeps/x86_64/configure.ac: ... here.
30627 * sysdeps/x86_64/preconfigure.in: Moved to ...
30628 * sysdeps/x86_64/preconfigure.ac: ... here.
30629 * aclocal.m4: Change reference to configure.in to configure.ac.
30630 * config.h.in: Likewise.
30631 * manual/install.texi: Likewise.
30632 * manual/maint.texi: Likewise.
30633 * Makefile: Likewise.
30634 * malloc/Makefile: Likewise.
30635 * nscd/Makefile: Likewise.
30636 * Makeconfig: Change reference to configure.in and
30637 preconfigure.in to configure.ac and preconfigure.ac
30638 respectively.
30639 * INSTALL: Regenerated.
30640 * configure: Likewise.
30641 * sysdeps/gnu/configure: Likewise.
30642 * sysdeps/i386/configure: Likewise.
30643 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
30644 * sysdeps/mach/configure: Likewise.
30645 * sysdeps/mach/hurd/configure: Likewise.
30646 * sysdeps/powerpc/configure: Likewise.
30647 * sysdeps/powerpc/powerpc32/configure: Likewise.
30648 * sysdeps/powerpc/powerpc64/configure: Likewise.
30649 * sysdeps/s390/s390-32/configure: Likewise.
30650 * sysdeps/s390/s390-64/configure: Likewise.
30651 * sysdeps/sh/configure: Likewise.
30652 * sysdeps/sparc/configure: Likewise.
30653 * sysdeps/unix/sysv/linux/configure: Likewise.
30654 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
30655 * sysdeps/x86_64/configure: Likewise.
30656 * sysdeps/x86_64/preconfigure: Likewise.
30657
30658 2013-10-29 Andreas Schwab <schwab@suse.de>
30659
30660 * stdio-common/Makefile (tst-swscanf-ENV): Define.
30661
30662 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30663
30664 * benchtests/pow-inputs: Add new inputs.
30665
30666 * benchtests/exp-inputs: Add new inputs.
30667
30668 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
30669 conditional check for return value.
30670 (__cos32): Likewise.
30671
30672 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30673
30674 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
30675 to provide a boost for large inputs with word alignment.
30676 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
30677 implementation based on optimized PPC64 strcpy.
30678 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
30679 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
30680 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
30681 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
30682
30683 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30684
30685 [BZ #2801]
30686 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
30687
30688 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30689
30690 [BZ #14876]
30691 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
30692 * time/tst-strptime.c (day_tests): Add testcase.
30693
30694 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30695
30696 [BZ #14029]
30697 * manual/pattern.texi: Acknowledge that fnmatch can fail.
30698
30699 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
30700
30701 [BZ #16074]
30702 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
30703 MAP_FAILED on error.
30704
30705 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30706
30707 [BZ #16072]
30708 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
30709 heap for large requests.
30710
30711 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
30712
30713 [BZ #9954]
30714 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
30715 result if the result has no associated interface.
30716 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
30717 interface for all 127.X.Y.Z addresses.
30718
30719 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
30720
30721 * locale/iso-639.def: Add Ligurian (lij)
30722
30723 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
30724
30725 [BZ #15825]
30726 * sunrpc/rpc_main.c: Document rpcgen -5.
30727
30728 2013-10-19 Michael Stahl <mstahl@redhat.com>
30729
30730 * elf/rtld.c (do_preload): Print the reason why preloading failed.
30731
30732 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30733
30734 [BZ #10278]
30735 * posix/glob.c: Match only directories when trailing slash is present.
30736 * posix/tst-gnuglob.c (my_opendir): Do not open files.
30737 (main): Add testcase.
30738
30739 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30740
30741 [BZ #15670]
30742 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
30743
30744 2013-10-18 Carlos O'Donell <carlos@redhat.com>
30745
30746 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
30747 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
30748 AUTH_DES and cindex for FIPS 140-2.
30749 (DES Encryption): Add cindex FIPS 46-3.
30750
30751 * locale/locarchive.h (struct locarhandle): Add fname.
30752 * locale/programs/localedef.c (main): Pass ARGV[remaining]
30753 if an optional argument was specified to --list-archive,
30754 otherwise NULL.
30755 * locale/programs/locarchive.c (show_archive_content): Take new
30756 argument fname and pass it via ah.fname to open_archive.
30757 * locale/programs/localedef.h: Update decl.
30758 (open_archive): If AH->fname is non-null, open that file
30759 rather than the default file name, and don't ignore ENOENT.
30760 (create_archive): Set AH.fname to NULL.
30761 (delete_locales_from_archive): Likewise.
30762 (add_locales_to_archive): Likewise.
30763 * locale/programs/locfile.c (write_all_categories): Likewise.
30764
30765 2013-10-18 Joseph Myers <joseph@codesourcery.com>
30766 Aldy Hernandez <aldyh@redhat.com>
30767
30768 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
30769 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
30770 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
30771 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
30772 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
30773 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
30774 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
30775 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
30776 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
30777 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
30778 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
30779 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
30780 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
30781 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
30782 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
30783 Likewise.
30784 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
30785 Likewise.
30786 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
30787 Likewise.
30788 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
30789 Likewise.
30790 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
30791 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
30792 Likewise.
30793 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
30794 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
30795 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
30796 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
30797 Likewise.
30798 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
30799 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
30800 * sysdeps/powerpc/preconfigure: Likewise.
30801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
30802 Likewise.
30803 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
30804 Replace contents of file by #include of <fenv_libc.h>.
30805 * sysdeps/powerpc/soft-fp/sfp-machine.h
30806 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
30807 and <sys/prctl.h>.
30808 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
30809 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
30810 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
30811 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
30812 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
30813 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
30814 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
30815 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
30816 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
30817 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
30818 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
30819 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
30820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30821 Allow copysignl PLT reference to be missing.
30822
30823 2013-10-18 Richard Sandiford <richard@codesourcery.com>
30824 Joseph Myers <joseph@codesourcery.com
30825
30826 [BZ #15948]
30827 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
30828 single character.
30829 (add_to_tablewc): Assert sequence of wide characters is nonempty.
30830
30831 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30832
30833 * elf/tst-tls-dlinfo.c: Don't include tls.h.
30834 * elf/tst-tls1.c: Likewise.
30835 * elf/tst-tls10.h: Likewise.
30836 * elf/tst-tls14.c: Likewise.
30837 * elf/tst-tls2.c: Likewise.
30838 * elf/tst-tls3.c: Likewise.
30839 * elf/tst-tls4.c: Likewise.
30840 * elf/tst-tls5.c: Likewise.
30841 * elf/tst-tls6.c: Likewise.
30842 * elf/tst-tls7.c: Likewise.
30843 * elf/tst-tls8.c: Likewise.
30844 * elf/tst-tls9.c: Likewise.
30845 * elf/tst-tlsmod1.c: Likewise.
30846 * elf/tst-tlsmod13.c: Likewise.
30847 * elf/tst-tlsmod13a.c: Likewise.
30848 * elf/tst-tlsmod14a.c: Likewise.
30849 * elf/tst-tlsmod16a.c: Likewise.
30850 * elf/tst-tlsmod16b.c: Likewise.
30851 * elf/tst-tlsmod2.c: Likewise.
30852 * elf/tst-tlsmod3.c: Likewise.
30853 * elf/tst-tlsmod4.c: Likewise.
30854 * elf/tst-tlsmod5.c: Likewise.
30855 * elf/tst-tlsmod6.c: Likewise.
30856
30857 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
30858
30859 [BZ #12486]
30860 * malloc/malloc.c: remove checks for statistics.
30861
30862 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
30863
30864 [BZ #15277]
30865 * inet/inet_net.c (inet_network): Detect additional invalid strings.
30866 * inet/tst-network.c: Add testcase.
30867
30868 2013-10-17 Andreas Schwab <schwab@suse.de>
30869
30870 [BZ #15218]
30871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
30872 to determine canonical name.
30873
30874 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
30875
30876 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
30877 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
30878 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30879 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30880 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30881 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30882 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30883 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30884 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30885 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30886 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30887 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30888 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30889 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30890 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30891 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30892 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30893 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30894 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30895 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30896 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30897 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30898 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30899 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
30900 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
30901 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30902 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30903 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
30904 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30905 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
30906 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30907 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30908 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30909 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30910 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30911 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30912 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30913 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30914 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30915 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30916 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30917 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30918 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30919 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30920 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30921 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30922 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30923 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30924 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30925 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30926 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30927 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30928 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30929 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30930 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30931 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30932 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30933 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30934
30935 2013-10-17 Joseph Myers <joseph@codesourcery.com>
30936
30937 [BZ #16041]
30938 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
30939 make result into a quiet NaN.
30940
30941 2013-10-16 Joseph Myers <joseph@codesourcery.com>
30942
30943 * soft-fp/adddf3.c: Fix horizontal whitespace.
30944 * soft-fp/addsf3.c: Likewise.
30945 * soft-fp/addtf3.c: Likewise.
30946 * soft-fp/divdf3.c: Likewise.
30947 * soft-fp/divsf3.c: Likewise.
30948 * soft-fp/divtf3.c: Likewise.
30949 * soft-fp/double.h: Likewise.
30950 * soft-fp/eqdf2.c: Likewise.
30951 * soft-fp/eqsf2.c: Likewise.
30952 * soft-fp/eqtf2.c: Likewise.
30953 * soft-fp/extenddftf2.c: Likewise.
30954 * soft-fp/extended.h: Likewise.
30955 * soft-fp/extendsfdf2.c: Likewise.
30956 * soft-fp/extendsftf2.c: Likewise.
30957 * soft-fp/extendxftf2.c: Likewise.
30958 * soft-fp/fixdfdi.c: Likewise.
30959 * soft-fp/fixdfsi.c: Likewise.
30960 * soft-fp/fixdfti.c: Likewise.
30961 * soft-fp/fixsfdi.c: Likewise.
30962 * soft-fp/fixsfsi.c: Likewise.
30963 * soft-fp/fixsfti.c: Likewise.
30964 * soft-fp/fixtfdi.c: Likewise.
30965 * soft-fp/fixtfsi.c: Likewise.
30966 * soft-fp/fixtfti.c: Likewise.
30967 * soft-fp/fixunsdfdi.c: Likewise.
30968 * soft-fp/fixunsdfsi.c: Likewise.
30969 * soft-fp/fixunsdfti.c: Likewise.
30970 * soft-fp/fixunssfdi.c: Likewise.
30971 * soft-fp/fixunssfsi.c: Likewise.
30972 * soft-fp/fixunssfti.c: Likewise.
30973 * soft-fp/fixunstfdi.c: Likewise.
30974 * soft-fp/fixunstfsi.c: Likewise.
30975 * soft-fp/fixunstfti.c: Likewise.
30976 * soft-fp/floatdidf.c: Likewise.
30977 * soft-fp/floatdisf.c: Likewise.
30978 * soft-fp/floatditf.c: Likewise.
30979 * soft-fp/floatsidf.c: Likewise.
30980 * soft-fp/floatsisf.c: Likewise.
30981 * soft-fp/floatsitf.c: Likewise.
30982 * soft-fp/floattidf.c: Likewise.
30983 * soft-fp/floattisf.c: Likewise.
30984 * soft-fp/floattitf.c: Likewise.
30985 * soft-fp/floatundidf.c: Likewise.
30986 * soft-fp/floatundisf.c: Likewise.
30987 * soft-fp/floatunditf.c: Likewise.
30988 * soft-fp/floatunsidf.c: Likewise.
30989 * soft-fp/floatunsisf.c: Likewise.
30990 * soft-fp/floatunsitf.c: Likewise.
30991 * soft-fp/floatuntidf.c: Likewise.
30992 * soft-fp/floatuntisf.c: Likewise.
30993 * soft-fp/floatuntitf.c: Likewise.
30994 * soft-fp/fmadf4.c: Likewise.
30995 * soft-fp/fmasf4.c: Likewise.
30996 * soft-fp/fmatf4.c: Likewise.
30997 * soft-fp/gedf2.c: Likewise.
30998 * soft-fp/gesf2.c: Likewise.
30999 * soft-fp/getf2.c: Likewise.
31000 * soft-fp/ledf2.c: Likewise.
31001 * soft-fp/lesf2.c: Likewise.
31002 * soft-fp/letf2.c: Likewise.
31003 * soft-fp/muldf3.c: Likewise.
31004 * soft-fp/mulsf3.c: Likewise.
31005 * soft-fp/multf3.c: Likewise.
31006 * soft-fp/negdf2.c: Likewise.
31007 * soft-fp/negsf2.c: Likewise.
31008 * soft-fp/negtf2.c: Likewise.
31009 * soft-fp/op-1.h: Likewise.
31010 * soft-fp/op-2.h: Likewise.
31011 * soft-fp/op-4.h: Likewise.
31012 * soft-fp/op-8.h: Likewise.
31013 * soft-fp/op-common.h: Likewise.
31014 * soft-fp/quad.h: Likewise.
31015 * soft-fp/single.h: Likewise.
31016 * soft-fp/soft-fp.h: Likewise.
31017 * soft-fp/sqrtdf2.c: Likewise.
31018 * soft-fp/sqrtsf2.c: Likewise.
31019 * soft-fp/sqrttf2.c: Likewise.
31020 * soft-fp/subdf3.c: Likewise.
31021 * soft-fp/subsf3.c: Likewise.
31022 * soft-fp/subtf3.c: Likewise.
31023 * soft-fp/truncdfsf2.c: Likewise.
31024 * soft-fp/trunctfdf2.c: Likewise.
31025 * soft-fp/trunctfsf2.c: Likewise.
31026 * soft-fp/trunctfxf2.c: Likewise.
31027 * soft-fp/unorddf2.c: Likewise.
31028 * soft-fp/unordsf2.c: Likewise.
31029 * soft-fp/unordtf2.c: Likewise.
31030
31031 2013-10-15 Joseph Myers <joseph@codesourcery.com>
31032
31033 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
31034 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
31035
31036 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
31037
31038 * elf/dl-libc.c: Clear initfini list after freeing.
31039
31040 2013-10-14 Joseph Myers <joseph@codesourcery.com>
31041
31042 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
31043 * soft-fp/addsf3.c: Likewise.
31044 * soft-fp/addtf3.c: Likewise.
31045 * soft-fp/divdf3.c: Likewise.
31046 * soft-fp/divsf3.c: Likewise.
31047 * soft-fp/divtf3.c: Likewise.
31048 * soft-fp/double.h: Likewise.
31049 * soft-fp/eqdf2.c: Likewise.
31050 * soft-fp/eqsf2.c: Likewise.
31051 * soft-fp/eqtf2.c: Likewise.
31052 * soft-fp/extenddftf2.c: Likewise.
31053 * soft-fp/extended.h: Likewise.
31054 * soft-fp/extendsfdf2.c: Likewise.
31055 * soft-fp/extendsftf2.c: Likewise.
31056 * soft-fp/extendxftf2.c: Likewise.
31057 * soft-fp/fixdfdi.c: Likewise.
31058 * soft-fp/fixdfsi.c: Likewise.
31059 * soft-fp/fixdfti.c: Likewise.
31060 * soft-fp/fixsfdi.c: Likewise.
31061 * soft-fp/fixsfsi.c: Likewise.
31062 * soft-fp/fixsfti.c: Likewise.
31063 * soft-fp/fixtfdi.c: Likewise.
31064 * soft-fp/fixtfsi.c: Likewise.
31065 * soft-fp/fixtfti.c: Likewise.
31066 * soft-fp/fixunsdfdi.c: Likewise.
31067 * soft-fp/fixunsdfsi.c: Likewise.
31068 * soft-fp/fixunsdfti.c: Likewise.
31069 * soft-fp/fixunssfdi.c: Likewise.
31070 * soft-fp/fixunssfsi.c: Likewise.
31071 * soft-fp/fixunssfti.c: Likewise.
31072 * soft-fp/fixunstfdi.c: Likewise.
31073 * soft-fp/fixunstfsi.c: Likewise.
31074 * soft-fp/fixunstfti.c: Likewise.
31075 * soft-fp/floatdidf.c: Likewise.
31076 * soft-fp/floatdisf.c: Likewise.
31077 * soft-fp/floatditf.c: Likewise.
31078 * soft-fp/floatsidf.c: Likewise.
31079 * soft-fp/floatsisf.c: Likewise.
31080 * soft-fp/floatsitf.c: Likewise.
31081 * soft-fp/floattidf.c: Likewise.
31082 * soft-fp/floattisf.c: Likewise.
31083 * soft-fp/floattitf.c: Likewise.
31084 * soft-fp/floatundidf.c: Likewise.
31085 * soft-fp/floatundisf.c: Likewise.
31086 * soft-fp/floatunsidf.c: Likewise.
31087 * soft-fp/floatunsisf.c: Likewise.
31088 * soft-fp/floatuntidf.c: Likewise.
31089 * soft-fp/floatuntisf.c: Likewise.
31090 * soft-fp/floatuntitf.c: Likewise.
31091 * soft-fp/fmadf4.c: Likewise.
31092 * soft-fp/fmasf4.c: Likewise.
31093 * soft-fp/fmatf4.c: Likewise.
31094 * soft-fp/gedf2.c: Likewise.
31095 * soft-fp/gesf2.c: Likewise.
31096 * soft-fp/getf2.c: Likewise.
31097 * soft-fp/ledf2.c: Likewise.
31098 * soft-fp/lesf2.c: Likewise.
31099 * soft-fp/letf2.c: Likewise.
31100 * soft-fp/muldf3.c: Likewise.
31101 * soft-fp/mulsf3.c: Likewise.
31102 * soft-fp/multf3.c: Likewise.
31103 * soft-fp/negdf2.c: Likewise.
31104 * soft-fp/negsf2.c: Likewise.
31105 * soft-fp/negtf2.c: Likewise.
31106 * soft-fp/op-1.h: Likewise.
31107 * soft-fp/op-2.h: Likewise.
31108 * soft-fp/op-4.h: Likewise.
31109 * soft-fp/op-8.h: Likewise.
31110 * soft-fp/op-common.h: Likewise.
31111 * soft-fp/quad.h: Likewise.
31112 * soft-fp/single.h: Likewise.
31113 * soft-fp/soft-fp.h: Likewise.
31114 * soft-fp/sqrtdf2.c: Likewise.
31115 * soft-fp/sqrtsf2.c: Likewise.
31116 * soft-fp/sqrttf2.c: Likewise.
31117 * soft-fp/subdf3.c: Likewise.
31118 * soft-fp/subsf3.c: Likewise.
31119 * soft-fp/subtf3.c: Likewise.
31120 * soft-fp/truncdfsf2.c: Likewise.
31121 * soft-fp/trunctfdf2.c: Likewise.
31122 * soft-fp/trunctfsf2.c: Likewise.
31123 * soft-fp/trunctfxf2.c: Likewise.
31124 * soft-fp/unorddf2.c: Likewise.
31125 * soft-fp/unordsf2.c: Likewise.
31126 * soft-fp/unordtf2.c: Likewise.
31127
31128 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
31129
31130 [BZ #15672]
31131 * misc/error.c (error_tail): Fix possible buffer overflow.
31132
31133 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
31134
31135 [BZ #13028]
31136 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
31137 address.
31138
31139 2013-10-14 P. J. McDermott <pj@pehjota.net>
31140
31141 [BZ #832]
31142 * elf/ldd.bash.in (try_trace): New function. Delete previous code
31143 testing pipefail option.
31144
31145 2013-10-12 Joseph Myers <joseph@codesourcery.com>
31146
31147 * soft-fp/double.h: Indent preprocessor directives inside #if.
31148 * soft-fp/extended.h: Likewise.
31149 * soft-fp/op-2.h: Likewise.
31150 * soft-fp/op-4.h: Likewise.
31151 * soft-fp/op-common.h: Likewise.
31152 * soft-fp/quad.h: Likewise.
31153 * soft-fp/single.h: Likewise.
31154 * soft-fp/soft-fp.h: Likewise.
31155
31156 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
31157
31158 * iconv/iconv_prog.c: Fix typos.
31159 * stdio-common/psiginfo-data.h: Likewise.
31160
31161 2013-10-12 Reuben Thomas <rrt@sc3d.org>
31162
31163 [BZ #15764]
31164 * locale/setlocale.c: Fix typo.
31165
31166 2013-10-12 Joseph Myers <joseph@codesourcery.com>
31167
31168 [BZ #16036]
31169 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
31170 signaling NaN arguments.
31171 * soft-fp/unordsf2.c (__unordsf2): Likewise.
31172 * soft-fp/unordtf2.c (__unordtf2): Likewise.
31173
31174 [BZ #14910]
31175 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
31176 unordered operands.
31177 * soft-fp/gesf2.c (__gesf2): Likewise.
31178 * soft-fp/getf2.c (__getf2): Likewise.
31179 * soft-fp/ledf2.c (__ledf2): Likewise.
31180 * soft-fp/lesf2.c (__lesf2): Likewise.
31181 * soft-fp/letf2.c (__letf2): Likewise.
31182
31183 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
31184 * soft-fp/eqsf2.c (__eqsf2): Likewise.
31185 * soft-fp/eqtf2.c (__eqtf2): Likewise.
31186 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
31187 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
31188 * soft-fp/fixdfti.c (__fixdfti): Likewise.
31189 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
31190 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
31191 * soft-fp/fixsfti.c (__fixsfti): Likewise.
31192 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
31193 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
31194 * soft-fp/fixtfti.c (__fixtfti): Likewise.
31195 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
31196 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
31197 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
31198 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
31199 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
31200 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
31201 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
31202 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
31203 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
31204 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
31205 * soft-fp/floatdisf.c (__floatdisf): Likewise.
31206 * soft-fp/floatsisf.c (__floatsisf): Likewise.
31207 * soft-fp/floattidf.c (__floattidf): Likewise.
31208 * soft-fp/floattisf.c (__floattisf): Likewise.
31209 * soft-fp/floattitf.c (__floattitf): Likewise.
31210 * soft-fp/floatundidf.c (__floatundidf): Likewise.
31211 * soft-fp/floatundisf.c (__floatundisf): Likewise.
31212 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
31213 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
31214 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
31215 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
31216 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
31217 * soft-fp/gesf2.c (__gesf2): Likewise.
31218 * soft-fp/getf2.c (__getf2): Likewise.
31219 * soft-fp/ledf2.c (__ledf2): Likewise.
31220 * soft-fp/lesf2.c (__lesf2): Likewise.
31221 * soft-fp/letf2.c (__letf2): Likewise.
31222
31223 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
31224 Undefine and redefine.
31225 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
31226 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
31227 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
31228 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
31229 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31230 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
31231 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31232 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
31233 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31234 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
31235 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31236 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
31237 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31238 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
31239 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31240
31241 [BZ #16032]
31242 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
31243 without decrementing exponent if mantissa >= that for the
31244 denominator, not >.
31245 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
31246 denominator, not >. Decrement exponent in < case instead of
31247 incrementing in >= case.
31248 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
31249 without decrementing exponent if mantissa >= that for the
31250 denominator, not >.
31251
31252 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
31253 computing saturated result for unsigned overflow.
31254
31255 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31256 Jeff Law <law@redhat.com>
31257
31258 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
31259 (atan2Mp): Add systemtap probe marker.
31260 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
31261 (__ieee754_log): Add systemtap probe marker.
31262 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
31263 (atanMp): Add systemtap probe marker.
31264 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
31265 (tanMp): Add systemtap probe marker.
31266 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
31267 (__slowexp): Add systemtap probe marker.
31268 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
31269 (__slowpow): Add systemtap probe marker.
31270 * manual/probes.texi: Document probes.
31271
31272 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
31273
31274 [BZ #15362]
31275 * libio/fileops.c (_IO_new_file_write): Return count of bytes
31276 written.
31277 (_IO_new_file_xsputn): Don't return EOF if nothing has been
31278 written.
31279 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
31280 written to buffer but not flushed.
31281 * libio/iofwrite_u.c: Likewise.
31282 * libio/iopadn.c: Return bytes returned even if EOF was
31283 encountered.
31284 * libio/iowpadn.c: Likewise.
31285 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
31286 if _IO_padn does not write the whole buffer.
31287 [!COMPILE_WPRINTF] (PAD): Likewise.
31288
31289 2013-10-10 David S. Miller <davem@davemloft.net>
31290
31291 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
31292 directory block.
31293
31294 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31295
31296 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
31297 instead of FSF address.
31298 * soft-fp/fixdfti.c: Likewise.
31299 * soft-fp/fixsfti.c: Likewise.
31300 * soft-fp/fixtfti.c: Likewise.
31301 * soft-fp/fixunsdfti.c: Likewise.
31302 * soft-fp/fixunssfti.c: Likewise.
31303 * soft-fp/fixunstfti.c: Likewise.
31304 * soft-fp/floattidf.c: Likewise.
31305 * soft-fp/floattisf.c: Likewise.
31306 * soft-fp/floattitf.c: Likewise.
31307 * soft-fp/floatuntidf.c: Likewise.
31308 * soft-fp/floatuntisf.c: Likewise.
31309 * soft-fp/floatuntitf.c: Likewise.
31310 * soft-fp/trunctfxf2.c: Likewise.
31311
31312 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
31313 * soft-fp/fixdfti.c: Likewise.
31314 * soft-fp/fixsfti.c: Likewise.
31315 * soft-fp/fixtfti.c: Likewise.
31316 * soft-fp/fixunsdfti.c: Likewise.
31317 * soft-fp/fixunssfti.c: Likewise.
31318 * soft-fp/fixunstfti.c: Likewise.
31319 * soft-fp/floattidf.c: Likewise.
31320 * soft-fp/floattisf.c: Likewise.
31321 * soft-fp/floattitf.c: Likewise.
31322 * soft-fp/floatuntidf.c: Likewise.
31323 * soft-fp/floatuntisf.c: Likewise.
31324 * soft-fp/floatuntitf.c: Likewise.
31325 * soft-fp/trunctfxf2.c: Likewise.
31326
31327 2013-10-10 David S. Miller <davem@davemloft.net>
31328
31329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31330
31331 2013-10-10 Joseph Myers <joseph@codsourcery.com>
31332
31333 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
31334 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
31335 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
31336 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
31337 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
31338 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
31339 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
31340
31341 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
31342 for NaNs before doing comparisons on argument.
31343 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31344 Likewise.
31345
31346 2013-10-10 Will Newton <will.newton@linaro.org>
31347
31348 * malloc/hooks.c (memalign_check): Ensure the value of bytes
31349 passed to _int_memalign does not overflow.
31350
31351 2013-10-10 Torvald Riegel <triegel@redhat.com>
31352
31353 * scripts/bench.pl: Add include-sources directive.
31354 * benchtests/README: Update documentation.
31355
31356 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31357
31358 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
31359 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
31360 instead of FP_INIT_ROUNDMODE.
31361 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
31362 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
31363
31364 [BZ #16034]
31365 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
31366 copy class of input value.
31367 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
31368 not handle exceptions.
31369 * soft-fp/negsf2.c (__negsf2): Likewise.
31370 * soft-fp/negtf2.c (__negtf2): Likewise.
31371 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
31372
31373 2013-10-09 Joseph Myers <joseph@codesourcery.com>
31374
31375 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
31376 semicolon. From Linux kernel.
31377
31378 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
31379
31380 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
31381
31382 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
31383
31384 [BZ #156]
31385 * manual/socket.texi: Added statement about buffer
31386 for gethostbyname2_r.
31387
31388 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
31389
31390 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
31391 Use .p2align directive instead, throughout.
31392 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31393 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
31394 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
31395 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31396 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31397 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
31398 * sysdeps/x86_64/strchr.S: Likewise.
31399 * sysdeps/x86_64/strrchr.S: Likewise.
31400
31401 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31402
31403 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
31404
31405 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
31406
31407 * sysdeps/generic/math_private.h (__mpsin1): Remove
31408 declaration.
31409 (__mpcos1): Likewise.
31410 (__mpsin): New argument __range_reduce.
31411 (__mpcos): Likewise.
31412 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31413 (slow): Use __mpsin and __mpcos.
31414 (slow1): Likewise.
31415 (slow2): Likewise.
31416 (sloww): Likewise.
31417 (sloww1): Likewise.
31418 (sloww2): Likewise.
31419 (bsloww): Likewise.
31420 (bsloww1): Likewise.
31421 (bsloww2): Likewise.
31422 (cslow2): Likewise.
31423 (csloww): Likewise.
31424 (csloww1): Likewise.
31425 (csloww2): Likewise.
31426 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
31427 range_reduce. Merge in __mpsin1.
31428 (__mpcos): Likewise.
31429 (__mpsin1): Remove.
31430 (__mpcos1): Likewise.
31431
31432 2013-10-07 Joseph Myers <joseph@codesourcery.com>
31433
31434 * locale/loadlocale.c (_nl_intern_locale_data): Use
31435 LOCFILE_ALIGNED_P.
31436 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
31437 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
31438 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
31439 obstack data is appropriately aligned.
31440 (obstack_int32_grow_fast): Likewise.
31441 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
31442 * locale/programs/locfile.c (add_locale_uint32): Likewise.
31443 (add_locale_uint32_array): Likewise.
31444
31445 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31446
31447 * benchtests/Makefile: Remove ARGLIST and RET variables.
31448 ($(objpfx)bench-%.c): Pass only function name to the script.
31449 * benchtests/README: Update documentation.
31450 * benchtests/acos-inputs: Add new directives.
31451 * benchtests/acosh-inputs: Likewise.
31452 * benchtests/asin-inputs: Likewise.
31453 * benchtests/asinh-inputs: Likewise.
31454 * benchtests/atan-inputs: Likewise.
31455 * benchtests/atanh-inputs: Likewise.
31456 * benchtests/cos-inputs: Likewise.
31457 * benchtests/cosh-inputs: Likewise.
31458 * benchtests/exp-inputs: Likewise.
31459 * benchtests/log-inputs: Likewise.
31460 * benchtests/pow-inputs: Likewise.
31461 * benchtests/rint-inputs: Likewise.
31462 * benchtests/sin-inputs: Likewise.
31463 * benchtests/sinh-inputs: Likewise.
31464 * benchtests/tan-inputs: Likewise.
31465 * benchtests/tanh-inputs: Likewise.
31466 * scripts/bench.pl: Add support for new directives.
31467
31468 2013-10-07 Alan Modra <amodra@gmail.com>
31469
31470 * README: Fix careless merge.
31471
31472 2013-10-05 Alan Modra <amodra@gmail.com>
31473
31474 * NEWS: Mention powerpc64le support and bugs fixed.
31475 * README: Both big-endian and little-endian powerpc64 supported.
31476
31477 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31478
31479 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
31480 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
31481 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
31482 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
31483
31484 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
31485
31486 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
31487 match prototype.
31488
31489 2013-10-04 Joseph Myers <joseph@codesourcery.com>
31490
31491 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
31492 Move -mhard-float appending from
31493 ports/sysdeps/powerpc/powerpc32/Makefile.
31494 [$(with-fp) = yes] (ASFLAGS): Likewise.
31495 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
31496 * sysdeps/powerpc/nofpu: Move directory from
31497 ports/sysdeps/powerpc/nofpu.
31498 * sysdeps/powerpc/soft-fp: Move directory from
31499 ports/sysdeps/powerpc/soft-fp.
31500 * sysdeps/powerpc/powerpc32/405: Move directory from
31501 ports/sysdeps/powerpc/powerpc32/405.
31502 * sysdeps/powerpc/powerpc32/440: Move directory from
31503 ports/sysdeps/powerpc/powerpc32/440.
31504 * sysdeps/powerpc/powerpc32/464: Move directory from
31505 ports/sysdeps/powerpc/powerpc32/464.
31506 * sysdeps/powerpc/powerpc32/476: Move directory from
31507 ports/sysdeps/powerpc/powerpc32/476.
31508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
31509 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
31510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
31511 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
31512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
31513 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
31514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
31515 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
31516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
31517 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
31518 * README: Update for powerpc-*-linux-gnu software floating point
31519 support in libc.
31520
31521 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
31522 case to powerpc/powerpc32*.
31523 * sysdeps/unix/sysv/linux/configure: Regenerated.
31524
31525 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
31526 (_FPU_MASK_OM): Define as 0x04.
31527 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
31528 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
31529 0x00c10080.
31530 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
31531 0x0000003c.
31532 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
31533
31534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
31535 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31536 getcontext_e500.
31537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
31538 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31539 setcontext_e500.
31540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
31541 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
31542 and setcontext_e500.
31543
31544 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
31545
31546 * locale/iso-3166.def: Update iso-1366.def and related occurrences
31547
31548 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31549
31550 * manual/threads.texi (Default Thread Attributes): Fix typo.
31551
31552 2013-10-04 Will Newton <will.newton@linaro.org>
31553
31554 * malloc/Makefile: Add tst-memalign.
31555 * malloc/tst-memalign.c: New file.
31556
31557 * malloc/tst-posix_memalign.c: Add comments.
31558 (do_test): Add comments and call free on all potentially
31559 allocated pointers. Add space after cast.
31560
31561 * malloc/tst-pvalloc.c: Add comments.
31562 (do_test): Add comments and call free on all potentially
31563 allocated pointers. Remove duplicate check for NULL pointer.
31564 Add space after cast.
31565
31566 * malloc/tst-valloc.c: Add comments.
31567 (do_test): Add comments and call free on all potentially
31568 allocated pointers. Remove duplicate check for NULL pointer.
31569 Add space after cast.
31570
31571 2013-10-04 Alan Modra <amodra@gmail.com>
31572
31573 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31574 Use stdint types in rather than __attribute__((mode())).
31575 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31576
31577 2013-10-04 Alan Modra <amodra@gmail.com>
31578
31579 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31580 Correct handling of unaligned relocs for little-endian.
31581 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31582
31583 2013-10-04 Alan Modra <amodra@gmail.com>
31584
31585 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
31586 * configure: Regenerate.
31587 * nptl/shlib-versions: Powerpc*le starts at 2.18.
31588 * shlib-versions: Likewise.
31589
31590 2013-10-04 Alan Modra <amodra@gmail.com>
31591
31592 * string/tester.c (test_memrchr): Increment reported test cycle.
31593
31594 2013-10-04 Alan Modra <amodra@gmail.com>
31595
31596 * string/test-memcpy.c (do_one_test): When reporting errors, print
31597 string address and don't overrun end of string.
31598
31599 2013-10-04 Alan Modra <amodra@gmail.com>
31600
31601 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
31602 insrdi. Make better use of reg selection to speed exit slightly.
31603 Schedule entry path a little better. Remove useless "are we done"
31604 checks on entry to main loop. Handle wrapping around zero address.
31605 Correct main loop count. Handle single left-over word from main
31606 loop inline rather than by using loop_small. Remove extra word
31607 case in loop_small caused by wrong loop count. Add little-endian
31608 support.
31609 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31610 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
31611 cache hint.
31612 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31613 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
31614 support. Avoid rlwimi.
31615 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
31616
31617 2013-10-04 Alan Modra <amodra@gmail.com>
31618
31619 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
31620 insrdi. Formatting.
31621 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
31622 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31623 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31624 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31625 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31626 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
31627
31628 2013-10-04 Alan Modra <amodra@gmail.com>
31629
31630 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
31631 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31632 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31633 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
31634 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31635 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31636 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31637 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31638 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
31639 use of regs. Use power7 mtocrf. Tidy function tails.
31640
31641 2013-10-04 Alan Modra <amodra@gmail.com>
31642
31643 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
31644 Formatting. Consistently use rXXX register defines or rN defines.
31645 Use early exit labels that avoid restoring unused non-volatile regs.
31646 Make cr field use more consistent with rWORDn compares. Rename
31647 regs used as shift registers for unaligned loop, using rN defines
31648 for short lifetime/multiple use regs.
31649 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31650 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
31651 addi 1,1,64 to pop stack frame. Simplify return value code.
31652 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31653
31654 2013-10-04 Alan Modra <amodra@gmail.com>
31655
31656 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
31657 support. Correct typos, formatting. Optimize tail. Use insrdi
31658 rather than rlwimi.
31659 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
31660 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
31661 little-endian support. Correct typos.
31662 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
31663 rather than rlwimi.
31664 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
31665 in loop and entry code to keep "and." results.
31666 (strchr): Add little-endian support. Comment. Move cntlzd
31667 earlier in tail.
31668 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
31669
31670 2013-10-04 Alan Modra <amodra@gmail.com>
31671
31672 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
31673 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
31674 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
31675 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
31676
31677 2013-10-04 Alan Modra <amodra@gmail.com>
31678
31679 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
31680 (rTMP): Define as r11.
31681 (strcmp): Add little-endian support. Optimise tail.
31682 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
31683 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31684 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31685 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31686 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31687 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31688 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31689
31690 2013-10-04 Alan Modra <amodra@gmail.com>
31691
31692 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
31693 little-endian support. Remove unnecessary "are we done" tests.
31694 Handle "s" wrapping around zero and extremely large "size".
31695 Correct main loop count. Handle single left-over word from main
31696 loop inline rather than by using small_loop. Correct comments.
31697 Delete "zero" tail, use "end_max" instead.
31698 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
31699
31700 2013-10-04 Alan Modra <amodra@gmail.com>
31701
31702 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
31703 support. Don't branch over align.
31704 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
31705 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
31706 support. Rearrange tmp reg use to suit. Comment.
31707 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
31708
31709 2013-10-04 Alan Modra <amodra@gmail.com>
31710
31711 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
31712
31713 2013-10-04 Alan Modra <amodra@gmail.com>
31714
31715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
31716 conditional form of branch and link when obtaining pc.
31717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31718
31719 2013-10-04 Alan Modra <amodra@gmail.com>
31720
31721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
31722 HIWORD/LOWORD.
31723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
31724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
31725
31726 2013-10-04 Alan Modra <amodra@gmail.com>
31727
31728 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
31729 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
31730 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
31731 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
31732 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
31733 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31734 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
31735 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31736 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
31737 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
31738
31739 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31740 Alistair Popple <alistair@ozlabs.au.ibm.com>
31741 Alan Modra <amodra@gmail.com>
31742
31743 [BZ #15723]
31744 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
31745 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
31746 _dl_hwcap access for little-endian.
31747 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
31748 destroy vmx regs when saving unaligned.
31749 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
31750 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
31751 destroy vmx regs when saving unaligned.
31752
31753 2013-10-04 Alan Modra <amodra@gmail.com>
31754
31755 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
31756 Don't use a union to pack hi/low value.
31757
31758 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31759
31760 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
31761 for little-endian.
31762 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31763 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
31764 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
31765 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31766 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31767
31768 2013-10-04 Alan Modra <amodra@gmail.com>
31769
31770 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
31771 constants to usual value for .cst8 section, and remove redundant
31772 high address load.
31773 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
31774 constant for 0x1p52. Load little-endian words of double from
31775 correct stack offsets.
31776
31777 2013-10-04 Alan Modra <amodra@gmail.com>
31778
31779 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
31780 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
31781 words of double from correct stack offsets.
31782 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
31783 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
31784 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31785 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31786 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31787 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31788 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31789 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
31790 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
31791 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31792 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31793 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31794 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31795 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31796 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31797 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
31798 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
31799
31800 2013-10-04 Alan Modra <amodra@gmail.com>
31801
31802 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
31803 64-bit int/double union.
31804 (_FPU_SETCW): Likewise.
31805 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
31806 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
31807
31808 2013-10-04 Alan Modra <amodra@gmail.com>
31809
31810 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
31811 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
31812
31813 2013-10-04 Alan Modra <amodra@gmail.com>
31814
31815 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
31816 use vector int constants.
31817 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
31818
31819 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31820
31821 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
31822 array with long long.
31823 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
31824 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
31825 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
31826 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
31827 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
31828 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
31829 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
31830 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
31831 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
31832 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
31833 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
31834 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
31835 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
31836
31837 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31838
31839 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
31840 (__signbit): Likewise. Correct for little-endian.
31841 (__signbitl): Call __signbit.
31842 (lrint): Correct for little-endian.
31843 (lrintf): Call lrint.
31844
31845 2013-10-04 Alan Modra <amodra@gmail.com>
31846
31847 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
31848 union 32-bit int array member with 64-bit int array.
31849 (t515, tm256): Double rather than long double.
31850 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
31851
31852 2013-10-04 Alan Modra <amodra@gmail.com>
31853
31854 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
31855 Delete.
31856 (IEEE854_LONG_DOUBLE_BIAS): Delete.
31857 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
31858 version of math_ldbl.h.
31859
31860 2013-10-04 Alan Modra <amodra@gmail.com>
31861
31862 [BZ #15734], [BZ #15735]
31863 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
31864 all uses of ieee875 long double macros and unions. Simplify test
31865 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
31866 ldbl_extract_mantissa value for ix,iy exponents. Properly
31867 normalize after ldbl_extract_mantissa, and don't add hidden bit
31868 already handled. Don't treat low word of ieee854 mantissa like
31869 low word of IBM long double and mask off bit when testing for
31870 zero.
31871 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
31872 all uses of ieee875 long double macros and unions. Simplify tests
31873 for 0.0L and inf. Correct double adjustment of k. Delete dead code
31874 adjusting ha,hb. Simplify code setting kld. Delete two600 and
31875 two1022, instead use their values. Recognise that tests for large
31876 "a" and small "b" are mutually exclusive. Rename vars. Comment.
31877 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
31878 Rewrite all uses of ieee875 long double macros and unions. Simplify
31879 test for 0.0L and nan. Correct negation.
31880 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
31881 ieee875 long double macros and unions. Correct output for large
31882 magnitude x. Correct absolute value calculation.
31883 (__erfcl): Likewise.
31884 * math/libm-test.inc: Add tests for errors discovered in IBM long
31885 double versions of fmodl, remainderl, erfl and erfcl.
31886
31887 2013-10-04 Alan Modra <amodra@gmail.com>
31888
31889 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
31890 all uses of ieee854 long double macros and unions. Simplify tests
31891 for long doubles that are fully specified by the high double.
31892 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31893 Likewise.
31894 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
31895 Remove dead code too.
31896 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31897 (__ieee754_ynl): Likewise.
31898 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
31899 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
31900 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31901 Remove dead code too.
31902 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
31903 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
31904 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
31905 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
31906 Simplify.
31907 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
31908 Simplify.
31909 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
31910 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31911 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
31912 Comment on variable precision.
31913 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
31914 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31915 Likewise.
31916 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31917 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31918 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31919 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
31920 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
31921
31922 2013-10-04 Alan Modra <amodra@gmail.com>
31923
31924 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
31925 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
31926 all uses of ieee854 long double macros and unions.
31927 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
31928 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31929 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
31930 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
31931 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
31932 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31933 Likewise.
31934 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
31935 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31936 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
31937 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31938 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
31939 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
31940 Simplify sign and nan test too.
31941 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
31942 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31943 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
31944 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31945 Likewise.
31946 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31947 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
31948 Likewise.
31949 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31950 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31951 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
31952 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
31953 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
31954 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
31955
31956 2013-10-04 Alan Modra <amodra@gmail.com>
31957
31958 * stdio-common/printf_size.c (__printf_size): Don't use
31959 union ieee854_long_double in fpnum union.
31960 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
31961 signbit macro to retrieve sign from long double.
31962 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
31963 retrieve sign from long double.
31964 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
31965 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
31966 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
31967 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31968 * math/test-misc.c (main): Don't use union ieee854_long_double.
31969
31970 2013-10-04 Alan Modra <amodra@gmail.com>
31971
31972 [BZ #15680]
31973 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
31974 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
31975 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
31976 calculation. Remove unnecessary test for denormal exponent.
31977 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
31978 Correct handling of denormals. Avoid undefined shift behaviour.
31979 Correct normalisation of low mantissa when low double is denormal.
31980 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
31981 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
31982 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
31983 Correct normalisation of low mantissa. Test for overflow of high
31984 mantissa and normalise.
31985 (ldbl_nearbyint): Use more readable constant for two52.
31986 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
31987 (__mpn_construct_long_double): Fix test for overflow of high
31988 mantissa and correct normalisation. Avoid undefined shift.
31989
31990 2013-10-04 Alan Modra <amodra@gmail.com>
31991
31992 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31993 (union ibm_extended_long_double): Define as an array of ieee754_double.
31994 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
31995 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
31996 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
31997 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31998 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31999 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
32000 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32001 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32002 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32003 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
32004 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32005
32006 2013-10-03 Joseph Myers <joseph@codesourcery.com>
32007
32008 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
32009 page size instead of calling getpagesize.
32010
32011 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
32012 (LOCFILE_ALIGN_MASK): Likewise.
32013 (LOCFILE_ALIGN_UP): Likewise.
32014 (LOCFILE_ALIGNED_P): Likewise.
32015 * locale/programs/ld-collate.c (collate_output): Use the new
32016 macros instead of __alignof__ (int32_t).
32017 * locale/weight.h (findidx): Likewise.
32018
32019 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
32020
32021 [BZ #431]
32022 * manual/string.texi: Fix strncat and wcsncat.
32023
32024 2013-10-03 Brooks Moses <bmoses@google.com>
32025
32026 [BZ #15915]
32027 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
32028 * Makerules: ...here, and adjust associated comments.
32029
32030 2013-10-02 Will Newton <will.newton@linaro.org>
32031
32032 * malloc/Makefile: Add tst-pvalloc.
32033 * malloc/tst-pvalloc.c: New file.
32034
32035 2013-10-02 Will Newton <will.newton@linaro.org>
32036
32037 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
32038 improve test coverage.
32039
32040 2013-10-02 Will Newton <will.newton@linaro.org>
32041
32042 * malloc/Makefile: Add tst-posix_memalign.
32043 * malloc/tst-posix_memalign.c: New file.
32044
32045 2013-10-01 Eric Blake <eblake@redhat.com>
32046
32047 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
32048 Use __THROWNL rather than __THROW on static functions.
32049
32050 2013-09-30 Petr Machata <pmachata@redhat.com>
32051
32052 * elf/elf.h (R_AARCH64_ABS16): New macro.
32053 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
32054 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
32055 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
32056 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
32057 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
32058 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
32059 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
32060 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
32061 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
32062 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
32063 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
32064 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
32065 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
32066 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
32067 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
32068 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
32069 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
32070 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
32071 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
32072 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
32073 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
32074 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
32075 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
32076 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
32077 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
32078 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
32079 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
32080 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
32081 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
32082 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
32083 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
32084 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
32085 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
32086 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
32087 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
32088 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
32089 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
32090 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
32091 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
32092 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
32093 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
32094 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
32095 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
32096 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
32097 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
32098 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
32099 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
32100 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
32101 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
32102 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
32103 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
32104 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
32105 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
32106 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
32107 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
32108 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
32109 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
32110 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
32111 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
32112 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
32113 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
32114 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
32115 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
32116 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
32117 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
32118 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
32119 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
32120 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
32121 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
32122 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
32123 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
32124 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
32125 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
32126 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
32127 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
32128 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
32129 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
32130 (R_AARCH64_TLSDESC_LDR): Likewise.
32131 (R_AARCH64_TLSDESC_ADD): Likewise.
32132 (R_AARCH64_TLSDESC_CALL): Likewise.
32133
32134 2013-09-30 Andreas Schwab <schwab@suse.de>
32135
32136 [BZ #15048]
32137 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
32138 the nss database lookup.
32139 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32140 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32141
32142 2013-09-28 Mike Frysinger <vapier@gentoo.org>
32143
32144 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
32145
32146 2013-09-28 P. J. McDermott <pj@pehjota.net>
32147
32148 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
32149 ${Bash-specific parameter/pattern/string} parameter expansion.
32150 * sysdeps/unix/make-syscalls.sh: Likewise.
32151
32152 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32153
32154 * sysdeps/sh/stackguard-macros.h: New file.
32155
32156 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
32157
32158 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
32159 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
32160 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
32161 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
32162 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32163 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
32164
32165 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32166
32167 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
32168 Fix thread ID register.
32169
32170 2013-09-25 Joseph Myers <joseph@codesourcery.com>
32171
32172 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
32173 [POSIX || UNIX98]: Require rather than permitting all symbols from
32174 <time.h>.
32175 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
32176 element of struct sched_param.
32177 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
32178 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
32179 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
32180 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
32181 constant.
32182
32183 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
32184
32185 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
32186 argument calculation.
32187
32188 2013-09-24 Joseph Myers <joseph@codesourcery.com>
32189
32190 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
32191 Expect macro.
32192 [POSIX] (pthread_attr_t): Do not require type.
32193 [POSIX] (pthread_cond_t): Likewise.
32194 [POSIX] (pthread_condattr_t): Likewise.
32195 [POSIX] (pthread_key_t): Likewise.
32196 [POSIX] (pthread_mutex_t): Likewise.
32197 [POSIX] (pthread_mutexattr_t): Likewise.
32198 [POSIX] (pthread_once_t): Likewise.
32199 [POSIX] (pthread_t): Likewise.
32200 [POSIX-based standards] (pthread_atfork): Expect function.
32201
32202 2013-09-24 Joseph Myers <joseph@codesourcery.com>
32203 Richard Sandiford <richard@codesourcery.com>
32204
32205 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
32206 (swap_endianness_p): New extern variable.
32207 (set_big_endian): New inline function.
32208 (maybe_swap_uint32): Likewise.
32209 (maybe_swap_uint32_array): Likewise.
32210 (maybe_swap_uint32_obstack): Likewise.
32211 * locale/programs/locfile.c: Include <stdbool.h>.
32212 (swap_endianness_p): New variable.
32213 (add_locale_uint32): Call maybe_swap_uint32.
32214 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
32215 (write_locale_data): Call maybe_swap_uint32_array.
32216 * locale/programs/ld-collate.c (obstack_int32_grow): Call
32217 maybe_swap_uint32.
32218 (obstack_int32_grow_fast): Likewise.
32219 (output_weightwc): Call maybe_swap_uint32_obstack.
32220 (collate_output): Likewise.
32221 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
32222 (OPT_LITTLE_ENDIAN): Likewise.
32223 (options): Add --little-endian and --big-endian options.
32224 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
32225 * locale/programs/locarchive.c: Include "locfile.h".
32226 (GET): New macro.
32227 (SET): Likewise.
32228 (INC): Likewise.
32229 (create_archive): Use the new macros to access fields of
32230 structures directly mapped from or written to locale archives.
32231 (oldlocrecentcmp): Likewise.
32232 (enlarge_archive): Likewise.
32233 (insert_name): Likewise.
32234 (add_alias): Likewise.
32235 (add_locale): Likewise.
32236 (delete_locales_from_archive): Likewise.
32237 (show_archive_content): Likewise.
32238 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
32239 locale data.
32240
32241 2013-09-24 Roland McGrath <roland@hack.frob.com>
32242
32243 * manual/freemanuals.texi: Updated from (newly) canonical copy at
32244 http://www.gnu.org/doc/freemanuals.texi.
32245 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
32246
32247 2013-09-24 Will Newton <will.newton@linaro.org>
32248
32249 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
32250 macro.
32251
32252 2013-09-23 Joseph Myers <joseph@codesourcery.com>
32253
32254 * locale/hashval.h (compute_hashval): Interpret bytes of key as
32255 unsigned char.
32256
32257 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
32258
32259 * manual/threads.texi (POSIX Threads): Fix a typo.
32260
32261 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32262
32263 [BZ #14547]
32264 * string/tst-strcoll-overflow.c: New test case.
32265 * string/Makefile (xtests): Add tst-strcoll-overflow.
32266 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
32267 cache if string sizes may cause integer overflow.
32268
32269 [BZ #14547]
32270 * string/strcoll_l.c (coll_seq): New members rule, idx,
32271 save_idx and back_us.
32272 (get_next_seq_nocache): New function.
32273 (do_compare_nocache): New function.
32274 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
32275 when malloc fails.
32276
32277 2013-09-23 Carlos O'Donell <carlos@redhat.com>
32278
32279 [BZ #15754]
32280 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
32281 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
32282 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
32283
32284 [BZ #15754]
32285 * elf/Makefile (tests): Add tst-ptrguard1.
32286 (tests-static): Add tst-ptrguard1-static.
32287 (tst-ptrguard1-ARGS): Define.
32288 (tst-ptrguard1-static-ARGS): Define.
32289 * elf/tst-ptrguard1.c: New file.
32290 * elf/tst-ptrguard1-static.c: New file.
32291 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
32292 * sysdeps/i386/stackguard-macros.h: Likewise.
32293 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32294 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32295 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32296 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32297 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32298 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32299
32300 2013-09-23 Hector Marco <hecmargi@upv.es>
32301 Ismael Ripoll <iripoll@disca.upv.es>
32302 Carlos O'Donell <carlos@redhat.com>
32303
32304 [BZ #15754]
32305 * sysdeps/generic/stackguard-macros.h: Define
32306 __pointer_chk_guard_local and POINTER_CHK_GUARD.
32307 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
32308 Define __pointer_chk_guard_local.
32309 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
32310 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
32311
32312 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
32313
32314 [BZ #15859]
32315 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
32316
32317 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
32318
32319 * include/string.h (__ffs): Declare as hidden.
32320 * string/ffs.c (__ffs): Define as hidden.
32321 * sysdeps/i386/ffs.c (__ffs): Likewise.
32322 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
32323 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
32324 * sysdeps/s390/ffs.c (__ffs): Likewise.
32325 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
32326
32327 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
32328
32329 * NEWS: Mention malloc probes.
32330
32331 * malloc/arena.c (new_heap): New memory_heap_new probe.
32332 (grow_heap): New memory_heap_more probe.
32333 (shrink_heap): New memory_heap_less probe.
32334 (heap_trim): New memory_heap_free probe.
32335 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
32336 (systrim): New memory_sbrk_less probe.
32337 * manual/probes.texi: Document them.
32338
32339 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
32340 * manual/probes.texi: Document it.
32341
32342 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
32343 (__libc_realloc): Add memory_realloc_retry probe.
32344 (__libc_memalign): Add memory_memalign_retry probe.
32345 (__libc_valloc): Add memory_valloc_retry probe.
32346 (__libc_pvalloc): Add memory_pvalloc_retry probe.
32347 (__libc_calloc): Add memory_calloc_retry probe.
32348 * manual/probes.texi: Document them.
32349
32350 * malloc/arena.c (get_free_list): Add probe
32351 memory_arena_reuse_free_list.
32352 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
32353 and memory_arena_reuse.
32354 (arena_get2) [!PER_THREAD]: Likewise.
32355 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
32356 memory_arena_reuse_realloc.
32357 * manual/probes.texi: Document them.
32358
32359 * malloc/malloc.c (__libc_free): Add
32360 memory_mallopt_free_dyn_thresholds probe.
32361 (__libc_mallopt): Add multiple memory_mallopt probes.
32362 * manual/probes.texi: Document them.
32363
32364 * malloc/malloc.c: Include stap-probe.h.
32365 (__libc_mallopt): Add memory_mallopt probe.
32366 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
32367 * manual/probes.texi: New.
32368 * manual/Makefile (chapters): Add probes.
32369 * manual/threads.texi: Set next node.
32370
32371 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
32372
32373 [BZ #15963, #13985]
32374 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
32375 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
32376 Add `Chinese' to `nan' entry name.
32377
32378 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32379
32380 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
32381 (POLYNOMIAL): Likewise.
32382 (TAYLOR_SINCOS): Likewise.
32383 (TAYLOR_SLOW): Likewise.
32384 (__sin): Use TAYLOR_SINCOS.
32385 (__cos): Likewise.
32386 (slow): Use TAYLOR_SLOW.
32387 (sloww): Likewise.
32388 (bsloww): Likewise.
32389 (csloww): Likewise.
32390
32391 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32392
32393 * stdlib/strtod_l.c: Fix buffer overrun.
32394
32395 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32396
32397 * benchtests/Makefile (bench): Add sincos.
32398 * benchtests/bench-sincos.c: New file.
32399
32400 * math/libm-test.inc (cos_test_data): New test inputs.
32401 (sin_test_data): Likewise.
32402
32403 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
32404 macro.
32405 (__sin): Use it.
32406 (__cos): Likewise.
32407 (slow1): Likewise.
32408 (slow2): Likewise.
32409 (sloww1): Likewise.
32410 (sloww2): Likewise.
32411 (bsloww1): Likewise.
32412 (bsloww2): Likewise.
32413 (cslow2): Likewise.
32414 (csloww1): Likewise.
32415 (csloww2): Likewise.
32416
32417 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
32418 function.
32419 (__sin): Use it.
32420 (__cos): Likewise.
32421
32422 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
32423 gotos.
32424 (__cos): Likewise.
32425
32426 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
32427
32428 * config.h.in (HAVE_MIPS_NAN2008): New macro.
32429 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
32430 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
32431 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
32432 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
32433 * elf/cache.c (print_entry): Handle the new cache flags.
32434
32435 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32436 Aldy Hernandez <aldyh@redhat.com>
32437
32438 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
32439 Change condition to [_SOFT_FLOAT].
32440 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
32441 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
32442 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
32443 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
32444 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
32445 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
32446 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
32447 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
32448 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
32449 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
32450 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
32451 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
32452 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
32453 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
32454 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
32455 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
32456 declaration.
32457
32458 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32459
32460 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
32461 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32462 (__longjmp): Use LOAD_GP to load saved GPRs.
32463 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
32464 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32465 (__sigsetjmp): Use SAVE_GP to save GPRs.
32466
32467 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
32468 Do not append -msoft-float.
32469 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
32470
32471 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32472
32473 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
32474
32475 2013-09-17 Joseph Myers <joseph@codesourcery.com>
32476
32477 [BZ #15966]
32478 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
32479 (_FPU_GETCW): Use initial "__" on variable and field names but not
32480 on macro parameter name.
32481 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
32482 parentheses around reference to macro parameter.
32483
32484 2013-09-13 Richard Sandiford <richard@codesourcery.com>
32485
32486 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
32487 prototype.
32488 (ctype_startup): Use uint32_t in cast and sizeof for
32489 ctype->charnames.
32490
32491 2013-09-11 Jia Liu <proljc@gmail.com>
32492
32493 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
32494 __daddr_t_defined.
32495 [__FreeBSD__]: Likewise.
32496
32497 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
32498
32499 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32500 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
32501 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
32502 (strchr): Remove __strchr_sse42 ifunc selection.
32503 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
32504 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
32505
32506 2013-09-11 Will Newton <will.newton@linaro.org>
32507
32508 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
32509 parameter to RES. Remove hardcoded 1000 value.
32510 * benchtests/bench-skeleton.c (main): Pass RES parameter
32511 to TIMING_INIT and multiply result by 1000.
32512
32513 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32514
32515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32516
32517 2013-09-11 Andreas Schwab <schwab@suse.de>
32518
32519 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
32520 if not defined.
32521 (O_TMPFILE) [__USE_GNU]: Define.
32522 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
32523 Define.
32524
32525 2013-09-11 Will Newton <will.newton@linaro.org>
32526
32527 [BZ #15857]
32528 * malloc/malloc.c (__libc_memalign): Check the value of bytes
32529 does not overflow.
32530
32531 2013-09-11 Will Newton <will.newton@linaro.org>
32532
32533 [BZ #15856]
32534 * malloc/malloc.c (__libc_valloc): Check the value of bytes
32535 does not overflow.
32536
32537 2013-09-11 Will Newton <will.newton@linaro.org>
32538
32539 [BZ #15855]
32540 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
32541 does not overflow.
32542
32543 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
32544
32545 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
32546 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32547 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32548 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32549 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32550
32551 2013-09-10 Allan McRae <allan@archlinux.org>
32552
32553 [BZ #15748]
32554 * manual/arith.texi (Parsing of Floats): Clarify
32555 cross-reference.
32556
32557 [BZ #15849]
32558 * manual/install.texi (Running make install): Mention
32559 --enable-pt-chown.
32560 * INSTALL: Regenerated.
32561
32562 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
32563
32564 * csu/init-first.c (_init): Remove the !SHARED condition around
32565 FPU control word initialization.
32566 * elf/dl-support.c (_dl_fpu_control): New variable.
32567 (_dl_aux_init) <AT_FPUCW>: Initialize it.
32568 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
32569 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
32570 * math/test-fpucw-static.c: New file.
32571 * math/test-fpucw-ieee.c: New file.
32572 * math/test-fpucw-ieee-static.c: New file.
32573 * math/Makefile (tests): Add `test-fpucw-ieee' and
32574 `$(tests-static)'.
32575 (tests-static): New variable.
32576 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
32577 dependency to...
32578 [($(build-shared),yes)]
32579 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32580 ... this.
32581 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
32582 New dependency.
32583
32584 2013-09-09 Allan McRae <allan@archlinux.org>
32585
32586 [BZ #15939]
32587 * manual/string.texi (Collation Functions): Fix typo in
32588 strcoll example.
32589 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
32590
32591 [BZ #15893]
32592 * stdlib/isomac.c (get_null_defines): Fix memory leak.
32593
32594 [BZ #15892]
32595 * libio/memstream.c (open_memstream): Fix memory leak.
32596 * libio/wmemstream.c (open_wmemstream): Likewise.
32597
32598 [BZ #15895]
32599 * nscd/netgroupcache.c: Fix nesting of ifdefs.
32600
32601 2013-09-09 Will Newton <will.newton@linaro.org>
32602
32603 * malloc/Makefile: Add tst-realloc to tests.
32604 * malloc/tst-realloc.c: New file.
32605
32606 2013-09-09 Allan McRae <allan@archlinux.org>
32607
32608 [BZ #15844]
32609 * COPYING: Update from GNU website to fix FSF address.
32610 * COPYING.LIB: Likewise.
32611
32612 2013-09-06 David S. Miller <davem@davemloft.net>
32613
32614 * po/zh_TW.po: Update Chinese (traditional) translation from
32615 translation project.
32616
32617 2013-09-06 Richard Sandiford <richard@codesourcery.com>
32618 Joseph Myers <joseph@codesourcery.com>
32619
32620 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
32621 "localeinfo.h".
32622 (obstack_chunk_alloc): New macro.
32623 (obstack_chunk_free): Likewise.
32624 (record_offset): New function.
32625 (init_locale_data): Likewise.
32626 (align_locale_data): Likewise.
32627 (add_locale_empty): Likewise.
32628 (add_locale_raw_data): Likewise.
32629 (add_locale_raw_obstack): Likewise.
32630 (add_locale_string): Likewise.
32631 (add_locale_wstring): Likewise.
32632 (add_locale_uint32): Likewise.
32633 (add_locale_uint32_array): Likewise.
32634 (add_locale_char): Likewise.
32635 (start_locale_structure): Likewise.
32636 (end_locale_structure): Likewise.
32637 (start_locale_prelude): Likewise.
32638 (end_locale_prelude): Likewise.
32639 (write_locale_data): Take locale_file structure rather than an
32640 iovec.
32641 * locale/programs/locfile.h: Include "obstack.h".
32642 (struct locale_file): Change to store locale file contents instead
32643 of header.
32644 (init_locale_data): New prototype.
32645 (align_locale_data): Likewise.
32646 (add_locale_empty): Likewise.
32647 (add_locale_raw_data): Likewise.
32648 (add_locale_raw_obstack): Likewise.
32649 (add_locale_string): Likewise.
32650 (add_locale_wstring): Likewise.
32651 (add_locale_uint32): Likewise.
32652 (add_locale_uint32_array): Likewise.
32653 (add_locale_char): Likewise.
32654 (start_locale_structure): Likewise.
32655 (end_locale_structure): Likewise.
32656 (start_locale_prelude): Likewise.
32657 (end_locale_prelude): Likewise.
32658 (write_locale_data): Update prototype.
32659 * locale/programs/3level.h (struct TABLE): Remove result field.
32660 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
32661 Use new locale_file interface.
32662 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
32663 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
32664 * locale/programs/ld-address.c (address_output): Use new
32665 locale_file interface.
32666 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
32667 NO_ADD_LOCALE.
32668 (collate_finish): Don't call collseq_table_finalize.
32669 (collate_output): Use new locale_file interface.
32670 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
32671 in file.
32672 (NO_FINALIZE): Change to NO_ADD_LOCALE.
32673 (TABLE): Move defines earlier in file.
32674 (ELEMENT): Likewise.
32675 (DEFAULT): Likewise.
32676 (wctrans_table_add): Move macro and inline function earlier in
32677 file.
32678 (struct wctype_table): Move type earlier in file.
32679 (add_locale_wctype_table): New static prototype.
32680 (struct locale_ctype_t): Use logical types instead of struct iovec
32681 pointers for members.
32682 (ctype_output): Use new locale_file interface.
32683 (wctype_table_finalize): Change to add_locale_wctype_table. Use
32684 new locale_file interface.
32685 (allocate_arrays): Update for use of new locale_file interface.
32686 * locale/programs/ld-identification.c (identification_output): Use
32687 new locale_file interface.
32688 * locale/programs/ld-measurement.c (measurement_output): Likewise.
32689 * locale/programs/ld-messages.c (messages_output): Likewise.
32690 * locale/programs/ld-monetary.c (monetary_output): Likewise.
32691 * locale/programs/ld-name.c (name_output): Likewise.
32692 * locale/programs/ld-numeric.c (numeric_output): Likewise.
32693 * locale/programs/ld-paper.c (paper_output): Likewise.
32694 * locale/programs/ld-telephone.c (telephone_output): Likewise.
32695 * locale/programs/ld-time.c (time_output): Likewise.
32696
32697 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32698
32699 * benchtests/Makefile: Add memrchr benchmark.
32700 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
32701 benchmark as memrchr.
32702 * benchtests/bench-memrchr-ifunc.c: New file.
32703 * benchtests/bench-memrchr.c: New file.
32704
32705 2013-09-06 Will Newton <will.newton@linaro.org>
32706
32707 * benchtests/Makefile (string-bench): Add memcpy.
32708
32709 2013-09-05 Carlos O'Donell <carlos@redhat.com>
32710 Cong Wang <amwang@redhat.com>
32711
32712 [BZ #15850]
32713 * sysdeps/unix/sysv/linux/bits/in.h
32714 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
32715 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
32716 before __USE_KERNEL_IPV6_DEFS uses.
32717 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
32718 IPPROTO_BEETPH.
32719 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
32720 sockaddr_in6, or ipv6_mreq.
32721
32722 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32723
32724 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
32725 memory access for final bytes in some large inputs.
32726 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
32727
32728 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32729
32730 * string/test-memrchr.c: New file.
32731 * string/test-memrchr-ifunc.c: New file.
32732 * string/Makefile: Add new memrchr testcase.
32733
32734 2013-09-05 Mike Frysinger <vapier@gentoo.org>
32735
32736 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
32737 fanotify_init returns EPERM.
32738
32739 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32740
32741 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
32742 errors.
32743 (top level): Treat second token from macro or constant entries for
32744 allowed headers as allowed.
32745 * include/complex.h: Condition internal declarations on
32746 [!_ISOMAC].
32747 * include/fenv.h: Condition include of <stdbool.h> and internal
32748 declarations on [!_ISOMAC].
32749
32750 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
32751
32752 [BZ #15923]
32753 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
32754
32755 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32756
32757 * configure.in (--enable-versioning): Remove configure option.
32758 (libc_cv_asm_symver_directive): Remove configure test.
32759 (libc_cv_ld_version_script_option): Likewise.
32760 (VERSIONING): Remove variable and AC_SUBST.
32761 (DO_VERSIONING): Remove AC_DEFINE.
32762 * configure: Regenerated.
32763 * config.h.in (DO_VERSIONING): Remove macro.
32764 * Makerules [$(versioning) = yes]: Change conditionals to
32765 [$(build-shared) = yes].
32766 * config.make.in (versioning): Remove variable.
32767 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
32768 [$(build-shared) = yes].
32769 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
32770 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
32771 * elf/Makefile [$(versioning) = yes]: Change conditionals to
32772 [$(build-shared) = yes].
32773 * extra-lib.mk [$(versioning) = yes]: Likewise.
32774 * hurd/Makefile [$(versioning) = yes]: Likewise.
32775 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
32776 [SHARED].
32777 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
32778 [SHARED].
32779 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32780 [SHARED && !NO_HIDDEN].
32781 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
32782 [SHARED].
32783 [SHARED && DO_VERSIONING]: Likewise..
32784 * libio/Makefile [$(versioning) = yes]: Change conditionals to
32785 [$(build-shared) = yes].
32786 * manual/install.texi (--disable-versioning): Remove
32787 documentation.
32788 * INSTALL: Regenerated.
32789 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
32790 to [SHARED].
32791 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
32792 [$(build-shared) = yes].
32793 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
32794 * sysdeps/i386/i686/multiarch/strstr-c.c
32795 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32796 [SHARED && !NO_HIDDEN].
32797 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
32798 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
32799 * sysdeps/powerpc/powerpc32/dl-machine.c
32800 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
32801 * sysdeps/powerpc/powerpc32/sysdep.h
32802 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
32803 to [SHARED && PIC && !NO_HIDDEN].
32804 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
32805 conditional to [SHARED].
32806
32807 2013-09-04 Will Newton <will.newton@linaro.org>
32808
32809 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
32810 * benchtests/bench-string.h: Include bench-timing.h instead
32811 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
32812 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
32813 call to HP_TIMING_DIFF_INIT.
32814 * benchtests/bench-memccpy.c: Use bench-timing.h macros
32815 instead of hp-timing.h macros.
32816 * benchtests/bench-memchr.c: Likewise.
32817 * benchtests/bench-memcmp.c: Likewise.
32818 * benchtests/bench-memcpy.c: Likewise.
32819 * benchtests/bench-memmem.c: Likewise.
32820 * benchtests/bench-memmove.c: Likewise.
32821 * benchtests/bench-memset.c: Likewise.
32822 * benchtests/bench-rawmemchr.c: Likewise.
32823 * benchtests/bench-strcasecmp.c: Likewise.
32824 * benchtests/bench-strcasestr.c: Likewise.
32825 * benchtests/bench-strcat.c: Likewise.
32826 * benchtests/bench-strchr.c: Likewise.
32827 * benchtests/bench-strcmp.c: Likewise.
32828 * benchtests/bench-strcpy.c: Likewise.
32829 * benchtests/bench-strcpy_chk.c: Likewise.
32830 * benchtests/bench-strlen.c: Likewise.
32831 * benchtests/bench-strncasecmp.c: Likewise.
32832 * benchtests/bench-strncat.c: Likewise.
32833 * benchtests/bench-strncmp.c: Likewise.
32834 * benchtests/bench-strncpy.c: Likewise.
32835 * benchtests/bench-strnlen.c: Likewise.
32836 * benchtests/bench-strpbrk.c: Likewise.
32837 * benchtests/bench-strrchr.c: Likewise.
32838 * benchtests/bench-strspn.c: Likewise.
32839 * benchtests/bench-strstr.c: Likewise.
32840
32841 2013-09-04 Will Newton <will.newton@linaro.org>
32842
32843 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
32844
32845 2013-09-03 Joseph Myers <joseph@codesourcery.com>
32846
32847 [BZ #15427]
32848 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
32849 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
32850 * math/libm-test.inc (lgamma_test_data): Add more tests.
32851 * sysdeps/i386/fpu/libm-test-ulps: Update.
32852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32853
32854 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
32855
32856 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
32857 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32858 Add ifunc.
32859 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32860 Add strcmp-sse2-unaligned
32861 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
32862
32863 2013-09-02 Mike Frysinger <vapier@gentoo.org>
32864
32865 * Versions.def (libc): Add GLIBC_2.19.
32866
32867 2013-09-02 Mike Frysinger <vapier@gentoo.org>
32868
32869 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
32870 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
32871
32872 2013-09-02 Joseph Myers <joseph@codesourcery.com>
32873
32874 [BZ #14155]
32875 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
32876 intermediate calculations in recurrence.
32877 (__ieee754_ynf): Likewise.
32878 * math/libm-test.inc (jn_test_data): Do not allow spurious
32879 underflow exception. Add more tests.
32880 (yn_test_data): Add more tests.
32881 * sysdeps/i386/fpu/libm-test-ulps: Update.
32882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32883
32884 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
32885
32886 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
32887
32888 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32889
32890 * csu/init-first.c: Fix then/than typos.
32891 * locale/programs/ld-collate.c: Likewise.
32892 * locale/programs/linereader.h: Likewise.
32893 * manual/charset.texi: Likewise.
32894 * manual/filesys.texi: Likewise.
32895 * manual/stdio.texi: Likewise.
32896 * manual/string.texi: Likewise.
32897 * stdlib/fmtmsg.c: Likewise.
32898 * sysdeps/i386/stpncpy.S: Likewise.
32899 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32900 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32901 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32902 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32903
32904 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32905
32906 * elf/dl-open.c: Fix typos.
32907 * iconvdata/gbbig5.c: Likewise.
32908 * iconvdata/iso-2022-jp.c: Likewise.
32909 * iconv/gconv_int.h: Likewise.
32910 * iconv/loop.c: Likewise.
32911 * nis/rpcsvc/nis.h: Likewise.
32912 * resolv/ns_name.c: Likewise.
32913 * stdio-common/vfscanf.c: Likewise.
32914 * streams/stropts.h: Likewise.
32915 * sunrpc/rpc_thread.c: Likewise.
32916 * sysdeps/i386/strpbrk.S: Likewise.
32917 * sysdeps/ieee754/k_standard.c: Likewise.
32918 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32919 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32920 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
32921 * sysdeps/mach/hurd/profil.c: Likewise.
32922 * sysdeps/s390/dl-procinfo.h: Likewise.
32923 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
32924 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
32925 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
32926 * sysdeps/x86_64/dl-trampoline.S: Likewise.
32927 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32928
32929 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32930
32931 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
32932 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
32933
32934 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
32935
32936 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
32937 aix specific files.
32938 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
32939 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
32940 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
32941 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
32942 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
32943 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
32944 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
32945 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
32946
32947 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
32948 Roland McGrath <roland@hack.frob.com>
32949
32950 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
32951 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
32952
32953 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
32954
32955 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
32956 __executable_start symbol instead of _start.
32957
32958 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
32959
32960 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
32961 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
32962 Move macros to...
32963 * sysdeps/gnu/ldsodefs.h: ... this new file.
32964
32965 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
32966 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
32967 instead of ELFOSABI_LINUX.
32968
32969 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
32970 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
32971 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
32972 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
32973 Likewise.
32974 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
32975 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
32976 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
32977 Likewise.
32978 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32979 (ibm_extended_long_double): Add ieee_nan member.
32980 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
32981 (do_test): New function.
32982
32983 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
32984 TEST_TRUNC.
32985 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
32986 functions, renamed from truncdfsf_test, trunctfsf_test,
32987 trunctfdf_test.
32988 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
32989 functions.
32990 (do_test): Run all these.
32991
32992 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
32993
32994 * argp/argp-help.c: Fix typos.
32995 * argp/argp-parse.c: Likewise.
32996 * debug/backtracesyms.c: Likewise.
32997 * elf/elf.h: Likewise.
32998 * malloc/malloc.c: Likewise.
32999 * nis/nis_print.c: Likewise.
33000 * resolv/res_comp.c: Likewise.
33001 * stdlib/stdlib.h: Likewise.
33002 * sunrpc/clnt_tcp.c: Likewise.
33003 * sunrpc/clnt_udp.c: Likewise.
33004 * sunrpc/clnt_unix.c: Likewise.
33005 * sysdeps/unix/bsd/ptsname.c: Likewise.
33006 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
33007 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
33008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
33009 Likewise.
33010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
33011 Likewise.
33012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
33013 Likewise.
33014 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33015
33016 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33017
33018 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
33019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33020
33021 2013-08-27 Mike Frysinger <vapier@gentoo.org>
33022
33023 [BZ #15897]
33024 * dlfcn/Makefile (tests): Add bug-dl-leaf.
33025 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
33026 ($(objpfx)bug-dl-leaf): New rule.
33027 ($(objpfx)bug-dl-leaf.so): Likewise.
33028 ($(objpfx)bug-dl-leaf.out): Likewise.
33029 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
33030 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
33031 * dlfcn/bug-dl-leaf.c: New test.
33032 * dlfcn/bug-dl-leaf-lib.c: Likewise.
33033 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
33034 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
33035 (dlclose): Likewise.
33036 (dlmopen): Likewise.
33037
33038 2013-08-27 Roland McGrath <roland@hack.frob.com>
33039
33040 * include/netdb.h [!_ISOMAC]:
33041 Don't include <tls.h>.
33042 (h_errno, __libc_h_errno): Move declaration and macros out of
33043 [_LIBC_REENTRANT].
33044
33045 * include/resolv.h [_RESOLV_H_]:
33046 Don't include <tls.h>.
33047 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
33048 * resolv/res_libc.c: Don't include <tls.h>.
33049 (_res): Use __attribute__ ((nocommon)) in place of
33050 __attribute__ ((section (".bss"))).
33051
33052 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
33053 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
33054
33055 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
33056
33057 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
33058 only under [SIOCGIFCONF && SIOCGIFNETMASK].
33059
33060 * resolv/res_mkquery.c: Include <sys/time.h>.
33061
33062 * inet/ifreq.c: Moved to ...
33063 * sysdeps/unix/ifreq.c: ... here.
33064 * inet/ifreq.c: New file, true stub version.
33065
33066 * socket/sa_len.c: New file.
33067 * socket/Makefile (aux): Add it.
33068 * sysdeps/unix/sysv/linux/Makefile
33069 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
33070 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
33071 and #include <socket/sa_len.c>.
33072 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
33073 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
33074
33075 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
33076 * bits/socket.h: ... here.
33077
33078 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
33079 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
33080 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
33081
33082 2013-08-27 Andreas Schwab <schwab@suse.de>
33083
33084 [BZ #15736]
33085 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
33086 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
33087 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
33088 * string/test-strcasecmp.c (test_main): Run tests in several
33089 locales.
33090 * string/test-strncasecmp.c (test_main): Likewise.
33091
33092 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
33093 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
33094 to __strcasecmp_nonascii and __strncasecmp_nonascii.
33095 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
33096 (__strncasecmp_ssse3) [PIC]: Likewise.
33097
33098 2013-08-26 Roland McGrath <roland@hack.frob.com>
33099
33100 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
33101
33102 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
33103 instead of explicitly declaring xdecrypt.
33104 * nis/nss_nis/nis-publickey.c: Likewise.
33105
33106 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33107
33108 [BZ #15890]
33109 * nscd/aicache.c: Include res_hconf.h.
33110 (addhstaiX): Initialize res_hconf.
33111
33112 2013-08-26 Andreas Schwab <schwab@suse.de>
33113
33114 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
33115 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
33116
33117 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33118
33119 * nscd/aicache.c (addhstaiX): Fix indentation.
33120
33121 2013-08-25 Mike Frysinger <vapier@gentoo.org>
33122
33123 * configure.ac: Quote $build_pt_chown test.
33124 * configure: Regenerated.
33125
33126 2013-08-23 Joseph Myers <joseph@codesourcery.com>
33127
33128 [BZ #15532]
33129 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
33130 * math/s_cexpf.c (__cexpf): Likewise.
33131 * math/s_cexpl.c (__cexpl): Likewise.
33132 * math/libm-test.inc (cexp_test_data): Correct expected return
33133 value for NaN + i0. Add another test.
33134
33135 2013-08-22 David S. Miller <davem@davemloft.net>
33136
33137 * po/ca.po: Update Catalan translation from translation project.
33138 * po/uk.po: Add Ukrainian translations from translation project.
33139
33140 2013-08-21 Joseph Myers <joseph@codesourcery.com>
33141
33142 [BZ #15797]
33143 * math/s_fdim.c (__fdim): Check for infinite arguments if result
33144 is infinite, not alongside NaN test.
33145 * math/s_fdimf.c (__fdimf): Likewise.
33146 * math/s_fdiml.c (__fdiml): Likewise.
33147 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
33148 errno is unchanged.
33149
33150 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
33151
33152 * argp/argp-help.c: Fix typos.
33153 * crypt/speeds.c: Likewise.
33154 * csu/check_fds.c: Likewise.
33155 * elf/dl-load.c: Likewise.
33156 * elf/dl-open.c: Likewise.
33157 * elf/reldep3.c: Likewise.
33158 * elf/reldep.c: Likewise.
33159 * elf/sprof.c: Likewise.
33160 * iconv/iconv_charmap.c: Likewise.
33161 * iconv/skeleton.c: Likewise.
33162 * iconv/strtab.c: Likewise.
33163 * io/lockf64.c: Likewise.
33164 * libio/libioP.h: Likewise.
33165 * resolv/gai_notify.c: Likewise.
33166 * resolv/ns_name.c: Likewise.
33167 * resolv/ns_samedomain.c: Likewise.
33168 * resolv/res_send.c: Likewise.
33169 * stdlib/random.c: Likewise.
33170 * sunrpc/rpc/xdr.h: Likewise.
33171 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
33172 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
33173 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33174 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33175 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33176 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
33177 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
33178 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33179 * sysdeps/mach/hurd/check_fds.c: Likewise.
33180 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33181 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
33182 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33183 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33184 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
33185 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33186 * sysdeps/pthread/aio_notify.c: Likewise.
33187 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
33188 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
33189 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
33190 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33191 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
33192
33193 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33194
33195 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
33196 version if bit_Slow_SSE4_2 is set.
33197 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33198 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33199
33200 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33201
33202 [BZ #15867]
33203 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
33204 trampoline stack frame information.
33205 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
33206 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
33207 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
33208 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
33209 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
33210 * sysdeps/unix/sysv/linux/powerpc/init-first.c
33211 (_libc_vdso_platform_setup): Initialize the signal trampolines.
33212 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
33213 sa_flags value.
33214 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
33215 interrupting a syscall and set with option SA_SIGINFO.
33216
33217 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33218
33219 [BZ #15531]
33220 * math/s_cproj.c (__cproj): Only return an infinity if one part of
33221 argument is infinite.
33222 * math/s_cprojf.c (__cprojf): Likewise.
33223 * math/s_cprojl.c (__cprojl): Likewise.
33224 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
33225 * math/libm-test.inc (cproj_test_data): Add more tests.
33226
33227 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
33228
33229 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
33230 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
33231 size. Use __ffs to determine corresponding shift.
33232
33233 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33234 Roland McGrath <roland@hack.frob.com>
33235
33236 * Makefile (INSTALL): Remove trailing blank lines from output of
33237 makeinfo.
33238
33239 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33240
33241 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
33242 Align 32 bit compat elf_greg to 8 bytes.
33243
33244 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
33245
33246 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
33247
33248 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33249
33250 * string/strcoll_l.c (coll_seq): New structure.
33251 (get_next_seq_cached): New function.
33252 (get_next_seq): New function.
33253 (do_compare): New function.
33254 (STRCOLL): Use GNU style definition. Simplify implementation
33255 by using get_next_seq, get_next_seq_cached and do_compare.
33256
33257 2013-08-16 Florian Weimer <fweimer@redhat.com>
33258
33259 [BZ #14699]
33260 CVE-2013-4237
33261 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
33262 member.
33263 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
33264 member.
33265 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
33266 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
33267 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
33268 conditional.
33269 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
33270 GETDENTS_64BIT_ALIGNED.
33271 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33272 * manual/filesys.texi (Reading/Closing Directory): Document
33273 ENAMETOOLONG return value of readdir_r. Recommend readdir more
33274 strongly.
33275 * manual/conf.texi (Limits for Files): Add portability note to
33276 NAME_MAX, PATH_MAX.
33277 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
33278
33279 2013-08-13 Andreas Schwab <schwab@suse.de>
33280
33281 [BZ #15749]
33282 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
33283 of fabs.
33284 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
33285 LDBL_MAX_EXP >= 16384]: Add tests for it.
33286
33287 2013-08-12 David S. Miller <davem@davemloft.net>
33288
33289 * version.h (RELEASE): Set to "development".
33290 (VERSION): Set to "2.18.90".
33291 * NEWS: Add 2.19 section.
33292
33293 2013-08-03 David S. Miller <davem@davemloft.net>
33294
33295 * po/ko.po: Update Korean translation from translation project.
33296
33297 2013-08-01 David S. Miller <davem@davemloft.net>
33298
33299 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
33300 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
33301 Bilka.
33302
33303 2013-07-30 David S. Miller <davem@davemloft.net>
33304
33305 * po/fr.po: Update French translation from translation project.
33306
33307 2013-07-28 David S. Miller <davem@davemloft.net>
33308
33309 * po/cs.po: Update Czech translation from translation project.
33310
33311 * po/sv.po: Update Swedish translation from translation project.
33312
33313 2013-07-27 David S. Miller <davem@davemloft.net>
33314
33315 * po/eo.po: Update Esperanto translation from translation project.
33316
33317 * po/vi.po: Update Vietnamese translation from translation project.
33318
33319 * po/de.po: Update German translation from translation project.
33320
33321 2013-07-26 David S. Miller <davem@davemloft.net>
33322
33323 * po/bg.po: Update Bulgarian translation from translation project.
33324
33325 * po/nl.po: Update Dutch translation from translation project.
33326 * po/pl.po: Update Polish translation from translation project.
33327 * po/ru.po: Update Russian translation from translation project.
33328
33329 2013-07-24 David S. Miller <davem@davemloft.net>
33330
33331 * po/libc.pot: Update.
33332
33333 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33334
33335 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
33336 variable page size.
33337 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
33338 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
33339 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
33340
33341 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33342
33343 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
33344
33345 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33346 Andreas Schwab <schwab@suse.de>
33347 Roland McGrath <roland@hack.frob.com>
33348 Joseph Myers <joseph@codesourcery.com>
33349 Carlos O'Donell <carlos@redhat.com>
33350
33351 [BZ #15755]
33352 * config.h.in: Define HAVE_PT_CHOWN.
33353 * config.make.in (build-pt-chown): New variable.
33354 * configure.in (--enable-pt_chown): New configure option.
33355 * configure: Regenerate.
33356 * login/Makefile: Include Makeconfig. Build pt_chown only if
33357 build-pt-chown is enabled.
33358 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
33359 pt_chown to fix pty ownership.
33360 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
33361 CLOSE_ALL_FDS.
33362 * manual/install.texi (Configuring and compiling): Mention
33363 --enable-pt_chown. Add @findex for grantpt.
33364 * INSTALL: Regenerate.
33365
33366 2013-07-20 David S. Miller <davem@davemloft.net>
33367
33368 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
33369 difference between 32-bit and 64-bit.
33370
33371 2013-07-15 Carlos O'Donell <carlos@redhat.com>
33372
33373 [BZ #15711]
33374 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
33375 Avoid system header dependency with -ffreestanding.
33376 ($(objpfx)bits/syscall%d): Likewise.
33377
33378 2013-07-13 David S. Miller <davem@davemloft.net>
33379
33380 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
33381 underflows from atanl/atan2l due to bug 15319.
33382 (casinh_test_data): Likewise.
33383
33384 2013-07-07 David S. Miller <davem@davemloft.net>
33385
33386 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
33387
33388 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
33389
33390 * sysdeps/i386/fpu/libm-test-ulps: Update.
33391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33392
33393 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33394
33395 * configure.in (--enable-lock-elision): Fix message text.
33396 * INSTALL: Regenerate.
33397 * configure: Regenerate.
33398
33399 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33400
33401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33402
33403 2013-07-03 Andreas Jaeger <aj@suse.de>
33404
33405 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
33406 define.
33407 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
33408 (ptrace_peeksiginfo_args): Add.
33409 (__ptrace_peeksiginfo_flags): Add.
33410 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33411 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33412 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33413
33414 2013-07-03 Allan McRae <allan@archlinux.org>
33415
33416 * sysdeps/i386/fpu/libm-test-ulps: Update.
33417
33418 2013-07-02 David S. Miller <davem@davemloft.net>
33419
33420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33421
33422 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
33423
33424 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33425
33426 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33427
33428 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33430
33431 2013-07-02 Andi Kleen <ak@linux.intel.com>
33432
33433 * config.h.in (ENABLE_LOCK_ELISION): Add.
33434 * configure.in (--enable-lock-elision): Add option.
33435 * manual/install.texi: Document --enable lock elision.
33436 * configure: Regenerate
33437 * INSTALL: Regenerate.
33438
33439 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
33440
33441 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
33442 SSE4.2 strcasecmp for libc.a.
33443 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33444
33445 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33446
33447 [BZ #13304]
33448 * soft-fp/op-common.h (_FP_FMA): New macro.
33449 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
33450 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
33451 (_FP_MUL_MEAT_1_imm): ... here.
33452 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
33453 (_FP_MUL_MEAT_1_wide): ... here.
33454 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
33455 (_FP_MUL_MEAT_1_hard): ... here.
33456 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
33457 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
33458 (_FP_MUL_MEAT_2_wide): ... here.
33459 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
33460 (_FP_MUL_MEAT_2_wide_3mul): ... here.
33461 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
33462 (_FP_MUL_MEAT_2_gmp): ... here.
33463 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
33464 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
33465 (_FP_MUL_MEAT_4_wide): ... here.
33466 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
33467 (_FP_MUL_MEAT_4_gmp): ... here.
33468 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
33469 (_FP_WFRACBITS_DW_S): Likewise.
33470 (_FP_WFRACXBITS_DW_S): Likewise.
33471 (_FP_HIGHBIT_DW_S): Likewise.
33472 (FP_FMA_S): Likewise.
33473 (_FP_FRAC_HIGH_DW_S): Likewise.
33474 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
33475 (_FP_WFRACBITS_DW_D): Likewise.
33476 (_FP_WFRACXBITS_DW_D): Likewise.
33477 (_FP_HIGHBIT_DW_D): Likewise.
33478 (FP_FMA_D): Likewise.
33479 (_FP_FRAC_HIGH_DW_D): Likewise.
33480 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
33481 (_FP_WFRACBITS_DW_E): Likewise.
33482 (_FP_WFRACXBITS_DW_E): Likewise.
33483 (_FP_HIGHBIT_DW_E): Likewise.
33484 (FP_FMA_E): Likewise.
33485 (_FP_FRAC_HIGH_DW_E): Likewise.
33486 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
33487 (_FP_WFRACBITS_DW_Q): Likewise.
33488 (_FP_WFRACXBITS_DW_Q): Likewise.
33489 (_FP_HIGHBIT_DW_Q): Likewise.
33490 (FP_FMA_Q): Likewise.
33491 (_FP_FRAC_HIGH_DW_Q): Likewise.
33492 * soft-fp/fmasf4.c: New file.
33493 * soft-fp/fmadf4.c: Likewise.
33494 * soft-fp/fmatf4.c: Likewise.
33495
33496 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33497
33498 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33499 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
33500 Silvermont.
33501 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
33502 macro.
33503 (index_Slow_SSE4_2): Likewise.
33504 (index_Prefer_PMINUB_for_stringop): Likewise.
33505 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
33506 bit_Slow_SSE4_2 is set.
33507 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33508 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33509
33510 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33511
33512 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
33513 rtld_global._dl_hwcap2.
33514 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
33515 POWER8.
33516 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
33517 POWER8 feature descriptions defined in _dl_hwcap2.
33518 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
33519 string handling for POWER8 feature bits.
33520 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
33521 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
33522 _dl_powerpc_cap_flags.
33523 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
33524 * sysdeps/powerpc/rtld-global-offsets.sym
33525 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
33526 _dl_hwcap2 in the rtld_global_ro structure.
33527
33528 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33529
33530 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
33531 hardware capabilities in support of AT_HWCAP2.
33532 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
33533 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
33534 GLRO(dl_hwcap2).
33535 (_dl_show_auxv): Add support for calling _dl_procinfo to display
33536 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
33537 explicitly the unknown a_type display mechanism is used.
33538 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
33539 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
33540 struct member.
33541 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
33542 to macro prototype for AT_HWCAP2 support.
33543 * sysdeps/i386/dl-procinfo.h: Likewise.
33544 * sysdeps/s390/dl-procinfo.h: Likewise.
33545 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
33546 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
33547 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
33548 return -1 for unknown a_type display fallback.
33549 * sysdeps/sparc/dl-procinfo.h: Likewise.
33550 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
33551 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
33552
33553 2013-06-28 Joseph Myers <joseph@codesourcery.com>
33554
33555 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
33556 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
33557
33558 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
33559
33560 [BZ #12492]
33561 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
33562 mprotect making __stack_prot writable.
33563
33564 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
33565 Joseph Myers <joseph@codesourcery.com>
33566
33567 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
33568 as being properly aligned.
33569
33570 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
33571
33572 * dlfcn/modstatic5.c: New file.
33573 * dlfcn/tststatic5.c: New file.
33574 * dlfcn/Makefile (tests): Add tststatic5.
33575 (tests-static): Likewise.
33576 (modules-names): Add modstatic5.
33577 (tststatic5-ENV): New variable.
33578 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
33579
33580 [BZ #15022]
33581 * elf/dl-support.c (_dl_main_map): New variable.
33582 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
33583 (_dl_nns, _dl_load_adds): Set to 1.
33584 (_dl_initial_searchlist): Refer to _dl_main_map.
33585 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
33586 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
33587 call to _dl_get_origin.
33588 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
33589 around call_map.
33590 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
33591 * dlfcn/modstatic3.c: New file.
33592 * dlfcn/tststatic3.c: New file.
33593 * dlfcn/tststatic4.c: New file.
33594 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
33595 (tests-static): Likewise.
33596 (modules-names): Add modstatic3.
33597 (tststatic3-ENV, tststatic4-ENV): New variables.
33598 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
33599 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
33600
33601 2013-06-26 Joseph Myers <joseph@codesourcery.com>
33602
33603 * configure.in (CC): Require GCC version 4.4 or later.
33604 * configure: Regenerated.
33605 * manual/install.texi (Tools for Compilation): Update GCC version
33606 requirement.
33607 * INSTALL: Regenerated.
33608
33609 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33610
33611 [BZ #15674]
33612 * string/test-memcmp.c (check2): New.
33613 (main): Call check2.
33614
33615 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
33616
33617 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
33618
33619 [BZ #15022]
33620 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
33621 over to...
33622 (dl_open_worker) [!SHARED]: ... here.
33623
33624 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33625
33626 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
33627
33628 2013-06-25 Richard Henderson <rth@redhat.com>
33629
33630 * locale/programs/locarchive.c: Include <libc-internal.h>
33631
33632 2013-06-25 Joseph Myers <joseph@codesourcery.com>
33633
33634 * manual/texinfo.tex: Update to version 2013-06-21.17, with
33635 trailing whitespace removed.
33636
33637 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33638
33639 [BZ #10283]
33640 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
33641 * locale/programs/locarchive.c: Include libc-mmap.h.
33642 (prepare_address_space): Take two new outputs (the mmap base and len).
33643 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
33644 values.
33645 (create_archive): Declare new mmap base and len values for
33646 prepare_address_space, and store the result in ah.
33647 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
33648 (enlarge_archive): If ah->mmap_base is not NULL, use that and
33649 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33650 Declare new mmap base and len values for
33651 prepare_address_space, and store the result in new_ah.
33652 (open_archive): Declare new mmap base and len values for
33653 prepare_address_space, and store the result in ah.
33654 (close_archive): If ah->mmap_base is not NULL, use that and
33655 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33656 * sysdeps/generic/libc-mmap.h: New file.
33657
33658 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33659
33660 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
33661 (ALIGN_UP): Likewise.
33662 (PTR_ALIGN_DOWN): Likewise.
33663 (PTR_ALIGN_UP): Likewise.
33664
33665 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33666
33667 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
33668 entry mapped to PPC_PLATFORM_POWER8.
33669 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
33670 POWER8.
33671 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
33672 (_dl_string_platform): Add case for exporting platform position for
33673 POWER8.
33674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
33675 search path to sysdeps/powerpc/powerpc32/power8 directory.
33676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
33677 search path to sysdeps/powerpc/powerpc64/power8 directory.
33678 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
33679 power7 directories.
33680 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
33681 power7 directories.
33682
33683 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33684
33685 * INSTALL: Regenerate.
33686
33687 * nscd/connections.c (nscd_init): Fix comment.
33688
33689 2013-06-22 Joseph Myers <joseph@codesourcery.com>
33690
33691 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
33692
33693 [BZ #15667]
33694 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
33695 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
33696
33697 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33698
33699 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
33700 DL_DST_REQ_STATIC.
33701 (DL_DST_REQ_STATIC): Remove macro.
33702
33703 2013-06-21 Joseph Myers <joseph@codesourcery.com>
33704
33705 [BZ #7006]
33706 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
33707 with a shift of 0 bits.
33708
33709 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33710
33711 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
33712 $(tststatic-ENV).
33713
33714 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33715
33716 [BZ #15655]
33717 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
33718
33719 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33720
33721 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
33722 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
33723 accepts -fno-tree-loop-distribute-patterns.
33724 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
33725 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
33726 recursive call.
33727 * string/memset.c (memset): Likewise.
33728 * string/test-memmove.c (simple_memmove): Disable loop transformation
33729 to library calls.
33730 * string/test-memset.c (simple_memset): Likewise.
33731 * benchtests/bench-memmove.c (simple_memmove): Likewise.
33732 * benchtests/bench-memset.c (simple_memset): Likewise.
33733 * configure: Regenerated.
33734
33735 2013-06-20 Joseph Myers <joseph@codesourcery.com>
33736
33737 * math/test-misc.c (main): Ignore fesetround failure when failures
33738 of subsequent rounding tests would be ignored.
33739
33740 [BZ #15654]
33741 * math/fedisblxcpt.c (fedisableexcept): Return 0.
33742 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
33743 * math/fegetenv.c (__fegetenv): Return 0.
33744 * math/fegetexcept.c (fegetexcept): Return 0.
33745 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
33746 FE_TONEAREST.
33747 * math/feholdexcpt.c (feholdexcept): Return 0.
33748 * math/fesetenv.c (__fesetenv): Return 0.
33749 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
33750 argument FE_TONEAREST.
33751 * math/feupdateenv.c (__feupdateenv): Return 0.
33752 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
33753
33754 2013-06-18 Roland McGrath <roland@hack.frob.com>
33755
33756 * elf/rtld-Rules (rtld-compile-command.S): New variable.
33757 (rtld-compile-command.s, rtld-compile-command.c): New variables.
33758 ($(objpfx)rtld-%.os rules): Use them.
33759
33760 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33761
33762 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
33763 fields.
33764
33765 2013-06-17 Roland McGrath <roland@hack.frob.com>
33766
33767 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
33768 length of target pattern, then descending length of dependency pattern.
33769 * configure.in (AWK): Require gawk 3.1.2 or newer.
33770 * manual/install.texi (Tools for Compilation): Say that we do.
33771 * configure: Regenerated.
33772
33773 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
33774 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
33775 * scripts/sysd-rules.awk: ... this new script.
33776 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
33777 than a glob-style pattern.
33778
33779 2013-06-17 Joseph Myers <joseph@codesourcery.com>
33780
33781 * math/test-misc.c (main): Do not treat incorrectly rounded
33782 conversions as failure unless ROUNDING_TESTS passes.
33783
33784 2013-06-15 Joseph Myers <joseph@codesourcery.com>
33785
33786 [BZ #15631]
33787 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
33788 restore exception state around main square root computation, then
33789 check for inexactness explicitly.
33790
33791 * math/libm-test.inc (fma_test_data): Add another test.
33792
33793 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33794
33795 * manual/threads.texi (Non-POSIX Extensions): New document
33796 node. Document pthread_getattr_default_np and
33797 pthread_setattr_default_np.
33798
33799 * Versions.def (libpthread): Add GLIBC_2.18.
33800 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
33801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33802 Likewise.
33803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33804 Likewise.
33805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33806 Likewise.
33807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33808 Likewise.
33809 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
33810 Likewise.
33811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33812 Likewise.
33813 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33814 Likewise.
33815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33816 Likewise.
33817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33818 Likewise.
33819
33820 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33821
33822 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33823 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
33824
33825 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33826 H.J. Lu <hjl.tools@gmail.com>
33827
33828 [BZ #15627]
33829 * sysdeps/x86_64/rtld-memset.c: Remove file.
33830 * sysdeps/x86_64/rtld-memset.S: New file.
33831
33832 2013-06-14 Joseph Myers <joseph@codesourcery.com>
33833
33834 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
33835 (test_in_one_mode): Take arguments for whether the rounding mode
33836 is supported for each floating-point type.
33837 (do_test): Pass new arguments to test_in_one_mode using
33838 ROUNDING_TESTS.
33839
33840 2013-06-13 Roland McGrath <roland@hack.frob.com>
33841
33842 * posix/tst-waitid.c (do_test): Distinguish different instances of
33843 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
33844 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
33845 before entering the kernel for waitpid.
33846
33847 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33848
33849 * NEWS: Fix note on clock function precision. Text by Roland
33850 McGrath.
33851
33852 2013-06-13 Roland McGrath <roland@hack.frob.com>
33853
33854 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
33855 it into place only when and if the sanity check passes.
33856
33857 2013-06-13 Joseph Myers <joseph@codesourcery.com>
33858
33859 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
33860 output for whether conversion result is exact. Take argument
33861 indicating whether type is IBM long double.
33862 (round_for_all): Change need_exact field to ibm_ld.
33863 * stdlib/tst-strtod-round.c (struct exactness): New type.
33864 (struct test): Change bool ld_ok field to struct exactness exact.
33865 (TEST): Update all definitions for change to field.
33866 (tests): Regenerate array contents.
33867 (test_in_one_mode): Take pointer to new field instead of old ld_ok
33868 field value. Check for IBM long double here.
33869 (do_test): Update calls to test_in_one_mode.
33870
33871 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33872
33873 [BZ #12515]
33874 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
33875 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
33876
33877 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33878
33879 [BZ #15605]
33880 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
33881 generated by the compiler on loop optimizations.
33882 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
33883 general definitions.
33884
33885 2013-06-12 Joseph Myers <joseph@codesourcery.com>
33886
33887 * math/bug-nextafter.c: Include <math-tests.h>.
33888 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33889 the relevant type.
33890 * math/bug-nexttoward.c: Include <math-tests.h>.
33891 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33892 the relevant type.
33893 * math/test-misc.c: Include <math-tests.h>.
33894 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33895 the relevant type.
33896
33897 2013-06-12 Andreas Jaeger <aj@suse.de>
33898
33899 * po/ia.po: Update Interlingua translation from translation
33900 project.
33901
33902 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33903
33904 * include/fenv.h: Include stdbool.h.
33905 (struct rm_ctx): New structure.
33906 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
33907 Define macro.
33908 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
33909 (SET_RESTORE_ROUNDF): Likewise.
33910 (SET_RESTORE_ROUNDL): Likewise.
33911 (SET_RESTORE_ROUND_NOEX): Likewise.
33912 (SET_RESTORE_ROUND_NOEXF): Likewise.
33913 (SET_RESTORE_ROUND_NOEXL): Likewise.
33914 (SET_RESTORE_ROUND_53BIT): Likewise.
33915 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
33916 (libc_feresetround_noexf_ctx): Likewise.
33917 (libc_feresetround_noexl_ctx): Likewise.
33918 (libc_feholdsetround_53bit_ctx): Likewise.
33919 (libc_feresetround_53bit_ctx): Likewise.
33920 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
33921 (libc_feholdexcept_setround_sse_ctx): New function.
33922 (libc_fesetenv_sse_ctx): Likewise.
33923 (libc_feupdateenv_sse_ctx): Likewise.
33924 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
33925 (libc_feholdexcept_setround_387_ctx): Likewise.
33926 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
33927 (libc_feholdsetround_387_prec_ctx): Likewise.
33928 (libc_feholdsetround_387_ctx): Likewise.
33929 (libc_feholdsetround_387_53bit_ctx): Likewise.
33930 (libc_feholdsetround_sse_ctx): Likewise.
33931 (libc_feresetround_sse_ctx): Likewise.
33932 (libc_feresetround_387_ctx): Likewise.
33933 (libc_feupdateenv_387_ctx): Likewise.
33934 (libc_feholdexcept_setroundf_ctx): Define macro.
33935 (libc_fesetenvf_ctx): Likewise.
33936 (libc_feupdateenvf_ctx): Likewise.
33937 (libc_feholdsetroundf_ctx): Likewise.
33938 (libc_feresetroundf_ctx): Likewise.
33939 (libc_feholdexcept_setround_ctx): Likewise.
33940 (libc_fesetenv_ctx): Likewise.
33941 (libc_feupdateenv_ctx): Likewise.
33942 (libc_feholdsetround_ctx): Likewise.
33943 (libc_feresetround_ctx): Likewise.
33944 (libc_feholdexcept_setroundl_ctx): Likewise.
33945 (libc_feupdateenvl_ctx): Likewise.
33946 (libc_feholdsetroundl_ctx): Likewise.
33947 (libc_feresetroundl_ctx): Likewise.
33948 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
33949 (libc_feresetround_53bit_ctx): Likewise.
33950
33951 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33952
33953 * locale/iso-639.def: Convert to UTF-8.
33954
33955 2013-06-11 Joseph Myers <joseph@codesourcery.com>
33956
33957 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
33958 (EXCEPTION_TESTS_double): Likewise.
33959 (EXCEPTION_TESTS_long_double): Likewise.
33960 (EXCEPTION_TESTS): Likewise.
33961 * math/libm-test.inc (test_exceptions): Only test exceptions if
33962 EXCEPTION_TESTS (FLOAT).
33963
33964 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33965
33966 * benchtests/Makefile (string-bench): Add strcpy_chk and
33967 stpcpy_chk.
33968 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
33969 * benchtests/bench-stpcpy_chk.c: New file.
33970 * benchtests/bench-strcpy_chk-ifunc.c: New file.
33971 * benchtests/bench-strcpy_chk.c: New file.
33972 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
33973 code.
33974 (do_test): Likewise.
33975
33976 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33977
33978 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
33979 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
33980 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
33981 with tabs where appropriate.
33982 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
33983 dl-procinfo.h.
33984 [PPC_PLATFORM_PPC440]: Likewise.
33985 [PPC_PLATFORM_PPC464]: Likewise.
33986 [PPC_PLATFORM_PPC476]: Likewise.
33987 (_dl_string_platform): Add support for detecting ppc405, ppc440,
33988 ppc464, and ppc476 platform strings merging from ports/
33989 dl-procinfo.h.
33990
33991 2013-06-11 Andreas Schwab <schwab@suse.de>
33992
33993 [BZ #14991]
33994 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
33995 (from_ucs4_idx): Regenerate.
33996 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
33997 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
33998 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
33999 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
34000 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
34001 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
34002 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
34003 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
34004 from FROM_LOOP and TO_LOOP specific macros.
34005 (BODY): Handle combining characters.
34006 * iconvdata/BIG5HKSCS.irreversible: Update.
34007 * iconvdata/BIG5HKSCS.precomposed: New file.
34008 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
34009 characters.
34010 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
34011
34012 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34013
34014 * include/sys/time.h: Fix indentation and add copyright header.
34015
34016 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
34017 (do_test): Likewise.
34018 * string/test-memchr.c (do_one_test): Likewise.
34019 (do_test): Likewise.
34020 * string/test-memcmp.c (do_one_test): Likewise.
34021 (do_test): Likewise.
34022 * string/test-memcpy.c (do_one_test): Likewise.
34023 (do_test): Likewise.
34024 * string/test-memmem.c (do_one_test): Likewise.
34025 (do_test): Likewise.
34026 (do_random_tests): Likewise.
34027 * string/test-memmove.c (do_one_test): Likewise.
34028 (do_test): Likewise.
34029 * string/test-memset.c (do_one_test): Likewise.
34030 (do_test): Likewise.
34031 * string/test-rawmemchr.c (do_one_test): Likewise.
34032 (do_test): Likewise.
34033 * string/test-strcasecmp.c (do_one_test): Likewise.
34034 (do_test): Likewise.
34035 * string/test-strcasestr.c (do_one_test): Likewise.
34036 (do_test): Likewise.
34037 * string/test-strcat.c (do_one_test): Likewise.
34038 (do_test): Likewise.
34039 * string/test-strchr.c (do_one_test): Likewise.
34040 (do_test): Likewise.
34041 * string/test-strcmp.c (do_one_test): Likewise.
34042 (do_test): Likewise.
34043 * string/test-strcpy.c (do_one_test): Likewise.
34044 (do_test): Likewise.
34045 * string/test-string.h: Likewise.
34046 (test_init): Likewise.
34047 * string/test-strlen.c (do_one_test): Likewise.
34048 (do_test): Likewise.
34049 * string/test-strncasecmp.c (do_one_test): Likewise.
34050 (do_test): Likewise.
34051 * string/test-strncat.c (do_one_test): Likewise.
34052 (do_test): Likewise.
34053 * string/test-strncmp.c (do_one_test): Likewise.
34054 (do_test_limit): Likewise.
34055 (do_test): Likewise.
34056 * string/test-strncpy.c (do_one_test): Likewise.
34057 (do_test): Likewise.
34058 * string/test-strnlen.c (do_one_test): Likewise.
34059 (do_test): Likewise.
34060 * string/test-strpbrk.c (do_one_test): Likewise.
34061 (do_test): Likewise.
34062 * string/test-strrchr.c (do_one_test): Likewise.
34063 (do_test): Likewise.
34064 * string/test-strspn.c (do_one_test): Likewise.
34065 (do_test): Likewise.
34066 * string/test-strstr.c (do_one_test): Likewise.
34067 (do_test): Likewise.
34068
34069 * benchtests/Makefile (string-bench): Add string benchmarks.
34070 * benchtests/bench-bcopy-ifunc.c: New file.
34071 * benchtests/bench-bcopy.c: New file.
34072 * benchtests/bench-bzero-ifunc.c: New file.
34073 * benchtests/bench-bzero.c: New file.
34074 * benchtests/bench-memccpy-ifunc.c: New file.
34075 * benchtests/bench-memccpy.c: New file.
34076 * benchtests/bench-memchr-ifunc.c: New file.
34077 * benchtests/bench-memchr.c: New file.
34078 * benchtests/bench-memcmp-ifunc.c: New file.
34079 * benchtests/bench-memcmp.c: New file.
34080 * benchtests/bench-memmem-ifunc.c: New file.
34081 * benchtests/bench-memmem.c: New file.
34082 * benchtests/bench-memmove-ifunc.c: New file.
34083 * benchtests/bench-memmove.c: New file.
34084 * benchtests/bench-mempcpy-ifunc.c: New file.
34085 * benchtests/bench-mempcpy.c: New file.
34086 * benchtests/bench-memset-ifunc.c: New file.
34087 * benchtests/bench-memset.c: New file.
34088 * benchtests/bench-rawmemchr-ifunc.c: New file.
34089 * benchtests/bench-rawmemchr.c: New file.
34090 * benchtests/bench-stpcpy-ifunc.c: New file.
34091 * benchtests/bench-stpcpy.c: New file.
34092 * benchtests/bench-stpncpy-ifunc.c: New file.
34093 * benchtests/bench-stpncpy.c: New file.
34094 * benchtests/bench-strcasecmp-ifunc.c: New file.
34095 * benchtests/bench-strcasecmp.c: New file.
34096 * benchtests/bench-strcasestr-ifunc.c: New file.
34097 * benchtests/bench-strcasestr.c: New file.
34098 * benchtests/bench-strcat-ifunc.c: New file.
34099 * benchtests/bench-strcat.c: New file.
34100 * benchtests/bench-strchr-ifunc.c: New file.
34101 * benchtests/bench-strchr.c: New file.
34102 * benchtests/bench-strchrnul-ifunc.c: New file.
34103 * benchtests/bench-strchrnul.c: New file.
34104 * benchtests/bench-strcmp-ifunc.c: New file.
34105 * benchtests/bench-strcmp.c: New file.
34106 * benchtests/bench-strcpy-ifunc.c: New file.
34107 * benchtests/bench-strcpy.c: New file.
34108 * benchtests/bench-strcspn-ifunc.c: New file.
34109 * benchtests/bench-strcspn.c: New file.
34110 * benchtests/bench-strlen-ifunc.c: New file.
34111 * benchtests/bench-strlen.c: New file.
34112 * benchtests/bench-strncasecmp-ifunc.c: New file.
34113 * benchtests/bench-strncasecmp.c: New file.
34114 * benchtests/bench-strncat-ifunc.c: New file.
34115 * benchtests/bench-strncat.c: New file.
34116 * benchtests/bench-strncmp-ifunc.c: New file.
34117 * benchtests/bench-strncmp.c: New file.
34118 * benchtests/bench-strncpy-ifunc.c: New file.
34119 * benchtests/bench-strncpy.c: New file.
34120 * benchtests/bench-strnlen-ifunc.c: New file.
34121 * benchtests/bench-strnlen.c: New file.
34122 * benchtests/bench-strpbrk-ifunc.c: New file.
34123 * benchtests/bench-strpbrk.c: New file.
34124 * benchtests/bench-strrchr-ifunc.c: New file.
34125 * benchtests/bench-strrchr.c: New file.
34126 * benchtests/bench-strspn-ifunc.c: New file.
34127 * benchtests/bench-strspn.c: New file.
34128 * benchtests/bench-strstr-ifunc.c: New file.
34129 * benchtests/bench-strstr.c: New file.
34130
34131 * benchtests/Makefile: Disable parallel execution of targets.
34132 (string-bench): Add memcpy.
34133 (benchset): New variable to store a list of benchmark sets.
34134 (bench-func): Renamed from bench.
34135 (bench-set): New target.
34136 (bench): Depend on bench-func and bench-set.
34137 * benchtests/README: Add section on benchmark sets.
34138 * benchtests/bench-memcpy-ifunc.c: New file.
34139 * benchtests/bench-memcpy.c: New file.
34140 * benchtests/bench-string.h: New file.
34141
34142 2013-06-11 Andreas Schwab <schwab@suse.de>
34143
34144 [BZ #15577]
34145 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
34146 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
34147 values in the triple.
34148 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
34149 terminator in the group key.
34150
34151 2013-06-11 Andreas Jaeger <aj@suse.de>
34152
34153 * po/zh_TW.po: Update Chinese (traditional) translation from
34154 translation project.
34155
34156 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34157
34158 * include/time.h (__clock_gettime): Add libc_hidden_proto.
34159 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
34160 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
34161 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34162 (clock_getcpuclockid): Likewise.
34163 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
34164 Add weak_alias and libc_hidden_def.
34165 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
34166 * rt/clock_gettime.c (clock_gettime): Rename to
34167 __clock_gettime. Add weak_alias and libc_hidden_def.
34168 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
34169 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
34170 __clock_nanosleep. Add weak_alias and libc_hidden_def.
34171 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
34172 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
34173 Likewise.
34174 * rt/clock_settime.c (clock_settime): Rename to
34175 __clock_settime. Add weak_alias and libc_hidden_def.
34176 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
34177
34178 2013-06-10 Joseph Myers <joseph@codesourcery.com>
34179
34180 * mach/err_boot.sub: Remove trailing whitespace.
34181 * mach/err_ipc.sub: Likewise.
34182 * mach/err_mach.sub: Likewise.
34183
34184 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
34185 (ROUNDING_TESTS_double): Likewise.
34186 (ROUNDING_TESTS_long_double): Likewise.
34187 (ROUNDING_TESTS): Likewise.
34188 * math/libm-test.inc: Include <math-tests.h>.
34189 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
34190 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34191 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34192 (IF_ROUND_INIT_FE_UPWARD): Likewise.
34193
34194 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34195
34196 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
34197 of assigning.
34198
34199 2013-06-08 Joseph Myers <joseph@codesourcery.com>
34200
34201 * sysdeps/gnu/errlist.awk: Do not generate space at end of
34202 otherwise empty TRANS lines.
34203 * sysdeps/gnu/errlist.c: Regenerated.
34204
34205 * catgets/gencat.c (error_print): Use (void) in function
34206 definition.
34207 * crypt/crypt_util.c (__init_des): Likewise.
34208 * crypt/speeds.c (Stop): Likewise.
34209 (main): Likewise.
34210 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
34211 * inet/ruserpass.c (token): Likewise.
34212 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
34213 * intl/localealias.c (extend_alias_table): Likewise.
34214 * intl/plural-exp.c (init_germanic_plural): Likewise.
34215 * libio/fcloseall.c (__fcloseall): Likewise.
34216 * libio/genops.c (_IO_flush_all): Likewise.
34217 (_IO_flush_all_linebuffered): Likewise.
34218 (_IO_cleanup): Likewise.
34219 (_IO_iter_begin): Likewise.
34220 (_IO_iter_end): Likewise.
34221 (_IO_list_lock): Likewise.
34222 (_IO_list_unlock): Likewise.
34223 (_IO_list_resetlock): Likewise.
34224 * libio/getchar.c (getchar): Likewise.
34225 * libio/getchar_u.c (getchar_unlocked): Likewise.
34226 * libio/getwchar.c (getwchar): Likewise.
34227 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
34228 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
34229 * login/getpt.c (__getpt): Likewise.
34230 * login/tst-utmp.c (main): Likewise.
34231 * malloc/hooks.c (__malloc_check_init): Likewise.
34232 * malloc/malloc.c (__malloc_stats): Likewise.
34233 * malloc/mtrace.c (tr_break): Likewise.
34234 (mtrace): Likewise.
34235 (muntrace): Likewise.
34236 * misc/fstab.c (endfsent): Likewise.
34237 * misc/getclktck.c (__getclktck): Likewise.
34238 * misc/getdtsz.c (__getdtablesize): Likewise.
34239 * misc/gethostid.c (gethostid): Likewise.
34240 * misc/getpagesize.c (__getpagesize): Likewise.
34241 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
34242 (__get_nprocs): Likewise.
34243 (__get_phys_pages): Likewise.
34244 (__get_avphys_pages): Likewise.
34245 * misc/getttyent.c (getttyent): Likewise.
34246 (setttyent): Likewise.
34247 (endttyent): Likewise.
34248 * misc/getusershell.c (getusershell): Likewise.
34249 (endusershell): Likewise.
34250 (setusershell): Likewise.
34251 (initshells): Likewise.
34252 * misc/hsearch.c (__hdestroy): Likewise.
34253 * misc/sync.c (sync): Likewise.
34254 * misc/syslog.c (closelog_internal): Likewise.
34255 (closelog): Likewise.
34256 * misc/ttyslot.c (ttyslot): Likewise.
34257 * misc/vhangup.c (vhangup): Likewise.
34258 * posix/fork.c (__fork): Likewise.
34259 * posix/getegid.c (__getegid): Likewise.
34260 * posix/geteuid.c (__geteuid): Likewise.
34261 * posix/getgid.c (__getgid): Likewise.
34262 * posix/getpid.c (__getpid): Likewise.
34263 * posix/getppid.c (__getppid): Likewise.
34264 * posix/getuid.c (__getuid): Likewise.
34265 * posix/pause.c (pause): Likewise.
34266 * posix/setpgrp.c (setpgrp): Likewise.
34267 * posix/setsid.c (__setsid): Likewise.
34268 * posix/test-vfork.c (noop): Likewise.
34269 * resolv/gethnamaddr.c (_endhtent): Likewise.
34270 (_gethtent): Likewise.
34271 (ht_endhostent): Likewise.
34272 (gethostent): Likewise.
34273 (dns_service): Likewise.
34274 * stdlib/drand48.c (drand48): Likewise.
34275 * stdlib/lrand48.c (lrand48): Likewise.
34276 * stdlib/mrand48.c (mrand48): Likewise.
34277 * stdlib/rand.c (rand): Likewise.
34278 * stdlib/random.c (__random): Likewise.
34279 * stdlib/setenv.c (clearenv): Likewise.
34280 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
34281 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
34282 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
34283 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
34284 (__get_nprocs): Likewise.
34285 (__get_phys_pages): Likewise.
34286 (__get_avphys_pages): Likewise.
34287 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
34288 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
34289 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
34290 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
34291 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
34292 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
34293 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
34294 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
34295 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
34296 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
34297 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
34298 * sysdeps/mach/hurd/sync.c (sync): Likewise.
34299 * sysdeps/posix/clock.c (clock): Likewise.
34300 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
34301 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
34302 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
34303 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34304 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
34305 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34306 (__get_nprocs_conf): Likewise.
34307 (__get_phys_pages): Likewise.
34308 (__get_avphys_pages): Likewise.
34309 * time/clock.c (clock): Likewise.
34310 * time/tzset.c (__tzname_max): Likewise.
34311
34312 2013-06-07 Joseph Myers <joseph@codesourcery.com>
34313
34314 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
34315 (__bswap_32): Do not use "register".
34316 * crypt/crypt.c (_ufc_doit_r): Likewise.
34317 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34318 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34319 * gmon/gmon.c (__monstartup): Likewise.
34320 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
34321 * hurd/hurdmalloc.c (more_memory): Likewise.
34322 (malloc): Likewise.
34323 (free): Likewise.
34324 (realloc): Likewise.
34325 (malloc_fork_prepare): Likewise.
34326 (malloc_fork_parent): Likewise.
34327 (malloc_fork_child): Likewise.
34328 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
34329 (_svcauth_des): Likewise.
34330 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34331 * inet/inet_net.c (inet_network): Likewise.
34332 * inet/inet_netof.c (inet_netof): Likewise.
34333 * inet/rcmd.c (__validuser2_sa): Likewise.
34334 * io/fts.c (fts_open): Likewise.
34335 (fts_load): Likewise.
34336 (fts_close): Likewise.
34337 (fts_read): Likewise.
34338 (fts_children): Likewise.
34339 (fts_build): Likewise.
34340 (fts_stat): Likewise.
34341 (fts_sort): Likewise.
34342 (fts_alloc): Likewise.
34343 (fts_lfree): Likewise.
34344 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
34345 (_IO_file_xsgetn): Likewise.
34346 (_IO_file_xsgetn_mmap): Likewise.
34347 * libio/iofopncook.c (_IO_cookie_read): Likewise.
34348 (_IO_cookie_write): Likewise.
34349 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
34350 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
34351 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
34352 * malloc/obstack.c (_obstack_begin): Likewise.
34353 (_obstack_begin_1): Likewise.
34354 (_obstack_newchunk): Likewise.
34355 (_obstack_allocated_p): Likewise.
34356 (obstack_free): Likewise.
34357 (_obstack_memory_used): Likewise.
34358 * misc/getttyent.c (getttynam): Likewise.
34359 (getttyent): Likewise.
34360 (skip): Likewise.
34361 (value): Likewise.
34362 * misc/getusershell.c (initshells): Likewise.
34363 * misc/syslog.c (__vsyslog_chk): Likewise.
34364 * misc/ttyslot.c (ttyslot): Likewise.
34365 * nis/nis_hash.c (__nis_hash): Likewise.
34366 * posix/fnmatch_loop.c (FCT): Likewise.
34367 * posix/getconf.c (print_all): Likewise.
34368 (main): Likewise.
34369 * posix/getopt.c (exchange): Likewise.
34370 * posix/glob.c (globfree): Likewise.
34371 (prefix_array): Likewise.
34372 (__glob_pattern_type): Likewise.
34373 * resolv/arpa/nameser.h (NS_GET16): Likewise.
34374 (NS_GET32): Likewise.
34375 (NS_PUT16): Likewise.
34376 (NS_PUT32): Likewise.
34377 * resolv/gethnamaddr.c (getanswer): Likewise.
34378 (gethostbyname2): Likewise.
34379 (gethostbyaddr): Likewise.
34380 (_gethtent): Likewise.
34381 (_gethtbyname2): Likewise.
34382 (_gethtbyaddr): Likewise.
34383 * resolv/ns_print.c (dst_s_get_int16): Likewise.
34384 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
34385 * resolv/res_init.c (__res_vinit): Likewise.
34386 (net_mask): Likewise.
34387 * resolv/res_mkquery.c (outchar): Likewise.
34388 (PRINT): Likewise.
34389 * stdio-common/printf_fp.c (outchar): Likewise.
34390 (PRINT): Likewise.
34391 * stdio-common/printf_fphex.c (outchar): Likewise.
34392 (PRINT): Likewise.
34393 * stdio-common/printf_size.c (outchar): Likewise.
34394 (PRINT): Likewise.
34395 * stdio-common/test_rdwr.c (main): Likewise.
34396 * stdio-common/tfformat.c (matches): Likewise.
34397 * stdio-common/vfprintf.c (outchar): Likewise.
34398 (printf_unknown): Likewise.
34399 (buffered_vfprintf): Likewise.
34400 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34401 * stdio-common/xbug.c (AppendToBuffer): Likewise.
34402 (ReadFile): Likewise.
34403 * stdlib/qsort.c (SWAP): Likewise.
34404 (_quicksort): Likewise.
34405 * stdlib/setenv.c (__add_to_environ): Likewise.
34406 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34407 * stdlib/strtol_l.c (__strtol_l): Likewise.
34408 * stdlib/tst-strtod.c (main): Likewise.
34409 * stdlib/tst-strtol.c (main): Likewise.
34410 * stdlib/tst-strtoll.c (main): Likewise.
34411 * string/bits/string2.h (__strcmp_cc): Likewise.
34412 (__strcmp_cg): Likewise.
34413 (__strcspn_c1): Likewise.
34414 (__strcspn_c2): Likewise.
34415 (__strcspn_c3): Likewise.
34416 (__strspn_c1): Likewise.
34417 (__strspn_c2): Likewise.
34418 (__strspn_c3): Likewise.
34419 (__strsep_1c): Likewise.
34420 (__strsep_2c): Likewise.
34421 (__strsep_3c): Likewise.
34422 * string/memccpy.c (__memccpy): Likewise.
34423 * string/stpcpy.c (__stpcpy): Likewise.
34424 * string/strcmp.c (strcmp): Likewise.
34425 * string/strrchr.c (strrchr): Likewise.
34426 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
34427 Likewise.
34428 * sysdeps/mach/hurd/getcwd.c
34429 (_hurd_canonicalize_directory_name_internal): Likewise.
34430 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
34431 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
34432 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
34433 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
34434 Likewise, in both definitions.
34435 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
34436 definitions.
34437 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
34438 64] (__bswap_64): Likewise.
34439 * time/test_time.c (main): Likewise.
34440 * time/tzfile.c (__tzfile_read): Likewise.
34441 (__tzfile_compute): Likewise.
34442 * time/tzset.c (__tzset_parse_tz): Likewise.
34443 (tzset_internal): Likewise.
34444 (compute_change): Likewise.
34445 * wcsmbs/wcscat.c (__wcscat): Likewise.
34446 * wcsmbs/wcschr.c (wcschr): Likewise.
34447 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
34448 * wcsmbs/wcscspn.c (wcscspn): Likewise.
34449 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
34450 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
34451 * wcsmbs/wcsspn.c (wcsspn): Likewise.
34452 * wcsmbs/wcsstr.c (wcsstr): Likewise.
34453 * wcsmbs/wmemchr.c (wmemchr): Likewise.
34454 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34455 * wcsmbs/wmemset.c (wmemset): Likewise.
34456
34457 2013-06-06 Joseph Myers <joseph@codesourcery.com>
34458
34459 * scripts/config.guess: Update to version 2013-05-16.
34460 * scripts/config.sub: Update to version 2013-04-24.
34461 * scripts/install-sh: Update to version 2011-11-20.07.
34462 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
34463 * scripts/move-if-change: Update to version 2012-01-06 07:23.
34464
34465 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
34466
34467 * debug/fgetws_u_chk.c: Fix leading whitespaces.
34468 * elf/sln.c: Likewise.
34469 * hurd/hurd/ioctl.h: Likewise.
34470 * hurd/hurdmalloc.c: Likewise.
34471 * hurd/xattr.c: Likewise.
34472 * include/shlib-compat.h: Likewise.
34473 * inet/ruserpass.c: Likewise.
34474 * libio/iofgets_u.c: Likewise.
34475 * libio/iofgetws_u.c: Likewise.
34476 * locale/programs/ld-identification.c: Likewise.
34477 * locale/programs/ld-time.c: Likewise.
34478 * mach/msg-destroy.c: Likewise.
34479 * nss/nss_files/files-netgrp.c: Likewise.
34480 * resolv/res_data.c: Likewise.
34481 * soft-fp/op-1.h: Likewise.
34482 * soft-fp/op-2.h: Likewise.
34483 * soft-fp/op-4.h: Likewise.
34484 * soft-fp/op-common.h: Likewise.
34485 * stdio-common/printf_fphex.c: Likewise.
34486 * stdlib/strtod_l.c: Likewise.
34487 * sunrpc/rpc/clnt.h: Likewise.
34488 * sysdeps/generic/framestate.c: Likewise.
34489 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34490 * sysdeps/i386/bsd-setjmp.S: Likewise.
34491 * sysdeps/i386/__longjmp.S: Likewise.
34492 * sysdeps/i386/setjmp.S: Likewise.
34493 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34494 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34495 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34496 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34497 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34498 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34499 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34500 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34501 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34502 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34503 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34504 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34505 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34506 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34507 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34508 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34509 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34510 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
34511 * sysdeps/ieee754/support.c: Likewise.
34512 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34513 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
34514 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
34515 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
34516 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
34517 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
34518 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
34519 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
34520 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
34521 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
34522 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
34523 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
34524 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
34525 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
34526 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
34527 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
34528 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
34530
34531 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
34532
34533 * posix/transbug.c: Remove executable mode.
34534
34535 2013-06-05 Joseph Myers <joseph@codesourcery.com>
34536
34537 * crypt/speeds.c: Remove trailing whitespace.
34538 * dlfcn/default.c: Likewise.
34539 * elf/ifuncdep2.c: Likewise.
34540 * elf/ifuncmain1.c: Likewise.
34541 * elf/ifuncmain1vis.c: Likewise.
34542 * elf/testobj.h: Likewise.
34543 * elf/tst-stackguard1.c: Likewise.
34544 * gmon/sys/gmon.h: Likewise.
34545 * hurd/hurdmsg.c: Likewise.
34546 * hurd/new-fd.c: Likewise.
34547 * hurd/ports-get.c: Likewise.
34548 * iconvdata/ibm1008_420.c: Likewise.
34549 * inet/tst-getni1.c: Likewise.
34550 * inet/tst-getni2.c: Likewise.
34551 * libio/ioungetc.c: Likewise.
34552 * libio/wfiledoalloc.c: Likewise.
34553 * manual/libm-err-tab.pl: Likewise.
34554 * math/w_dremf.c: Likewise.
34555 * misc/ftruncate.c: Likewise.
34556 * posix/bug-glob2.c: Likewise.
34557 * posix/tst-pcre.c: Likewise.
34558 * posix/wait4.c: Likewise.
34559 * resolv/README: Likewise.
34560 * resolv/res_debug.h: Likewise.
34561 * resolv/tst-inet_ntop.c: Likewise.
34562 * setjmp/bug269-setjmp.c: Likewise.
34563 * soft-fp/extended.h: Likewise.
34564 * soft-fp/op-1.h: Likewise.
34565 * soft-fp/op-2.h: Likewise.
34566 * soft-fp/op-4.h: Likewise.
34567 * soft-fp/op-8.h: Likewise.
34568 * soft-fp/testit.c: Likewise.
34569 * stdio-common/bug16.c: Likewise.
34570 * stdlib/random.c: Likewise.
34571 * sunrpc/rpcsvc/rquota.x: Likewise.
34572 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
34573 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34574 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34575 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34576 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34577 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34578 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34579 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34580 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34581 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34582 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34583 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34584 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34585 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34586 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34587 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34588 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34589 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34590 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34591 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34592 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34593 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34594 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
34595 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34596 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34597 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34598 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34599 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34600 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34601 * sysdeps/ieee754/s_lib_version.c: Likewise.
34602 * sysdeps/mach/hurd/check_fds.c: Likewise.
34603 * sysdeps/mach/hurd/getsockname.c: Likewise.
34604 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
34605 * sysdeps/mach/hurd/recvfrom.c: Likewise.
34606 * sysdeps/powerpc/bits/link.h: Likewise.
34607 * sysdeps/powerpc/dl-procinfo.c: Likewise.
34608 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
34609 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
34610 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
34611 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34612 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34613 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
34614 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34615 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
34616 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
34617 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
34618 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
34619 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
34620 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
34621 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
34622 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
34623 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
34624 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
34625 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
34626 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34627 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34628 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
34629 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34630 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
34631 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
34632 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
34633 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
34634 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34635 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34636 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
34637 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
34638 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
34639 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34640 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34641 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
34642 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34643 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
34644 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
34645 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
34646 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
34647 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
34648 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
34649 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
34650 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
34651 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
34652 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
34653 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
34654 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
34655 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
34656 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
34657 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34658 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34659 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34660 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34661 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
34662 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
34663 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
34664 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34665 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
34666 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
34667 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
34668 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
34669 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
34670 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34671 * sysdeps/powerpc/sysdep.h: Likewise.
34672 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34673 * sysdeps/s390/s390-64/sub_n.S: Likewise.
34674 * sysdeps/sh/dl-trampoline.S: Likewise.
34675 * sysdeps/sh/memset.S: Likewise.
34676 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
34677 * sysdeps/sh/strlen.S: Likewise.
34678 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
34679 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
34680 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
34681 * sysdeps/sparc/sparc32/rem.S: Likewise.
34682 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
34683 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
34684 * sysdeps/sparc/sparc32/strchr.S: Likewise.
34685 * sysdeps/sparc/sparc32/udiv.S: Likewise.
34686 * sysdeps/sparc/sparc32/urem.S: Likewise.
34687 * sysdeps/sparc/sparc64/add_n.S: Likewise.
34688 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34689 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
34690 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
34691 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
34692 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
34693 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
34694 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
34695 * sysdeps/unix/bsd/times.c: Likewise.
34696 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
34697 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
34698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
34699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
34700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34701 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
34702 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
34703 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
34704 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
34705 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
34706 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
34707 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34708 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
34709 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34710 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34711 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
34712 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34713 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
34714 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
34715 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
34716 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
34717 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
34718 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34719 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
34720 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
34721 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
34722 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
34723 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34724 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
34725 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
34726 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
34727 * sysdeps/x86_64/strcspn.S: Likewise.
34728
34729 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34730
34731 * locale/C-translit.h: Revert #include <stdint.h> because this is a
34732 generated file. Regenerate properly from gen-translit.pl.
34733 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
34734 locale/C-translit.h.
34735
34736 2013-06-05 Andreas Schwab <schwab@suse.de>
34737
34738 [BZ #15100]
34739 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
34740 week as 6 instead of -1.
34741 * time/tst-strptime.c (day_tests): Add test case.
34742
34743 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34744
34745 * sysdeps/generic/math_private.h
34746 (libc_feholdexcept_setround_53bit): Replace with
34747 libc_feholdsetround_53bit.
34748 (libc_feupdateenv_53bit): Replace with
34749 libc_feresetround_53bit.
34750 (SET_RESTORE_ROUND_53BIT): Adjust.
34751
34752 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34753
34754 * string/test-strchrnul.c: Add copyright header.
34755
34756 * posix/tst-getaddrinfo4.c: Increase test timeout.
34757
34758 2013-06-03 Carlos O'Donell <carlos@redhat.com>
34759
34760 [BZ #15536]
34761 * math/libm-test.inc (MAX_EXP): Remove
34762 (MIN_EXP): Define.
34763 (ulp): Use MIN_EXP - MANT_DIG.
34764 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
34765
34766 2013-05-31 Carlos O'Donell <carlos@redhat.com>
34767
34768 * po/be.po: Revert last change.
34769 * po/zh_CN.po: Likewise.
34770 * po/header.pot: Likewise.
34771
34772 2013-05-31 Joseph Myers <joseph@codesourcery.com>
34773
34774 * Makefile ($(common-objpfx)linkobj/libc.so): Define
34775 link-libc-deps to empty as target-specific variable.
34776 * Makerules (link-libc-args): New variable.
34777 (libc-for-link): Likewise.
34778 (link-libc-deps): Likewise.
34779 (lib%.so): Depend on $(link-libc-deps). Link with
34780 $(link-libc-args).
34781 (build-module): Link with $(link-libc-args).
34782 (build-module-asneeded): Likewise.
34783 (build-module-helper-objlist): Filter out $(link-libc-deps) from
34784 list of objects.
34785 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
34786 target-specific variable.
34787 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
34788 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
34789 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
34790 libc.
34791 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
34792 libc and ld.so.
34793 ($(objpfx)libpcprofile.so): Likewise.
34794 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
34795 libc_nonshared.a.
34796 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
34797 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
34798 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
34799 $(link-libc-deps).
34800 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
34801 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
34802 * login/Makefile ($(objpfx)libutil.so): Likewise.
34803 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
34804 * math/Makefile ($(objpfx)libm.so): Likewise.
34805 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
34806 $(objpfx)libnsl.so): Define libc-for-link as target-specific
34807 variable instead of depending directly on libc.
34808 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
34809 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
34810 $(link-libc-deps).
34811 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
34812 libc.
34813 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
34814 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
34815 ($(objpfx)libanl.so): Likewise.
34816 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
34817 ld.so.
34818 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
34819 $(link-libc-deps).
34820 * sysdeps/i386/fpu/Makefile: Remove file.
34821 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
34822 ($(objpfx)libm.so): Remove dependency on ld.so.
34823
34824 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
34825
34826 [BZ # 15553]
34827 * nis/yp_xdr.c (XDRMAXNAME): Define.
34828 (XDRMAXRECORD): Define.
34829 (xdr_domainname): Use XDRMAXNAME.
34830 (xdr_mapname): Likewise.
34831 (xdr_peername): Likewise.
34832 (xdr_keydat): Use XDRMAXRECORD.
34833 (xdr_valdat): Likewise.
34834
34835 2013-05-30 Jeff Law <law@redhat.com>
34836
34837 [BZ #14256]
34838 * manual/errno.texi (ESTALE): Update to account for more than
34839 just NFS file systems.
34840 * sysdeps/gnu/errlist.c: Regenerated.
34841
34842 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34843
34844 [BZ #15465]
34845 * elf/Makefile (tests): Add tst-null-argv.
34846 (modules-names): Add tst-null-argv-lib.
34847 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
34848 (tst-null-argv-ENV): Set environment for tst-null-argv.
34849 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
34850 (RTLD_PROGNAME): New macro.
34851 * elf/tst-null-argv.c: New test case.
34852 * elf/tst-null-argv-lib.c: Library for test case.
34853 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
34854 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
34855 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
34856 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
34857 * elf/dl-init.c (call_init): Likewise.
34858 (_dl_init): Likewise.
34859 * elf/dl-load.c (print_search_path): Likewise.
34860 (_dl_map_object): Likewise.
34861 * elf/dl-lookup.c (do_lookup_x): Likewise.
34862 (add_dependency): Likewise.
34863 (_dl_lookup_symbol_x): Likewise.
34864 (_dl_debug_bindings): Likewise.
34865 * elf/dl-open.c (_dl_show_scope): Likewise.
34866 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34867 * elf/dl-version.c (match_symbol): Likewise.
34868 (_dl_check_map_versions): Likewise.
34869 * elf/rtld.c (dl_main): Likewise.
34870 (print_unresolved): Use RTLD_PROGNAME.
34871 (print_missing_version): Likewise.
34872 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
34873 (elf_machine_rela): Likewise.
34874 * sysdeps/powerpc/powerpc32/dl-machine.c
34875 (__process_machine_rela): Likewise.
34876 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34877 Likewise.
34878 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34879 Likewise.
34880 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
34881 Likewise.
34882 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34883 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
34884 Likewise.
34885 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
34886 Likewise.
34887 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34888
34889 2013-05-28 Carlos O'Donell <carlos@redhat.com>
34890
34891 * po/be.po: Add descriptive title.
34892 * po/zh_CN.po: Likewise.
34893 * po/header.pot: Likewise.
34894
34895 2013-05-28 Mike Frysinger <vapier@gentoo.org>
34896
34897 * locale/programs/locarchive.c (create_archive): Inlucde fname in
34898 error message.
34899 (enlarge_archive): Likewise.
34900
34901 2013-05-28 Ben North <ben@redfrontdoor.org>
34902
34903 * manual/arith.texi (frexp): It is the magnitude of the return
34904 value which lies in [0.5, 1), not the return value itself.
34905
34906 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34907
34908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34909
34910 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
34911
34912 * stdio-common/bug26.c (main): Correct fscanf template.
34913
34914 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
34915 declare _dl_skip_args.
34916
34917 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
34918 Don't declare.
34919
34920 * manual/platform.texi: Add missing @end deftypefun.
34921
34922 2013-05-24 Joseph Myers <joseph@codesourcery.com>
34923
34924 [BZ #15529]
34925 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
34926 bit of mantissa of 2^16382.
34927 * math/libm-test.inc (hypot_test_data): Add more tests.
34928
34929 * math/libm-test.inc: Add drem and pow10 to list of tested
34930 functions.
34931 (pow10_test): New function.
34932 (drem_test): Likewise.
34933 (drem_test_tonearest): Likewise.
34934 (drem_test_towardzero): Likewise.
34935 (drem_test_downward): Likewise.
34936 (drem_test_upward): Likewise.
34937 (main): Call the new functions.
34938
34939 * math/libm-test.inc (finite_test_data): Remove.
34940 (finite_test): Run tests from isfinite_test_data.
34941 (gamma_test_data): Remove.
34942 (gamma_test): Run tests from lgamma_test_data.
34943 * sysdeps/i386/fpu/libm-test-ulps: Update.
34944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34945
34946 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34947
34948 * manual/platform.texi: Add PowerPC PPR function set documentation.
34949 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
34950 implementation.
34951
34952 2013-05-24 Carlos O'Donell <carlos@redhat.com>
34953
34954 * math/libm-test.inc (MAX_EXP): Define.
34955 (ULPDIFF): Define.
34956 (ulp): New function.
34957 (check_float_internal): Use ULPDIFF.
34958 (cpow_test): Disable failing test.
34959 (check_ulp): Test ulp() implemetnation.
34960 (main): Call check_ulp before starting tests.
34961
34962 2013-05-24 Joseph Myers <joseph@codesourcery.com>
34963
34964 * math/gen-libm-test.pl (generate_testfile): Do not handle
34965 START_DATA and END_DATA.
34966 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
34967 END_DATA.
34968 (acos_tonearest_test_data): Likewise.
34969 (acos_towardzero_test_data): Likewise.
34970 (acos_downward_test_data): Likewise.
34971 (acos_upward_test_data): Likewise.
34972 (acosh_test_data): Likewise.
34973 (asin_test_data): Likewise.
34974 (asin_tonearest_test_data): Likewise.
34975 (asin_towardzero_test_data): Likewise.
34976 (asin_downward_test_data): Likewise.
34977 (asin_upward_test_data): Likewise.
34978 (asinh_test_data): Likewise.
34979 (atan_test_data): Likewise.
34980 (atanh_test_data): Likewise.
34981 (atan2_test_data): Likewise.
34982 (cabs_test_data): Likewise.
34983 (cacos_test_data): Likewise.
34984 (cacosh_test_data): Likewise.
34985 (carg_test_data): Likewise.
34986 (casin_test_data): Likewise.
34987 (casinh_test_data): Likewise.
34988 (catan_test_data): Likewise.
34989 (catanh_test_data): Likewise.
34990 (cbrt_test_data): Likewise.
34991 (ccos_test_data): Likewise.
34992 (ccosh_test_data): Likewise.
34993 (ceil_test_data): Likewise.
34994 (cexp_test_data): Likewise.
34995 (cimag_test_data): Likewise.
34996 (clog_test_data): Likewise.
34997 (clog10_test_data): Likewise.
34998 (conj_test_data): Likewise.
34999 (copysign_test_data): Likewise.
35000 (cos_test_data): Likewise.
35001 (cos_tonearest_test_data): Likewise.
35002 (cos_towardzero_test_data): Likewise.
35003 (cos_downward_test_data): Likewise.
35004 (cos_upward_test_data): Likewise.
35005 (cosh_test_data): Likewise.
35006 (cosh_tonearest_test_data): Likewise.
35007 (cosh_towardzero_test_data): Likewise.
35008 (cosh_downward_test_data): Likewise.
35009 (cosh_upward_test_data): Likewise.
35010 (cpow_test_data): Likewise.
35011 (cproj_test_data): Likewise.
35012 (creal_test_data): Likewise.
35013 (csin_test_data): Likewise.
35014 (csinh_test_data): Likewise.
35015 (csqrt_test_data): Likewise.
35016 (ctan_test_data): Likewise.
35017 (ctan_tonearest_test_data): Likewise.
35018 (ctan_towardzero_test_data): Likewise.
35019 (ctan_downward_test_data): Likewise.
35020 (ctan_upward_test_data): Likewise.
35021 (ctanh_test_data): Likewise.
35022 (ctanh_tonearest_test_data): Likewise.
35023 (ctanh_towardzero_test_data): Likewise.
35024 (ctanh_downward_test_data): Likewise.
35025 (ctanh_upward_test_data): Likewise.
35026 (erf_test_data): Likewise.
35027 (erfc_test_data): Likewise.
35028 (exp_test_data): Likewise.
35029 (exp_tonearest_test_data): Likewise.
35030 (exp_towardzero_test_data): Likewise.
35031 (exp_downward_test_data): Likewise.
35032 (exp_upward_test_data): Likewise.
35033 (exp10_test_data): Likewise.
35034 (exp2_test_data): Likewise.
35035 (expm1_test_data): Likewise.
35036 (fabs_test_data): Likewise.
35037 (fdim_test_data): Likewise.
35038 (finite_test_data): Likewise.
35039 (floor_test_data): Likewise.
35040 (fma_test_data): Likewise.
35041 (fma_towardzero_test_data): Likewise.
35042 (fma_downward_test_data): Likewise.
35043 (fma_upward_test_data): Likewise.
35044 (fmax_test_data): Likewise.
35045 (fmin_test_data): Likewise.
35046 (fmod_test_data): Likewise.
35047 (fpclassify_test_data): Likewise.
35048 (frexp_test_data): Likewise.
35049 (gamma_test_data): Likewise.
35050 (hypot_test_data): Likewise.
35051 (ilogb_test_data): Likewise.
35052 (isfinite_test_data): Likewise.
35053 (isgreater_test_data): Likewise.
35054 (isgreaterequal_test_data): Likewise.
35055 (isinf_test_data): Likewise.
35056 (isless_test_data): Likewise.
35057 (islessequal_test_data): Likewise.
35058 (islessgreater_test_data): Likewise.
35059 (isnan_test_data): Likewise.
35060 (isnormal_test_data): Likewise.
35061 (issignaling_test_data): Likewise.
35062 (isunordered_test_data): Likewise.
35063 (j0_test_data): Likewise.
35064 (j1_test_data): Likewise.
35065 (jn_test_data): Likewise.
35066 (ldexp_test_data): Likewise.
35067 (lgamma_test_data): Likewise.
35068 (lrint_test_data): Likewise.
35069 (lrint_tonearest_test_data): Likewise.
35070 (lrint_towardzero_test_data): Likewise.
35071 (lrint_downward_test_data): Likewise.
35072 (lrint_upward_test_data): Likewise.
35073 (llrint_test_data): Likewise.
35074 (llrint_tonearest_test_data): Likewise.
35075 (llrint_towardzero_test_data): Likewise.
35076 (llrint_downward_test_data): Likewise.
35077 (llrint_upward_test_data): Likewise.
35078 (log_test_data): Likewise.
35079 (log10_test_data): Likewise.
35080 (log1p_test_data): Likewise.
35081 (log2_test_data): Likewise.
35082 (logb_test_data): Likewise.
35083 (logb_downward_test_data): Likewise.
35084 (lround_test_data): Likewise.
35085 (llround_test_data): Likewise.
35086 (modf_test_data): Likewise.
35087 (nearbyint_test_data): Likewise.
35088 (nextafter_test_data): Likewise.
35089 (nexttoward_test_data): Likewise.
35090 (pow_test_data): Likewise.
35091 (pow_tonearest_test_data): Likewise.
35092 (pow_towardzero_test_data): Likewise.
35093 (pow_downward_test_data): Likewise.
35094 (pow_upward_test_data): Likewise.
35095 (remainder_test_data): Likewise.
35096 (remainder_tonearest_test_data): Likewise.
35097 (remainder_towardzero_test_data): Likewise.
35098 (remainder_downward_test_data): Likewise.
35099 (remainder_upward_test_data): Likewise.
35100 (remquo_test_data): Likewise.
35101 (rint_test_data): Likewise.
35102 (rint_tonearest_test_data): Likewise.
35103 (rint_towardzero_test_data): Likewise.
35104 (rint_downward_test_data): Likewise.
35105 (rint_upward_test_data): Likewise.
35106 (round_test_data): Likewise.
35107 (scalb_test_data): Likewise.
35108 (scalbn_test_data): Likewise.
35109 (scalbln_test_data): Likewise.
35110 (signbit_test_data): Likewise.
35111 (sin_test_data): Likewise.
35112 (sin_tonearest_test_data): Likewise.
35113 (sin_towardzero_test_data): Likewise.
35114 (sin_downward_test_data): Likewise.
35115 (sin_upward_test_data): Likewise.
35116 (sincos_test_data): Likewise.
35117 (sinh_test_data): Likewise.
35118 (sinh_tonearest_test_data): Likewise.
35119 (sinh_towardzero_test_data): Likewise.
35120 (sinh_downward_test_data): Likewise.
35121 (sinh_upward_test_data): Likewise.
35122 (sqrt_test_data): Likewise.
35123 (tan_test_data): Likewise.
35124 (tan_tonearest_test_data): Likewise.
35125 (tan_towardzero_test_data): Likewise.
35126 (tan_downward_test_data): Likewise.
35127 (tan_upward_test_data): Likewise.
35128 (tanh_test_data): Likewise.
35129 (tgamma_test_data): Likewise.
35130 (trunc_test_data): Likewise.
35131 (y0_test_data): Likewise.
35132 (y1_test_data): Likewise.
35133 (yn_test_data): Likewise.
35134 (significand_test_data): Likewise.
35135
35136 * math/gen-libm-test.pl (@functions): Remove variable.
35137 (generate_testfile): Don't handle START and END lines.
35138 * math/libm-test.inc (START): New macro.
35139 (END): Likewise.
35140 (END_COMPLEX): Likewise.
35141 (acos_test): Use END macro without arguments.
35142 (acos_test_tonearest): Likewise.
35143 (acos_test_towardzero): Likewise.
35144 (acos_test_downward): Likewise.
35145 (acos_test_upward): Likewise.
35146 (acosh_test): Likewise.
35147 (asin_test): Likewise.
35148 (asin_test_tonearest): Likewise.
35149 (asin_test_towardzero): Likewise.
35150 (asin_test_downward): Likewise.
35151 (asin_test_upward): Likewise.
35152 (asinh_test): Likewise.
35153 (atan_test): Likewise.
35154 (atanh_test): Likewise.
35155 (atan2_test): Likewise.
35156 (cabs_test): Likewise.
35157 (cacos_test): Use END_COMPLEX macro without arguments.
35158 (cacosh_test): Likewise.
35159 (carg_test): Use END macro without arguments.
35160 (casin_test): Use END_COMPLEX macro without arguments.
35161 (casinh_test): Likewise.
35162 (catan_test): Likewise.
35163 (catanh_test): Likewise.
35164 (cbrt_test): Use END macro without arguments.
35165 (ccos_test): Use END_COMPLEX macro without arguments.
35166 (ccosh_test): Likewise.
35167 (ceil_test): Use END macro without arguments.
35168 (cexp_test): Use END_COMPLEX macro without arguments.
35169 (cimag_test): Use END macro without arguments.
35170 (clog_test): Use END_COMPLEX macro without arguments.
35171 (clog10_test): Likewise.
35172 (conj_test): Likewise.
35173 (copysign_test): Use END macro without arguments.
35174 (cos_test): Likewise.
35175 (cos_test_tonearest): Likewise.
35176 (cos_test_towardzero): Likewise.
35177 (cos_test_downward): Likewise.
35178 (cos_test_upward): Likewise.
35179 (cosh_test): Likewise.
35180 (cosh_test_tonearest): Likewise.
35181 (cosh_test_towardzero): Likewise.
35182 (cosh_test_downward): Likewise.
35183 (cosh_test_upward): Likewise.
35184 (cpow_test): Use END_COMPLEX macro without arguments.
35185 (cproj_test): Likewise.
35186 (creal_test): Use END macro without arguments.
35187 (csin_test): Use END_COMPLEX macro without arguments.
35188 (csinh_test): Likewise.
35189 (csqrt_test): Likewise.
35190 (ctan_test): Likewise.
35191 (ctan_test_tonearest): Likewise.
35192 (ctan_test_towardzero): Likewise.
35193 (ctan_test_downward): Likewise.
35194 (ctan_test_upward): Likewise.
35195 (ctanh_test): Likewise.
35196 (ctanh_test_tonearest): Likewise.
35197 (ctanh_test_towardzero): Likewise.
35198 (ctanh_test_downward): Likewise.
35199 (ctanh_test_upward): Likewise.
35200 (erf_test): Use END macro without arguments.
35201 (erfc_test): Likewise.
35202 (exp_test): Likewise.
35203 (exp_test_tonearest): Likewise.
35204 (exp_test_towardzero): Likewise.
35205 (exp_test_downward): Likewise.
35206 (exp_test_upward): Likewise.
35207 (exp10_test): Likewise.
35208 (exp2_test): Likewise.
35209 (expm1_test): Likewise.
35210 (fabs_test): Likewise.
35211 (fdim_test): Likewise.
35212 (finite_test): Likewise.
35213 (floor_test): Likewise.
35214 (fma_test): Likewise.
35215 (fma_test_towardzero): Likewise.
35216 (fma_test_downward): Likewise.
35217 (fma_test_upward): Likewise.
35218 (fmax_test): Likewise.
35219 (fmin_test): Likewise.
35220 (fmod_test): Likewise.
35221 (fpclassify_test): Likewise.
35222 (frexp_test): Likewise.
35223 (gamma_test): Likewise.
35224 (hypot_test): Likewise.
35225 (ilogb_test): Likewise.
35226 (isfinite_test): Likewise.
35227 (isgreater_test): Likewise.
35228 (isgreaterequal_test): Likewise.
35229 (isinf_test): Likewise.
35230 (isless_test): Likewise.
35231 (islessequal_test): Likewise.
35232 (islessgreater_test): Likewise.
35233 (isnan_test): Likewise.
35234 (isnormal_test): Likewise.
35235 (issignaling_test): Likewise.
35236 (isunordered_test): Likewise.
35237 (j0_test): Likewise.
35238 (j1_test): Likewise.
35239 (jn_test): Likewise.
35240 (ldexp_test): Likewise.
35241 (lgamma_test): Likewise.
35242 (lrint_test): Likewise.
35243 (lrint_test_tonearest): Likewise.
35244 (lrint_test_towardzero): Likewise.
35245 (lrint_test_downward): Likewise.
35246 (lrint_test_upward): Likewise.
35247 (llrint_test): Likewise.
35248 (llrint_test_tonearest): Likewise.
35249 (llrint_test_towardzero): Likewise.
35250 (llrint_test_downward): Likewise.
35251 (llrint_test_upward): Likewise.
35252 (log_test): Likewise.
35253 (log10_test): Likewise.
35254 (log1p_test): Likewise.
35255 (log2_test): Likewise.
35256 (logb_test): Likewise.
35257 (logb_test_downward): Likewise.
35258 (lround_test): Likewise.
35259 (llround_test): Likewise.
35260 (modf_test): Likewise.
35261 (nearbyint_test): Likewise.
35262 (nextafter_test): Likewise.
35263 (nexttoward_test): Likewise.
35264 (pow_test): Likewise.
35265 (pow_test_tonearest): Likewise.
35266 (pow_test_towardzero): Likewise.
35267 (pow_test_downward): Likewise.
35268 (pow_test_upward): Likewise.
35269 (remainder_test): Likewise.
35270 (remainder_test_tonearest): Likewise.
35271 (remainder_test_towardzero): Likewise.
35272 (remainder_test_downward): Likewise.
35273 (remainder_test_upward): Likewise.
35274 (remquo_test): Likewise.
35275 (rint_test): Likewise.
35276 (rint_test_tonearest): Likewise.
35277 (rint_test_towardzero): Likewise.
35278 (rint_test_downward): Likewise.
35279 (rint_test_upward): Likewise.
35280 (round_test): Likewise.
35281 (scalb_test): Likewise.
35282 (scalbn_test): Likewise.
35283 (scalbln_test): Likewise.
35284 (signbit_test): Likewise.
35285 (sin_test): Likewise.
35286 (sin_test_tonearest): Likewise.
35287 (sin_test_towardzero): Likewise.
35288 (sin_test_downward): Likewise.
35289 (sin_test_upward): Likewise.
35290 (sincos_test): Likewise.
35291 (sinh_test): Likewise.
35292 (sinh_test_tonearest): Likewise.
35293 (sinh_test_towardzero): Likewise.
35294 (sinh_test_downward): Likewise.
35295 (sinh_test_upward): Likewise.
35296 (sqrt_test): Likewise.
35297 (tan_test): Likewise.
35298 (tan_test_tonearest): Likewise.
35299 (tan_test_towardzero): Likewise.
35300 (tan_test_downward): Likewise.
35301 (tan_test_upward): Likewise.
35302 (tanh_test): Likewise.
35303 (tgamma_test): Likewise.
35304 (trunc_test): Likewise.
35305 (y0_test): Likewise.
35306 (y1_test): Likewise.
35307 (yn_test): Likewise.
35308 (significand_test): Likewise.
35309
35310 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
35311
35312 [BZ #15381]
35313 * libio/genops.c (_IO_no_init): Initialize wide struct info.
35314
35315 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
35316
35317 [BZ #14894]
35318 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
35319 __ppc_mdoio and __ppc_mdoom.
35320 * manual/platform.texi: Document new functions __ppc_yield,
35321 __ppc_mdoio and __ppc_mdoom.
35322
35323 2013-05-22 Carlos O'Donell <carlos@redhat.com>
35324
35325 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
35326 (main): Mention "tls" pseudo-hwcap is legacy.
35327 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
35328
35329 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35330
35331 * math/gen-libm-test.pl (parse_args): Output only string of
35332 arguments as text for test name, not full call or descriptions of
35333 tests for extra outputs.
35334 (generate_testfile): Do not pass function name to parse_args.
35335 Generate this_func variable from START.
35336 * math/libm-test.inc (struct test_f_f_data): Rename test_name
35337 field to arg_str.
35338 (struct test_ff_f_data): Likewise.
35339 (test_ff_f_data_nexttoward): Likewise.
35340 (struct test_fi_f_data): Likewise.
35341 (struct test_fl_f_data): Likewise.
35342 (struct test_if_f_data): Likewise.
35343 (struct test_fff_f_data): Likewise.
35344 (struct test_c_f_data): Likewise.
35345 (struct test_f_f1_data): Likewise. Remove field extra_name.
35346 (struct test_fF_f1_data): Likewise.
35347 (struct test_ffI_f1_data): Likewise.
35348 (struct test_c_c_data): Rename test_name field to arg_str.
35349 (struct test_cc_c_data): Likewise.
35350 (struct test_f_i_data): Likewise.
35351 (struct test_ff_i_data): Likewise.
35352 (struct test_f_l_data): Likewise.
35353 (struct test_f_L_data): Likewise.
35354 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
35355 and extra2_name.
35356 (COMMON_TEST_SETUP): New macro.
35357 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
35358 (COMMON_TEST_CLEANUP): Likewise.
35359 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
35360 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
35361 macros.
35362 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
35363 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
35364 macros.
35365 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
35366 (RUN_TEST_fff_f): Take argument string. Call new setup and
35367 cleanup macros.
35368 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
35369 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
35370 macros.
35371 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
35372 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
35373 macros.
35374 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35375 (RUN_TEST_fF_f1): Take argument string. Call new setup and
35376 cleanup macros.
35377 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35378 (RUN_TEST_fI_f1): Take argument string. Call new setup and
35379 cleanup macros.
35380 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35381 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
35382 cleanup macros.
35383 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35384 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
35385 macros.
35386 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
35387 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
35388 macros.
35389 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
35390 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
35391 macros.
35392 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
35393 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
35394 cleanup macros.
35395 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
35396 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
35397 cleanup macros.
35398 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
35399 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
35400 macros.
35401 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
35402 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
35403 cleanup macros.
35404 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
35405 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
35406 macros.
35407 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
35408 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
35409 macros.
35410 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
35411 (RUN_TEST_fFF_11): Take argument string. Call new setup and
35412 cleanup macros.
35413 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
35414
35415 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
35416
35417 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
35418 to _sifields.sigfault.
35419 (si_addr_lsb): Define new macro.
35420 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35421 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35422 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
35423
35424 2013-05-03 Carlos O'Donell <carlos at redhat.com>
35425
35426 [BZ #15441]
35427 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
35428 returns -1.
35429 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
35430 null return -1.
35431 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
35432 loading the domain.
35433
35434 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35435
35436 * math/gen-libm-test.pl (parse_args): Do not include expected
35437 result in test name.
35438 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
35439 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35440 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35441 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35442 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35444
35445 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35446
35447 * benchtests/Makefile: Sort function entries.
35448
35449 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
35450 tanh, asinh, acosh, atanh.
35451 * benchtests/acos-inputs: New file.
35452 * benchtests/acosh-inputs: New file.
35453 * benchtests/asin-inputs: New file.
35454 * benchtests/asinh-inputs: New file.
35455 * benchtests/atanh-inputs: New file.
35456 * benchtests/cosh-inputs: New file.
35457 * benchtests/log-inputs: New file.
35458 * benchtests/sinh-inputs: New file.
35459 * benchtests/tanh-inputs: New file.
35460
35461 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
35462
35463 [BZ #15339]
35464 * posix/tst-getaddrinfo4.c: New test.
35465 * posix/Makefile (tests): Add it.
35466
35467 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35468
35469 [BZ #15339]
35470 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
35471 when no services were used.
35472 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
35473 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
35474
35475 2013-05-21 Andreas Schwab <schwab@suse.de>
35476
35477 [BZ #15014]
35478 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
35479 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
35480 successful.
35481 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
35482 redundant variable declarations and reallocation of buffer when
35483 parsing as IPv6 address. Always set NSS status when called from
35484 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
35485 buffer too small. Correct computation of needed size.
35486 * nss/Makefile (tests): Add test-digits-dots.
35487 * nss/test-digits-dots.c: New test.
35488
35489 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35490
35491 * benchtests/Makefile: Remove instructions for adding
35492 benchmark tests.
35493 * benchtests/README: New file to explain how to execute and
35494 enhance the benchmark tests.
35495
35496 2013-05-21 Andreas Schwab <schwab@suse.de>
35497
35498 [BZ #15493]
35499 * setjmp/Makefile (tests): Add tst-sigsetjmp.
35500 * setjmp/tst-sigsetjmp.c: New test.
35501
35502 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35503
35504 * sysdeps/x86_64/memset.S (memset): New implementation.
35505 (__bzero): Likewise.
35506 (__memset_tail): New function.
35507
35508 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35509
35510 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
35511 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
35512 __memcpy_sse2_unaligned ifunc selection.
35513 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35514 Add memcpy-sse2-unaligned.S.
35515 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35516 Add: __memcpy_sse2_unaligned.
35517
35518 2013-05-19 Joseph Myers <joseph@codesourcery.com>
35519
35520 [BZ #15490]
35521 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35522 math_force_eval before restoring floating-point envrionment.
35523 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
35524 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35525 Likewise.
35526 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
35527 <math_private.h>.
35528 (__nearbyintl): Use math_force_eval before restoring
35529 floating-point environment.
35530 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
35531
35532 * math/gen-libm-test.pl (special_functions): Remove.
35533 (parse_args): Don't handle TEST_extra. Handle functions with no
35534 return value.
35535 * math/libm-test.inc (struct test_sincos_data): Replace with
35536 struct test_fFF_11_data.
35537 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
35538 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
35539 (sincos_test_data): Change element type to struct
35540 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
35541 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
35542 RUN_TEST_LOOP_sincos.
35543 * math/README.libm-test: Don't mention special handling of
35544 individual functions.
35545 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
35546 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35547 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35548 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35549 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35551
35552 * math/gen-libm-test.pl (get_variable): Remove function.
35553 (parse_args): Don't show pointer parameters to call in test
35554 names. Use "extra output N" in test names for extra outputs
35555 rather than naming variables.
35556
35557 2013-05-18 Joseph Myers <joseph@codesourcery.com>
35558
35559 [BZ #15488]
35560 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
35561 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
35562 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
35563 double tests.
35564 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
35565 disable.
35566 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
35567 check_long_double.
35568
35569 * math/gen-libm-test.pl (@tests): Remove variable.
35570 ($count): Likewise.
35571 (new_test): Remove function.
35572 (show_exceptions): New function.
35573 (special_functions): Use show_exceptions instead of new_test.
35574 (parse_args): Likewise.
35575 (generate_testfile): Pass only function name in generated call to
35576 print_max_error or print_complex_max_error.
35577 (get_ulps): Do not handle complex tests specially.
35578 (output_test): Rename to ...
35579 (get_all_ulps_for_test): ... this. Return a string rather than
35580 printing to a file. Require ulps to be present.
35581 (output_ulps): Generate arrays rather than #defines.
35582 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
35583 (struct ulp_data): New type.
35584 (BUILD_COMPLEX_ULP): Remove macro.
35585 (compare_ulp_data): New function.
35586 (find_ulps): Likewise.
35587 (find_test_ulps): Likewise.
35588 (find_function_ulps): Likewise.
35589 (find_complex_function_ulps): Likewise.
35590 (print_max_error): Determine allowed ulps using
35591 find_function_ulps.
35592 (print_complex_max_error): Determine allowed ulps using
35593 find_complex_function_ulps.
35594 (check_float_internal): Determine max ulps using find_test_ulps.
35595 (check_float): Do not take max_ulp parameter. Update call to
35596 check_float_internal.
35597 (check_complex): Likewise.
35598 (check_int): Do not take max_ulp parameter.
35599 (check_long): Likewise.
35600 (check_bool): Likewise.
35601 (check_longlong): Likewise.
35602 (struct test_f_f_data): Remove max_ulp field.
35603 (struct test_ff_f_data): Likewise.
35604 (struct test_ff_f_data_nexttoward): Likewise.
35605 (struct test_fi_f_data): Likewise.
35606 (struct test_fl_f_data): Likewise.
35607 (struct test_if_f_data): Likewise.
35608 (struct test_fff_f_data): Likewise.
35609 (struct test_c_f_data): Likewise.
35610 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
35611 (struct test_fF_f1_data): Likewise.
35612 (struct test_ffI_f1_data): Likewise.
35613 (struct test_c_c_data): Remove max_ulp field.
35614 (struct test_cc_c_data): Likewise.
35615 (struct test_f_i_data): Likewise.
35616 (struct test_ff_i_data): Likewise.
35617 (struct test_f_l_data): Likewise.
35618 (struct test_f_L_data): Likewise.
35619 (struct test_sincos_data): Likewise.
35620 (RUN_TEST_f_f): Do not handle ulps.
35621 (RUN_TEST_LOOP_f_f): Likewise.
35622 (RUN_TEST_2_f): Likewise.
35623 (RUN_TEST_LOOP_2_f): Likewise.
35624 (RUN_TEST_fff_f): Likewise.
35625 (RUN_TEST_LOOP_fff_f): Likewise.
35626 (RUN_TEST_c_f): Likewise.
35627 (RUN_TEST_LOOP_c_f): Likewise.
35628 (RUN_TEST_f_f1): Likewise.
35629 (RUN_TEST_LOOP_f_f1): Likewise.
35630 (RUN_TEST_fF_f1): Likewise.
35631 (RUN_TEST_LOOP_fF_f1): Likewise.
35632 (RUN_TEST_fI_f1): Likewise.
35633 (RUN_TEST_LOOP_fI_f1): Likewise.
35634 (RUN_TEST_ffI_f1): Likewise.
35635 (RUN_TEST_LOOP_ffI_f1): Likewise.
35636 (RUN_TEST_c_c): Likewise.
35637 (RUN_TEST_LOOP_c_c): Likewise.
35638 (RUN_TEST_cc_c): Likewise.
35639 (RUN_TEST_LOOP_cc_c): Likewise.
35640 (RUN_TEST_f_i): Likewise.
35641 (RUN_TEST_LOOP_f_i): Likewise.
35642 (RUN_TEST_f_i_tg): Likewise.
35643 (RUN_TEST_LOOP_f_i_tg): Likewise.
35644 (RUN_TEST_ff_i_tg): Likewise.
35645 (RUN_TEST_LOOP_ff_i_tg): Likewise.
35646 (RUN_TEST_f_b): Likewise.
35647 (RUN_TEST_LOOP_f_b): Likewise.
35648 (RUN_TEST_f_b_tg): Likewise.
35649 (RUN_TEST_LOOP_f_b_tg): Likewise.
35650 (RUN_TEST_f_l): Likewise.
35651 (RUN_TEST_LOOP_f_l): Likewise.
35652 (RUN_TEST_f_L): Likewise.
35653 (RUN_TEST_LOOP_f_L): Likewise.
35654 (RUN_TEST_sincos): Likewise.
35655 (RUN_TEST_LOOP_sincos): Likewise.
35656
35657 2013-05-17 Joseph Myers <joseph@codesourcery.com>
35658
35659 [BZ #15480]
35660 [BZ #15485]
35661 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
35662 main case of finite arguments, set rounding mode to FE_TONEAREST
35663 and discard exceptions.
35664 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
35665 exceptions.
35666 (remainder_tonearest_test_data): New variable.
35667 (remainder_test_tonearest): New function.
35668 (remainder_towardzero_test_data): New variable.
35669 (remainder_test_towardzero): New function.
35670 (remainder_downward_test_data): New variable.
35671 (remainder_test_downward): New function.
35672 (remainder_upward_test_data): New variable.
35673 (remainder_test_upward): New function.
35674 (main): Call the new test functions.
35675
35676 * math/libm-test.inc (struct test_f_f1_data): Remove field
35677 extra_init.
35678 (struct test_fF_f1_data): Likewise.
35679 (struct test_ffI_f1_data): Likewise.
35680 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
35681 based on value of EXTRA_EXPECTED.
35682 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35683 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
35684 EXTRA_VAR based on value of EXTRA_EXPECTED.
35685 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35686 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
35687 EXTRA_VAR based on value of EXTRA_EXPECTED.
35688 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35689 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
35690 EXTRA_VAR based on value of EXTRA_EXPECTED.
35691 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35692 * math/gen-libm-test.pl (parse_args): Don't output initializers
35693 for extra output values.
35694
35695 * math/libm-test.inc (check_int): Expect result to be exactly
35696 equal to expected value and do not handle ulps.
35697 (check_long): Likewise.
35698 (check_longlong): Likewise.
35699
35700 * math/libm-test.inc (ceil_test_data): Test for "inexact"
35701 exceptions.
35702 (cimag_test_data): Likewise.
35703 (conj_test_data): Likewise.
35704 (copysign_test_data): Likewise.
35705 (cproj_test_data): Likewise.
35706 (creal_test_data): Likewise.
35707 (fabs_test_data): Likewise.
35708 (fdim_test_data): Likewise.
35709 (finite_test_data): Likewise.
35710 (floor_test_data): Likewise.
35711 (fmax_test_data): Likewise.
35712 (fmin_test_data): Likewise.
35713 (fmod_test_data): Likewise.
35714 (fpclassify_test_data): Likewise.
35715 (frexp_test_data): Likewise.
35716 (ilogb_test_data): Likewise.
35717 (isfinite_test_data): Likewise.
35718 (isgreater_test_data): Likewise.
35719 (isgreaterequal_test_data): Likewise.
35720 (isinf_test_data): Likewise.
35721 (isless_test_data): Likewise.
35722 (islessequal_test_data): Likewise.
35723 (islessgreater_test_data): Likewise.
35724 (isnan_test_data): Likewise.
35725 (isnormal_test_data): Likewise.
35726 (issignaling_test_data): Likewise.
35727 (isunordered_test_data): Likewise.
35728 (ldexp_test_data): Likewise.
35729 (lrint_test_data): Likewise.
35730 (lrint_test_data) [TEST_FLOAT]: Disable one test.
35731 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
35732 (lrint_tonearest_test_data): Test for "inexact" exceptions.
35733 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35734 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
35735 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35736 test input.
35737 (lrint_towardzero_test_data): Test for "inexact" exceptions.
35738 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35739 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
35740 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
35741 that test input.
35742 (lrint_downward_test_data): Test for "inexact" exceptions.
35743 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35744 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
35745 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35746 test input.
35747 (lrint_upward_test_data): Test for "inexact" exceptions.
35748 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
35749 test input.
35750 (llrint_test_data): Test for "inexact" exceptions.
35751 (llrint_test_data) [TEST_FLOAT]: Disable one test.
35752 (llrint_tonearest_test_data): Test for "inexact" exceptions.
35753 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35754 (llrint_towardzero_test_data): Test for "inexact" exceptions.
35755 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35756 (llrint_downward_test_data): Test for "inexact" exceptions.
35757 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35758 (llrint_upward_test_data): Test for "inexact" exceptions.
35759 (logb_test_data): Likewise.
35760 (logb_downward_test_data): Likewise.
35761 (nextafter_test_data): Likewise.
35762 (nexttoward_test_data): Likewise.
35763 (remainder_test_data): Likewise.
35764 (remquo_test_data): Likewise.
35765 (scalbn_test_data): Likewise.
35766 (scalbln_test_data): Likewise.
35767 (signbit_test_data): Likewise.
35768 (sqrt_test_data): Likewise.
35769 (significand_test_data): Likewise.
35770
35771 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35772
35773 [BZ #15424]
35774 * benchtests/bench-modf.c (struct args): Mark arg0 as
35775 volatile.
35776 * scripts/bench.pl: Mark members of struct args as volatile.
35777
35778 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35779
35780 [BZ # 15497]
35781 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
35782 negative infinity on POWER6 or lower.
35783 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
35784
35785 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
35786
35787 [BZ #15442]
35788 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
35789 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
35790 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
35791 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
35792 (_FP_SETQNAN): New macro.
35793 (_FP_SETQNAN_SEMIRAW): Likewise.
35794 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
35795 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
35796 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
35797 (FP_EXTEND): Use _FP_FRAC_SNANP.
35798 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
35799 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
35800 into account.
35801 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35802 New macro.
35803 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35804 Likewise.
35805
35806 2013-05-16 Joseph Myers <joseph@codesourcery.com>
35807
35808 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
35809 with DIVIDE_BY_ZERO_EXCEPTION.
35810 (gamma_test_data): Likewise.
35811 (lgamma_test_data): Likewise.
35812 (log_test_data): Likewise.
35813 (log10_test_data): Likewise.
35814 (log2_test_data): Likewise.
35815 (tgamma_test_data): Likewise.
35816
35817 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
35818 (acos_test_tonearest): Likewise.
35819 (acos_test_towardzero): Likewise.
35820 (acos_test_downward): Likewise.
35821 (acos_test_upward): Likewise.
35822 (acosh_test): Likewise.
35823 (asin_test): Likewise.
35824 (asin_test_tonearest): Likewise.
35825 (asin_test_towardzero): Likewise.
35826 (asin_test_downward): Likewise.
35827 (asin_test_upward): Likewise.
35828 (asinh_test): Likewise.
35829 (atan_test): Likewise.
35830 (atanh_test): Likewise.
35831 (atan2_test): Likewise.
35832 (cabs_test): Likewise.
35833 (cacos_test): Likewise.
35834 (cacosh_test): Likewise.
35835 (casin_test): Likewise.
35836 (casinh_test): Likewise.
35837 (catan_test): Likewise.
35838 (catanh_test): Likewise.
35839 (cbrt_test): Likewise.
35840 (ccos_test): Likewise.
35841 (ccosh_test): Likewise.
35842 (cexp_test): Likewise.
35843 (clog_test): Likewise.
35844 (clog10_test): Likewise.
35845 (cos_test): Likewise.
35846 (cos_test_tonearest): Likewise.
35847 (cos_test_towardzero): Likewise.
35848 (cos_test_downward): Likewise.
35849 (cos_test_upward): Likewise.
35850 (cosh_test): Likewise.
35851 (cosh_test_tonearest): Likewise.
35852 (cosh_test_towardzero): Likewise.
35853 (cosh_test_downward): Likewise.
35854 (cosh_test_upward): Likewise.
35855 (cpow_test): Likewise.
35856 (csin_test): Likewise.
35857 (csinh_test): Likewise.
35858 (csqrt_test): Likewise.
35859 (ctan_test): Likewise.
35860 (ctan_test_tonearest): Likewise.
35861 (ctan_test_towardzero): Likewise.
35862 (ctan_test_downward): Likewise.
35863 (ctan_test_upward): Likewise.
35864 (ctanh_test): Likewise.
35865 (ctanh_test_tonearest): Likewise.
35866 (ctanh_test_towardzero): Likewise.
35867 (ctanh_test_downward): Likewise.
35868 (ctanh_test_upward): Likewise.
35869 (erf_test): Likewise.
35870 (erfc_test): Likewise.
35871 (exp_test): Likewise.
35872 (exp_test_tonearest): Likewise.
35873 (exp_test_towardzero): Likewise.
35874 (exp_test_downward): Likewise.
35875 (exp_test_upward): Likewise.
35876 (exp10_test): Likewise.
35877 (exp2_test): Likewise.
35878 (expm1_test): Likewise.
35879 (fmod_test): Likewise.
35880 (gamma_test): Likewise.
35881 (hypot_test): Likewise.
35882 (j0_test): Likewise.
35883 (j1_test): Likewise.
35884 (jn_test): Likewise.
35885 (lgamma_test): Likewise.
35886 (log_test): Likewise.
35887 (log10_test): Likewise.
35888 (log1p_test): Likewise.
35889 (log2_test): Likewise.
35890 (logb_test_downward): Likewise.
35891 (pow_test): Likewise.
35892 (pow_test_tonearest): Likewise.
35893 (pow_test_towardzero): Likewise.
35894 (pow_test_downward): Likewise.
35895 (pow_test_upward): Likewise.
35896 (remainder_test): Likewise.
35897 (remquo_test): Likewise.
35898 (sin_test): Likewise.
35899 (sin_test_tonearest): Likewise.
35900 (sin_test_towardzero): Likewise.
35901 (sin_test_downward): Likewise.
35902 (sin_test_upward): Likewise.
35903 (sincos_test): Likewise.
35904 (sinh_test): Likewise.
35905 (sinh_test_tonearest): Likewise.
35906 (sinh_test_towardzero): Likewise.
35907 (sinh_test_downward): Likewise.
35908 (sinh_test_upward): Likewise.
35909 (sqrt_test): Likewise.
35910 (tan_test): Likewise.
35911 (tan_test_tonearest): Likewise.
35912 (tan_test_towardzero): Likewise.
35913 (tan_test_downward): Likewise.
35914 (tan_test_upward): Likewise.
35915 (tanh_test): Likewise.
35916 (tgamma_test): Likewise.
35917 (y0_test): Likewise.
35918 (y1_test): Likewise.
35919 (yn_test): Likewise.
35920
35921 * math/gen-libm-test.pl (adjust_arg): Remove function.
35922 (special_function): Remove argument $in_func. Only handle
35923 generating output for tables of tests, not inside functions.
35924 (parse_args): Likewise.
35925 (generate_testfile): Remove variable $in_func. Update call to
35926 parse_args.
35927 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
35928 (MINUS_ZERO_INIT): Rename macro to minus_zero.
35929 (PLUS_INFTY_INIT): Rename macro to plus_infty.
35930 (MINUS_INFTY_INIT): Rename macro to minus_infty.
35931 (QNAN_VALUE_INIT): Rename macro to qnan_value.
35932 (MAX_VALUE_INIT): Rename macro to max_value.
35933 (MIN_VALUE_INIT): Rename macro to min_value.
35934 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
35935 (plus_zero): Remove variable.
35936 (minus_zero): Likewise.
35937 (plus_infty): Likewise.
35938 (minus_infty): Likewise.
35939 (qnan_value): Likewise.
35940 (max_value): Likewise.
35941 (min_value): Likewise.
35942 (min_subnorm_value): Likewise.
35943
35944 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35945
35946 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
35947 uint64_t or uint32_t usage.
35948 * crypt/sha256-block.c: Likewise.
35949 * crypt/sha256-crypt.c: Likewise.
35950 * crypt/sha256.c: Likewise.
35951 * crypt/sha512-block.c: Likewise.
35952 * crypt/sha512-crypt.c: Likewise.
35953 * crypt/sha512.c: Likewise.
35954 * debug/backtrace-tst.c: Likewise.
35955 * debug/pcprofiledump.c: Likewise.
35956 * elf/cache.c: Likewise.
35957 * elf/dl-cache.c: Likewise.
35958 * elf/dl-misc.c: Likewise.
35959 * elf/dl-profile.c: Likewise.
35960 * elf/dl-support.c: Likewise.
35961 * elf/ldconfig.c: Likewise.
35962 * elf/sprof.c: Likewise.
35963 * iconv/dummy-repertoire.c: Likewise.
35964 * iconv/iconv_charmap.c: Likewise.
35965 * iconv/skeleton.c: Likewise.
35966 * iconvdata/8bit-generic.c: Likewise.
35967 * iconvdata/cp737.h: Likewise.
35968 * iconvdata/cp775.h: Likewise.
35969 * iconvdata/ibm1008.h: Likewise.
35970 * iconvdata/ibm1025.h: Likewise.
35971 * iconvdata/ibm1046.h: Likewise.
35972 * iconvdata/ibm1097.h: Likewise.
35973 * iconvdata/ibm1112.h: Likewise.
35974 * iconvdata/ibm1122.h: Likewise.
35975 * iconvdata/ibm1123.h: Likewise.
35976 * iconvdata/ibm1124.h: Likewise.
35977 * iconvdata/ibm1129.h: Likewise.
35978 * iconvdata/ibm1130.h: Likewise.
35979 * iconvdata/ibm1132.h: Likewise.
35980 * iconvdata/ibm1133.h: Likewise.
35981 * iconvdata/ibm1137.h: Likewise.
35982 * iconvdata/ibm1140.h: Likewise.
35983 * iconvdata/ibm1141.h: Likewise.
35984 * iconvdata/ibm1142.h: Likewise.
35985 * iconvdata/ibm1143.h: Likewise.
35986 * iconvdata/ibm1144.h: Likewise.
35987 * iconvdata/ibm1145.h: Likewise.
35988 * iconvdata/ibm1146.h: Likewise.
35989 * iconvdata/ibm1147.h: Likewise.
35990 * iconvdata/ibm1148.h: Likewise.
35991 * iconvdata/ibm1149.h: Likewise.
35992 * iconvdata/ibm1153.h: Likewise.
35993 * iconvdata/ibm1154.h: Likewise.
35994 * iconvdata/ibm1155.h: Likewise.
35995 * iconvdata/ibm1156.h: Likewise.
35996 * iconvdata/ibm1157.h: Likewise.
35997 * iconvdata/ibm1158.h: Likewise.
35998 * iconvdata/ibm1160.h: Likewise.
35999 * iconvdata/ibm1161.h: Likewise.
36000 * iconvdata/ibm1162.h: Likewise.
36001 * iconvdata/ibm1163.h: Likewise.
36002 * iconvdata/ibm1164.h: Likewise.
36003 * iconvdata/ibm1166.h: Likewise.
36004 * iconvdata/ibm1167.h: Likewise.
36005 * iconvdata/ibm12712.h: Likewise.
36006 * iconvdata/ibm1390.h: Likewise.
36007 * iconvdata/ibm1399.h: Likewise.
36008 * iconvdata/ibm16804.h: Likewise.
36009 * iconvdata/ibm4517.h: Likewise.
36010 * iconvdata/ibm4899.h: Likewise.
36011 * iconvdata/ibm4909.h: Likewise.
36012 * iconvdata/ibm4971.h: Likewise.
36013 * iconvdata/ibm5347.h: Likewise.
36014 * iconvdata/ibm803.h: Likewise.
36015 * iconvdata/ibm856.h: Likewise.
36016 * iconvdata/ibm901.h: Likewise.
36017 * iconvdata/ibm902.h: Likewise.
36018 * iconvdata/ibm9030.h: Likewise.
36019 * iconvdata/ibm9066.h: Likewise.
36020 * iconvdata/ibm921.h: Likewise.
36021 * iconvdata/ibm922.h: Likewise.
36022 * iconvdata/ibm9448.h: Likewise.
36023 * iconvdata/isiri-3342.h: Likewise.
36024 * iconvdata/jis0201.h: Likewise.
36025 * include/link.h: Likewise.
36026 * include/netdb.h: Likewise.
36027 * inet/check_native.c: Likewise.
36028 * inet/check_pf.c: Likewise.
36029 * inet/getipv4sourcefilter.c: Likewise.
36030 * inet/getnameinfo.c: Likewise.
36031 * inet/getsourcefilter.c: Likewise.
36032 * inet/htonl.c: Likewise.
36033 * inet/setipv4sourcefilter.c: Likewise.
36034 * inet/setsourcefilter.c: Likewise.
36035 * inet/test-inet6_opt.c: Likewise.
36036 * inet/tst-network.c: Likewise.
36037 * locale/C-collate.c: Likewise.
36038 * locale/C-ctype.c: Likewise.
36039 * locale/C-time.c: Likewise.
36040 * locale/C-translit.h: Likewise.
36041 * locale/loadarchive.c: Likewise.
36042 * locale/programs/3level.h: Likewise.
36043 * locale/programs/charmap.c: Likewise.
36044 * locale/programs/charmap.h: Likewise.
36045 * locale/programs/ld-address.c: Likewise.
36046 * locale/programs/ld-collate.c: Likewise.
36047 * locale/programs/ld-ctype.c: Likewise.
36048 * locale/programs/ld-identification.c: Likewise.
36049 * locale/programs/ld-measurement.c: Likewise.
36050 * locale/programs/ld-messages.c: Likewise.
36051 * locale/programs/ld-monetary.c: Likewise.
36052 * locale/programs/ld-name.c: Likewise.
36053 * locale/programs/ld-numeric.c: Likewise.
36054 * locale/programs/ld-paper.c: Likewise.
36055 * locale/programs/ld-telephone.c: Likewise.
36056 * locale/programs/ld-time.c: Likewise.
36057 * locale/programs/linereader.c: Likewise.
36058 * locale/programs/locale.c: Likewise.
36059 * locale/programs/locarchive.c: Likewise.
36060 * locale/programs/locfile.h: Likewise.
36061 * locale/programs/repertoire.c: Likewise.
36062 * locale/programs/simple-hash.c: Likewise.
36063 * locale/programs/simple-hash.h: Likewise.
36064 * malloc/memusage.c: Likewise.
36065 * malloc/memusagestat.c: Likewise.
36066 * nis/nis_defaults.c: Likewise.
36067 * nis/nis_hash.c: Likewise.
36068 * nis/nis_print.c: Likewise.
36069 * nis/nis_xdr.c: Likewise.
36070 * nscd/connections.c: Likewise.
36071 * nscd/hstcache.c: Likewise.
36072 * nscd/nscd_gethst_r.c: Likewise.
36073 * nscd/nscd_getserv_r.c: Likewise.
36074 * nscd/nscd_helper.c: Likewise.
36075 * nscd/servicescache.c: Likewise.
36076 * nss/makedb.c: Likewise.
36077 * nss/nss_db/db-XXX.c: Likewise.
36078 * nss/nss_db/db-initgroups.c: Likewise.
36079 * nss/nss_db/db-netgrp.c: Likewise.
36080 * nss/nss_files/files-network.c: Likewise.
36081 * nss/nss_files/files-parse.c: Likewise.
36082 * posix/bug-regex5.c: Likewise.
36083 * posix/fnmatch_loop.c: Likewise.
36084 * posix/regcomp.c: Likewise.
36085 * posix/regexec.c: Likewise.
36086 * posix/tst-rfc3484-2.c: Likewise.
36087 * posix/tst-rfc3484-3.c: Likewise.
36088 * posix/tst-rfc3484.c: Likewise.
36089 * resolv/nss_dns/dns-canon.c: Likewise.
36090 * resolv/nss_dns/dns-network.c: Likewise.
36091 * resolv/res_init.c: Likewise.
36092 * resolv/res_mkquery.c: Likewise.
36093 * resolv/tst-aton.c: Likewise.
36094 * stdlib/cxa_atexit.c: Likewise.
36095 * stdlib/cxa_finalize.c: Likewise.
36096 * stdlib/gen-fpioconst.c: Likewise.
36097 * stdlib/strtol_l.c: Likewise.
36098 * string/tst-endian.c: Likewise.
36099 * sunrpc/auth_des.c: Likewise.
36100 * sunrpc/clnt_udp.c: Likewise.
36101 * sunrpc/rtime.c: Likewise.
36102 * sunrpc/svcauth_des.c: Likewise.
36103 * sunrpc/xdr.c: Likewise.
36104 * sunrpc/xdr_intXX_t.c: Likewise.
36105 * sunrpc/xdr_rec.c: Likewise.
36106 * sysdeps/generic/ldconfig.h: Likewise.
36107 * sysdeps/generic/ldsodefs.h: Likewise.
36108 * sysdeps/generic/memusage.h: Likewise.
36109 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36110 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
36111 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
36112 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36113 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36114 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36115 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36116 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36117 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36118 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
36119 * sysdeps/posix/getaddrinfo.c: Likewise.
36120 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36121 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36122 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
36123 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36124 * sysdeps/powerpc/test-gettimebase.c: Likewise.
36125 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36126 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
36127 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
36128 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
36129 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
36130 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36131 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36132 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
36133 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
36134 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
36135 * sysdeps/x86_64/dl-tls.h: Likewise.
36136 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
36137 * time/alt_digit.c: Likewise.
36138 * time/era.c: Likewise.
36139 * wcsmbs/tst-c16c32-1.c: Likewise.
36140
36141 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36142
36143 * math/libm-test.inc (struct test_sincos_data): New type.
36144 (RUN_TEST_LOOP_sincos): New macro.
36145 (sincos_test_data): New variable.
36146 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
36147
36148 2013-05-16 Richard Henderson <rth@redhat.com>
36149
36150 * math/atest-exp2.c (LIMB64): New macro.
36151 (CONSTSZ): New macro.
36152 (mp_exp1, mp_exp_m1, mp_log2): New variables.
36153 (hexdig): Move ...
36154 (print_mpn_fp): ... to function scope.
36155 (read_mpn_hex): Remove.
36156 (get_log2): Remove.
36157 (exp2_mpn): Use mp_log2.
36158 (main): Use mp_exp1.
36159
36160 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36161
36162 * math/libm-test.inc: Remove comment about not testing "inexact"
36163 exceptions.
36164 (INEXACT_EXCEPTION): New macro.
36165 (NO_INEXACT_EXCEPTION): Likewise.
36166 (INVALID_EXCEPTION_OK): Update value.
36167 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36168 (OVERFLOW_EXCEPTION_OK): Likewise.
36169 (UNDERFLOW_EXCEPTION_OK): Likewise.
36170 (IGNORE_ZERO_INF_SIGN): Likewise.
36171 (ERRNO_UNCHANGED): Likewise.
36172 (ERRNO_EDOM): Likewise.
36173 (ERRNO_ERANGE): Likewise.
36174 (test_exceptions): Handle testing "inexact" exceptions.
36175 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
36176 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
36177 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
36178 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
36179 INEXACT_EXCEPTION.
36180 (rint_towardzero_test_data): Likewise.
36181 (rint_downward_test_data): Likewise.
36182 (rint_upward_test_data): Likewise.
36183
36184 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
36185 with OVERFLOW_EXCEPTION.
36186 (exp10_test_data): Likewise.
36187 (exp2_test_data): Likewise.
36188 (expm1_test_data): Likewise.
36189 (lgamma_test_data): Likewise.
36190 (pow_test_data): Likewise.
36191 (tgamma_test_data): Likewise.
36192 (yn_test_data): Remove duplicate test of overflow.
36193
36194 * math/libm-test.inc (struct test_cc_c_data): New type.
36195 (RUN_TEST_LOOP_cc_c): New macro.
36196 (cpow_test_data): New variable.
36197 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
36198
36199 * math/libm-test.inc (struct test_f_L_data): New type.
36200 (RUN_TEST_LOOP_f_L): New macro.
36201 (llrint_test_data): New variable.
36202 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
36203 (llrint_tonearest_test_data): New variable.
36204 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
36205 (llrint_towardzero_test_data): New variable.
36206 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
36207 (llrint_downward_test_data): New variable.
36208 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
36209 (llrint_upward_test_data): New variable.
36210 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
36211 (llround_test_data): New variable.
36212 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
36213
36214 2013-05-13 Peter Collingbourne <pcc@google.com>
36215
36216 * math/atest-exp2.c (get_log2): Remove const attribute.
36217
36218 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36219
36220 * math/libm-test.inc (struct test_f_l_data): New type.
36221 (RUN_TEST_LOOP_f_l): New macro.
36222 (lrint_test_data): New variable.
36223 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
36224 (lrint_tonearest_test_data): New variable.
36225 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
36226 (lrint_towardzero_test_data): New variable.
36227 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
36228 (lrint_downward_test_data): New variable.
36229 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
36230 (lrint_upward_test_data): New variable.
36231 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
36232 (lround_test_data): New variable.
36233 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
36234
36235 2013-05-15 Peter Collingbourne <pcc@google.com>
36236
36237 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
36238 (EXTRACT_WORDS64) Use where appropriate.
36239 (INSERT_WORDS64) Likewise.
36240
36241 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
36242 constraints with x constraints.
36243 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
36244
36245 * malloc/obstack.c (_obstack_compat): Add initializer.
36246
36247 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
36248
36249 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
36250 si_trapno and add si_addr_lsb to _sifields.sigfault.
36251 (si_trapno): Remove macro.
36252 (si_addr_lsb): Define new macro.
36253 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36254
36255 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36256
36257 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
36258 instead of TEST_f_l.
36259 (llrint_test_tonearest): Likewise.
36260 (llrint_test_towardzero): Likewise.
36261 (llrint_test_downward): Likewise.
36262 (llrint_test_upward): Likewise.
36263 (llround_test): Likewise.
36264
36265 * math/libm-test.inc (struct test_f_i_data): Add comment.
36266 (RUN_TEST_LOOP_f_b): New macro.
36267 (RUN_TEST_LOOP_f_b_tg): Likewise.
36268 (finite_test_data): New variable.
36269 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
36270 (isfinite_test_data): New variable.
36271 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36272 (isinf_test_data): New variable.
36273 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36274 (isnan_test_data): New variable.
36275 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36276 (isnormal_test_data): New variable.
36277 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36278 (issignaling_test_data): New variable.
36279 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36280 (signbit_test_data): New variable.
36281 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36282
36283 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
36284 with INVALID_EXCEPTION.
36285 (acosh_test_data): Likewise.
36286 (asin_test_data): Likewise.
36287 (atanh_test_data): Likewise.
36288 (fmod_test_data): Likewise.
36289 (log_test_data): Likewise.
36290 (log10_test_data): Likewise.
36291 (log2_test_data): Likewise.
36292 (pow_test_data): Likewise.
36293 (sqrt_test_data): Likewise.
36294 (y0_test_data): Likewise.
36295 (y1_test_data): Likewise.
36296 (yn_test_data): Likewise.
36297
36298 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
36299 function contents.
36300
36301 * math/libm-test.inc (struct test_ff_i_data): New type.
36302 (RUN_TEST_LOOP_ff_i_tg): New macro.
36303 (isgreater_test_data): New variable.
36304 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36305 (isgreaterequal_test_data): New variable.
36306 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36307 (isless_test_data): New variable.
36308 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36309 (islessequal_test_data): New variable.
36310 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36311 (islessgreater_test_data): New variable.
36312 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36313 (isunordered_test_data): New variable.
36314 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36315
36316 2013-05-14 David S. Miller <davem@davemloft.net>
36317
36318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36319
36320 2013-05-14 Joseph Myers <joseph@codesourcery.com>
36321
36322 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
36323
36324 * math/libm-test.inc (struct test_fF_f1_data): Change type of
36325 extra_test to int.
36326 (struct test_f_i_data): Change type of max_ulp to int.
36327
36328 * math/libm-test.inc (test_ffI_f1_data): New type.
36329 (RUN_TEST_LOOP_ffI_f1): New macro.
36330 (remquo_test_data): New variable.
36331 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
36332
36333 * setjmp/tst-setjmp-fp.c: New file.
36334 * setjmp/Makefile (tests): Add tst-setjmp-fp.
36335 (link-libm): New variable.
36336 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
36337
36338 * math/libm-test.inc (struct test_f_i_data): New type.
36339 (RUN_TEST_LOOP_f_i): New macro.
36340 (RUN_TEST_LOOP_f_i_tg): Likewise.
36341 (fpclassify_test_data): New variable.
36342 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
36343 (ilogb_test_data): New variable.
36344 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
36345
36346 * math/libm-test.inc (scalbln_test): Correct function name in END
36347 call.
36348
36349 * math/libm-test.inc (struct test_f_f1_data): Add comment.
36350 (RUN_TEST_LOOP_fI_f1): New macro.
36351 (frexp_test_data): New variable.
36352 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
36353
36354 * math/libm-test.inc (struct test_fF_f1_data): New type.
36355 (RUN_TEST_LOOP_fF_f1): New macro.
36356 (modf_test_data): New variable.
36357 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
36358
36359 * math/libm-test.inc (struct test_f_f1_data): New type.
36360 (RUN_TEST_LOOP_f_f1): New macro.
36361 (gamma_test_data): New variable.
36362 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36363 (lgamma_test_data): New variable.
36364 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36365
36366 2013-05-13 Carlos O'Donell <carlos@redhat.com>
36367
36368 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
36369 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
36370 (main): Comment "tls" pseudo-hwcap.
36371
36372 2013-05-13 Joseph Myers <joseph@codesourcery.com>
36373
36374 * math/libm-test.inc (struct test_fl_f_data): New type.
36375 (RUN_TEST_LOOP_fl_f): New variable.
36376 (scalbln_test_data): New variable.
36377 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
36378
36379 * math/libm-test.inc (struct test_fi_f_data): New type.
36380 (RUN_TEST_LOOP_fi_f): New macro.
36381 (ldexp_test_data): New variable.
36382 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
36383 (scalbn_test_data): New variable.
36384 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
36385
36386 * math/libm-test.inc (struct test_c_f_data): New type.
36387 (RUN_TEST_LOOP_c_f): New macro.
36388 (cabs_test_data): New variable.
36389 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
36390 (carg_test_data): New variable.
36391 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
36392 (cimag_test_data): New variable.
36393 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
36394 (creal_test_data): New variable.
36395 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
36396
36397 * math/libm-test.inc (struct test_if_f_data): New type.
36398 (RUN_TEST_LOOP_if_f): New macro.
36399 (jn_test_data): New variable.
36400 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
36401 (yn_test_data): New variable.
36402 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
36403
36404 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
36405
36406 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36407
36408 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
36409 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
36410
36411 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36412
36413 * benchtests/Makefile (CPPFLAGS-nonlib): Add
36414 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
36415 (bench-deps): Add bench-timing.h.
36416 * benchtests-bench-skeleton.c: Include bench-timing.h.
36417 (main): Use TIMING_* macros instead of clock_gettime.
36418 * benchtests/bench-timing.h: New file.
36419
36420 [BZ #14582]
36421 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
36422 Renamed from _LIB_VERSION.
36423 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
36424
36425 2013-05-12 Joseph Myers <joseph@codesourcery.com>
36426
36427 * math/libm-test.inc (struct test_fff_f_data): New type.
36428 (RUN_TEST_LOOP_fff_f): New macro.
36429 (fma_test_data): New variable.
36430 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
36431 (fma_towardzero_test_data): New variable.
36432 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
36433 (fma_downward_test_data): New variable.
36434 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
36435 (fma_upward_test_data): New variable.
36436 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
36437
36438 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
36439 (struct test_c_c_data): New type.
36440 (RUN_TEST_LOOP_c_c): New macro.
36441 (cacos_test_data): New variable.
36442 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
36443 (cacosh_test_data): New variable.
36444 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
36445 (casin_test_data): New variable.
36446 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
36447 (casinh_test_data): New variable.
36448 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
36449 (catan_test_data): New variable.
36450 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
36451 (catanh_test_data): New variable.
36452 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
36453 (ccos_test_data): New variable.
36454 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
36455 (ccosh_test_data): New variable.
36456 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
36457 (cexp_test_data): New variable.
36458 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
36459 (clog_test_data): New variable.
36460 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
36461 (clog10_test_data): New variable.
36462 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
36463 (conj_test_data): New variable.
36464 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
36465 (cproj_test_data): New variable.
36466 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
36467 (csin_test_data): New variable.
36468 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
36469 (csinh_test_data): New variable.
36470 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
36471 (csqrt_test_data): New variable.
36472 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
36473 (ctan_test_data): New variable.
36474 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
36475 (ctan_tonearest_test_data): New variable.
36476 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36477 (ctan_towardzero_test_data): New variable.
36478 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36479 (ctan_downward_test_data): New variable.
36480 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36481 (ctan_upward_test_data): New variable.
36482 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36483 (ctanh_test_data): New variable.
36484 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
36485 (ctanh_tonearest_test_data): New variable.
36486 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36487 (ctanh_towardzero_test_data): New variable.
36488 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36489 (ctanh_downward_test_data): New variable.
36490 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36491 (ctanh_upward_test_data): New variable.
36492 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36493 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
36494 of BUILD_COMPLEX.
36495
36496 * math/libm-test.inc (struct test_ff_f_data): New type.
36497 (struct test_ff_f_data_nexttoward): Likewise.
36498 (RUN_TEST_LOOP_2_f): New macro.
36499 (RUN_TEST_LOOP_ff_f): Likewise.
36500 (atan2_test_data): New variable.
36501 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
36502 (copysign_test_data): New variable.
36503 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
36504 (fdim_test_data): New variable.
36505 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
36506 (fmax_test_data): New variable.
36507 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
36508 (fmin_test_data): New variable.
36509 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
36510 (fmod_test_data): New variable.
36511 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
36512 (hypot_test_data): New variable.
36513 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
36514 (nextafter_test_data): New variable.
36515 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
36516 (nexttoward_test_data): New variable.
36517 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
36518 (pow_test_data): New variable.
36519 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
36520 (pow_tonearest_test_data): New variable.
36521 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
36522 (pow_towardzero_test_data): New variable.
36523 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
36524 (pow_downward_test_data): New variable.
36525 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
36526 (pow_upward_test_data): New variable.
36527 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
36528 (remainder_test_data): New variable.
36529 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
36530 (scalb_test_data): New variable.
36531 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
36532 * sysdeps/i386/fpu/libm-test-ulps: Update.
36533
36534 2013-05-11 Joseph Myers <joseph@codesourcery.com>
36535
36536 * math/libm-test.inc (fma_test): Use max_value instead of local
36537 variable fltmax.
36538 (nextafter_test): Likewise.
36539
36540 * math/libm-test.inc (acos_towardzero_test_data): New variable.
36541 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36542 (acos_downward_test_data): New variable.
36543 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36544 (acos_upward_test_data): New variable.
36545 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36546 (acosh_test_data): New variable.
36547 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
36548 (asin_test_data): New variable.
36549 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
36550 (asin_tonearest_test_data): New variable.
36551 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36552 (asin_towardzero_test_data): New variable.
36553 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36554 (asin_downward_test_data): New variable.
36555 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36556 (asin_upward_test_data): New variable.
36557 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36558 (asinh_test_data): New variable.
36559 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
36560 (atan_test_data): New variable.
36561 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
36562 (atanh_test_data): New variable.
36563 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
36564 (cbrt_test_data): New variable.
36565 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
36566 (ceil_test_data): New variable.
36567 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
36568 (cos_test_data): New variable.
36569 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
36570 (cos_tonearest_test_data): New variable.
36571 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36572 (cos_towardzero_test_data): New variable.
36573 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36574 (cos_downward_test_data): New variable.
36575 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36576 (cos_upward_test_data): New variable.
36577 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36578 (cosh_test_data): New variable.
36579 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
36580 (cosh_tonearest_test_data): New variable.
36581 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36582 (cosh_towardzero_test_data): New variable.
36583 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36584 (cosh_downward_test_data): New variable.
36585 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36586 (cosh_upward_test_data): New variable.
36587 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36588 (erf_test_data): New variable.
36589 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
36590 (erfc_test_data): New variable.
36591 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
36592 (exp_test_data): New variable.
36593 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
36594 (exp_tonearest_test_data): New variable.
36595 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36596 (exp_towardzero_test_data): New variable.
36597 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36598 (exp_downward_test_data): New variable.
36599 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36600 (exp_upward_test_data): New variable.
36601 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36602 (exp10_test_data): New variable.
36603 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
36604 (exp2_test_data): New variable.
36605 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
36606 (expm1_test_data): New variable.
36607 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
36608 (fabs_test_data): New variable.
36609 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
36610 (floor_test_data): New variable.
36611 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
36612 (j0_test_data): New variable.
36613 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
36614 (j1_test_data): New variable.
36615 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
36616 (log_test_data): New variable.
36617 (log_test): Run tests with RUN_TEST_LOOP_f_f.
36618 (log10_test_data): New variable.
36619 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
36620 (log1p_test_data): New variable.
36621 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
36622 (log2_test_data): New variable.
36623 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
36624 (logb_test_data): New variable.
36625 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
36626 (logb_downward_test_data): New variable.
36627 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36628 (nearbyint_test_data): New variable.
36629 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
36630 (rint_test_data): New variable.
36631 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
36632 (rint_tonearest_test_data): New variable.
36633 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36634 (rint_towardzero_test_data): New variable.
36635 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36636 (rint_downward_test_data): New variable.
36637 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36638 (rint_upward_test_data): New variable.
36639 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36640 (round_test_data): New variable.
36641 (round_test): Run tests with RUN_TEST_LOOP_f_f.
36642 (sin_test_data): New variable.
36643 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
36644 (sin_tonearest_test_data): New variable.
36645 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36646 (sin_towardzero_test_data): New variable.
36647 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36648 (sin_downward_test_data): New variable.
36649 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36650 (sin_upward_test_data): New variable.
36651 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36652 (sinh_test_data): New variable.
36653 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
36654 (sinh_tonearest_test_data): New variable.
36655 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36656 (sinh_towardzero_test_data): New variable.
36657 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36658 (sinh_downward_test_data): New variable.
36659 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36660 (sinh_upward_test_data): New variable.
36661 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36662 (sqrt_test_data): New variable.
36663 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
36664 (tan_test_data): New variable.
36665 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
36666 (tan_tonearest_test_data): New variable.
36667 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36668 (tan_towardzero_test_data): New variable.
36669 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36670 (tan_downward_test_data): New variable.
36671 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36672 (tan_upward_test_data): New variable.
36673 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36674 (tanh_test_data): New variable.
36675 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
36676 (tgamma_test_data): New variable.
36677 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
36678 (trunc_test_data): New variable.
36679 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
36680 (y0_test_data): New variable.
36681 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
36682 (y1_test_data): New variable.
36683 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
36684 (significand_test_data): New variable.
36685 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
36686
36687 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
36688
36689 [BZ #12387]
36690 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
36691
36692 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
36693
36694 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
36695
36696 2013-05-10 Andreas Jaeger <aj@suse.de>
36697
36698 [BZ #15448]
36699 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
36700 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
36701
36702 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36703
36704 * math/gen-libm-test.pl (adjust_arg): New function.
36705 (special_functions): Handle generating output in both functions
36706 and arrays.
36707 (parse_args): Likewise.
36708 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
36709 $in_func argument to parse_args.
36710 * math/libm-test.inc (struct test_f_f_data): New type.
36711 (IF_ROUND_INIT_): New macro.
36712 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
36713 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
36714 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
36715 (IF_ROUND_INIT_FE_UPWARD): Likewise.
36716 (ROUND_RESTORE_): Likewise.
36717 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
36718 (ROUND_RESTORE_FE_TONEAREST): Likewise.
36719 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
36720 (ROUND_RESTORE_FE_UPWARD): Likewise.
36721 (RUN_TEST_LOOP_f_f): New macro.
36722 (acos_test_data): New variable.
36723 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
36724 (acos_tonearest_test_data): New variable.
36725 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36726
36727 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36728
36729 * benchtests/bench-skeleton.c (startup): Fix coding style.
36730
36731 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36732
36733 [BZ #6809]
36734 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
36735 negative infinity argument.
36736 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
36737 negative infinity argument.
36738 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
36739 negative infinity argument.
36740 * math/libm-test.inc (tgamma_test): Expect errno to be set for
36741 domain errors.
36742
36743 2013-05-10 Florian Weimer <fweimer@redhat.com>
36744
36745 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
36746 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
36747 * iconv/iconv_prog.c (main): Likewise.
36748 * locale/programs/charmap-dir.c (charmap_readdir)
36749 (fopen_uncompressed): Likewise.
36750 * locale/programs/locfile.c (siblings_uncached)
36751 (write_locale_data): Use lstat64 instead of lstat.
36752 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
36753 stat.
36754
36755 2013-05-10 Andreas Jaeger <aj@suse.de>
36756
36757 [BZ #15395]
36758 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
36759 localization.
36760 Include <locale.h>.
36761
36762 2013-05-09 Carlos O'Donell <carlos@redhat.com>
36763
36764 * elf/dl-close.c (_dl_close_worker): Add comments.
36765
36766 2013-05-09 Joseph Myers <joseph@codesourcery.com>
36767
36768 [BZ #15359]
36769 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
36770 high part of pi/2.
36771 (__ieee754_rem_pio2l): Update comments.
36772
36773 [BZ #15429]
36774 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
36775 high part of pi/2.
36776 (__ieee754_rem_pio2l): Update comments.
36777
36778 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
36779 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
36780
36781 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
36782 M_PI_4l.
36783
36784 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
36785 (M_PI_34_LOG10El): Likewise.
36786 (M_PI2_LOG10El): Likewise.
36787 (M_PI4_LOG10El): Likewise.
36788 (M_PI_LOG10El): Likewise.
36789
36790 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36791
36792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36793
36794 2013-05-08 Joseph Myers <joseph@codesourcery.com>
36795
36796 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
36797 (MINUS_ZERO_INIT): Likewise.
36798 (PLUS_INFTY_INIT): Likewise.
36799 (MINUS_INFTY_INIT): Likewise.
36800 (QNAN_VALUE_INIT): Likewise.
36801 (MAX_VALUE_INIT): Likewise.
36802 (MIN_VALUE_INIT): Likewise.
36803 (MIN_SUBNORM_VALUE_INIT): Likewise.
36804 (plus_zero): Initialize with PLUS_ZERO_INIT.
36805 (minus_zero): Initialize with MINUS_ZERO_INIT.
36806 (plus_infty): Initialize with PLUS_INFTY_INIT.
36807 (minus_infty): Initialize with MINUS_INFTY_INIT.
36808 (qnan_value): Initialize with QNAN_VALUE_INIT.
36809 (max_value): Initialize with MAX_VALUE_INIT.
36810 (min_value): Initialize with MIN_VALUE_INIT.
36811 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
36812
36813 * math/libm-test.inc (RUN_TEST_if_f): New macro.
36814 (jn_test): Use TEST_if_f instead of TEST_ff_f.
36815 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
36816 (yn_test): Use TEST_if_f instead of TEST_ff_f.
36817
36818 * math/libm-test.inc (RUN_TEST_f_f): New macro.
36819 (RUN_TEST_2_f): Likewise.
36820 (RUN_TEST_ff_f): Likewise.
36821 (RUN_TEST_fi_f): Likewise.
36822 (RUN_TEST_fl_f): Likewise.
36823 (RUN_TEST_fff_f): Likewise.
36824 (RUN_TEST_c_f): Likewise.
36825 (RUN_TEST_f_f1): Likewise.
36826 (RUN_TEST_fF_f1): Likewise.
36827 (RUN_TEST_fI_f1): Likewise.
36828 (RUN_TEST_ffI_f1): Likewise.
36829 (RUN_TEST_c_c): Likewise.
36830 (RUN_TEST_cc_c): Likewise.
36831 (RUN_TEST_f_i): Likewise.
36832 (RUN_TEST_f_i_tg): Likewise.
36833 (RUN_TEST_ff_i_tg): Likewise.
36834 (RUN_TEST_f_b): Likewise.
36835 (RUN_TEST_f_b_tg): Likewise.
36836 (RUN_TEST_f_l): Likewise.
36837 (RUN_TEST_f_L): Likewise.
36838 (RUN_TEST_sincos): Likewise.
36839 * math/gen-libm-test.pl (new_test): Take new argument to indicate
36840 whether to show exceptions. Do not include ");\n" in return
36841 value.
36842 (special_functions): Output call to RUN_TEST_sincos instead of
36843 check_float calls. Update calls to new_test.
36844 (parse_args): Output call to single RUN_TEST_* macro instead of
36845 check_* calls and other assignments. Update calls to new_test.
36846
36847 [BZ #2546]
36848 [BZ #2560]
36849 [BZ #5159]
36850 [BZ #15426]
36851 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
36852 input to result for tgamma overflow.
36853 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
36854 (gamma_coeff): New variable.
36855 (NCOEFF): New macro.
36856 (gamma_positive): New function.
36857 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
36858 underflow here. Use gamma_positive instead of exp (lgamma) for
36859 other arguments.
36860 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
36861 (gamma_coeff): New variable.
36862 (NCOEFF): New macro.
36863 (gammaf_positive): New function.
36864 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
36865 underflow here. Use gamma_positive instead of exp (lgamma) for
36866 other arguments.
36867 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
36868 (gamma_coeff): New variable.
36869 (NCOEFF): New macro.
36870 (gammal_positive): New function.
36871 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
36872 underflow here. Use gamma_positive instead of exp (lgamma) for
36873 other arguments.
36874 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
36875 (gamma_coeff): New variable.
36876 (NCOEFF): New macro.
36877 (gammal_positive): New function.
36878 (__ieee754_gammal_r): Handle positive infinity, overflow and
36879 underflow here. Handle NaN the same as positive infinity. Remove
36880 check x < 0xffffffff for negative integers. Use gamma_positive
36881 instead of exp (lgamma) for other arguments.
36882 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
36883 (gamma_coeff): New variable.
36884 (NCOEFF): New macro.
36885 (gammal_positive): New function.
36886 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
36887 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
36888 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
36889 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
36890 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
36891 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
36892 * sysdeps/generic/math_private.h (__gamma_productf): New
36893 prototype.
36894 (__gamma_product): Likewise.
36895 (__gamma_productl): Likewise.
36896 * math/Makefile (libm-calls): Add gamma_product.
36897 * math/libm-test.inc (tgamma_test): Add more tests.
36898 * sysdeps/i386/fpu/libm-test-ulps: Update.
36899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36900
36901 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
36902
36903 * benchtests/bench-skeleton.c (main): Preheat CPU.
36904
36905 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
36906
36907 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
36908
36909 2013-05-07 Roland McGrath <roland@hack.frob.com>
36910
36911 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
36912 and _dl_skip_args_internal.
36913
36914 2013-05-07 Carlos O'Donell <carlos@redhat.com>
36915
36916 * manual/message.texi (Message Translation): Talk about users.
36917 Message to key mapping impacts design.
36918
36919 2013-05-06 Roland McGrath <roland@hack.frob.com>
36920
36921 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
36922
36923 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
36924
36925 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
36926 * sysdeps/wordsize-64/glob64.c: ... here.
36927
36928 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
36929 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
36930 New macros.
36931
36932 * debug/getlogin_r_chk.c: Moved to ...
36933 * login/getlogin_r_chk.c: ... here.
36934 * debug/Makefile (routines): Move getlogin_r_chk to ...
36935 * login/Makefile (routines): ... here.
36936 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
36937 * login/Versions (libc: GLIBC_2.4): ... here.
36938
36939 * io/poll.c (__poll): Renamed from poll.
36940 Add libc_hidden_def.
36941 (poll): Define as weak alias.
36942
36943 * debug/ptsname_r_chk.c: Moved to ...
36944 * login/ptsname_r_chk.c: ... here.
36945 * debug/Makefile (routines): Move ptsname_r_chk to ...
36946 * login/Makefile (routines): ... here.
36947 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
36948 * login/Versions (libc: GLIBC_2.4): ... here.
36949
36950 * posix/getlogin.c: Moved to ...
36951 * login/getlogin.c: ... here.
36952 * posix/getlogin_r.c: Moved to ...
36953 * login/getlogin_r.c: ... here.
36954 * posix/getlogin_r.c: Moved to ...
36955 * login/getlogin_r.c: ... here.
36956 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
36957 * login/Makefile (routines): ... here.
36958 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
36959 * login/Versions (libc: GLIBC_2.0): ... here.
36960
36961 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
36962 (setrlimit): Define as weak alias.
36963
36964 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
36965 Call __ names for open, ftruncate, and close.
36966 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
36967 (truncate): Define as weak alias.
36968
36969 2013-05-06 Joseph Myers <joseph@codesourcery.com>
36970
36971 * math/gen-libm-test.pl (parse_args): Initialize x before each
36972 test of frexp, modf and remquo.
36973
36974 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
36975 test signgam value.
36976
36977 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36978
36979 [BZ #15418]
36980 [BZ #15419]
36981 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
36982 internal tests.
36983 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36984
36985 2013-05-06 Roland McGrath <roland@hack.frob.com>
36986
36987 * elf/dl-writev.h: New file.
36988 * elf/dl-misc.c: Include it.
36989 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
36990 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
36991
36992 2013-05-04 Joseph Myers <joseph@codesourcery.com>
36993
36994 * math/libm-test.inc (noXFails): Remove variable.
36995 (noXPasses): Likewise.
36996 (BUILD_COMPLEX_INT): Remove macro.
36997 (print_screen): Remove xfail argument.
36998 (print_screen_max_error): Likewise.
36999 (update_stats): Likewise.
37000 (print_max_error): Likewise. Update calls to other affected
37001 functions.
37002 (print_complex_max_error): Likewise.
37003 (test_single_exception): Update calls to print_screen.
37004 (test_single_errno): Likewise.
37005 (check_float_internal): Remove xfail argument. Update calls to
37006 other affected functions.
37007 (check_float): Likewise.
37008 (check_complex): Likewise.
37009 (check_int): Likewise.
37010 (check_long): Likewise.
37011 (check_bool): Likewise.
37012 (check_longlong): Likewise.
37013 (main): Don't print noXFails and noXPasses.
37014 * math/gen-libm-test.pl (top level): Don't mention expected
37015 failure handling in comment.
37016 (new_test): Don't handle expected failures.
37017 (parse_args): Don't mention expected failure handling in comment.
37018 (generate_testfile): Don't handle expected failures.
37019 (parse_ulps): Likewise.
37020 (print_ulps_file): Likewise.
37021 (get_failure): Remove function.
37022 (output_test): Don't handle expected failures.
37023 * make/README.libm-test: Don't mention expected failure handling.
37024
37025 * math/libm-test.inc (plus_zero): Make const. Add initializer.
37026 (minus_zero): Likewise.
37027 (plus_infty): Likewise.
37028 (minus_infty): Likewise.
37029 (qnan_value): Likewise.
37030 (max_value): Likewise.
37031 (min_value): Likewise.
37032 (min_subnorm_value): Likewise.
37033 (initialize): Do not initialize those variables dynamically.
37034
37035 2013-05-03 Roland McGrath <roland@hack.frob.com>
37036
37037 * io/open.c (__open_2): Moved to ...
37038 * io/open_2.c: ... this new file.
37039 * io/open64.c (__open64_2): Moved to ...
37040 * io/open64_2.c: ... this new file.
37041 * io/openat.c (__openat_2): Moved to ...
37042 * io/openat_2.c: ... this new file.
37043 * io/openat64.c (__openat64_2): Moved to ...
37044 * io/openat64_2.c: ... this new file.
37045 * io/Makefile (routines): Add them.
37046 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
37047 * sysdeps/unix/sysv/linux/open_2.c: File removed.
37048 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
37049 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
37050 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
37051 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
37052 (__openat64): Add hidden_ver.
37053 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
37054 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
37055
37056 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
37057 Separately conditionalize setting of GLRO(dl_sysinfo) so
37058 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
37059 as well, but the actual setting is only under [NEED_DL_SYSINFO].
37060
37061 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37062
37063 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
37064 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
37065 definition.
37066 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
37067 * sysdeps/unix/sysv/linux/powerpc/init-first.c
37068 (_libc_vdso_platform_setup): Add __vdso_time initialization.
37069 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
37070 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
37071
37072 2013-05-03 Joseph Myers <joseph@codesourcery.com>
37073
37074 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
37075 test signgam value.
37076
37077 * math/libm-test.inc (hypot_test): Do not use
37078 IGNORE_ZERO_INF_SIGN.
37079
37080 2013-05-03 Andreas Jaeger <aj@suse.de>
37081
37082 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
37083 Linux 3.9.
37084 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
37085 (PF_MAX): Adjust for VSOCK change.
37086
37087 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37088
37089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37090
37091 2013-05-02 Carlos O'Donell <carlos@redhat.com>
37092
37093 [BZ #15264]
37094 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
37095 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
37096 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
37097
37098 2013-05-02 David S. Miller <davem@davemloft.net>
37099
37100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37101
37102 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
37103
37104 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
37105
37106 2013-05-01 Roland McGrath <roland@hack.frob.com>
37107
37108 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
37109
37110 2013-05-01 Richard Smith <richard@metafoo.co.uk>
37111
37112 [BZ #14952]
37113 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
37114 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37115 Use __attribute__ ((__gnu_inline__)).
37116 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37117 Don't use __attribute__ ((__gnu_inline__)).
37118
37119 2013-05-01 Joseph Myers <joseph@codesourcery.com>
37120
37121 [BZ #15423]
37122 * math/s_catan.c (__catan): Handle small real or imaginary part of
37123 input specially to avoid spurious underflow.
37124 * math/s_catanf.c (__catanf): Likewise.
37125 * math/s_catanh.c (__catanh): Likewise.
37126 * math/s_catanhf.c (__catanhf): Likewise.
37127 * math/s_catanhl.c (__catanhl): Likewise.
37128 * math/s_catanl.c (__catanl): Likewise.
37129 * math/libm-test.inc (catan_test): Add more tests.
37130 (catanh_test): Likewise.
37131 * sysdeps/i386/fpu/libm-test-ulps: Update.
37132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37133
37134 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37135
37136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37137
37138 2013-04-30 Joseph Myers <joseph@codesourcery.com>
37139
37140 [BZ #15416]
37141 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
37142 accurately for denominator in atan2.
37143 * math/s_catanf.c (__catanf): Likewise.
37144 * math/s_catanh.c (__catanh): Likewise.
37145 * math/s_catanhf.c (__catanhf): Likewise.
37146 * math/s_catanhl.c (__catanhl): Likewise.
37147 * math/s_catanl.c (__catanl): Likewise.
37148 * math/libm-test.inc (catan_test): Add more tests.
37149 (catanh_test): Likewise.
37150 * sysdeps/i386/fpu/libm-test-ulps: Update.
37151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37152
37153 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37154
37155 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
37156
37157 * benchtests/Makefile (bench): Remove slow benchmarks.
37158 * benchtests/atan-inputs: Add slow benchmark inputs.
37159 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
37160 (BENCH_FUNC): Accept variant offset.
37161 (VARIANT): Define.
37162 * benchtests/bench-skeleton.c (main): Run benchmark for each
37163 variant.
37164 * benchtests/cos-inputs: Add slow benchmark inputs.
37165 * benchtests/exp-inputs: Likewise.
37166 * benchtests/pow-inputs: Likewise.
37167 * benchtests/sin-inputs: Likewise.
37168 * benchtests/slowatan-inputs: Remove.
37169 * benchtests/slowatan.c: Remove.
37170 * benchtests/slowcos-inputs: Remove.
37171 * benchtests/slowcos.c: Remove.
37172 * benchtests/slowexp-inputs: Remove.
37173 * benchtests/slowexp.c: Remove.
37174 * benchtests/slowpow-inputs: Remove.
37175 * benchtests/slowpow.c: Remove.
37176 * benchtests/slowsin-inputs: Remove.
37177 * benchtests/slowsin.c: Remove.
37178 * benchtests/slowtan-inputs: Remove.
37179 * benchtests/slowtan.c: Remove.
37180 * benchtests/tan-inputs: Add slow benchmark inputs.
37181 * scripts/bench.pl: Parse comments and directives.
37182
37183 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
37184 in CPPFLAGS.
37185 ($(objpfx)bench-%.c): Remove *-ITER.
37186 * benchtests/bench-modf.c: Remove definition of ITER.
37187 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
37188 (main): Loop for DURATION seconds instead of fixed number of
37189 iterations.
37190 * scripts/bench.pl: Don't expect iterations in parameters.
37191
37192 2013-04-29 Roland McGrath <roland@hack.frob.com>
37193
37194 * io/fchdir.c (__fchdir): Renamed from fchdir.
37195 (fchdir): Define as weak alias.
37196
37197 2013-04-29 Joseph Myers <joseph@codesourcery.com>
37198
37199 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
37200 (ERRNO_EDOM): Likewise.
37201 (ERRNO_ERANGE): Likewise.
37202 (noErrnoTests): New variable.
37203 (init_max_error): Set errno to 0.
37204 (test_single_errno): New function.
37205 (test_errno): Likewise.
37206 (check_float_internal): Call test_errno. Set errno to 0.
37207 (check_complex): Refer to errno tests in comment.
37208 (check_int): Call test_errno. Set errno to 0.
37209 (check_long): Likewise.
37210 (check_bool): Likewise.
37211 (check_longlong): Likewise.
37212 (cos_test): Use ERRNO_* flags for errno tests instead of
37213 check_int.
37214 (expm1_test): Likewise.
37215 (fmod_test): Likewise.
37216 (ilogb_test): Likewise.
37217 (lgamma_test): Likewise.
37218 (pow_test): Likewise.
37219 (remainder_test): Likewise.
37220 (sin_test): Likewise.
37221 (tan_test): Likewise.
37222 (yn_test): Likewise.
37223 (initialize): Set errno to 0.
37224 (main): Print number of errno tests.
37225 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
37226
37227 2013-04-29 Andreas Jaeger <aj@suse.de>
37228
37229 [BZ #15084]
37230 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
37231 and RES_USEVC.
37232
37233 [BZ #15085]
37234 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
37235 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
37236 unimplemented.
37237
37238 [BZ #15380]
37239 * stdlib/random.c (__initstate): Return NULL if
37240 __initstate fails.
37241
37242 [BZ #15086]
37243 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
37244 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
37245 RES_SNGLKUPREOP.
37246
37247 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37248
37249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37250
37251 2013-04-29 Joseph Myers <joseph@codesourcery.com>
37252
37253 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
37254 of individual tests.
37255 (casin_test): Likewise.
37256 (casinh_test): Likewise.
37257
37258 2013-04-27 Joseph Myers <joseph@codesourcery.com>
37259
37260 [BZ #15409]
37261 * math/s_catan.c (__catan): Handle arguments with large real or
37262 imaginary part separately without squaring.
37263 * math/s_catanf.c (__catanf): Likewise.
37264 * math/s_catanh.c (__catanh): Likewise.
37265 * math/s_catanhf.c (__catanhf): Likewise.
37266 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37267 and redefine.
37268 (__catanhl): Handle arguments with large real or imaginary part
37269 separately without squaring.
37270 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37271 and redefine.
37272 (__catanl): Handle arguments with large real or imaginary part
37273 separately without squaring.
37274 * math/libm-test.inc (catan_test): Add more tests.
37275 (catanh_test): Likewise.
37276 * sysdeps/i386/fpu/libm-test-ulps: Update.
37277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37278
37279 2013-04-27 Andreas Jaeger <aj@suse.de>
37280
37281 [BZ #15007]
37282 * stdlib/stdlib.h: Update guards for qecvt.
37283 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
37284 <stdlib.h>.
37285
37286 2013-04-27 Allan McRae <allan@archlinux.org>
37287
37288 * sysdeps/i386/fpu/libm-test-ulps: Update.
37289
37290 2013-04-26 Joseph Myers <joseph@codesourcery.com>
37291
37292 [BZ #15406]
37293 * math/s_catan.c: Include <float.h>.
37294 (__catan): Ensure underflow exception occurs for underflowed
37295 result.
37296 * math/s_catanf.c: Include <float.h>.
37297 (__catanf): Ensure underflow exception occurs for underflowed
37298 result.
37299 * math/s_catanh.c: Include <float.h>.
37300 (__catanh): Ensure underflow exception occurs for underflowed
37301 result.
37302 * math/s_catanhf.c: Include <float.h>.
37303 (__catanhf): Ensure underflow exception occurs for underflowed
37304 result.
37305 * math/s_catanhl.c: Include <float.h>.
37306 (__catanhl): Ensure underflow exception occurs for underflowed
37307 result.
37308 * math/s_catanl.c: Include <float.h>.
37309 (__catanl): Ensure underflow exception occurs for underflowed
37310 result.
37311 * math/libm-test.inc (catan_test): Add more tests.
37312 (catanh_test): Likewise.
37313
37314 [BZ #15405]
37315 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
37316 underflowed result.
37317 * math/s_ccoshf.c (__ccoshf): Likewise.
37318 * math/s_ccoshl.c (__ccoshl): Likewise.
37319 * math/s_csin.c (__csin): Likewise.
37320 * math/s_csinf.c (__csinf): Likewise.
37321 * math/s_csinh.c (__csinh): Likewise.
37322 * math/s_csinhf.c (__csinhf): Likewise.
37323 * math/s_csinhl.c (__csinhl): Likewise.
37324 * math/s_csinl.c (__csinl): Likewise.
37325 * math/libm-test.inc (ccos_test): Add more tests.
37326 (ccosh_test): Likewise.
37327 (csin_test): Likewise.
37328 (csinh_test): Likewise.
37329
37330 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37331
37332 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
37333 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
37334 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
37335 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
37336 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
37337 powerpc/power5+/fpu folders.
37338 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
37339
37340
37341 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37342
37343 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37344
37345 2013-04-25 Joseph Myers <joseph@codesourcery.com>
37346
37347 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
37348 additions to variable.
37349 [$(config-machine) = x86_64] (modules-names): Likewise.
37350 ($(objpfx)tst-audit3): Remove dependency.
37351 ($(objpfx)tst-audit3.out): Likewise.
37352 ($(objpfx)tst-audit4): Likewise.
37353 ($(objpfx)tst-audit4.out): Likewise.
37354 ($(objpfx)tst-audit5): Likewise.
37355 ($(objpfx)tst-audit5.out): Likewise.
37356 ($(objpfx)tst-audit6): Likewise.
37357 ($(objpfx)tst-audit6.out): Likewise.
37358 ($(objpfx)tst-audit7): Likewise.
37359 ($(objpfx)tst-audit7.out): Likewise.
37360 (tst-audit3-ENV): Remove variable.
37361 (tst-audit4-ENV): Likewise.
37362 (tst-audit5-ENV): Likewise.
37363 (tst-audit6-ENV): Likewise.
37364 (tst-audit7-ENV): Likewise.
37365 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
37366 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
37367 addition to variable.
37368 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
37369 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
37370 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
37371 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
37372 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
37373 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
37374 tst-audit3, tst-audit4 and tst-audit5.
37375 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
37376 tst-audit6 and tst-audit7.
37377 [$(subdir) = elf] (modules-names): Add audit modules for those
37378 tests.
37379 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
37380 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
37381 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
37382 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
37383 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
37384 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
37385 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
37386 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
37387 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
37388 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
37389 [$(subdir) = elf] (tst-audit3-ENV): New variable.
37390 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
37391 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
37392 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
37393 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
37394 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
37395 Likewise.
37396 [$(subdir) = elf && $(config-cflags-avx) = yes]
37397 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
37398 [$(subdir) = elf && $(config-cflags-avx) = yes]
37399 (CFLAGS-tst-auditmod4a.c): Likewise.
37400 [$(subdir) = elf && $(config-cflags-avx) = yes]
37401 (CFLAGS-tst-auditmod4b.c): Likewise.
37402 [$(subdir) = elf && $(config-cflags-avx) = yes]
37403 (CFLAGS-tst-auditmod6b.c): Likewise.
37404 [$(subdir) = elf && $(config-cflags-avx) = yes]
37405 (CFLAGS-tst-auditmod6c.c): Likewise.
37406 [$(subdir) = elf && $(config-cflags-avx) = yes]
37407 (CFLAGS-tst-auditmod7b.c): Likewise.
37408 * elf/tst-audit3.c: Move to ...
37409 * sysdeps/x86_64/tst-audit3.c: ... here.
37410 * elf/tst-audit4.c: Move to ...
37411 * sysdeps/x86_64/tst-audit4.c: ... here.
37412 * elf/tst-audit5.c: Move to ...
37413 * sysdeps/x86_64/tst-audit5.c: ... here.
37414 * elf/tst-audit6.c: Move to ...
37415 * sysdeps/x86_64/tst-audit6.c: ... here.
37416 * elf/tst-audit7.c: Move to ...
37417 * sysdeps/x86_64/tst-audit7.c: ... here.
37418 * elf/tst-auditmod3a.c: Move to ...
37419 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
37420 * elf/tst-auditmod3b.c: Move to ...
37421 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
37422 * elf/tst-auditmod4a.c: Move to ...
37423 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
37424 * elf/tst-auditmod4b.c: Move to ...
37425 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
37426 * elf/tst-auditmod5a.c: Move to ...
37427 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
37428 * elf/tst-auditmod5b.c: Move to ...
37429 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
37430 * elf/tst-auditmod6a.c: Move to ...
37431 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
37432 * elf/tst-auditmod6b.c: Move to ...
37433 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
37434 * elf/tst-auditmod6c.c: Move to ...
37435 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
37436 * elf/tst-auditmod7a.c: Move to ...
37437 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
37438 * elf/tst-auditmod7b.c: Move to ...
37439 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
37440
37441 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
37442
37443 [BZ #15366]
37444 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
37445 define unconditionally.
37446 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
37447 define unconditionally.
37448 (INT8_C, INT16_C, etc.): Likewise.
37449
37450 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
37451
37452 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
37453 __ehdr_start with hidden visibility.
37454
37455 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
37456
37457 2013-04-24 Carlos O'Donell <carlos@redhat.com>
37458
37459 * math/libm-test.inc (cos_test): Use accurate hex constants.
37460 (sincost_test): Likewise.
37461
37462 2013-04-24 Joseph Myers <joseph@codesourcery.com>
37463
37464 * math/libm-test.inc (catan_test): Add more tests.
37465 (catanh_test): Likewise.
37466
37467 * math/s_catanf.c (__catanf): Use suffixed floating-point
37468 constants.
37469 * math/s_catanhf.c (__catanhf): Likewise.
37470 * math/s_catanhl.c (__catanhl): Likewise.
37471 * math/s_catanl.c (__catanl): Likewise.
37472
37473 [BZ #15394]
37474 * math/s_catan.c (__catan): Calculate imaginary part of result
37475 with log1p not log unless computing log of number close to 0.
37476 * math/s_catanf.c (__catanf): Likewise.
37477 * math/s_catanl.c (__catanl): Likewise.
37478 * math/s_catanh.c (__catanh): Calculate real part of result with
37479 log1p not log unless computing log of number close to 0.
37480 * math/s_catanhf.c (__catanhf): Likewise.
37481 * math/s_catanhl.c (__catanhl): Likewise.
37482 * math/libm-test.inc (catan_test): Add more tests.
37483 (catanh_test): Likewise.
37484 * sysdeps/i386/fpu/libm-test-ulps: Update.
37485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37486
37487 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
37488
37489 * benchtests/Makefile: Mention files in which fast and slow
37490 paths of math functions are implemented.
37491
37492 2013-04-23 Roland McGrath <roland@hack.frob.com>
37493
37494 * sysdeps/posix/timespec_get.c: New file.
37495
37496 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37497
37498 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
37499 POWER.
37500 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
37501 for POWER.
37502 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
37503 powerpc/power5/fpu folders.
37504 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
37505 * benchtests/Makefile: Add modf testcase.
37506 * benchtests/bench-modf.c: New file: Benchmark test for mo
37507
37508 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
37509
37510 [BZ #14888]
37511 * time/Makefile (tests): Add tst-strptime-whitespace.
37512 * time/strptime_l.c (get_number): Use ISSPACE.
37513 (__strptime_internal): Likewise.
37514 * time/tst-strptime-whitespace.c: New test case.
37515
37516 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
37517
37518 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
37519 member.
37520 (_nss_files_init): Set it here.
37521
37522 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
37523
37524 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
37525 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
37526 unsigned.
37527
37528 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
37529
37530 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
37531
37532 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37533
37534 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
37535 size just once.
37536
37537 2013-04-21 David S. Miller <davem@davemloft.net>
37538
37539 * po/ru.po: Update Russion translation from translation project.
37540
37541 2013-04-17 Adam Conrad <adconrad@0c3.net>
37542
37543 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
37544 and setfsgid.
37545
37546 2013-04-17 Carlos O'Donell <carlos@redhat.com>
37547
37548 * configure.in: Remove i386 configure warning. Remove i386 case.
37549 * configure: Regenerate.
37550 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
37551 Add example to error message.
37552 * sysdeps/i386/configure: Regenerate.
37553
37554 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37555
37556 * benchtests/Makefile (bench): Add cos, tan, slowcos and
37557 slowtan.
37558 * benchtests/cos-inputs: New file.
37559 * benchtests/slowcos-inputs: New file.
37560 * benchtests/slowcos.c: New file.
37561 * benchtests/slowtan-inputs: New file.
37562 * benchtests/slowtan.c: New file.
37563 * benchtests/tan-inputs: New file.
37564
37565 2013-04-16 Roland McGrath <roland@hack.frob.com>
37566
37567 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
37568 considered kosher.
37569
37570 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37571
37572 * benchtests/Makefile: Include cppflags-iterator.mk to add
37573 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
37574
37575 * Makefile.in (bench-clean): New target.
37576 * benchtests/Makefile (bench-clean): Likewise.
37577
37578 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
37579
37580 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
37581
37582 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
37583
37584 * stdio-common/tstdiomisc.c: Fix coding-style violation.
37585
37586 2013-04-15 Andreas Schwab <schwab@suse.de>
37587
37588 * nscd/grpcache.c (cache_addgr): Properly check for short write.
37589 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37590 * nscd/pwdcache.c (cache_addpw): Likewise.
37591 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
37592 more than recsize.
37593
37594 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37595
37596 * benchtests/Makefile (bench): Write all output to
37597 bench-out.tmp together.
37598
37599 2013-04-15 Andreas Schwab <schwab@suse.de>
37600
37601 * nscd/nscd.c (main): Don't fork again after closing files.
37602
37603 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37604
37605 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
37606
37607 * benchtests/Rules (bench-deps): Collect dependencies into a
37608 single variable. Add Makefile to dependencies.
37609 ($(objpfx)bench-%.c): Depend on bench-deps.
37610
37611 2013-04-12 Roland McGrath <roland@hack.frob.com>
37612 Xavier Roche <roche+kml2@exalead.com>
37613
37614 [BZ #15361]
37615 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
37616 just that it's a file descriptor.
37617 * manual/llio.texi (Synchronizing AIO Operations): Update description
37618 for EBADF error from aio_fsync.
37619
37620 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
37621
37622 * Rules (bench): Move target definition...
37623 * benchtests/Makefile: ... here.
37624
37625 2013-04-11 Carlos O'Donell <carlos@redhat.com>
37626
37627 * math/libm-test.inc (cos_test): Fix PI/2 test.
37628 (sincos_test): Likewise.
37629 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37630 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
37631
37632 2013-04-11 Andreas Schwab <schwab@suse.de>
37633
37634 [BZ #13988]
37635 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
37636 accept exponent character only when digits were seen.
37637 * stdio-common/Makefile (tests): Add bug26.
37638 * stdio-common/bug26.c: New file.
37639
37640 [BZ #14293]
37641 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
37642 non-freeable.
37643
37644 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
37645
37646 * Makeconfig (rtld-prefix): Define built linker prefix.
37647 * Rules (run-bench): Use it.
37648 * math/Makefile (run-regen-ulps): Likewise.
37649
37650 * Rules (bench): Remove eval.
37651
37652 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37653 Roland McGrath <roland@hack.frob.com>
37654 Ondrej Bilka <neleai@seznam.cz>
37655
37656 [BZ #15346]
37657 * time/getdate.c: Include ctype.h and alloca.h.
37658 (__getdate_r): Trim leading and trailing spaces of input.
37659 * time/tst-getdate.c (tests): Add tests with leading and
37660 trailing spaces.
37661
37662 2013-04-08 Roland McGrath <roland@hack.frob.com>
37663
37664 [BZ #14280]
37665 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
37666 when computing value.
37667
37668 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37669
37670 * math/README.libm-test (How can I generate "libm-test-ulps"?):
37671 Use testrun.sh to run libm tests.
37672
37673 [BZ #15309]
37674 * elf/dl-open.c (dl_open_worker): memset all of seen array.
37675
37676 2013-04-06 Marko Myllynen <myllynen@redhat.com>
37677
37678 [BZ #15264]
37679 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
37680
37681 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37682
37683 * Makefile.in (regen-ulps): New target.
37684 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
37685 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
37686 [ifneq (no,$(PERL)] (regen-ulps): New target.
37687 [ifeq (no,$(PERL)] (regen-ulps): New target.
37688 * math/libm-test.inc (ulps_file_name): Define.
37689 (output_dir): New variable.
37690 (options): Add "output-dir" option.
37691 (parse_opt): Handle 'o' case.
37692 (main): If output_dir is non-NULL use it as a prefix
37693 otherwise use "".
37694 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
37695
37696 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37697
37698 [BZ #10060, #10062]
37699 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
37700 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
37701 fail configure if __sync_val_compare_and_swap is not inlined.
37702 * sysdeps/i386/configure: Regenerate.
37703 * configure.in: Build for i686 when configured for i386.
37704 * configure: Regenerate.
37705 * README: Remove i386 reference.
37706
37707 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37708
37709 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
37710 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37711
37712 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
37713
37714 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
37715 (lmsnanval): New variables.
37716 (F): Add conversion tests.
37717 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
37718 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
37719
37720 * stdio-common/tstdiomisc.c (F): Properly collect individual
37721 tests' results.
37722
37723 [BZ #14686, #15336]
37724 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
37725 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
37726 Instead, use input NaN values or generate a qNaN by arithmetic
37727 operation. Also fix bugs to comply with the standard.
37728 * math/libm-test.inc (remainder_test): Add more tests.
37729
37730 [BZ #15335, #15342]
37731 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
37732 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
37733 input NaN values or generate a qNaN by arithmetic operation.
37734
37735 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
37736 unreachable code.
37737
37738 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
37739 definitions.
37740
37741 2013-04-03 Joseph Myers <joseph@codesourcery.com>
37742
37743 [BZ #14478]
37744 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
37745 underflowed result.
37746 * math/s_cexpf.c (__cexpf): Likewise.
37747 * math/s_cexpl.c (__cexpl): Likewise.
37748 * math/libm-test.inc (cexp_test): Add more tests.
37749
37750 2013-04-03 Andreas Schwab <schwab@suse.de>
37751
37752 [BZ #15330]
37753 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
37754 order arrays from heap if bigger than alloca cutoff.
37755
37756 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
37757
37758 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
37759 (SNAN_TESTS_double): Refer to GCC PR56831.
37760 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
37761 GCC PR56828.
37762
37763 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
37764
37765 * Rules (bench): Move bench.out after the run is complete.
37766
37767 * Rules (bench): Echo currently running benchmark.
37768
37769 * benchtests/Makefile (bench): Add atan and slowatan.
37770 * benchtests/atan-inputs: New file.
37771 * benchtests/slowatan-inputs: New file.
37772 * benchtests/slowatan.c: New file.
37773
37774 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
37775 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
37776 its value.
37777
37778 [BZ #15305]
37779 * sysdeps/unix/sysv/linux/kernel-features.h
37780 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
37781 __ASSUME_XFS_RESTRICTED_CHOWN.
37782 * sysdeps/unix/sysv/linux/pathconf.c
37783 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
37784 Save and restore errno.
37785
37786 2013-04-02 Joseph Myers <joseph@codesourcery.com>
37787
37788 [BZ #15327]
37789 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
37790 arguments using __kernel_casinh.
37791 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
37792 arguments using __kernel_casinhf.
37793 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
37794 arguments using __kernel_casinhl.
37795 * math/libm-test.inc (cacosh_test): Add more tests.
37796 * sysdeps/i386/fpu/libm-test-ulps: Update.
37797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37798
37799 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37800
37801 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
37802 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
37803
37804 * bench/Makefile (bench): Add sin and slowsin.
37805 * benchtests/sin-inputs: New file.
37806 * benchtests/slowsin-inputs: New file.
37807 * benchtests/slowsin.c: New file.
37808
37809 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
37810 (bench): Add slowexp and slowpow.
37811 (exp-ITER): Increase iterations.
37812 (pow-ITER): Likewise.
37813 * benchtests/exp-inputs: Change input.
37814 * benchtests/pow-inputs: Likewise.
37815 * benchtests/slowexp-inputs: New file.
37816 * benchtests/slowexp.c: New file.
37817 * benchtests/slowpow-inputs: New file.
37818 * benchtests/slowpow.c: New file.
37819
37820 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37821
37822 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
37823 instructions.
37824 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37825 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
37826 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
37827 * benchtests/Makefile: Add rint benchtest.
37828 * benchtests/rint-inputs: Input for rint benchtest.
37829
37830 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
37831
37832 * Versions.def (libm): Add GLIBC_2.18.
37833 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
37834 hidden libm prototypes.
37835 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
37836 * math/Makefile (libm-calls): Add s_issignaling.
37837 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
37838 __issignalingf, __issignalingl. Adjust all libm.abilist files.
37839 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
37840 declaration.
37841 * math/math.h [__USE_GNU] (issignaling): New macro.
37842 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
37843 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
37844 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
37845 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
37846 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
37847 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
37848 * manual/arith.texi (issignaling): New section.
37849 * manual/libm-err-tab.pl (@all_functions): Update comment.
37850 * math/gen-libm-test.pl (parse_args): Apply special handling for
37851 issignaling.
37852 * math/libm-test.inc (print_float, issignaling_test): New
37853 functions.
37854 (check_float_internal): Add issignaling checks.
37855 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
37856 default definition.
37857 * sysdeps/powerpc/math-tests.h: New file.
37858 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
37859 tests.
37860 * math/test-snan.c (TEST_FUNC): Likewise.
37861
37862 2013-03-30 David S. Miller <davem@davemloft.net>
37863
37864 * po/de.po: Update from translation team.
37865
37866 2013-03-30 Joseph Myers <joseph@codesourcery.com>
37867
37868 [BZ #10357]
37869 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37870 imaginary part less than 1.0 and real part less than 0.5
37871 specially.
37872 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37873 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37874 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
37875 (cacos_test): Add more tests.
37876 (casin_test): Likewise.
37877 (casinh_test): Likewise.
37878 * sysdeps/i386/fpu/libm-test-ulps: Update.
37879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37880
37881 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37882
37883 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
37884 ONE with its value.
37885
37886 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
37887 (__pow_mp): Replace ONE and MONE with their values.
37888 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37889 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
37890 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37891 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
37892 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37893 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37894
37895 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
37896
37897 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
37898 (__pow_mp): Replace ZERO and MZERO with their values.
37899 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37900 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37901 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37902 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37903 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37904 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
37905 (__sqr): Likewise.
37906
37907 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
37908
37909 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
37910
37911 2013-03-28 Roland McGrath <roland@hack.frob.com>
37912
37913 * include/stdlib.h [!SHARED] (__call_tls_dtors):
37914 Declare with __attribute__ ((weak)).
37915 * stdlib/exit.c (__libc_atexit) [!SHARED]:
37916 Call __call_tls_dtors only if it's not NULL.
37917
37918 2013-03-28 Roland McGrath <roland@hack.frob.com>
37919
37920 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
37921 didn't do it already, then set _dl_phdr and _dl_phnum based on the
37922 magic __ehdr_start linker symbol if it's defined.
37923 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
37924 them up here if it was already done.
37925
37926 * elf/dl-support.c (_dl_phdr): Make pointer to const.
37927 (_dl_aux_init): Use const in cast when setting it.
37928 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
37929 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
37930 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
37931
37932 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
37933 Declare them here.
37934 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
37935 * csu/libc-tls.c: Nor here.
37936 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
37937
37938 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
37939 (__libc_message): Never call vsyslog.
37940
37941 2013-03-28 Alan Modra <amodra@gmail.com>
37942
37943 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
37944 Define as empty.
37945 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
37946 Likewise.
37947
37948 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37949
37950 [BZ #15214]
37951 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
37952 underflow.
37953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37954
37955 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37956
37957 [BZ #15304]
37958 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37959 Don't add gid passed as argument.
37960
37961 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
37962
37963 2013-03-27 Joseph Myers <joseph@codesourcery.com>
37964
37965 [BZ #15307]
37966 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37967 imaginary part between 1.0 and 1.5 and real part less than 0.5
37968 specially.
37969 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37970 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37971 * math/libm-test.inc (cacos_test): Add more tests.
37972 (casin_test): Likewise.
37973 (casinh_test): Likewise.
37974 * sysdeps/i386/fpu/libm-test-ulps: Update.
37975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37976
37977 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37978
37979 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
37980 constants.
37981 (norm): Likewise.
37982 (denorm): Likewise.
37983 (__dbl_mp): Likewise.
37984 (add_magnitudes): Likewise.
37985 (sub_magnitudes): Likewise.
37986 (__add): Likewise.
37987 (__sub): Likewise.
37988 (__mul): Likewise.
37989 (__sqr): Likewise.
37990 (__inv): Likewise.
37991 (__dvd): Likewise.
37992
37993 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
37994 commented code.
37995 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
37996 (__dubcos): Likewise.
37997 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
37998 (__ieee754_acos): Likewise.
37999 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
38000 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
38001 (__exp1): Likewise.
38002 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38003 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38004 (log1): Likewise.
38005 (my_log2): Likewise.
38006 (checkint): Likewise.
38007 * sysdeps/ieee754/dbl-64/e_remainder.c
38008 (__ieee754_remainder): Likewise.
38009 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38010 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
38011 (bsloww): Likewise.
38012 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38013
38014 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38015 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
38016 MANTISSA_STORE_T to store computations on mantissa. Use
38017 macros for rounding and division.
38018 (denorm): Likewise.
38019 (__dbl_mp): Likewise.
38020 (add_magnitudes): Likewise.
38021 (sub_magnitudes): Likewise.
38022 (__mul): Likewise.
38023 (__sqr): Likewise.
38024 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38025 powers of two in terms of TWOPOW macro.
38026 (mp_no): Make type of mantissa as MANTISSA_T.
38027 [!RADIXI]: Define RADIXI.
38028 [!TWO52]: Define TWO52.
38029 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38030
38031 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38032
38033 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
38034 llroundl symbol when building for PPC32.
38035
38036 2013-03-24 Mark H Weaver <mhw@netris.org>
38037
38038 * manual/arith.texi (Normalization Functions): Fix prototypes for
38039 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
38040
38041 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38042
38043 [BZ #13889]
38044 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
38045 high value to check if expl overflow.
38046 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
38047 to check for underflow and overflow.
38048 * math/libm-test.inc: Add exp test.
38049
38050 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
38051
38052 [BZ #11120]
38053 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
38054 with NOT_IN_libc.
38055
38056 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38057
38058 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
38059 symbol.
38060
38061 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
38062
38063 * math/gen-libm-test.pl (parse_args, special_functions): Properly
38064 wrap blocks consisting of several statements.
38065
38066 * sysdeps/generic/math-tests.h: New file.
38067 * sysdeps/i386/fpu/math-tests.h: Likewise.
38068 * math/test-snan.c: Include it.
38069 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
38070
38071 2013-03-21 Joseph Myers <joseph@codesourcery.com>
38072
38073 [BZ #15285]
38074 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
38075 (__ieee754_j0l): Do not improve calculations using cos of twice
38076 input for inputs above LDBL_MAX / 2.0L.
38077 (__ieee754_y0l): Likewise.
38078 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
38079 (__ieee754_j1l): Do not improve calculations using cos of twice
38080 input for inputs above LDBL_MAX / 2.0L.
38081 (__ieee754_y1l): Likewise.
38082 * math/libm-test.inc (j0_test): Add another test.
38083 (j1_test): Likewise.
38084 (y0_test): Likewise.
38085 (y1_test): Likewise.
38086 * sysdeps/i386/fpu/libm-test-ulps: Update.
38087
38088 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38089
38090 * Rules ($(objpfx)bench-%.c): Include code from a C source
38091 file.
38092
38093 2013-03-21 Joseph Myers <joseph@codesourcery.com>
38094
38095 [BZ #15287]
38096 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38097 imaginary part 1.0 and real part less than 0.5 specially.
38098 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38099 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38100 * math/libm-test.inc (cacos_test): Add more tests.
38101 (casin_test): Likewise.
38102 (casinh_test): Likewise.
38103 * sysdeps/i386/fpu/libm-test-ulps: Update.
38104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38105
38106 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38107
38108 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
38109 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
38110
38111 2013-03-20 Joseph Myers <joseph@codesourcery.com>
38112
38113 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
38114 * config.make.in (config-cflags-sse4): Remove variable.
38115 (config-cflags-avx): Likewise.
38116 (config-cflags-sse2avx): Likewise.
38117 (config-cflags-novzeroupper): Likewise.
38118 (config-asflags-i686): Likewise.
38119 (have-mfma4): Likewise.
38120 (have-as-vis3): Likewise.
38121 (MIG): Likewise.
38122 * configure.in (MIG): Do not AC_SUBST.
38123 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
38124 (libc_cv_cc_sse4): Do not AC_SUBST.
38125 (libc_cv_cc_avx): Likewise.
38126 (libc_cv_cc_sse2avx): Likewise.
38127 (libc_cv_cc_novzeroupper): Likewise.
38128 (libc_cv_cc_fma4): Likewise.
38129 (libc_cv_as_i686): Likewise.
38130 (libc_cv_sparc_as_vis3): Likewise.
38131 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
38132 LIBC_CONFIG_VAR.
38133 (config-asflags-i686): Likewise.
38134 (config-cflags-avx): Likewise.
38135 (config-cflags-sse2avx): Likewise.
38136 (have-mfma4): Likewise.
38137 (config-cflags-novzeroupper): Likewise.
38138 * sysdeps/mach/configure.in (MIG): Likewise.
38139 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
38140 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
38141 LIBC_CONFIG_VAR.
38142 (config-cflags-avx): Likewise.
38143 (config-cflags-sse2avx): Likewise.
38144 (have-mfma4): Likewise.
38145 (config-cflags-novzeroupper): Likewise.
38146 * configure: Regenerated.
38147 * sysdeps/i386/configure: Likewise.
38148 * sysdeps/mach/configure: Likewise.
38149 * sysdeps/sparc/configure: Likewise.
38150 * sysdeps/x86_64/configure: Likewise.
38151
38152 2013-03-20 Roland McGrath <roland@hack.frob.com>
38153
38154 [BZ #14812]
38155 * locale/programs/localedef.c (options): Put N_ translation marker
38156 on argument names, not just descriptions.
38157
38158 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38159
38160 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
38161
38162 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
38163
38164 [BZ #14176]
38165 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
38166
38167 2013-03-19 Roland McGrath <roland@hack.frob.com>
38168
38169 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
38170 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
38171 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
38172 [!BEFORE_ABORT] (before_abort): New function.
38173 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
38174 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
38175 (writev_for_fatal): New function.
38176 (WRITEV_FOR_FATAL): New macro; call that.
38177 (backtrace_and_maps): New function.
38178 (BEFORE_ABORT): New macro; call that.
38179 (struct str_list): Type removed.
38180 (__libc_message, __libc_fatal): Functions removed.
38181 Include <sysdeps/posix/libc_fatal.c> instead.
38182
38183 2013-03-19 Joseph Myers <joseph@codesourcery.com>
38184
38185 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
38186 constants.
38187 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
38188 double constants.
38189
38190 2013-03-19 Andreas Schwab <schwab@suse.de>
38191
38192 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
38193 * sysdeps/gnu/configure: Regenerate.
38194
38195 * configure.in: Substitute libc_cv_rtlddir.
38196 * configure: Regenerate.
38197 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
38198 * Makeconfig (rtlddir, inst_rtlddir): New variables.
38199 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
38200 * elf/Makefile (install-others, CFLAGS-interp.c)
38201 (ldso_install, common-ldd-rewrite): Likewise.
38202 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
38203 $(inst_slibdir)/$(rtld-installed-name).
38204 * scripts/rellns-sh: Add -p option.
38205 * Makerules (make-shlib-link): Use rellns-sh to get relative name
38206 for source.
38207
38208 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38209
38210 * manual/nptl.texi: Renamed to ...
38211 * manual/threads.texi: ... this.
38212 * manual/Makefile (chapters): Update.
38213
38214 2013-03-18 Roland McGrath <roland@hack.frob.com>
38215
38216 [BZ #14812]
38217 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
38218 on argument names, not just descriptions.
38219 * malloc/memusagestat.c (options): Likewise.
38220 * nss/getent.c (options): Likewise.
38221
38222 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
38223
38224 [BZ #14812]
38225 * iconv/iconv_prog.c (options): Put N_ translation marker
38226 on argument names, not just descriptions.
38227 * iconv/iconvconfig.c (options): Likewise.
38228
38229 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
38230
38231 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
38232 implementation which is faster on all x86_64 architectures.
38233 Tested on AMD, Intel Nehalem, SNB, IVB.
38234 * sysdeps/x86_64/strnlen.S: Likewise.
38235
38236 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38237 Remove all multiarch strlen and strnlen versions.
38238 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38239 Remove strlen and strnlen related parts.
38240
38241 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
38242 Inline strlen part.
38243 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
38244
38245 * sysdeps/x86_64/multiarch/strlen.S: Remove.
38246 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
38247 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
38248 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
38249 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38250 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
38251
38252 2013-03-17 Carlos O'Donell <carlos@redhat.com>
38253
38254 * manual/memory.texi (Malloc Tunable Parameters):
38255 Sort parameters alphabetically. Add comments for missing entries.
38256
38257 2013-03-17 David S. Miller <davem@davemloft.net>
38258
38259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38260
38261 2013-03-16 Joseph Myers <joseph@codesourcery.com>
38262
38263 [BZ #15283]
38264 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
38265 for arguments at most half maximum finite value.
38266 * math/libm-test.inc (j0_test): Add more tests.
38267 (j1_test): Likewise.
38268 (y0_test): Likewise.
38269 (y1_test): Likewise.
38270 * sysdeps/i386/fpu/libm-test-ulps: Update.
38271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38272
38273 [BZ #14155]
38274 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
38275 1 / x and functions P and Q for arguments above 0x1p256L.
38276 (__ieee754_y0l): Likewise.
38277 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
38278 (__ieee754_y1l): Likewise.
38279 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
38280 (j1_test): Likewise.
38281 (y0_test): Likewise.
38282 (y1_test): Likewise.
38283
38284 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
38285
38286 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
38287 variable.
38288
38289 2013-03-15 Roland McGrath <roland@hack.frob.com>
38290
38291 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
38292 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
38293 zero since it's initialized to EXEC_PAGESIZE.
38294
38295 * sysdeps/unix/sysv/linux/ldsodefs.h
38296 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
38297 * sysdeps/generic/ldsodefs.h: ... here.
38298
38299 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
38300
38301 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
38302
38303 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
38304 math/test-snan.c.
38305 * math/test-snan.c: Renamed from
38306 sysdeps/powerpc/fpu/test-powerpc-snan.c.
38307 * math/Makefile (tests): Add test-snan.
38308 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
38309 test-powerpc-snan.
38310
38311 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
38312 SUFFIX. Initialize qNaN_var with __builtin_nan family of
38313 functions.
38314 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
38315 __builtin_nan family of functions.
38316 * math/libm-test.inc (initialize): Initialize qnan_value with
38317 __builtin_nan family of functions.
38318 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
38319 Remove variables.
38320 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
38321 Remove functions.
38322 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
38323 storage class. Initialize qNaN_var and sNaN_var with
38324 __builtin_nan and __builtin_nans families of functions,
38325 respectively.
38326
38327 * math/libm-test.inc (acosh_test): Also test with qNaN input.
38328 (sqrt_test): Remove duplicate test with qNaN input.
38329 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
38330 (round_test, signbit_test, significand_test): Note missing +/-Inf
38331 as well as qNaN tests.
38332
38333 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
38334 qNaN_var. Fix a few strings, too.
38335 * math/libm-test.inc (nan_value): Rename to qnan_value.
38336 * math/gen-libm-test.pl (%beautify): Adjust to that.
38337 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
38338 * math/test-misc.c (main): Likewise.
38339 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
38340 to __qnan_bytes, and __qnan_union, respectively.
38341 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
38342 Likewise.
38343 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
38344 and lqnanval, respectively.
38345 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
38346 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
38347 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
38348 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
38349
38350 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
38351 * math/test-misc.c (main) [__x86_64__]: Enable test for long
38352 doubles.
38353
38354 * math/test-misc.c (main): Fix copy'n'pastos.
38355 * misc/tst-efgcvt.c (special): Likewise.
38356
38357 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
38358 Remove declarations.
38359
38360 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38361
38362 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
38363 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
38364 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
38365 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
38366
38367 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38368
38369 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
38370 macro to return vdso values correctly in IFUNC implementations.
38371 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38372 Optimization by using IFUNC.
38373
38374 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38375 Richard Henderson <rth@redhat.com>
38376 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38377
38378 * Makefile.in (bench): New target.
38379 * NEWS: Mention the benchmark framework.
38380 * Rules (bench): Likewise.
38381 (binaries-bench): Generate binaries for functions to
38382 benchmark.
38383 * benchtests/Makefile: New makefile for benchmark tests.
38384 * benchtests/bench-skeleton.c: New skeleton file for benchmark
38385 programs.
38386 * benchtests/exp-inputs: New input file for EXP function.
38387 * benchtests/pow-inputs: New input file for POW function.
38388 * scripts/bench.pl: New script to generate source files for
38389 benchmark programs.
38390
38391 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38392
38393 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38394 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
38395 computations on mantissa. Use macros for rounding and
38396 division.
38397 (denorm): Likewise.
38398 (__dbl_mp): Likewise.
38399 (add_magnitudes): Likewise.
38400 (sub_magnitudes): Likewise.
38401 (__mul): Likewise.
38402 (__sqr): Likewise.
38403 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38404 powers of two in terms of TWOPOW macro.
38405 (mp_no): Make type of mantissa as MANTISSA_T.
38406 [!RADIXI]: Define RADIXI.
38407 [!TWO52]: Define TWO52.
38408 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38409
38410 * manual/nptl.texi (cindex): Modify threads to pthreads.
38411
38412 2013-03-15 Joseph Myers <joseph@codesourcery.com>
38413
38414 * sysdeps/x86_64/preconfigure: Regenerated.
38415
38416 2013-03-14 Joseph Myers <joseph@codesourcery.com>
38417
38418 [BZ #14155]
38419 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
38420 0x1p28 and above.
38421 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
38422 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
38423 0x1p28 and above.
38424 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
38425 * math/libm-test.inc (j0_test): Do not allow one spurious
38426 underflow exception.
38427 (y1_test): Likewise.
38428
38429 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38430
38431 * manual/Makefile (chapters): Add nptl.
38432 * manual/debug.texi (Debugging Support): Add link to Threads
38433 chapter.
38434 * manual/nptl.texi: New file.
38435
38436 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
38437
38438 2013-03-14 Petr Baudis <pasky@ucw.cz>
38439
38440 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
38441 for non-NULL pointer before the memory validity test. Pointed
38442 out by Holger Brunck <holger.brunck@keymile.com>.
38443
38444 2013-03-13 Andreas Schwab <schwab@suse.de>
38445
38446 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
38447 instead of .os.
38448
38449 2013-03-13 Joseph Myers <joseph@codesourcery.com>
38450
38451 * timezone/zic.c: Update from tzcode 2013b.
38452
38453 2013-03-12 Carlos O'Donell <carlos@redhat.com>
38454
38455 * manual/install.texi (Configuring and compiling):
38456 Mention i686 and i586.
38457 * INSTALL: Regenerate.
38458
38459 2013-03-12 Roland McGrath <roland@hack.frob.com>
38460
38461 * sysdeps/init_array/elf-init.c: New file.
38462 * csu/elf-init.c
38463 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
38464 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
38465
38466 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
38467 __gmon_start__ as global, but as static with a .preinit_array pointer.
38468 * sysdeps/init_array/gmon-start.c: New file. Use that.
38469 * sysdeps/init_array/crti.S: New file, empty except for comments.
38470 * sysdeps/init_array/crtn.S: Likewise.
38471
38472 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
38473
38474 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
38475 definining bcopy.
38476 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38477 Remove Prefer_SSE_for_memop.
38478 * sysdeps/x86_64/multiarch/init-arch.h: Remove
38479 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
38480 HAS_PREFER_SSE_FOR_MEMOP.
38481 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
38482 memset-x86-64.
38483 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38484 Remove bzero, memset ifunc support.
38485 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
38486 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
38487 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38488 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38489
38490 2013-03-11 Andreas Schwab <schwab@suse.de>
38491
38492 [BZ #15234]
38493 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
38494 by SHLIB_COMPAT.
38495 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
38496 (GLIBC_2.16): Remove pthread_atfork.
38497
38498 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
38499
38500 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
38501 (ptestcases.h): Likewise.
38502
38503 2013-03-08 Roland McGrath <roland@hack.frob.com>
38504
38505 * Makeconfig ($(common-objpfx)config.status): Depend on
38506 sysdeps/*/preconfigure{,.in} too.
38507
38508 2013-03-08 Joseph Myers <joseph@codesourcery.com>
38509
38510 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
38511 (__free_hook): Use void * instead of __malloc_ptr_t.
38512 (__malloc_hook): Likewise.
38513 (__realloc_hook): Likewise.
38514 (__memalign_hook): Likewise.
38515 (__after_morecore_hook): Likewise.
38516 * malloc/arena.c (save_malloc_hook): Likewise.
38517 (save_free_hook): Likewise.
38518 * malloc/hooks.c (malloc_hook_ini): Likewise.
38519 (realloc_hook_ini): Likewise.
38520 (memalign_hook_ini): Likewise.
38521 * malloc/malloc.c (malloc_hook_ini): Likewise.
38522 (realloc_hook_ini): Likewise.
38523 (memalign_hook_ini): Likewise.
38524 (__free_hook): Likewise.
38525 (__malloc_hook): Likewise.
38526 (__realloc_hook): Likewise.
38527 (__memalign_hook): Likewise.
38528 (__libc_malloc): Likewise.
38529 (__libc_free): Likewise.
38530 (__libc_realloc): Likewise.
38531 (__libc_memalign): Likewise.
38532 (__libc_valloc): Likewise.
38533 (__libc_pvalloc): Likewise.
38534 (__libc_calloc): Likewise.
38535 (__posix_memalign): Likewise.
38536 * malloc/morecore.c (__sbrk): Likewise.
38537 (__default_morecore): Likewise.
38538
38539 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
38540
38541 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
38542 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
38543 __malloc_ptrdiff_t.
38544
38545 * malloc/malloc.h (__malloc_size_t): Remove macro.
38546 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
38547 __malloc_size_t.
38548 (old_memalign_hook): Likewise.
38549 (old_realloc_hook): Likewise.
38550 (struct hdr): Likewise.
38551 (flood): Likewise.
38552 (mallochook): Likewise.
38553 (memalignhook): Likewise.
38554 (reallochook): Likewise.
38555 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
38556 (tr_old_realloc_hook): Likewise.
38557 (tr_old_memalign_hook): Likewise.
38558 (tr_mallochook): Likewise.
38559 (tr_reallochook): Likewise.
38560 (tr_memalignhook): Likewise.
38561
38562 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38563
38564 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
38565 default_ldbl_pack and using as default implementation.
38566 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
38567 implementation.
38568 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
38569 redundant definition.
38570 (ldbl_insert_mantissa): Likewise.
38571 (ldbl_canonicalize): Likewise.
38572 (ldbl_nearbyint): Likewise.
38573 (ldbl_pack): Rename to ldbl_pack_ppc.
38574 (ldbl_unpack): Rename to ldbl_unpack_ppc.
38575 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
38576 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
38577
38578 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38579
38580 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
38581 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
38582 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
38583 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
38584 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
38585 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
38586 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
38587 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
38588
38589 2013-03-07 Andreas Jaeger <aj@suse.de>
38590
38591 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38592 bits/mman-linux.h.
38593
38594 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38595
38596 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
38597 Include mpa.h and declare __MPEXP.
38598 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
38599 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38600 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38601 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
38602 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38603 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38604 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
38605
38606 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
38607 (__slowpow): Use long double EXPL and LOGL functions to
38608 compute POW.
38609 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38610 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38611 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
38612 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38613 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38614 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
38615
38616 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
38617 intermediate variable to calculate exponent.
38618 (__sqr): Likewise.
38619 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38620 Likewise.
38621 (__sqr): Likewise.
38622
38623 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
38624 [!NO__SQR]: Define __sqr.
38625 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
38626 and NO__SQR. Remove all code except __mul and __sqr. Include
38627 sysdeps/ieee754/dbl-64/mpa.c.
38628 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38629
38630 [BZ #12723]
38631 * posix/Makefile (tests): Add tst-pathconf.
38632 * posix/tst-pathconf.c: New test case.
38633 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
38634 _PC_PIPE_BUF.
38635 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
38636
38637 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
38638
38639 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
38640
38641 2013-03-06 Andreas Jaeger <aj@suse.de>
38642
38643 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
38644 definition via __MAP_ANONYMOUS.
38645
38646 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
38647 it's not part of Linux headers.
38648
38649 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
38650 (MAP_HUGE_MASK): Define.
38651
38652 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38653 Define.
38654 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38655 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38656 Define.
38657 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38658 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38659 Define.
38660 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38661 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
38662 Define.
38663 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38664
38665 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
38666 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
38667 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
38668 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
38669 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
38670 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
38671
38672 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38673 Handle f2fs.
38674
38675 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38676 Handle f2fs and efivarfs.
38677
38678 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
38679 f2fs.
38680
38681 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
38682 (EFIVARFS_MAGIC): Add.
38683 (F2FS_LINK_MAX): Add.
38684
38685 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38686
38687 * stdio-common/vfprintf.c: Replace __builtin_expect with
38688 __glibc_unlikely.
38689
38690 2013-03-06 Joseph Myers <joseph@codesourcery.com>
38691
38692 [BZ #13550]
38693 * sysdeps/generic/bp-sym.h: Remove file.
38694 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
38695 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
38696 <bp-sym.h> and <bp-asm.h>.
38697 (__longjmp): Don't use BP_SYM.
38698 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
38699 and <bp-asm.h>.
38700 (memcpy): Don't use BP_SYM.
38701 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
38702 <bp-sym.h> and <bp-asm.h>.
38703 (memcpy): Don't use BP_SYM.
38704 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
38705 <bp-asm.h>.
38706 (memcpy): Don't use BP_SYM.
38707 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
38708 <bp-asm.h>.
38709 (memset): Don't use BP_SYM.
38710 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38711 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38712 (__bzero): Don't use BP_SYM.
38713 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38714 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38715 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
38716 <bp-sym.h> and <bp-asm.h>.
38717 (memcmp): Don't use BP_SYM. Remove comment about bounded
38718 pointers.
38719 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
38720 <bp-sym.h> and <bp-asm.h>.
38721 (memcpy): Don't use BP_SYM.
38722 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
38723 <bp-sym.h> and <bp-asm.h>.
38724 (memset): Don't use BP_SYM.
38725 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38726 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38727 (__bzero): Don't use BP_SYM.
38728 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38729 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38730 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
38731 <bp-sym.h> and <bp-asm.h>.
38732 (strncmp): Don't use BP_SYM. Remove comment about bounded
38733 pointers.
38734 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
38735 <bp-sym.h> and <bp-asm.h>.
38736 (memcpy): Don't use BP_SYM.
38737 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
38738 <bp-sym.h> and <bp-asm.h>.
38739 (memset): Don't use BP_SYM.
38740 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38741 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38742 (__bzero): Don't use BP_SYM.
38743 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38744 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38745 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
38746 <bp-sym.h> and <bp-asm.h>.
38747 (__memchr): Don't use BP_SYM.
38748 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
38749 <bp-sym.h> and <bp-asm.h>.
38750 (memcmp): Don't use BP_SYM. Remove comment about bounded
38751 pointers.
38752 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
38753 <bp-sym.h> and <bp-asm.h>.
38754 (memcpy): Don't use BP_SYM.
38755 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
38756 <bp-sym.h> and <bp-asm.h>.
38757 (__mempcpy): Don't use BP_SYM.
38758 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
38759 <bp-sym.h> and <bp-asm.h>.
38760 (__memrchr): Don't use BP_SYM.
38761 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
38762 <bp-sym.h> and <bp-asm.h>.
38763 (memset): Don't use BP_SYM.
38764 (__bzero): Likewise.
38765 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
38766 <bp-sym.h> and <bp-asm.h>.
38767 (__rawmemchr): Don't use BP_SYM.
38768 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
38769 <bp-sym.h> and <bp-asm.h>.
38770 (__STRCMP): Don't use BP_SYM.
38771 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
38772 <bp-sym.h> and <bp-asm.h>.
38773 (strchr): Don't use BP_SYM.
38774 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
38775 <bp-sym.h> and <bp-asm.h>.
38776 (__strchrnul): Don't use BP_SYM.
38777 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
38778 <bp-sym.h> and <bp-asm.h>.
38779 (strlen): Don't use BP_SYM.
38780 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
38781 <bp-sym.h> and <bp-asm.h>.
38782 (strncmp): Don't use BP_SYM. Remove comment about bounded
38783 pointers.
38784 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
38785 <bp-sym.h> and <bp-asm.h>.
38786 (__strnlen): Don't use BP_SYM.
38787 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
38788 <bp-sym.h> and <bp-asm.h>.
38789 (__GI__setjmp): Don't use BP_SYM.
38790 (_setjmp): Likewise.
38791 (__sigsetjmp): Likewise.
38792 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
38793 (L(start_addresses)): Don't use BP_SYM.
38794 (_start): Likewise.
38795 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
38796 <bp-asm.h>.
38797 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
38798 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
38799 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38800 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38801 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
38802 <bp-asm.h>.
38803 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
38804 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
38805 about bounded pointers.
38806 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38807 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38808 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
38809 <bp-asm.h>.
38810 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
38811 about bounded pointers. Remove GKM FIXME comments.
38812 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38813 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
38814 <bp-asm.h>.
38815 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
38816 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
38817 Remove GKM FIXME comments.
38818 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38819 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38820 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
38821 <bp-asm.h>.
38822 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
38823 about bounded pointers. Remove GKM FIXME comment.
38824 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
38825 and <bp-asm.h>.
38826 (strncmp): Don't use BP_SYM. Remove comment about bounded
38827 pointers.
38828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
38829 <bp-sym.h> and <bp-asm.h>.
38830 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
38832 <bp-sym.h> and <bp-asm.h>.
38833 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
38834 comment.
38835
38836 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38837
38838 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
38839 call free(NULL).
38840
38841 2013-03-05 David S. Miller <davem@davemloft.net>
38842
38843 * po/es.po: Update from translation team.
38844
38845 2013-03-05 Andreas Jaeger <aj@suse.de>
38846
38847 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
38848 <bits/mman-linux.h>.
38849 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38850 is fine.
38851 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
38852 <bits/mman-linux.h> to end of file.
38853 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38854 is fine.
38855 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
38856 <bits/mman-linux.h> to end of file.
38857 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38858 is fine.
38859 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
38860 <bits/mman-linux.h> to end of file.
38861
38862 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
38863 (MCL_CURRENT, MCL_FUTURE): Define here.
38864
38865 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38866
38867 [BZ #15232]
38868 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
38869 attribute_hidden.
38870 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38871
38872 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38873
38874 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
38875 fourth parameter needed for rt_sigprocmask syscall.
38876 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
38877 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
38878 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
38879 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
38880 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
38881 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
38882
38883 2013-03-04 Joseph Myers <joseph@codesourcery.com>
38884
38885 [BZ #13550]
38886 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
38887 comment about bounded pointers.
38888 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
38889 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
38890
38891 2013-03-04 Andreas Jaeger <aj@suse.de>
38892
38893 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
38894 common definitions.
38895
38896 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
38897 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
38898 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
38899 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38900 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38901 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38902
38903 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38904
38905 [BZ #15055]
38906 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
38907 __ieee754_sqrl instead of __sqrl.
38908
38909 2013-03-01 Joseph Myers <joseph@codesourcery.com>
38910
38911 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
38912 * sysdeps/powerpc/fpu_control.h: ... here.
38913 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
38914 * sysdeps/powerpc/bits/fenvinline.h: ... here.
38915 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
38916 * sysdeps/powerpc/bits/mathinline.h: ... here.
38917
38918 2013-03-01 Roland McGrath <roland@hack.frob.com>
38919
38920 * elf/dl-hwcaps.c (_dl_important_hwcaps):
38921 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
38922 to just [NEED_DL_SYSINFO_DSO].
38923 * elf/dl-support.c: Likewise.
38924 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
38925 * elf/rtld.c (dl_main): Likewise.
38926 * elf/setup-vdso.h (setup_vdso): Likewise.
38927 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
38928 * sysdeps/unix/sysv/linux/dl-sysdep.c
38929 (_dl_discover_osversion): Likewise.
38930
38931 2013-03-01 Carlos O'Donell <carlos@redhat.com>
38932
38933 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
38934 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38935
38936 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
38937
38938 * NEWS: Mention libm performance improvements and non-x86 PI
38939 futex support.
38940
38941 * csu/libc-start.c (__pthread_initialize_minimal): Change
38942 function arguments.
38943 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38944
38945 2013-02-28 Joseph Myers <joseph@codesourcery.com>
38946
38947 [BZ #13550]
38948 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
38949 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
38950 <bp-sym.h> and <bp-asm.h>.
38951 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38952 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
38953 and <bp-asm.h>.
38954 (memcpy): Don't use BP_SYM.
38955 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
38956 <bp-asm.h>.
38957 (__mpn_add_n): Don't use BP_SYM.
38958 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
38959 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
38960 and <bp-asm.h>.
38961 (__mpn_addmul_1): Don't use BP_SYM.
38962 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38963 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
38964 <bp-sym.h>.
38965 (_setjmp): Don't use BP_SYM.
38966 (__novmx_setjmp): Likewise.
38967 (__GI__setjmp): Likewise.
38968 (__vmx_setjmp): Likewise.
38969 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
38970 <bp-sym.h>.
38971 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
38972 (__bzero): Don't use BP_SYM.
38973 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38974 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38975 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
38976 <bp-sym.h> and <bp-asm.h>.
38977 (memcpy): Don't use BP_SYM.
38978 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
38979 <bp-sym.h> and <bp-asm.h>.
38980 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38981 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
38982 <bp-sym.h> and <bp-asm.h>.
38983 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38984 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
38985 <bp-asm.h>.
38986 (__mpn_lshift): Don't use BP_SYM.
38987 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38988 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
38989 <bp-asm.h>.
38990 (memset): Don't use BP_SYM.
38991 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38992 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38993 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
38994 <bp-asm.h>.
38995 (__mpn_mul_1): Don't use BP_SYM.
38996 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38997 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
38998 <bp-sym.h> and <bp-asm.h>.
38999 (memcmp): Don't use BP_SYM.
39000 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
39001 <bp-sym.h> and <bp-asm.h>.
39002 (memcpy): Don't use BP_SYM.
39003 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
39004 <bp-sym.h> and <bp-asm.h>.
39005 (memset): Don't use BP_SYM.
39006 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
39007 <bp-sym.h> and <bp-asm.h>.
39008 (strncmp): Don't use BP_SYM.
39009 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
39010 <bp-sym.h> and <bp-asm.h>.
39011 (memcpy): Don't use BP_SYM.
39012 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
39013 <bp-sym.h> and <bp-asm.h>.
39014 (memset): Don't use BP_SYM.
39015 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
39016 <bp-sym.h> and <bp-asm.h>.
39017 (__memchr): Don't use BP_SYM.
39018 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
39019 <bp-sym.h> and <bp-asm.h>.
39020 (memcmp): Don't use BP_SYM.
39021 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
39022 <bp-sym.h> and <bp-asm.h>.
39023 (memcpy): Don't use BP_SYM.
39024 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
39025 <bp-sym.h> and <bp-asm.h>.
39026 (__mempcpy): Don't use BP_SYM.
39027 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
39028 <bp-sym.h> and <bp-asm.h>.
39029 (__memrchr): Don't use BP_SYM.
39030 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
39031 <bp-sym.h> and <bp-asm.h>.
39032 (memset): Don't use BP_SYM.
39033 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
39034 <bp-sym.h> and <bp-asm.h>.
39035 (__rawmemchr): Don't use BP_SYM.
39036 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
39037 <bp-sym.h> and <bp-asm.h>.
39038 (__STRCMP): Don't use BP_SYM.
39039 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
39040 <bp-sym.h> and <bp-asm.h>.
39041 (strchr): Don't use BP_SYM.
39042 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
39043 <bp-sym.h> and <bp-asm.h>.
39044 (__strchrnul): Don't use BP_SYM.
39045 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
39046 <bp-sym.h> and <bp-asm.h>.
39047 (strlen): Don't use BP_SYM.
39048 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
39049 <bp-sym.h> and <bp-asm.h>.
39050 (strncmp): Don't use BP_SYM.
39051 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
39052 <bp-sym.h> and <bp-asm.h>.
39053 (__strnlen): Don't use BP_SYM.
39054 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
39055 <bp-asm.h>.
39056 (__mpn_rshift): Don't use BP_SYM.
39057 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39058 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
39059 <bp-sym.h> and <bp-asm.h>.
39060 (__sigsetjmp): Don't use BP_SYM.
39061 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
39062 (L(start_addresses)): Don't use BP_SYM.
39063 (_start): Likewise.
39064 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
39065 <bp-asm.h>.
39066 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
39067 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39068 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39069 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
39070 <bp-asm.h>.
39071 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
39072 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39073 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39074 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
39075 <bp-asm.h>.
39076 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
39077 comments.
39078 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39079 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
39080 <bp-asm.h>.
39081 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
39082 FIXME comments.
39083 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39084 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39085 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
39086 <bp-asm.h>.
39087 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
39088 comment.
39089 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
39090 and <bp-asm.h>.
39091 (strncmp): Don't use BP_SYM,
39092 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
39093 <bp-asm.h>.
39094 (__mpn_sub_n): Don't use BP_SYM.
39095 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39096 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
39097 and <bp-asm.h>.
39098 (__mpn_submul_1): Don't use BP_SYM.
39099 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
39101 <bp-sym.h> and <bp-asm.h>.
39102 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
39104 <bp-sym.h> and <bp-asm.h>.
39105 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
39106 comment.
39107
39108 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39109
39110 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
39111 Use ZK to minimize writes to Z.
39112 (sub_magnitudes): Simplify code a bit.
39113 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
39114 Use ZK to minimize writes to Z.
39115 (sub_magnitudes): Simplify code a bit.
39116
39117 2013-02-27 Roland McGrath <roland@hack.frob.com>
39118
39119 * csu/gmon-start.c: Add special exception to license text.
39120
39121 2013-02-27 Richard Henderson <rth@redhat.com>
39122
39123 * scripts/config.guess: Update from config.git.
39124 * scripts/config.sub: Likewise.
39125
39126 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39127
39128 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
39129
39130 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
39131
39132 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
39133
39134 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
39135
39136 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
39137
39138 2013-02-26 Roland McGrath <roland@hack.frob.com>
39139
39140 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
39141 [$(build-shared = yes].
39142
39143 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39144
39145 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
39146 (__mul): Reduce iterations for calculating mantissa.
39147
39148 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
39149 MPTWO.
39150 (__mpranred): Likewise.
39151
39152 [BZ #15160]
39153 * malloc/memusagestat.c (main): Draw graphs for heap and stack
39154 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
39155
39156 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
39157
39158 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
39159 Define __attribute__.
39160
39161 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39162
39163 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
39164 unused.
39165 * posix/regex_internal.h (__attribute): Remove.
39166 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
39167 (re_string_context_at): Likewise.
39168 (bitset_not): Use __attribute__ and mark function as possibly
39169 unused.
39170 (bitset_merge): Likewise.
39171 (bitset_mask): Likewise.
39172 (re_string_char_size_at): Likewise.
39173 (re_string_wchar_at): Likewise.
39174 (re_string_elem_size_at): Likewise.
39175
39176 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39177
39178 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
39179 code.
39180 (cc32): Likewise.
39181
39182 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
39183 (__acr): Likewise.
39184 (__cpy): Likewise.
39185 (norm): Likewise.
39186 (denorm): Likewise.
39187 (__dbl_mp): Likewise.
39188 (add_magnitudes): Likewise.
39189 (sub_magnitudes): Likewise.
39190 (__mul): Likewise.
39191 (__inv): Likewise.
39192
39193 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
39194 style.
39195
39196 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
39197 style.
39198
39199 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
39200 code.
39201
39202 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
39203 up changes with default code.
39204 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
39205 Likewise.
39206
39207 2013-02-24 Allan McRae <allan@archlinux.org>
39208
39209 * manual/socket.texi (The Internet Namespace): Order menu items
39210 to match that in the file.
39211
39212 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
39213 node listing of the info page menu.
39214
39215 2013-02-21 Joseph Myers <joseph@codesourcery.com>
39216
39217 [BZ #13550]
39218 * sysdeps/i386/bp-asm.h: Remove file.
39219 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39220 (PARMS): Do not use macros from bp-asm.h.
39221 (S1): Likewise.
39222 (S2): Likewise.
39223 (SIZE): Likewise.
39224 (__mpn_add_n): Do not use BP_SYM
39225 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
39226 "bp-asm.h".
39227 (PARMS): Do not use macros from bp-asm.h.
39228 (S1): Likewise.
39229 (SIZE): Likewise.
39230 (__mpn_addmul_1): Do not use BP_SYM
39231 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
39232 "bp-asm.h".
39233 (PARMS): Do not use macros from bp-asm.h.
39234 (SIGMSK): Likewise.
39235 (_setjmp): Likewise. Do not use BP_SYM.
39236 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
39237 "bp-asm.h".
39238 (PARMS): Do not use macros from bp-asm.h.
39239 (SIGMSK): Likewise.
39240 (setjmp): Likewise. Do not use BP_SYM.
39241 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
39242 "bp-asm.h".
39243 (PARMS): Do not use macros from bp-asm.h.
39244 (__frexp): Do not use BP_SYM.
39245 (frexp): Likewise.
39246 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
39247 "bp-asm.h".
39248 (PARMS): Do not use macros from bp-asm.h.
39249 (__frexpf): Do not use BP_SYM.
39250 (frexpf): Likewise.
39251 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
39252 "bp-asm.h".
39253 (PARMS): Do not use macros from bp-asm.h.
39254 (__frexpl): Do not use BP_SYM.
39255 (frexpl): Likewise.
39256 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
39257 "bp-asm.h".
39258 (PARMS): Do not use macros from bp-asm.h.
39259 (__remquo): Do not use BP_SYM.
39260 (remquo): Likewise.
39261 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
39262 "bp-asm.h".
39263 (PARMS): Do not use macros from bp-asm.h.
39264 (__remquof): Do not use BP_SYM.
39265 (remquof): Likewise.
39266 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
39267 "bp-asm.h".
39268 (PARMS): Do not use macros from bp-asm.h.
39269 (__remquol): Do not use BP_SYM.
39270 (remquol): Likewise.
39271 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
39272 "bp-asm.h".
39273 (PARMS): Do not use macros from bp-asm.h.
39274 (DEST): Likewise.
39275 (SRC): Likewise.
39276 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
39277 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
39278 "bp-asm.h".
39279 (PARMS): Do not use macros from bp-asm.h.
39280 (strlen): Do not use BP_SYM.
39281 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
39282 "bp-asm.h".
39283 (PARMS): Do not use macros from bp-asm.h.
39284 (S1): Likewise.
39285 (S2): Likewise.
39286 (SIZE): Likewise.
39287 (__mpn_add_n): Do not use BP_SYM.
39288 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
39289 "bp-asm.h".
39290 (PARMS): Do not use macros from bp-asm.h.
39291 (S1): Likewise.
39292 (SIZE): Likewise.
39293 (__mpn_addmul_1): Do not use BP_SYM.
39294 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
39295 weak_alias.
39296 (bzero): Likewise.
39297 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
39298 "bp-asm.h".
39299 (PARMS): Do not use macros from bp-asm.h.
39300 (S): Likewise.
39301 (SIZE): Likewise.
39302 (__mpn_lshift): Do not use BP_SYM.
39303 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
39304 "bp-asm.h".
39305 (PARMS): Do not use macros from bp-asm.h.
39306 (DEST): Likewise.
39307 (SRC): Likewise.
39308 (LEN): Likewise.
39309 (memcpy): Likewise. Do not use BP_SYM.
39310 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
39311 libc_hidden_def and weak_alias.
39312 (mempcpy): Do not use BP_SYM in weak_alias.
39313 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
39314 "bp-asm.h".
39315 (PARMS): Do not use macros from bp-asm.h.
39316 (DEST): Likewise.
39317 (LEN): Likewise.
39318 [!BZERO_P] (CHR): Likewise.
39319 (memset): Likewise. Do not use BP_SYM.
39320 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
39321 "bp-asm.h".
39322 (PARMS): Do not use macros from bp-asm.h.
39323 (S1): Likewise.
39324 (SIZE): Likewise.
39325 (__mpn_mul_1): Do not use BP_SYM.
39326 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
39327 "bp-asm.h".
39328 (PARMS): Do not use macros from bp-asm.h.
39329 (S): Likewise.
39330 (SIZE): Likewise.
39331 (__mpn_rshift): Do not use BP_SYM.
39332 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
39333 "bp-asm.h".
39334 (PARMS): Do not use macros from bp-asm.h.
39335 (STR): Likewise.
39336 (CHR): Likewise.
39337 (strchr): Likewise. Do not use BP_SYM.
39338 (index): Do not use BP_SYM in weak_alias.
39339 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
39340 "bp-asm.h".
39341 (PARMS): Do not use macros from bp-asm.h.
39342 (DEST): Likewise.
39343 (SRC): Likewise.
39344 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
39345 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
39346 "bp-asm.h".
39347 (PARMS): Do not use macros from bp-asm.h.
39348 (strlen): Do not use BP_SYM.
39349 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
39350 "bp-asm.h".
39351 (PARMS): Do not use macros from bp-asm.h.
39352 (S1): Likewise.
39353 (S2): Likewise.
39354 (SIZE): Likewise.
39355 (__mpn_sub_n): Do not use BP_SYM.
39356 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
39357 "bp-asm.h".
39358 (PARMS): Do not use macros from bp-asm.h.
39359 (S1): Likewise.
39360 (SIZE): Likewise.
39361 (__mpn_submul_1): Do not use BP_SYM.
39362 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
39363 "bp-asm.h".
39364 (PARMS): Do not use macros from bp-asm.h.
39365 (S1): Likewise.
39366 (S2): Likewise.
39367 (SIZE): Likewise.
39368 (__mpn_add_n): Do not use BP_SYM.
39369 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
39370 weak_alias.
39371 (bzero): Likewise.
39372 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
39373 "bp-asm.h".
39374 (PARMS): Do not use macros from bp-asm.h.
39375 (BLK2): Likewise.
39376 (LEN): Likewise.
39377 (memcmp): Do not use BP_SYM.
39378 (bcmp): Do not use BP_SYM in weak_alias.
39379 * sysdeps/i386/i686/memcpy.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 (LEN): Likewise.
39385 (memcpy): Likewise. Do not use BP_SYM.
39386 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
39387 "bp-asm.h".
39388 (PARMS): Do not use macros from bp-asm.h.
39389 (DEST): Likewise.
39390 (SRC): Likewise.
39391 (LEN): Likewise.
39392 (memmove): Likewise. Do not use BP_SYM.
39393 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
39394 "bp-asm.h".
39395 (PARMS): Do not use macros from bp-asm.h.
39396 (DEST): Likewise.
39397 (SRC): Likewise.
39398 (LEN): Likewise.
39399 (__mempcpy): Likewise. Do not use BP_SYM.
39400 (mempcpy): Do not use BP_SYM in weak_alias.
39401 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
39402 "bp-asm.h".
39403 (PARMS): Do not use macros from bp-asm.h.
39404 (DEST): Likewise.
39405 (LEN): Likewise.
39406 [!BZERO_P] (CHR): Likewise.
39407 (memset): Likewise. Do not use BP_SYM.
39408 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
39409 "bp-asm.h".
39410 (PARMS): Do not use macros from bp-asm.h.
39411 (STR2): Likewise.
39412 (strcmp): Do not use BP_SYM.
39413 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
39414 "bp-asm.h".
39415 (PARMS): Do not use macros from bp-asm.h.
39416 (STR): Likewise.
39417 (DELIM): Likewise.
39418 [USE_AS_STRTOK_R] (SAVE): Likewise.
39419 (FUNCTION): Likewise. Do not use BP_SYM.
39420 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
39421 aliases.
39422 (strtok_r): Likewise.
39423 (__GI___strtok_r): Likewise.
39424 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39425 (PARMS): Do not use macros from bp-asm.h.
39426 (S): Likewise.
39427 (SIZE): Likewise.
39428 (__mpn_lshift): Do not use BP_SYM.
39429 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39430 (PARMS): Do not use macros from bp-asm.h.
39431 (STR): Likewise.
39432 (CHR): Likewise.
39433 (__memchr): Do not use BP_SYM.
39434 (memchr): Do not use BP_SYM in weak_alias.
39435 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39436 (PARMS): Do not use macros from bp-asm.h.
39437 (BLK2): Likewise.
39438 (LEN): Likewise.
39439 (memcmp): Do not use BP_SYM.
39440 (bcmp): Do not use BP_SYM in weak_alias.
39441 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
39442 (PARMS): Do not use macros from bp-asm.h.
39443 (S1): Likewise.
39444 (SIZE): Likewise.
39445 (__mpn_mul_1): Do not use BP_SYM.
39446 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
39447 "bp-asm.h".
39448 (PARMS): Do not use macros from bp-asm.h.
39449 (STR): Likewise.
39450 (CHR): Likewise.
39451 (__rawmemchr): Do not use BP_SYM.
39452 (rawmemchr): Do not use BP_SYM in weak_alias.
39453 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39454 (PARMS): Do not use macros from bp-asm.h.
39455 (S): Likewise.
39456 (SIZE): Likewise.
39457 (__mpn_rshift): Do not use BP_SYM.
39458 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39459 (PARMS): Do not use macros from bp-asm.h.
39460 (SIGMSK): Likewise.
39461 (__sigsetjmp): Likewise. Do not use BP_SYM.
39462 * sysdeps/i386/start.S: Do not include "bp-sym.h".
39463 (_start): Do not use BP_SYM.
39464 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
39465 (PARMS): Do not use macros from bp-asm.h.
39466 (DEST): Likewise.
39467 (SRC): Likewise.
39468 (__stpcpy): Likewise. Do not use BP_SYM.
39469 (stpcpy): Do not use BP_SYM in weak_alias.
39470 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
39471 "bp-asm.h".
39472 (PARMS): Do not use macros from bp-asm.h.
39473 (DEST): Likewise.
39474 (SRC): Likewise.
39475 (LEN): Likewise.
39476 (__stpncpy): Likewise. Do not use BP_SYM.
39477 (stpncpy): Do not use BP_SYM in weak_alias.
39478 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39479 (PARMS): Do not use macros from bp-asm.h.
39480 (STR): Likewise.
39481 (CHR): Likewise.
39482 (strchr): Likewise. Do not use BP_SYM.
39483 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
39484 "bp-asm.h".
39485 (PARMS): Do not use macros from bp-asm.h.
39486 (STR): Likewise.
39487 (CHR): Likewise.
39488 (__strchrnul): Likewise. Do not use BP_SYM.
39489 (strchrnul): Do not use BP_SYM in weak_alias.
39490 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
39491 "bp-asm.h".
39492 (PARMS): Do not use macros from bp-asm.h.
39493 (STOP): Likewise.
39494 (strcspn): Do not use BP_SYM.
39495 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
39496 "bp-asm.h".
39497 (PARMS): Do not use macros from bp-asm.h.
39498 (STR): Likewise.
39499 (STOP): Likewise.
39500 (strpbrk): Likewise. Do not use BP_SYM.
39501 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
39502 "bp-asm.h".
39503 (PARMS): Do not use macros from bp-asm.h.
39504 (STR): Likewise.
39505 (CHR): Likewise.
39506 (strrchr): Likewise. Do not use BP_SYM.
39507 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
39508 (PARMS): Do not use macros from bp-asm.h.
39509 (SKIP): Likewise.
39510 (strspn): Do not use BP_SYM.
39511 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
39512 (PARMS): Do not use macros from bp-asm.h.
39513 (STR): Likewise.
39514 (DELIM): Likewise.
39515 (SAVE): Likewise.
39516 (FUNCTION): Likewise. Do not use BP_SYM.
39517 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
39518 aliases.
39519 (strtok_r): Likewise.
39520 (__GI___strtok_r): Likewise.
39521 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39522 (PARMS): Do not use macros from bp-asm.h.
39523 (S1): Likewise.
39524 (S2): Likewise.
39525 (SIZE): Likewise.
39526 (__mpn_sub_n): Do not use BP_SYM.
39527 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
39528 "bp-asm.h".
39529 (PARMS): Do not use macros from bp-asm.h.
39530 (S1): Likewise.
39531 (SIZE): Likewise.
39532 (__mpn_submul_1): Do not use BP_SYM.
39533 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
39534 <bp-sym.h>.
39535 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
39536 and <bp-asm.h>.
39537 (PARMS): Do not use macros from bp-asm.h.
39538 (FLAGS): Likewise.
39539 (PTID): Likewise.
39540 (TLS): Likewise.
39541 (CTID): Likewise.
39542 (__clone): Do not use BP_SYM.
39543 (clone): Do not use BP_SYM in weak_alias.
39544 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
39545 and <bp-asm.h>.
39546 (PARMS): Do not use macros from bp-asm.h.
39547 (LEN): Likewise.
39548 (__mmap64): Do not use BP_SYM.
39549 (mmap64): Do not use BP_SYM in weak_alias.
39550 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39551 <bp-sym.h> and <bp-asm.h>.
39552 (PARMS): Do not use macros from bp-asm.h.
39553 (__posix_fadvise64_l64): Do not use BP_SYM.
39554 * sysdeps/unix/sysv/linux/i386/semtimedop.S
39555 (PARMS): Do not use macros from bp-asm.h.
39556 (NSOPS): Likewise.
39557 (semtimedop): Do not use BP_SYM.
39558 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
39559 and <bp-asm.h>.
39560
39561 2013-02-21 Allan McRae <allan@archlinux.org>
39562
39563 * manual/message.texi (Charset conversion in gettext):
39564 Move @end statement to beginning of line.
39565
39566 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39567
39568 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
39569 static.
39570 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39571 Likewise.
39572
39573 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
39574 (denorm): Likewise.
39575 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
39576 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
39577
39578 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39579
39580 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
39581 tail-call to the resolved function if pltexit isn't needed.
39582
39583 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39584
39585 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
39586 or Y being zero as being unlikely.
39587 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39588 Likewise.
39589
39590 2013-02-20 Carlos O'Donell <carlos@redhat.com>
39591
39592 * manual/nss.texi (System Databases and Name Service Switch):
39593 Remove frobnicate @pxref.
39594
39595 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39596
39597 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39598 __attribute__ ((unused)) to __attribute__ ((__unused__)).
39599
39600 2013-02-20 Petr Machata <pmachata@redhat.com>
39601
39602 * elf/elf.h (R_ARM_TARGET1): New macro.
39603 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
39604 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
39605 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
39606 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
39607 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
39608 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
39609 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
39610 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
39611 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
39612 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
39613 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
39614 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
39615 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
39616 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
39617 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
39618 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
39619 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
39620 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
39621 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
39622 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
39623 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
39624 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
39625 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
39626 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
39627 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
39628 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
39629 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
39630 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
39631 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
39632 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
39633 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
39634 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
39635 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
39636 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
39637 (R_ARM_THM_GOT_BREL12): Likewise.
39638 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
39639 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
39640 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
39641 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
39642 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
39643 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
39644 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
39645 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
39646 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
39647
39648 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39649
39650 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39651 __attribute_used__ to __attribute__ ((unused)).
39652
39653 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39654
39655 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
39656 powerpc mpa.c.
39657 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
39658 comment formatting.
39659 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
39660
39661 2013-02-19 Joseph Myers <joseph@codesourcery.com>
39662
39663 [BZ #13550]
39664 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
39665 Remove macro.
39666 (ENTER): Remove both macro definitions.
39667 (LEAVE): Likewise.
39668 (CHECK_BOUNDS_LOW): Likewise.
39669 (CHECK_BOUNDS_HIGH): Likewise.
39670 (CHECK_BOUNDS_BOTH): Likewise.
39671 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
39672 (RETURN_BOUNDED_POINTER): Likewise.
39673 (RETURN_NULL_BOUNDED_POINTER): Likewise.
39674 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
39675 (POP_ERRNO_LOCATION_RETURN): Likewise.
39676 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
39677 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39678 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
39679 macros.
39680 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39681 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
39682 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
39683 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
39684 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
39685 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
39686 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
39687 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
39688 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
39689 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
39690 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
39691 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
39692 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39693 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
39694 removed macros.
39695 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39696 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
39697 macros.
39698 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39699 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
39700 * sysdeps/i386/i586/memset.S (memset): Likewise.
39701 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
39702 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39703 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
39704 macros.
39705 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39706 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
39707 Change uses of L(2) to L(out).
39708 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
39709 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
39710 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
39711 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39712 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
39713 removed macros.
39714 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39715 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
39716 macros.
39717 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39718 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
39719 (RETURN): Do not use macro LEAVE.
39720 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
39721 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
39722 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
39723 * sysdeps/i386/i686/memset.S (memset): Likewise.
39724 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
39725 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
39726 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39727 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
39728 Likewise.
39729 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39730 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
39731 L(1_2) and L(1_3) into L(1).
39732 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39733 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
39734 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39735 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
39736 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39737 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
39738 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
39739 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39740 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
39741 macros.
39742 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
39743 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39744 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
39745 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
39746 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
39747 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39748 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
39749 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
39750 * sysdeps/i386/strcspn.S (strcspn): Likewise.
39751 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
39752 * sysdeps/i386/strrchr.S (strrchr): Likewise.
39753 * sysdeps/i386/strspn.S (strspn): Likewise.
39754 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
39755 conditional code.
39756 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39757 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
39758 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39759 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
39760 L(1_3) into L(1_1).
39761 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
39762 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39763 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
39764 macros.
39765 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39766
39767 2013-02-19 Jakub Jelinek <jakub@redhat.com>
39768
39769 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
39770 macro.
39771
39772 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39773
39774 * math/atest-exp.c (exp_mpn): Remove ROUND.
39775 * math/atest-exp2.c (exp_mpn): Likewise.
39776 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
39777
39778 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
39779 * stdlib/tst-tls-atexit-lib.c: Likewise.
39780 * stdlib/tst-tls-atexit.c: Likewise.
39781
39782 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39783
39784 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
39785 and __attribute_alloc_size__.
39786
39787 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39788
39789 * include/programs/xmalloc.h: Change __attribute_alloc_size to
39790 __attribute_alloc_size__.
39791 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
39792 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
39793
39794 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39795
39796 * include/programs/xmalloc.h: New file.
39797 * catgets/gencat.c: Include it.
39798 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
39799 * elf/pldd.c: Likewise.
39800 * iconv/iconv_charmap.c: Likewise.
39801 * iconv/iconvconfig.c: Likewise.
39802 * iconv/strtab.c: Likewise.
39803 * locale/programs/locale.c: Likewise.
39804 * locale/programs/localedef.h: Likewise.
39805 * locale/programs/simple-hash.c: Likewise.
39806 * nscd/nscd.h: Likewise.
39807 * nss/makedb.c: Likewise.
39808 * sysdeps/generic/ldconfig.h: Likewise.
39809
39810 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39811
39812 * Versions.def: Add GLIBC_2.18.
39813 * include/link.h (struct link_map): New member l_tls_dtor_count.
39814 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
39815 (__call_tls_dtors): Likewise.
39816 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
39817 __cxa_thread_atexit_impl.
39818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39819 Likewise.
39820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39821 Likewise.
39822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39823 Likewise.
39824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39825 Likewise.
39826 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
39828 Likewise.
39829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
39830 Likewise.
39831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39833 Likewise.
39834 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
39835 (tests): Add test case tst-tls-atexit.
39836 (modules-names): Add shared library for tst-tls-atexit.
39837 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
39838 (GLIBC_PRIVATE): Add __call_tls_dtors.
39839 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
39840 for libstdc++.
39841 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
39842 * stdlib/tst-tls-atexit.c: New test case.
39843 * stdlib/tst-tls-atexit-lib.c: New test case.
39844
39845 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
39846
39847 * elf/Versions (ld): Add _dl_find_dso_for_object.
39848 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
39849 * elf/dl-open.c (_dl_find_dso_for_object): New function.
39850 (dl_open_worker): Use _dl_find_dso_for_object.
39851 * elf/dl-sym.c (do_sym): Likewise.
39852 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
39853
39854 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39855
39856 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
39857 Syntactic changes only.
39858 (_dl_runtime_profile): Do a tail-call to the resolved function.
39859
39860 2013-02-17 Joseph Myers <joseph@codesourcery.com>
39861
39862 [BZ #13550]
39863 * sysdeps/x86_64/bp-asm.h: Remove file.
39864 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
39865 <bp-sym.h> and <bp-asm.h>.
39866 (__clone): Do not use BP_SYM.
39867 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
39868 <bp-sym.h> and <bp-asm.h>.
39869 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39870 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
39871 "bp-asm.h".
39872 (_setjmp): Do not use BP_SYM.
39873 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
39874 "bp-asm.h".
39875 (setjmp): Do not use BP_SYM.
39876 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
39877 libc_hidden_def.
39878 (mempcpy): Do not use BP_SYM in weak_alias.
39879 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
39880 "bp-asm.h".
39881 (strchr): Do not use BP_SYM.
39882 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
39883 "bp-asm.h".
39884 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
39885 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
39886 (_start): Do not use BP_SYM.
39887 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
39888 "bp-asm.h".
39889 (strcat): Do not use BP_SYM.
39890 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
39891 "bp-asm.h".
39892 (STRCMP): Do not use BP_SYM.
39893 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
39894 "bp-asm.h".
39895 (STRCPY): Do not use BP_SYM.
39896 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
39897 "bp-asm.h".
39898 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
39899 "bp-asm.h".
39900 (FUNCTION): Do not use BP_SYM.
39901 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
39902 weak_alias.
39903 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
39904
39905 2013-02-17 Andreas Jaeger <aj@suse.de>
39906
39907 * time/Versions: Sort entries.
39908 * string/Versions: Likewise.
39909 * resolv/Versions: Likewise.
39910 * posix/Versions: Likewise.
39911 * iconv/Versions: Likewise.
39912 * elf/Versions: Likewise.
39913 * wcsmbs/Versions: Likewise.
39914
39915 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39916
39917 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
39918 loop termination condition.
39919
39920 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
39921 variable to calculate EZ.
39922 (__sqr): Likewise.
39923
39924 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
39925 the lower precision input.
39926
39927 2013-02-15 Joseph Myers <joseph@codesourcery.com>
39928
39929 [BZ #13550]
39930 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
39931 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
39932 (run-via-rtld-prefix): Do not handle %-bp tests.
39933 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
39934 (all-object-suffixes): Remove .ob.
39935 (bppfx): Remove variable.
39936 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
39937 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
39938 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
39939 [$(build-bounded) = yes] (libtype.ob): Likewise.
39940 * Makerules (elide-routines.ob): Remove variable.
39941 (do-tests-clean): Do not handle *-bp.out.
39942 (common-mostlyclean): Do not handle *-bp and *-bp.out.
39943 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
39944 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
39945 (tests): Do not include $(tests-bp.out).
39946 (xtests): Do not include $(xtests-bp.out).
39947 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
39948 [$(build-bounded) = yes] ($(addprefix
39949 $(objpfx),$(binaries-bounded))): Remove rule.
39950 ($(objpfx)%-bp.out): Remove rule.
39951 * config.make.in (build-bounded): Remove variable.
39952 * crypt/Makefile [$(build-bounded) = yes]
39953 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
39954 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
39955 append to variable.
39956 [$(build-bounded) = yes] (install-lib): Likewise.
39957 [$(build-bounded) = yes] (generated): Likewise.
39958 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
39959 Remove rule.
39960 * intl/Makefile [$(build-bounded) = yes]
39961 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
39962 * math/Makefile [$(build-bounded) = yes]
39963 ($(tests:%=$(objpfx)%-bp): Likewise.
39964 * misc/Makefile [$(build-bounded) = yes]
39965 ($(objpfx)tst-tsearch-bp): Likewise.
39966 * nptl/Makeconfig (bounded-thread-library): Remove variable.
39967 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
39968 Remove dependency.
39969 * string/Makefile (o-objects.ob): Remove variable.
39970 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
39971 (CFLAGS-.ob): Remove variable.
39972 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
39973 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
39974 both definitions of variable.
39975 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
39976 (ASFLAGS-.ob): Remove variable.
39977
39978 2013-02-14 Joseph Myers <joseph@codesourcery.com>
39979
39980 [BZ #13550]
39981 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
39982 Remove __BOUNDED_POINTERS__ from condition.
39983 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
39984 * string/bits/string2.h [!__NO_STRING_INLINES &&
39985 !__BOUNDED_POINTERS__]: Likewise.
39986 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
39987 Likewise.
39988 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
39989 Remove conditional code.
39990 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
39991 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
39992 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
39993 condition.
39994
39995 [BZ #13550]
39996 * csu/libc-start.c: Do not include <bp-sym.h>.
39997 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
39998 * elf/dl-open.c: Do not include <bp-sym.h>.
39999 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
40000 * math/fegetenv.c: Do not include <bp-sym.h>.
40001 (fegetenv): Do not use BP_SYM in versioned symbols.
40002 * nptl/sysdeps/pthread/bits/libc-lockP.h
40003 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
40004 <bp-sym.h>.
40005 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40006 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
40007 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40008 (__pthread_mutex_destroy): Likewise.
40009 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40010 (__pthread_mutex_lock): Likewise.
40011 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40012 (__pthread_mutex_trylock): Likewise.
40013 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40014 (__pthread_mutex_unlock): Likewise.
40015 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40016 (__pthread_mutexattr_init): Likewise.
40017 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40018 (__pthread_mutexattr_destroy): Likewise.
40019 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40020 (__pthread_mutexattr_settype): Likewise.
40021 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40022 (__pthread_rwlock_init): Likewise.
40023 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40024 (__pthread_rwlock_destroy): Likewise.
40025 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40026 (__pthread_rwlock_rdlock): Likewise.
40027 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40028 (__pthread_rwlock_tryrdlock): Likewise.
40029 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40030 (__pthread_rwlock_wrlock): Likewise.
40031 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40032 (__pthread_rwlock_trywrlock): Likewise.
40033 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40034 (__pthread_rwlock_unlock): Likewise.
40035 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40036 (__pthread_key_create): Likewise.
40037 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40038 (__pthread_setspecific): Likewise.
40039 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40040 (__pthread_getspecific): Likewise.
40041 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
40042 Likewise.
40043 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40044 (_pthread_cleanup_push_defer): Likewise.
40045 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40046 (_pthread_cleanup_pop_restore): Likewise.
40047 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40048 (pthread_setcancelstate): Likewise.
40049 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
40050 <bp-sym.h>.
40051 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
40052 (memchr): Do not use BP_SYM in weak_alias.
40053 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
40054 (fegetenv): Do not use BP_SYM in versioned symbols.
40055 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
40056 (fesetenv): Do not use BP_SYM in versioned symbols.
40057 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40058 (feupdateenv): Do not use BP_SYM in versioned symbols.
40059 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40060 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40061 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
40062 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
40063 (open64): Do not use BP_SYM in weak_alias.
40064 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
40065 (fegetenv): Do not use BP_SYM in versioned symbols.
40066 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
40067 (fesetenv): Do not use BP_SYM in versioned symbols.
40068 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40069 (feupdateenv): Do not use BP_SYM in versioned symbols.
40070 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
40071 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
40072 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
40073 (feraiseexcept): Do not use BP_SYM in versioned symbols.
40074 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40075 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40076 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
40077 <bp-sym.h>.
40078 (__libc_start_main): Do not use BP_SYM.
40079
40080 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40081
40082 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
40083 redundant return line.
40084 (norm): Likewise.
40085 (denorm): Likewise.
40086 (dbl_mp): Likewise.
40087 (sub_magnitudes): Likewise.
40088 (__add): Likewise.
40089 (__sub): Likewise.
40090 (__mul): Likewise.
40091 (__inv): Likewise.
40092 (__dvd): Likewise.
40093 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
40094 (norm): Likewise.
40095 (denorm): Likewise.
40096 (dbl_mp): Likewise.
40097 (sub_magnitudes): Likewise.
40098 (__add): Likewise.
40099 (__sub): Likewise.
40100 (__mul): Likewise.
40101 (__inv): Likewise.
40102 (__dvd): Likewise.
40103
40104 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
40105 instead of __mul.
40106 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40107 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
40108 (cc32): Likewise.
40109
40110 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
40111 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
40112 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
40113 of __mul for squares.
40114 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
40115 function
40116 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
40117 Likewise.
40118 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
40119 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40120
40121 2013-02-13 Joseph Myers <joseph@codesourcery.com>
40122
40123 [BZ #13550]
40124 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
40125 code.
40126 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
40127 prototype or function definition. Rename ubp_* variables and
40128 parameters. Remove argv definitions conditional on
40129 [__BOUNDED_POINTERS__].
40130 * debug/backtrace.c (__backtrace): Do not use __unbounded.
40131 * elf/dl-runtime.c (_dl_fixup): Likewise.
40132 * include/set-hooks.h (RUN_HOOK): Likewise.
40133 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
40134 definition.
40135 * string/strcpy.c (strcpy): Do not use __unbounded.
40136 * sysdeps/generic/frame.h (struct layout): Likewise.
40137 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
40138 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
40139 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
40140 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
40141 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
40142 (__backtrace): Likewise.
40143 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
40144 use __ptrvalue.
40145 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
40146 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
40147 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
40148 Likewise.
40149 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
40150 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
40151 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
40152 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40153 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
40154 Do not use __unbounded.
40155 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
40156 Rename __unboundedrlimits parameter to rlimits in prototype.
40157 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
40158 Do not use __unbounded.
40159 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
40160 not use __ptrvalue.
40161 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40162 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
40163 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40164 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
40165 __ptrvalue or __unbounded.
40166 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
40167 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
40168 use __unbounded.
40169 (__new_msgctl): Do not use __ptrvalue.
40170 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
40171 __unbounded.
40172 (__libc_msgrcv): Do not use __ptrvalue.
40173 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
40174 startup_info): Do not use __unbounded.
40175 (__libc_start_main): Likewise. Rename ubp_* variables and
40176 parameters. Remove argv definitions conditional on
40177 [__BOUNDED_POINTERS__].
40178 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
40179 __ptrvalue.
40180 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
40181 use __unbounded.
40182 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
40183 or __ptrvalue.
40184 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
40185 use __unbounded.
40186 (__new_shmctl): Do not use __ptrvalue.
40187 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
40188 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
40189 Likewise.
40190 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
40191 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
40192 (__libc_sigaction): Likewise.
40193 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
40194 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
40195 Likewise.
40196 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40197
40198 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
40199
40200 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
40201
40202 * string/mempcpy.c: Implement by calling memcpy.
40203
40204 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
40205
40206 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
40207
40208 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
40209 evaluation.
40210
40211 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
40212 values in the mantissa.
40213
40214 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
40215 minimize writes to Z.
40216 (sub_magnitudes): Simplify code a bit.
40217
40218 2013-02-12 Roland McGrath <roland@hack.frob.com>
40219
40220 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
40221 from the message. The linker prefixes all warnings with that already.
40222
40223 2013-02-12 Andreas Schwab <schwab@suse.de>
40224
40225 [BZ #15078]
40226 * posix/regexec.c (extend_buffers): Add parameter min_len.
40227 (check_matching): Pass minimum needed length.
40228 (clean_state_log_if_needed): Likewise.
40229 (get_subexp): Likewise.
40230 * posix/Makefile (tests): Add bug-regex34.
40231 (bug-regex34-ENV): Define.
40232 * posix/bug-regex34.c: New file.
40233
40234 [BZ #11561]
40235 * posix/regcomp.c (parse_bracket_exp): When looking up collating
40236 elements compare against the byte sequence of it, not its name.
40237 * posix/Makefile (tests): Add bug-regex35.
40238 (bug-regex35-ENV): Define.
40239 * posix/bug-regex35.c: New file.
40240
40241 2013-02-11 Tom de Vries <tom@codesourcery.com>
40242
40243 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
40244 comment.
40245 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
40246 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
40247 (CHECK_EOL): Add undef.
40248
40249 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
40250
40251 * bits/stdlib-bsearch.h: New file.
40252 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
40253 * stdlib/stdlib.h: Likewise.
40254
40255 2013-02-11 Roland McGrath <roland@hack.frob.com>
40256
40257 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
40258 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
40259 declaration.
40260 * manual/search.texi (Array Search Function): Add missing const in
40261 lfind prototype.
40262 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
40263 declaration to use rlim_t.
40264 (Basic Scheduling Functions): Remove erroneous const from
40265 sched_getparam prototype. Remove erroneous * from
40266 sched_get_priority_max and sched_get_priority_min prototypes.
40267 (Resource Usage): Fix summary @comment on vtimes to refer to
40268 sys/vtimes.h rather than vtimes.h.
40269 Add missing *s in vtimes prototype.
40270 (Limits on Resources): Fix ulimit prototype to return long int.
40271 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
40272 prototypes to use long int rather than double.
40273 (BSD Random): Fix initstate and setstate to use char *, not void *.
40274 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
40275 prototype to make second argument 'struct aiocb64 *const[]'.
40276 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
40277 (Status of AIO Operations): Remove erroneous const in aio_return and
40278 aio_return64 prototypes.
40279 (Synchronizing I/O): Fix sync prototype to return void.
40280 * manual/startup.texi (Suboptions): Remove an erroneous const in
40281 getsubopt prototype.
40282 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
40283 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
40284 use size_t rather than int.
40285 (Scanning All Users): Likewise for getpwent_r.
40286 (Setting Groups): Add missing const to setgroups prototype.
40287 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
40288 * manual/socket.texi (Host Names): Fix gethostbyaddr and
40289 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
40290 'const void *' rather than 'const char *'.
40291 (Host Address Functions): Likewise for inet_ntop.
40292 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
40293 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
40294 ssize_t for return value.
40295 (Sending Data): Likewise for send, sendto, sendmsg.
40296 (Socket Option Functions): Add a missing const in setsockopt prototype.
40297 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
40298 use wchar_t for the argument.
40299 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
40300 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
40301 take no arguments.
40302 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
40303 double/float/long double for second argument.
40304 Fix return types of significand, significandf, significandl.
40305 * manual/filesys.texi (Setting Permissions): Use mode_t for second
40306 argument in fchmod prototype.
40307 (File Owner): Use uid_t and gid_t in fchown prototype.
40308 (File Times): Add const to utimes, futimes, and lutimes prototypes.
40309 (Making Special Files): Use mode_t and dev_t in mknod prototype.
40310 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
40311 use 'const struct dirent **' as argument types to CMP function pointer
40312 argument.
40313 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
40314 (File Times): Fix summary magic @comment for struct utimbuf and utime
40315 to refer to utime.h, not time.h.
40316 * manual/string.texi (Argz Functions): Add missing const in
40317 argz_extract and argz_next prototypes.
40318 (Finding Tokens in a String): Likewise for basename.
40319 (String/Array Comparison): Fix typo in wcscasecmp prototype.
40320 (Copying and Concatenation): Fix typo in wmemmove prototype.
40321 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
40322 (Signal Stack): Remove erroneous const in sigstack prototype.
40323 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
40324 prototype.
40325 (Simple Calendar Time): Likewise for stime.
40326 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
40327 prototype.
40328 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
40329 say sys/sysctl.h instead.
40330 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
40331 and vsyslog prototypes.
40332
40333 2013-02-11 Tom de Vries <tom@codesourcery.com>
40334
40335 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
40336 Remove.
40337
40338 2013-02-11 Roland McGrath <roland@hack.frob.com>
40339
40340 * misc/sys/mman.h: Fix typo in mremap comment.
40341
40342 2013-02-08 Roland McGrath <roland@hack.frob.com>
40343
40344 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
40345 the '\0' terminator.
40346
40347 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40348
40349 [BZ #13550]
40350 * debug/segfault.c: Don't include <bp-checks.h>.
40351 * sysdeps/generic/bp-checks.h: Remove file.
40352 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
40353 (__GETDENTS): Don't use CHECK_N.
40354 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
40355 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
40356 (__getgroups): Don't use CHECK_N.
40357 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
40358 (setgroups): Don't use CHECK_N.
40359 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
40360 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
40361 (__libc_msgrcv): Don't use CHECK_N.
40362 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
40363 (__libc_msgsnd): Don't use CHECK_N.
40364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
40365 <bp-checks.h>.
40366 (__libc_pread): Don't use CHECK_N.
40367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
40368 include <bp-checks.h>.
40369 (__libc_pread64): Don't use CHECK_N.
40370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
40371 include <bp-checks.h>.
40372 (__libc_pwrite): Don't use CHECK_N.
40373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
40374 include <bp-checks.h>.
40375 (__libc_pwrite64): Don't use CHECK_N.
40376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
40377 <bp-checks.h>.
40378 (__libc_pread): Don't use CHECK_N.
40379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
40380 include <bp-checks.h>.
40381 (__libc_pread64): Don't use CHECK_N.
40382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
40383 include <bp-checks.h>.
40384 (__libc_pwrite): Don't use CHECK_N.
40385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
40386 include <bp-checks.h>.
40387 (__libc_pwrite64): Don't use CHECK_N.
40388 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
40389 (do_pread): Don't use CHECK_N.
40390 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
40391 (do_pread64): Don't use CHECK_N.
40392 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
40393 (do_pwrite): Don't use CHECK_N.
40394 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
40395 (do_pwrite64): Don't use CHECK_N.
40396 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
40397 (__libc_readv): Don't use CHECK_N.
40398 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
40399 (semop): Don't use CHECK_N.
40400 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
40401 <bp-checks.h>.
40402 (semtimedop): Don't use CHECK_N.
40403 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
40404 (__libc_pread): Don't use CHECK_N.
40405 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
40406 <bp-checks.h>.
40407 (__libc_pread64): Don't use CHECK_N.
40408 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
40409 <bp-checks.h>.
40410 (__libc_pwrite): Don't use CHECK_N.
40411 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
40412 <bp-checks.h>.
40413 (__libc_pwrite64): Don't use CHECK_N.
40414 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
40415 <bp-checks.h>.
40416 (__libc_msgrcv): Don't use CHECK_N.
40417 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
40418 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
40419 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
40420 (__libc_writev): Don't use CHECK_N.
40421
40422 2013-02-08 Roland McGrath <roland@hack.frob.com>
40423
40424 * string/strcpy.c: Removed unused variable.
40425
40426 * Makeconfig (+sysdep-includes): Define with := rather than =.
40427 Use an existing include/ subdir of each sysdeps dir before it.
40428
40429 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40430
40431 * nscd/connection.c (register_traced_file): Comment function.
40432 [HAVE_INOTIFY] (union __inev): Define.
40433 [HAVE_INOTIFY] (inotify_check_files): New function.
40434 [HAVE_INOTIFY] (clear_db_cache): Likewise.
40435 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
40436 clear_db_cache.
40437 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
40438
40439 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40440
40441 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
40442 loaded if not already and that a failure is permanent.
40443
40444 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40445
40446 [BZ #15006]
40447 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
40448 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
40449
40450 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40451
40452 [BZ #13550]
40453 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
40454 (CHECK_1_NULL_OK): Likewise.
40455 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
40456 (__fxstat): Do not use CHECK_1.
40457 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
40458 <bp-checks.h>.
40459 (___fxstat64): Do not use CHECK_1.
40460 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
40461 <bp-checks.h>.
40462 (__fxstatat): Do not use CHECK_1.
40463 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
40464 <bp-checks.h>.
40465 (__fxstatat64): Do not use CHECK_1.
40466 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
40467 <bp-checks.h>.
40468 (__fxstat): Do not use CHECK_1.
40469 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
40470 <bp-checks.h>.
40471 (__fxstatat): Do not use CHECK_1.
40472 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40473 <bp-checks.h>.
40474 (__getresgid): Do not use CHECK_1.
40475 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40476 <bp-checks.h>.
40477 (__getresuid): Do not use CHECK_1.
40478 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
40479 <bp-checks.h>.
40480 (__lxstat): Do not use CHECK_1.
40481 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40482 <bp-checks.h>.
40483 (__old_msgctl): Do not use CHECK_1.
40484 (__new_msgctl): Likewise.
40485 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
40486 <bp-checks.h>.
40487 (__new_setrlimit): Do not use CHECK_1.
40488 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40489 <bp-checks.h>.
40490 (__old_shmctl): Do not use CHECK_1.
40491 (__new_shmctl): Likewise.
40492 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
40493 <bp-checks.h>.
40494 (__xstat): Do not use CHECK_1.
40495 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
40496 (__lxstat): Do not use CHECK_1.
40497 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
40498 <bp-checks.h>.
40499 (___lxstat64): Do not use CHECK_1.
40500 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
40501 (__old_msgctl): Do not use CHECK_1.
40502 (__new_msgctl): Likewise.
40503 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
40504 <bp-checks.h>.
40505 (__gettimeofday): Do not use CHECK_1.
40506 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
40507 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
40508 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
40509 <bp-checks.h>.
40510 (__gettimeofday): Do not use CHECK_1.
40511 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
40512 (__old_shmctl): Do not use CHECK_1_NULL_OK.
40513 (__new_shmctl): Do not use CHECK_1.
40514 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
40515 <bp-checks.h>.
40516 (do_sigtimedwait): Do not use CHECK_1.
40517 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
40518 <bp-checks.h>.
40519 (do_sigwaitinfo): Do not use CHECK_1.
40520 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
40521 <bp-checks.h>.
40522 (msgctl): Do not use CHECK_1.
40523 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
40524 <bp-checks.h>.
40525 (shmctl): Do not use CHECK_1.
40526 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
40527 (ustat): Do not use CHECK_1.
40528 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
40529 <bp-checks.h>.
40530 (__fxstat): Do not use CHECK_1.
40531 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
40532 <bp-checks.h>.
40533 (__fxstatat): Do not use CHECK_1.
40534 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
40535 <bp-checks.h>.
40536 (__lxstat): Do not use CHECK_1.
40537 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
40538 <bp-checks.h>.
40539 (__xstat): Do not use CHECK_1.
40540 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
40541 (__xstat): Do not use CHECK_1.
40542 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
40543 (___xstat64): Do not use CHECK_1.
40544
40545 [BZ #13550]
40546 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
40547 definitions.
40548 (CHECK_BOUNDS_HIGH): Likewise.
40549 * string/strcpy.c: Do not include <bp-checks.h>.
40550 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
40551
40552 2013-02-07 Roland McGrath <roland@hack.frob.com>
40553
40554 * nscd/nscd-client.h (__nscd_drop_map_ref):
40555 Add __attribute__ ((unused)).
40556 * nis/nss-nisplus.h (niserr2nss): Likewise.
40557
40558 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
40559 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
40560
40561 * csu/libc-tls.c (init_static_tls, init_slotinfo):
40562 Remove inline keyword.
40563 * include/rounding-mode.h (round_away): Likewise.
40564 * libio/wfileops.c (adjust_wide_data): Likewise.
40565 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
40566 (__m128i_strloadu_tolower): Likewise.
40567 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
40568 (__m128i_strloadu_tolower): Likewise.
40569 * time/mktime.c (ydhms_diff): Likewise.
40570 * locale/elem-hash.h (elem_hash): Likewise.
40571 * locale/setlocale.c (setdata): Likewise.
40572 * posix/regex_internal.h (re_string_char_size_at): Likewise.
40573 (re_string_wchar_at): Likewise.
40574 (bitset_not, bitset_merge, bitset_mask): Likewise.
40575 [!(__GNUC__ > 3)] (inline): Remove macro.
40576 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
40577 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
40578 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
40579 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
40580 * string/memcmp.c (memcmp_bytes): Likewise.
40581 * locale/programs/locarchive.c (compute_hashval): Likewise.
40582 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
40583 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
40584 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
40585 * nss/getent.c (print_rpc, print_protocols): Likewise.
40586 (print_passwd, print_group, print_aliases): Likewise.
40587 * nis/nss-nisplus.h (niserr2nss): Likewise.
40588 * nscd/connections.c (restart_p): Likewise.
40589 Change return type to bool.
40590
40591 2013-02-05 Roland McGrath <roland@hack.frob.com>
40592
40593 * Makeconfig (all-Depend-files): Add existing
40594 $(sorted-subdirs:=/Depend) files.
40595 (all-subdirs): Remove nss.
40596 * sysdeps/unix/inet/Subdirs: Add it here instead.
40597 * hesiod/Depend: New file.
40598
40599 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
40600 instead of calling alloca.
40601
40602 * io/lseek.c (__lseek): Rename to __libc_lseek.
40603 Define __lseek as an alias.
40604
40605 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
40606
40607 2013-02-04 Carlos O'Donell <carlos@redhat.com>
40608
40609 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
40610 else clause and remove check for non-standard endianness.
40611
40612 2013-02-04 David S. Miller <davem@davemloft.net>
40613
40614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40615
40616 2013-02-04 Joseph Myers <joseph@codesourcery.com>
40617
40618 [BZ #13550]
40619 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
40620 (__ubp_memchr): Remove prototype.
40621 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
40622 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40623 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
40624 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40625 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
40626 Remove alias.
40627 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
40628 (__ubp_memchr): Likewise.
40629 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
40630 (__ubp_memchr): Likewise.
40631 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
40632 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
40633 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
40634 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
40635 CHECK_STRING.
40636 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40637 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
40638 (__getcwd): Do not use CHECK_STRING.
40639 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40640 <bp-checks.h>.
40641 (__real_chown): Do not use CHECK_STRING.
40642 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
40643 <bp-checks.h>.
40644 (fchownat): Do not use CHECK_STRING.
40645 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
40646 CHECK_STRING.
40647 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40648 <bp-checks.h>.
40649 (__lchown): Do not use CHECK_STRING.
40650 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40651 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40652 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40653 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
40654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40655 include <bp-checks.h>.
40656 (truncate64): Do not use CHECK_STRING.
40657 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40658 <bp-checks.h>.
40659 (__real_chown): Do not use CHECK_STRING.
40660 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40661 <bp-checks.h>.
40662 (__lchown): Do not use CHECK_STRING.
40663 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40664 <bp-checks.h>.
40665 (__chown): Do not use CHECK_STRING.
40666 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
40667 <bp-checks.h>.
40668 (truncate64): Do not use CHECK_STRING.
40669 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
40670 Likewise.
40671 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
40672 (__xmknod): Do not use CHECK_STRING.
40673 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
40674 <bp-checks.h>.
40675 (__xmknodat): Do not use CHECK_STRING.
40676 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40677 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
40678
40679 2013-02-04 Andreas Schwab <schwab@suse.de>
40680
40681 [BZ #14142]
40682 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
40683 * include/netdb.h: Likewise for h_errno.
40684 * elf/tst-stackguard1.c: Include <tls.h>.
40685
40686 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
40687
40688 * elf/link.h (struct link_map): Extend the l_addr comment.
40689 * include/link.h (struct link_map): Likewise.
40690
40691 2013-02-01 Joseph Myers <joseph@codesourcery.com>
40692
40693 [BZ #13550]
40694 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
40695 (BOUNDED_1): Remove macro.
40696 * debug/backtrace.c: Don't include <bp-checks.h>.
40697 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
40698 (__backtrace): Likewise.
40699 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
40700 <bp-checks.h>.
40701 (__backtrace): Don't use BOUNDED_1.
40702 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
40703 <bp-checks.h>.
40704 (__backtrace): Don't use BOUNDED_1.
40705 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
40706 (__backtrace): Don't use BOUNDED_1.
40707 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
40708 (shmat): Don't use BOUNDED_N.
40709
40710 2013-01-31 Joseph Myers <joseph@codesourcery.com>
40711
40712 [BZ #13550]
40713 * sysdeps/generic/bp-start.h: Remove file.
40714 * csu/libc-start.c: Don't include <bp-start.h>.
40715 (LIBC_START_MAIN): Set up __environ directly instead of using
40716 INIT_ARGV_and_ENVIRON.
40717 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
40718 <bp-start.h>.
40719
40720 [BZ #13550]
40721 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
40722 definitions.
40723 (CHECK_FCNTL): Likewise.
40724 (CHECK_N_PAGES): Likewise.
40725
40726 [BZ #13550]
40727 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
40728 definitions.
40729 (CHECK_SIGSET_NULL_OK): Likewise.
40730 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
40731 <bp-checks.h>.
40732 (sigpending): Don't use CHECK_SIGSET.
40733 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
40734 <bp-checks.h>.
40735 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40736 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
40737 <bp-checks.h>.
40738 (do_sigsuspend): Don't use CHECK_SIGSET.
40739 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
40740 use CHECK_SIGSET.
40741 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
40742 (do_sigwait): Don't use CHECK_SIGSET.
40743 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
40744 use CHECK_SIGSET.
40745 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
40746 include <bp-checks.h>.
40747 (sigpending): Don't use CHECK_SIGSET.
40748 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
40749 include <bp-checks.h>.
40750 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40751 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
40752 <bp-checks.h>.
40753 (sigpending): Don't use CHECK_SIGSET.
40754 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
40755 <bp-checks.h>.
40756 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40757
40758 [BZ #13550]
40759 * sysdeps/generic/bp-semctl.h: Remove file.
40760 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
40761 <bp-checks.h> and <bp-semctl.h>.
40762 (__old_semctl): Don't use CHECK_SEMCTL.
40763 (__new_semctl): Likewise.
40764 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
40765 and <bp-semctl.h>.
40766 (__old_semctl): Don't use CHECK_SEMCTL.
40767 (__new_semctl): Likewise.
40768 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
40769 <bp-checks.h> and <bp-semctl.h>.
40770 (__old_semctl): Don't use CHECK_SEMCTL.
40771 (__new_semctl): Likewise.
40772 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
40773 <bp-checks.h> and <bp-semctl.h>.
40774 (semctl): Don't use CHECK_SEMCTL.
40775
40776 [BZ #13550]
40777 * Makerules (elide-bp-thunks): Remove variable.
40778 (elide-routines.oS): Don't use $(elide-bp-thunks).
40779 (elide-routines.os): Likewise.
40780 (elide-routines.o): Likewise.
40781 (elide-routines.op): Likewise.
40782 (elide-routines.og): Likewise.
40783 (objects): Don't use $(bp-thunks).
40784 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
40785 include.
40786 (common-generated): Do not add s-proto-bp.d.
40787 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
40788 (int): Likewise.
40789 (typ): Likewise.
40790 Do not generate makefile rules for bounded-pointer thunks.
40791 * sysdeps/generic/bp-thunks.h: Remove file.
40792 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
40793 * sysdeps/unix/s-proto-bp.S: Likewise.
40794
40795 [BZ #15062]
40796 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
40797 parts of result separately when argument is not close to line from
40798 -i to i and one part of argument is small.
40799 * math/k_casinhf.c (__kernel_casinhf): Likewise.
40800 * math/k_casinhl.c (__kernel_casinhl): Likewise.
40801 * math/libm-test.inc (cacos_test): Add more tests.
40802 (casin_test): Likewise.
40803 (casinh_test): Likewise.
40804 * sysdeps/i386/fpu/libm-test-ulps: Update.
40805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40806
40807 2013-01-31 David S. Miller <davem@davemloft.net>
40808
40809 * po/de.po: Update from translation team.
40810
40811 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
40812
40813 * time/tzfile.c: Include stdint.h for SIZE_MAX.
40814
40815 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
40816
40817 * configure.in (_AC_PROG_CC_C89): New definition.
40818 * configure: Regenerate.
40819
40820 * configure.in (AC_PROG_CPP): New definition.
40821 * configure: Regenerate.
40822
40823 2013-01-23 Joseph Myers <joseph@codesourcery.com>
40824
40825 * debug/tst-backtrace.h: New file.
40826 * debug/tst-backtrace2.c: Include tst-backtrace.h.
40827 (ret): Remove variable.
40828 (x): Likewise.
40829 (FAIL): Remove macro.
40830 (NO_INLINE): Likewise.
40831 (fn1): Use match function instead of strstr.
40832 * debug/tst-backtrace3.c: Include tst-backtrace.h.
40833 (ret): Remove variable.
40834 (x): Likewise.
40835 (FAIL): Remove macro.
40836 (NO_INLINE): Likewise.
40837 (fn): Use match function instead of strstr.
40838 * debug/tst-backtrace4.c: Include tst-backtrace.h.
40839 (ret): Remove variable.
40840 (x): Likewise.
40841 (FAIL): Remove macro.
40842 (NO_INLINE): Likewise.
40843 (handle_signal): Use match function instead of strstr.
40844 * debug/tst-backtrace5.c: Include tst-backtrace.h.
40845 (ret): Remove variable.
40846 (x): Likewise.
40847 (FAIL): Remove macro.
40848 (NO_INLINE): Likewise.
40849 (handle_signal): Use match function instead of strstr.
40850
40851 2013-01-23 Roland McGrath <roland@hack.frob.com>
40852
40853 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
40854
40855 2013-01-23 David S. Miller <davem@davemloft.net>
40856
40857 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
40858 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
40859 argument of CAS if possible.
40860 * sysdeps/sparc/sparc64/bits/atomic.h
40861 (__arch_compare_and_exchange_val_32_acq): Likewise.
40862 (__arch_compare_and_exchange_val_64_acq): Likewise.
40863
40864 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
40865
40866 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
40867 * sysdeps/posix/ulimit.c: ... this.
40868 Include <limits.h>.
40869 * sysdeps/unix/bsd/ulimit.c: Remove file.
40870
40871 2013-01-23 Adam Conrad <adconrad@0c3.net>
40872
40873 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
40874 (LDFLAGS-tst-array5): Likewise.
40875
40876 2013-01-23 Joseph Myers <joseph@codesourcery.com>
40877
40878 [BZ #15036]
40879 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
40880 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
40881 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
40882 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
40883
40884 2013-01-21 David S. Miller <davem@davemloft.net>
40885
40886 * sysdeps/sparc/backtrace.c: New file.
40887 * sysdeps/sparc/sparc32/backtrace.h: New file.
40888 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
40889 * sysdeps/sparc/sparc64/backtrace.h: New file.
40890 * sysdeps/sparc/sparc64/backtrace.c: Delete.
40891 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
40892 -funwind-tables.
40893
40894 2013-01-21 Andreas Schwab <schwab@suse.de>
40895
40896 [BZ #15020]
40897 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
40898 closed its stdout.
40899
40900 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
40901
40902 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
40903 "mpa2.h".
40904 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40905
40906 2013-01-18 Joseph Myers <joseph@codesourcery.com>
40907 Mark Mitchell <mark@codesourcery.com>
40908 Tom de Vries <tom@codesourcery.com>
40909 Paul Pluzhnikov <ppluzhnikov@google.com>
40910
40911 * debug/tst-backtrace2.c: New file.
40912 * debug/tst-backtrace3.c: Likewise.
40913 * debug/tst-backtrace4.c: Likewise.
40914 * debug/tst-backtrace5.c: Likewise.
40915 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
40916 (CFLAGS-tst-backtrace3.c): Likewise.
40917 (CFLAGS-tst-backtrace4.c): Likewise.
40918 (CFLAGS-tst-backtrace5.c): Likewise.
40919 (LDFLAGS-tst-backtrace2): Likewise.
40920 (LDFLAGS-tst-backtrace3): Likewise.
40921 (LDFLAGS-tst-backtrace4): Likewise.
40922 (LDFLAGS-tst-backtrace5): Likewise.
40923 (tests): Add new tests tst-backtrace2, tst-backtrace3,
40924 tst-backtrace4 and tst-backtrace5.
40925
40926 2013-01-18 Anton Blanchard <anton@samba.org>
40927 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40928
40929 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
40930 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
40931 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
40932 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
40933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40934 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
40935 "+r" and remove output regs list as redundant. Add explicit inline
40936 asm to specify register of return val to work around compiler codegen
40937 bug. Remove (int) cast on return value. Add return type parameter to
40938 use in macro so that this macro does not truncate return value for
40939 64-bit values.
40940 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
40941 pass to INTERNAL_VSYSCALL_NCS.
40942 (INLINE_VSYSCALL): Add 'long int' as return type to
40943 INTERNAL_VSYSCALL_NCS macro invocation.
40944 (INTERNAL_VSYSCALL): Add 'long int' as return type to
40945 INTERNAL_VSYSCALL_NCS macro invocation.
40946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40947
40948 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40949
40950 [BZ #14496]
40951 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
40952 Fix application of SIMD FP exception mask.
40953
40954 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
40955 mp_no from a power of two.
40956 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
40957 __mpexp_twomm1. Use __pow_mp.
40958
40959 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
40960 multiplication.
40961
40962 2013-01-17 David S. Miller <davem@davemloft.net>
40963
40964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40965
40966 2013-01-17 Joseph Myers <joseph@codesourcery.com>
40967
40968 [BZ #15023]
40969 * include/complex.h: Condition contents on [!_COMPLEX_H].
40970 (__kernel_casinhf): New prototype.
40971 (__kernel_casinh): Likewise.
40972 (__kernel_casinhl): Likewise.
40973 * math/Makefile (libm_calls): Add k_casinh.
40974 * math/k_casinh.c: New file.
40975 * math/k_casinhf.c: Likewise.
40976 * math/k_casinhl.c: Likewise.
40977 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
40978 finite nonzero arguments.
40979 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
40980 finite nonzero arguments.
40981 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
40982 finite nonzero arguments.
40983 * math/s_casinh.c: Do not include <float.h>.
40984 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
40985 * math/s_casinhf.c: Do not include <float.h>.
40986 (__casinhf): Move code for finite nonzero arguments to
40987 k_casinhf.c.
40988 * math/s_casinhl.c: Do not include <float.h>.
40989 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
40990 redefine.
40991 (__casinhl): Move code for finite nonzero arguments to
40992 k_casinhl.c.
40993 * math/libm-test.inc (cacos_test): Add more tests.
40994 * sysdeps/i386/fpu/libm-test-ulps: Update.
40995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40996
40997 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
40998
40999 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
41000 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
41001 [!HAVE_MREMAP]: Remove [defined linux] case.
41002 * malloc/arena.c: Do not include <malloc-sysdep.h>.
41003
41004 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
41005
41006 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
41007
41008 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
41009
41010 * elf/elf.h (R_386_SIZE32): New relocation.
41011 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
41012 R_386_SIZE32.
41013 (elf_machine_rela): Likewise.
41014 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41015 R_X86_64_SIZE64 and R_X86_64_SIZE32.
41016
41017 2013-01-17 Joseph Myers <joseph@codesourcery.com>
41018
41019 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
41020 (FP_FAST_FMA): Do not define.
41021 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
41022 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
41023 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
41024 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
41025 !_SOFT_FLOAT]: Likewise.
41026 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
41027 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
41028 value.
41029 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
41030 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
41031 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
41032 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
41033 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
41034 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
41035 file.
41036
41037 2013-01-16 Andreas Schwab <schwab@suse.de>
41038
41039 [BZ #14327]
41040 * include/stdlib.h (__mktemp): Add declaration.
41041 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
41042 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
41043
41044 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
41045
41046 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
41047 definitions.
41048 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41049 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
41050 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
41051 definitions here.
41052 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
41053 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
41054 definitions.
41055 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
41056 and ONE.
41057 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
41058 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
41059 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
41060 definitions.
41061 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
41062 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
41063 definitions.
41064 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41065
41066 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
41067
41068 2013-01-15 David S. Miller <davem@davemloft.net>
41069
41070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41071 trunc{,f} to libm-sysdep_routes.
41072 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
41074 file.
41075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
41076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
41077 file.
41078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
41079 file.
41080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
41081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
41082 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
41083 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
41084 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
41085 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
41086 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
41087 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
41088
41089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41090 nearbyint{,f} to libm-sysdep_routes.
41091 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
41093 New file.
41094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
41095 file.
41096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
41097 New file.
41098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
41099 file.
41100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
41101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
41102 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
41103 file.
41104 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
41105 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
41106 file.
41107 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
41108 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
41109 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
41110
41111 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
41112 libc_feholdexcept and libc_fesetenv.
41113
41114 2013-01-15 Mike Frysinger <vapier@gentoo.org>
41115
41116 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
41117
41118 2013-01-14 David S. Miller <davem@davemloft.net>
41119
41120 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
41121 (SPARC_ASM_VIS2_IFUNC): Likewise.
41122 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
41123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
41124 use of 'siam' instruction.
41125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
41126 Likewise.
41127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
41128 Likewise.
41129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
41130 Likewise.
41131 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
41132 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
41133 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
41134 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
41135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
41136 file.
41137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
41138 file.
41139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
41140 file.
41141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
41142 file.
41143 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
41144 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
41145 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
41146 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
41147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
41148 new VIS2 routines.
41149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41152 Likewise.
41153 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41154 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41155 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41156 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
41158 routines to libm-sysdep_routines.
41159 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41160
41161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41162 fdim/fdimf to libm-sysdep_routines.
41163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
41164 file.
41165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
41166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
41167 file.
41168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
41169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
41170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
41171 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
41172 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
41173 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
41174 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
41175
41176 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
41177
41178 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
41179 to optimize copies.
41180
41181 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
41182 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41183 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41184
41185 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
41186 local variable MPTWO.
41187 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
41188 Likewise.
41189
41190 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41191
41192 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
41193 GLOB_NOESCAPE.
41194
41195 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41196
41197 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
41198
41199 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41200
41201 * manual/pattern.texi (glob_t): Document gl_flags.
41202 (glob64_t): Likewise.
41203
41204 2013-01-11 David S. Miller <davem@davemloft.net>
41205
41206 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
41207 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
41208 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
41209 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
41210 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
41211 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
41212 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
41213 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
41214 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
41215 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
41216 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
41217 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
41218 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
41219
41220 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41221 sparc V9 rather than using V8 code.
41222 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41223 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41224
41225 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41226 Move to...
41227 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
41228 Here.
41229
41230 2013-01-11 Roland McGrath <roland@hack.frob.com>
41231
41232 [BZ #14941]
41233 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
41234 not in the main loop.
41235 * configure: Regenerated.
41236
41237 2013-01-11 Joseph Myers <joseph@codesourcery.com>
41238
41239 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
41240 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
41241 to just #else.
41242 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
41243 [!__GLIBC_HAVE_LONG_LONG] case.
41244 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
41245 condition to just #else.
41246 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
41247 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
41248 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
41249 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
41250 unconditional.
41251 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
41252 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41253 #elif condition to just #else.
41254 * sysdeps/unix/sysv/linux/sys/sysmacros.h
41255 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
41256 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41257 #elif condition to just #else.
41258
41259 2013-01-11 Steve Ellcey <sellcey@mips.com>
41260
41261 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
41262 (EF_MIPS_ARCH_64): Fix value.
41263 (EF_MIPS_ARCH_32R2): New.
41264 (EF_MIPS_ARCH_64R2): New.
41265
41266 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
41267
41268 * Makeconfig (+link-pie-before-libc): New.
41269 (+link-pie-after-libc): Likewise.
41270 (+link-pie-tests): Likewise.
41271 (+link-pie): Rewritten.
41272 (link-before-libc): Remove $(config-LDFLAGS).
41273 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
41274 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
41275 (config-LDFLAGS): Renamed to ...
41276 (rtld-LDFLAGS): This.
41277 (rtld-tests-LDFLAGS): New macro.
41278 (link-libc-rpath-link): Likewise.
41279 (link-libc-tests-rpath-link): Likewise.
41280 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
41281 (link-libc): Prepand $(link-libc-rpath-link).
41282 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
41283 (test-program-prefix): New macro.
41284 (test-via-rtld-prefix): Likewise.
41285 (test-program-cmd): Likewise.
41286 (host-test-program-cmd): Likewise.
41287 * Makefile ($(common-objpfx)testrun.sh): Replace
41288 $(run-program-prefix) with $(test-program-prefix).
41289 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
41290 $(rtld-LDFLAGS).
41291 ($(common-objpfx)shlib.lds): Likewise.
41292 (build-module-helper): Likewise.
41293 ($(common-objpfx)format.lds): Likewise.
41294 * Rules (binaries-pie-tests): New.
41295 (binaries-pie-notests): Likewise.
41296 (binaries-pie): Rewritten.
41297 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
41298 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
41299 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
41300 (make-test-out): Replace $(host-built-program-cmd) with
41301 $(host-test-program-cmd).
41302 * config.make.in (build-hardcoded-path-in-tests): New variable.
41303 * configure.in (--enable-hardcoded-path-in-tests): New configure
41304 option.
41305 (hardcoded_path_in_tests): New AC_SUBST.
41306 * configure: Regenerated.
41307 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
41308 $(built-program-cmd) with $(test-program-cmd).
41309 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
41310 (test_program_cmd): This.
41311 * elf/Makefile ($(objpfx)order.out): Run test with
41312 $(test-program-prefix).
41313 ($(objpfx)order2.out): Likewise.
41314 ($(objpfx)tst-initorder.out): Likewise.
41315 ($(objpfx)tst-initorder2.out): Likewise.
41316 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
41317 $(test-program-cmd).
41318 ($(objpfx)tst-array1-static.out): Likewise.
41319 ($(objpfx)tst-array2.out): Likewise.
41320 ($(objpfx)tst-array3.out): Likewise.
41321 ($(objpfx)tst-array4.out): Likewise.
41322 ($(objpfx)tst-array5.out): Likewise.
41323 ($(objpfx)tst-array5-static.out): Likewise.
41324 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
41325 $(test-program-cmd).
41326 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
41327 $(run-program-prefix) with $(test-program-prefix).
41328 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
41329 (test_program_prefix): This.
41330 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
41331 $(run-program-prefix) with $(test-program-prefix).
41332 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
41333 (test_program_prefix): This.
41334 * iconvdata/tst-tables.sh: Likewise.
41335 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
41336 $(run-program-prefix) with $(test-program-prefix).
41337 ($(objpfx)tst-translit.out): Likewise.
41338 ($(objpfx)tst-gettext2.out): Likewise.
41339 ($(objpfx)tst-gettext4.out): Likewise.
41340 ($(objpfx)tst-gettext6.out): Likewise.
41341 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
41342 (test_program_prefix): This.
41343 * intl/tst-gettext2.sh: Likewise.
41344 * intl/tst-gettext4.sh Likewise.
41345 * intl/tst-gettext6.sh: Likewise.
41346 * intl/tst-translit.sh: Likewise.
41347 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
41348 with $(test-program-cmd).
41349 * libio/Makefile ($(objpfx)test-freopen.out): Replace
41350 $(run-program-prefix) with $(test-program-prefix).
41351 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
41352 (test_program_prefix): This.
41353 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
41354 $(run-program-prefix) with $(test-program-prefix).
41355 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
41356 (test_program_prefix): This.
41357 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
41358 * posix/Makefile ($(objpfx)globtest.out): Replace
41359 $(run-via-rtld-prefix) and $(test-wrapper) with
41360 $(test-program-prefix) and $(test-via-rtld-prefix).
41361 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
41362 $(test-program-prefix).
41363 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
41364 $(host-test-program-cmd).
41365 (tst-spawn-ARGS): Likewise.
41366 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
41367 $(test-program-prefix).
41368 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
41369 (test_via_rtld_prefix): This.
41370 (test_wrapper): Renamed to ...
41371 (test_program_prefix): This.
41372 (run_program_prefix): Replaced by test_program_prefix.
41373 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
41374 (test_program_prefix): This.
41375 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
41376 with $(host-test-program-cmd).
41377 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
41378 $(run-program-prefix) with $(test-program-prefix).
41379 ($(objpfx)tst-printf.out): Likewise.
41380 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
41381 $(test-program-cmd).
41382 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
41383 (test_program_prefix): This.
41384 * stdio-common/tst-unbputc.sh: Likewise.
41385 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
41386 $(run-program-prefix) with $(test-program-prefix).
41387 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
41388 (test_program_prefix): This.
41389 * string/Makefile ($(objpfx)tst-svc.out): Replace
41390 $(built-program-cmd) with $(test-program-cmd).
41391
41392 2013-01-11 Andreas Jaeger <aj@suse.de>
41393
41394 [BZ #15003]
41395 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
41396 value. Sync with Linux 3.7.
41397
41398 2013-01-10 David S. Miller <davem@davemloft.net>
41399
41400 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
41401 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41402 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41403
41404 2013-01-10 Roland McGrath <roland@hack.frob.com>
41405
41406 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
41407 never set.
41408 * configure: Regenerated.
41409
41410 2013-01-10 David S. Miller <davem@davemloft.net>
41411
41412 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41413 sparc V9 rather than using V8 code.
41414 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41415 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41416
41417 2013-01-10 Roland McGrath <roland@hack.frob.com>
41418
41419 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
41420 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
41421 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
41422 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
41423 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
41424 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
41425 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
41426 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
41427 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
41428 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
41429 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
41430 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
41431 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
41432 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
41433 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
41434 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
41435 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
41436 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
41437 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
41438 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
41439 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
41440 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
41441 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
41442 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
41443 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
41444 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
41445 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
41446
41447 2013-01-10 David S. Miller <davem@davemloft.net>
41448
41449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41450
41451 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41452
41453 * posix/Makefile (tests-static): New variable.
41454 (tests): Add $(tests-static).
41455 (tst-exec-static-ARGS): New variable.
41456 (tst-spawn-static-ARGS): Likewise.
41457 * posix/tst-exec-static.c: New file.
41458 * posix/tst-spawn-static.c: Likewise.
41459 * posix/tst-exec.c: Support run directly.
41460 * posix/tst-spawn.c: Likewise.
41461
41462 2013-01-10 Joseph Myers <joseph@codesourcery.com>
41463
41464 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
41465 long.
41466 * math/bits/mathcalls.h (llrint): Likewise.
41467 (llround): Likewise.
41468 * stdlib/stdlib.h (struct drand48_data): Likewise.
41469 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
41470 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
41471 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
41472 Likewise.
41473 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
41474 Likewise.
41475 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
41476 (elf_greg_t): Likewise.
41477 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
41478 (__jmp_buf): Likewise.
41479 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
41480 definitions.
41481 (llrint): Likewise, for all definitions.
41482 (llrintl): Likewise.
41483
41484 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
41485 Remove [__GNUC__] condition.
41486 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
41487 condition to just [__USE_ISOC99].
41488 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
41489
41490 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41491
41492 [BZ #14200]
41493 * sysdeps/unix/sysv/linux/x86/bits/environments.h
41494 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
41495 defined.
41496 (_POSIX_V6_ILP32_OFF32): Likewise.
41497 (_XBS5_ILP32_OFF32): Likewise.
41498 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
41499 (__ILP32_OFFBIG_LDFLAGS): Likewise.
41500
41501 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41502
41503 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
41504
41505 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
41506 doubles __mpexp_twomm1. Adjust usage.
41507 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
41508 Remove.
41509
41510 2013-01-10 Andreas Schwab <schwab@suse.de>
41511
41512 [BZ #14964]
41513 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
41514 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
41515
41516 2013-01-09 David S. Miller <davem@davemloft.net>
41517
41518 [BZ #15003]
41519 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
41520 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
41521 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
41522 (TCP_FASTOPEN): Define.
41523 (tcp_repair_opt): New structure.
41524 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
41525 enum values.
41526 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
41527 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
41528 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
41529 (tcp_cookie_transactions): New structure.
41530
41531 2013-01-09 Anton Blanchard <anton@samba.org>
41532
41533 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
41534 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
41535 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
41536 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
41537
41538 2013-01-09 Joseph Myers <joseph@codesourcery.com>
41539
41540 * include/features.h (__USE_ANSI): Remove.
41541
41542 2013-01-09 Roland McGrath <roland@hack.frob.com>
41543
41544 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
41545
41546 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
41547
41548 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
41549
41550 * sysdeps/s390/fpu/libm-test-ulps: Update.
41551
41552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41553
41554 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
41555 (__acr): Likewise.
41556 (__cpy): Likewise.
41557 (norm): Likewise.
41558 (denorm): Likewise.
41559 (__mp_dbl): Likewise.
41560 (__dbl_mp): Likewise.
41561 (add_magnitudes): Likewise.
41562 (sub_magnitudes): Likewise.
41563 (__add): Likewise.
41564 (__sub): Likewise.
41565 (__mul): Likewise.
41566 (__inv): Likewise.
41567 (__dvd): Likewise.
41568 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
41569 (__acr): Likewise.
41570 (__cpy): Likewise.
41571 (norm): Likewise.
41572 (denorm): Likewise.
41573 (__mp_dbl): Likewise.
41574 (__dbl_mp): Likewise.
41575 (add_magnitudes): Likewise.
41576 (sub_magnitudes): Likewise.
41577 (__add): Likewise.
41578 (__sub): Likewise.
41579 (__mul): Likewise.
41580 (__inv): Likewise.
41581 (__dvd): Likewise.
41582 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
41583 (__acr): Likewise.
41584 (__cpy): Likewise.
41585 (norm): Likewise.
41586 (denorm): Likewise.
41587 (__mp_dbl): Likewise.
41588 (__dbl_mp): Likewise.
41589 (add_magnitudes): Likewise.
41590 (sub_magnitudes): Likewise.
41591 (__add): Likewise.
41592 (__sub): Likewise.
41593 (__mul): Likewise.
41594 (__inv): Likewise.
41595 (__dvd): Likewise.
41596
41597 2013-01-08 Joseph Myers <joseph@codesourcery.com>
41598
41599 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
41600 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
41601 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
41602 2 && __USE_EXTERN_INLINES]: Likewise.
41603
41604 2013-01-08 Andreas Jaeger <aj@suse.de>
41605
41606 [BZ# 14985]
41607 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
41608 Remove.
41609 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41610 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41611
41612 2013-01-07 Anton Blanchard <anton@samba.org>
41613
41614 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
41615 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41616 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
41617 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41618 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41619 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41620 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
41621 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41622 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41623 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41624 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41625 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41626 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41627 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41628 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41629 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41630 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41631 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41632 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41633 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41634 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41635 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
41636 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41637 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41638 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
41639 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41640 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41641 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41642 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
41643 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41644 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41645 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41646 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41647 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41648 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41649 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41650 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41651 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41652 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
41653 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41654 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
41655 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41656 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41657
41658 2013-01-07 Joseph Myers <joseph@codesourcery.com>
41659
41660 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
41661 (__MALLOC_PMT): Likewise.
41662 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
41663 [__GNUC__], only on [_LIBC].
41664 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41665 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
41666 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41667 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
41668 forward declaration.
41669 (realloc_hook_ini): Likewise.
41670 (memalign_hook_ini): Likewise.
41671 (__libc_memalign): Do not use __MALLOC_PMT in variable
41672 declaration.
41673 (__libc_valloc): Likewise.
41674 (__libc_pvalloc): Likewise.
41675 (__libc_calloc): Likewise.
41676 (__posix_memalign): Likewise.
41677
41678 [BZ #14996]
41679 * math/s_casinh.c: Include <float.h>.
41680 (__casinh): Do not do computation with squaring and square root
41681 for large arguments.
41682 * math/s_casinhf.c: Include <float.h>.
41683 (__casinhf): Do not do computation with squaring and square root
41684 for large arguments.
41685 * math/s_casinhl.c: Include <float.h>.
41686 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
41687 (__casinhl): Do not do computation with squaring and square root
41688 for large arguments.
41689 * math/libm-test.inc (casin_test): Add more tests.
41690 (casinh_test): Likewise.
41691 * sysdeps/i386/fpu/libm-test-ulps: Update.
41692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41693
41694 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
41695
41696 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
41697 (__x86_64_raw_data_cache_size): Likewise.
41698 (__x86_64_data_cache_size_half): Likewise.
41699 (__x86_64_raw_data_cache_size_half): Likewise.
41700 (__x86_64_shared_cache_size): Likewise.
41701 (__x86_64_raw_shared_cache_size): Likewise.
41702 (__x86_64_shared_cache_size_half): Likewise.
41703 (__x86_64_raw_shared_cache_size_half): Likewise.
41704 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
41705 to ...
41706 (__x86_data_cache_size): This.
41707 (__x86_64_raw_data_cache_size): Renamed to ...
41708 (__x86_raw_data_cache_size): This.
41709 (__x86_64_data_cache_size_half): Renamed to ...
41710 (__x86_data_cache_size_half): This.
41711 (__x86_64_raw_data_cache_size_half): Renamed to ...
41712 (__x86_raw_data_cache_size_half): This.
41713 (__x86_64_shared_cache_size): Renamed to ...
41714 (__x86_shared_cache_size): This.
41715 (__x86_64_raw_shared_cache_size): Renamed to ...
41716 (__x86_raw_shared_cache_size): This.
41717 (__x86_64_shared_cache_size_half): Renamed to ...
41718 (__x86_shared_cache_size_half): This.
41719 (__x86_64_raw_shared_cache_size_half): Renamed to ...
41720 (__x86_raw_shared_cache_size_half): This.
41721 * sysdeps/x86_64/memcpy.S: Updated.
41722 * sysdeps/x86_64/memset.S: Likewise.
41723 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41724 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41725 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41726
41727 2013-01-04 David S. Miller <davem@davemloft.net>
41728
41729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41730
41731 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
41732
41733 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
41734 1 to avoid redefinition warning.
41735 (__USE_GNU): Don't define.
41736 (init_signaling_nan): Protoize.
41737
41738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41739
41740 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41741
41742 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
41743 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
41744 (__cpymn): Likewise.
41745 (norm): Remove commented code.
41746 (denorm): Likewise.
41747 (__mp_dbl): Likewise.
41748 (__inv): Likewise.
41749 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
41750 (__cpymn): Likewise.
41751 (norm): Remove commented code.
41752 (denorm): Likewise.
41753 (__mp_dbl): Likewise.
41754 (__inv): Likewise.
41755
41756 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
41757 mp_no value for 1.0 and 2.0.
41758 (norm): Use RADIXI instead of radixi.d.
41759 (denorm): Likewise.
41760 (__mul): Use 0.0 instead of zero.d.
41761 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
41762 mp_no value for 1.0 and 2.0.
41763 (norm): Use RADIXI instead of radixi.d.
41764 (denorm): Likewise.
41765 (__mul): Use 0.0 instead of zero.d.
41766
41767 2013-01-04 Joseph Myers <joseph@codesourcery.com>
41768
41769 [BZ #14994]
41770 * math/s_casinh.c (__casinh): Reduce finite argument to first
41771 quadrant then set signs of results at the end.
41772 * math/s_casinhf.c (__casinhf): Likewise.
41773 * math/s_casinhl.c (__casinhl): Likewise.
41774 * math/libm-test.inc (casin_test): Add more tests.
41775 (casinh_test): Likewise.
41776 * sysdeps/i386/fpu/libm-test-ulps: Update.
41777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41778
41779 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41780
41781 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
41782
41783 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
41784
41785 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
41786 declarations.
41787 (denorm): Likewise.
41788 (__mp_dbl): Likewise.
41789 (__inv): Likewise.
41790
41791 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
41792 and adjust the header comment.
41793
41794 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
41795 variable name from declaration.
41796
41797 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
41798
41799 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41800 Initialize COMMON_CPUID_INDEX_7 element.
41801 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
41802 (CPUID_RTM): Likewise.
41803 (HAS_RTM): Likewise.
41804 (COMMON_CPUID_INDEX_7): New enum.
41805
41806 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
41807
41808 [BZ #14981]
41809 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
41810 size is zero, record memory as freed.
41811
41812 2013-01-03 Andreas Jaeger <aj@suse.de>
41813
41814 * po/ia.po: Add new Interlingua translation.
41815
41816 2012-01-03 Allan McRae <allan@archlinux.org>
41817
41818 * locale/programs/localedef.c: Fix description of '--posix' flag.
41819
41820 2013-01-02 Joseph Myers <joseph@codesourcery.com>
41821
41822 * NEWS: Update dates in second copyright notice.
41823 * README: Update copyright dates in example.
41824 * manual/libc.texinfo: Update copyright dates.
41825 * scripts/test-installation.pl: Update copyright date in --version
41826 output.
41827
41828 * hurd/ctty-input.c: Fix copyright notice formatting.
41829 * hurd/ctty-output.c: Likewise.
41830 * hurd/dtable.c: Likewise.
41831 * hurd/hurd-raise.c: Likewise.
41832 * hurd/hurdprio.c: Likewise.
41833 * hurd/msgportdemux.c: Likewise.
41834 * misc/sys/file.h: Likewise.
41835 * misc/sys/ioctl.h: Likewise.
41836 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41837 * sysdeps/mach/hurd/chdir.c: Likewise.
41838 * sysdeps/mach/hurd/fchdir.c: Likewise.
41839 * sysdeps/mach/hurd/rename.c: Likewise.
41840 * sysdeps/mach/hurd/rmdir.c: Likewise.
41841 * sysdeps/mach/hurd/seekdir.c: Likewise.
41842 * sysdeps/mach/hurd/setsid.c: Likewise.
41843 * sysdeps/posix/wait3.c: Likewise.
41844
41845 * All files with FSF copyright notices: Update copyright dates
41846 using scripts/update-copyrights.
41847 * intl/plural.c: Regenerated.
41848 * locale/programs/charmap-kw.h: Likewise.
41849 * locale/programs/locfile-kw.h: Likewise.
41850
41851 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41852
41853 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
41854 four values.
41855
41856 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
41857 calculation loop and add branch prediction.
41858
41859 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
41860 check access beyond bounds of m1np.
41861
41862 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41863 MPTWO.
41864 (__inv): Remove local variable MPTWO to use the global
41865 constant.
41866 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
41867 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41868 variable MPTWO.
41869 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
41870 MP3HALFS static const.
41871
41872 2013-01-01 David S. Miller <davem@davemloft.net>
41873
41874 * po/ca.po: Update from translation team.
41875
41876 2013-01-01 Joseph Myers <joseph@codesourcery.com>
41877
41878 * scripts/update-copyrights: New file.
41879 * Makeconfig: Reformat copyright notice.
41880 * ctype/ctype.h: Likewise.
41881 * debug/swprintf_chk.c: Likewise.
41882 * elf/dl-cache.c: Likewise.
41883 * elf/dl-debug.c: Likewise.
41884 * elf/dl-object.c: Likewise.
41885 * grp/initgroups.c: Likewise.
41886 * hurd/Makefile: Likewise.
41887 * hurd/hurd/signal.h: Likewise.
41888 * hurd/hurdfault.c: Likewise.
41889 * hurd/hurdioctl.c: Likewise.
41890 * hurd/hurdlookup.c: Likewise.
41891 * hurd/intr-msg.c: Likewise.
41892 * iconv/gconv_open.c: Likewise.
41893 * libio/swprintf.c: Likewise.
41894 * locale/lc-ctype.c: Likewise.
41895 * locale/nl_langinfo.c: Likewise.
41896 * mach/Machrules: Likewise.
41897 * mach/Makefile: Likewise.
41898 * malloc/obstack.h: Likewise.
41899 * manual/Makefile: Likewise.
41900 * manual/tsort.awk: Likewise.
41901 * misc/bits/stab.def: Likewise.
41902 * nis/nis_print_group_entry.c: Likewise.
41903 * nis/nis_table.c: Likewise.
41904 * nis/nss_compat/compat-pwd.c: Likewise.
41905 * nis/nss_compat/compat-spwd.c: Likewise.
41906 * po/Makefile: Likewise.
41907 * posix/fnmatch.c: Likewise.
41908 * posix/regex.h: Likewise.
41909 * resolv/Makefile: Likewise.
41910 * resolv/nss_dns/dns-network.c: Likewise.
41911 * resolv/res_hconf.c: Likewise.
41912 * scripts/gen-sorted.awk: Likewise.
41913 * soft-fp/soft-fp.h: Likewise.
41914 * stdio-common/printf.h: Likewise.
41915 * stdlib/monetary.h: Likewise.
41916 * stdlib/random.c: Likewise.
41917 * stdlib/random_r.c: Likewise.
41918 * sysdeps/generic/Makefile: Likewise.
41919 * sysdeps/gnu/Makefile: Likewise.
41920 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41921 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41922 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41923 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41924 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41925 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41926 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41927 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41928 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41929 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41930 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41931 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41932 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41933 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41934 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
41935 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41936 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41937 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41938 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41939 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41940 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41941 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41942 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41943 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41944 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
41945 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41946 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
41947 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
41948 * sysdeps/mach/hurd/errnos.awk: Likewise.
41949 * sysdeps/mach/hurd/fork.c: Likewise.
41950 * sysdeps/mach/hurd/getcwd.c: Likewise.
41951 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
41952 * sysdeps/mach/hurd/mmap.c: Likewise.
41953 * sysdeps/mach/hurd/utimes.c: Likewise.
41954 * sysdeps/mach/hurd/xmknod.c: Likewise.
41955 * sysdeps/posix/profil.c: Likewise.
41956 * sysdeps/posix/readdir_r.c: Likewise.
41957 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41958 * sysdeps/powerpc/bits/setjmp.h: Likewise.
41959 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
41960 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41961 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41962 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41963 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41964 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41965 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41966 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41967 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41968 * sysdeps/pthread/lio_listio.c: Likewise.
41969 * sysdeps/sparc/dl-procinfo.h: Likewise.
41970 * sysdeps/unix/i386/sysdep.S: Likewise.
41971 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
41972 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
41973 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
41974 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
41975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41976 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
41977 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
41978 * sysdeps/unix/sysv/linux/speed.c: Likewise.
41979 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
41980 * sysdeps/wordsize-32/divdi3.c: Likewise.
41981 * time/sys/time.h: Likewise.
41982 * wcsmbs/Makefile: Likewise.
41983
41984 2013-01-01 David S. Miller <davem@davemloft.net>
41985
41986 * po/fr.po: Update from translation team.
41987
41988 * catgets/gencat.c: Update copyright year.
41989 * csu/version.c: Likewise.
41990 * debug/catchsegv.sh: Likewise.
41991 * debug/pcprofiledump.c: Likewise.
41992 * debug/xtrace.sh: Likewise.
41993 * elf/ldconfig.c: Likewise.
41994 * elf/ldd.bash.in: Likewise.
41995 * elf/pldd.c: Likewise.
41996 * elf/sotruss.ksh: Likewise.
41997 * elf/sprof.c: Likewise.
41998 * iconv/iconv_prog.c: Likewise.
41999 * iconv/iconvconfig.c: Likewise.
42000 * locale/programs/locale.c: Likewise.
42001 * locale/programs/localedef.c: Likewise.
42002 * login/programs/pt_chown.c: Likewise.
42003 * malloc/memusage.sh: Likewise.
42004 * malloc/memusagestat.c: Likewise.
42005 * malloc/mtrace.pl: Likewise.
42006 * nscd/nscd.c: Likewise.
42007 * nss/getent.c: Likewise.
42008 * nss/makedb.c: Likewise.
42009 * posix/getconf.c: Likewise.
42010
42011 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42012
42013 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
42014 numbers.
42015
42016 2012-12-30 Mike Frysinger <vapier@gentoo.org>
42017
42018 * math/bits/mathcalls.h (modf): Use __nonnull.
42019
42020 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42021
42022 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
42023 (split): Use macro CN instead of the bare value.
42024 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
42025 could be used.
42026 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
42027 instead of the bare value.
42028 (power1): Likewise.
42029
42030 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42031
42032 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
42033 __ATAN_TWOM.
42034 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42035
42036 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
42037 their values.
42038 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
42039 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
42040 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
42041 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
42042
42043 2012-12-28 Andreas Jaeger <aj@suse.de>
42044
42045 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
42046 values are from Linux 3.7.
42047
42048 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
42049 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
42050
42051 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42052
42053 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
42054 TRUE case.
42055
42056 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
42057 (norm): Likewise.
42058 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
42059 variables with preprocessor constants.
42060 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42061 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42062 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42063
42064 2012-12-27 Bruno Haible <bruno@clisp.org>
42065
42066 [BZ #14317]
42067 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
42068 only if needed.
42069
42070 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42071
42072 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
42073 and use variable directly.
42074 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
42075
42076 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42077 MPONE.
42078 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
42079 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42080 variable MPONE.
42081 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42082 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42083 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
42084 include directive. Remove local variable MPONE.
42085 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
42086 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
42087 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42088
42089 2012-12-25 David S. Miller <davem@davemloft.net>
42090
42091 * version.h (RELEASE): Set to "development".
42092 (VERSION): Set to "2.17.90".
42093 * NEWS: Add 2.18 section.
42094
42095 2012-12-21 David S. Miller <davem@davemloft.net>
42096
42097 * po/hr.po: Update from translation team.
42098
42099 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42100
42101 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
42102
42103 2012-12-19 Steve Ellcey <sellcey@mips.com>
42104
42105 * NEWS: Mention new memcpy for MIPS.
42106
42107 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42108
42109 * manual/contrib.texi (Contributors): Spelling correction.
42110
42111 2012-12-15 David S. Miller <davem@davemloft.net>
42112
42113 * po/ru.po: Update from translation team.
42114
42115 2012-12-13 David S. Miller <davem@davemloft.net>
42116
42117 * NEWS: Mention IFUNC testsuite enhancements.
42118
42119 * po/pl.po: Update from translation team.
42120 * po/bg.po: Likewise.
42121
42122 * manual/contrib.texi (Contributors): Update entries for Hongjiu
42123 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
42124
42125 2012-12-11 David S. Miller <davem@davemloft.net>
42126
42127 * po/sv.po: Update from translation team.
42128
42129 * po/vi.po: Update from translation team.
42130
42131 * po/cs.po: Update from translation team.
42132
42133 * po/de.po: Update from translation team.
42134 * po/eo.po: Likewise.
42135 * po/nl.po: Likewise.
42136
42137 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
42138
42139 [BZ #14246]
42140 * manual/argp.texi (Argp Helper Functions): Move node to follow
42141 Argp Parsing State.
42142
42143 [BZ #14872]
42144 * manual/conf.texi (Limits on File System Capacity): Mention if
42145 terminating null is included in the max size.
42146
42147 2012-12-10 Andreas Jaeger <aj@suse.de>
42148
42149 * po/cs.po: Update from translation team.
42150
42151 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
42152
42153 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
42154 void pointer and cast to uintptr_t.
42155 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
42156 path.
42157 * sysdeps/s390/s390-64/memcpy.S: Likewise.
42158 * sysdeps/s390/s390-64/memset.S: Likewise.
42159
42160 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
42161
42162 [BZ #14833]
42163 * menual/message.texi (Message Translation): Fix typos.
42164 (Helper programs for gettext): Likewise.
42165
42166 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
42167
42168 [BZ #14898]
42169 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
42170 Change to -1.
42171
42172 2012-12-07 David S. Miller <davem@davemloft.net>
42173
42174 * po/libc.pot: Update.
42175
42176 2012-12-07 Richard Henderson <rth@redhat.com>
42177
42178 [BZ #10114]
42179 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
42180 normal/normal case to before the switch.
42181 (_FP_DIV): Likewise.
42182
42183 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
42184 Mike Frysinger <vapier@gentoo.org>
42185
42186 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
42187 check for __NR_fadvise64_64.
42188
42189 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
42190
42191 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
42192 0, not just to plain "0" as a statement.
42193 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
42194 with cw.
42195
42196 2012-12-06 Joseph Myers <joseph@codesourcery.com>
42197
42198 * NEWS: Use sourceware.org in Bugzilla URL.
42199
42200 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
42201
42202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
42203 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42204
42205 * stdio-common/tst-put-error.c (do_test): Add newline to the
42206 padded test to ensure flush.
42207
42208 2012-12-05 Jeff Law <law@redhat.com>
42209
42210 * sunrpc/etc.rpc (fedfs_admin): Add entry.
42211
42212 2012-12-05 Joseph Myers <joseph@codesourcery.com>
42213
42214 * README: Don't refer to ports add-on as distributed separately.
42215 Mention AArch64 in list of systems supported in the ports add-on.
42216
42217 * LICENSES: Add more non-FSF copyright and license notices.
42218
42219 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
42220 ((unused)).
42221
42222 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
42223
42224 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
42225 10000 as width of padded output.
42226
42227 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42228
42229 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
42230
42231 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
42232 variable LX with __attribute__ ((unused)).
42233 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42234 Likewise.
42235 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42236 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42237 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
42238 with __attribute__ ((unused)).
42239
42240 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
42241
42242 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
42243
42244 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42245
42246 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
42247 (CFLAGS-nldbl-acos.c): New variable.
42248 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
42249 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
42250 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
42251 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
42252 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
42253 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
42254 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
42255 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
42256 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
42257 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
42258 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
42259 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
42260 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
42261 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
42262 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
42263 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
42264 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
42265 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
42266 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
42267 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
42268 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
42269 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
42270 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
42271 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
42272 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
42273 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
42274 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
42275 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
42276 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
42277 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
42278 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
42279 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
42280 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
42281 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
42282 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
42283 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
42284 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
42285 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
42286 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
42287 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
42288 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
42289 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
42290 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
42291 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
42292 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
42293 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
42294 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
42295 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
42296 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
42297 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
42298 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
42299 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
42300 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
42301 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
42302 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
42303 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
42304 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
42305 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
42306 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
42307 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
42308 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
42309 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
42310 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
42311 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
42312 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
42313 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
42314 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
42315 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
42316 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
42317 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
42318 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
42319 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
42320 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
42321 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
42322 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
42323 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
42324 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
42325 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
42326 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
42327 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
42328 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
42329 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
42330 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
42331 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
42332 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
42333 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
42334 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
42335 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
42336 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
42337 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
42338 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
42339 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
42340 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
42341 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
42342 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
42343 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
42344 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
42345
42346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42347 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42348
42349 [BZ #14914]
42350 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
42351 whole low double instead of just low 47 bits when splitting values
42352 into two parts.
42353
42354 2012-12-03 Allan McRae <allan@archlinux.org>
42355
42356 * manual/stdio.texi (Predefined Printf Handlers): Remove
42357 @hsep and @vsep usage.
42358
42359 2012-12-03 Mike Frysinger <vapier@gentoo.org>
42360
42361 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
42362 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
42363
42364 2012-12-03 Jeff Law <law@redhat.com>
42365
42366 * time/sys/time.h (settimeofday): Do not mark TV argument
42367 as __nonnull.
42368
42369 2012-12-01 Mike Frysinger <vapier@gentoo.org>
42370
42371 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
42372 when currently writing and seek to current position when not.
42373 * libio/Makefile (tests): Remove bug-fclose1.
42374 * libio/bug-fclose1.c: Delete.
42375
42376 2012-12-01 Joseph Myers <joseph@codesourcery.com>
42377
42378 * manual/arith.texi (feenableexcept): Fix typo.
42379 (fedisableexcept): Likewise.
42380
42381 2012-11-30 Roland McGrath <roland@hack.frob.com>
42382
42383 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
42384 second, differently-typed declaration, rather than a cast.
42385
42386 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42387
42388 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
42389 * include/rpc/svc.h: ... here.
42390
42391 2012-11-30 Aurelien Jarno <aurel32@debian.org>
42392
42393 [BZ #13013]
42394 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
42395 depending n and resplen2 to catch cases where answer
42396 equals answerp2.
42397
42398 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
42399
42400 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
42401 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
42402
42403 2012-11-29 Mike Frysinger <vapier@gentoo.org>
42404
42405 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
42406
42407 2012-11-29 Roland McGrath <roland@hack.frob.com>
42408
42409 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
42410
42411 2012-11-28 Jeff Law <law@redhat.com>
42412
42413 [BZ #13761]
42414 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
42415 dataset_temporary. Track alloca usage into alloca_used.
42416 If dataset is large allocate and release it via malloc/free.
42417
42418 2012-06-04 Florian Weimer <fweimer@redhat.com>
42419
42420 [BZ #14197]
42421 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
42422
42423 2012-11-28 David S. Miller <davem@davemloft.net>
42424
42425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42426
42427 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42428
42429 [BZ #14803]
42430 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
42431 of pi/2 rounded to nearest to 64 bits.
42432 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
42433 nearest to 64 bits.
42434 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
42435 bits.
42436
42437 2012-11-28 Jeff Law <law@redhat.com>
42438 Martin Osvald <mosvald@redhat.com>
42439
42440 [BZ #14889]
42441 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
42442 * sunrpc/svc.c: Include time.h.
42443 (__svc_accept_failed): New function.
42444 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
42445 any reason other than EINTR, call __svc_accept_failed.
42446 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
42447 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
42448
42449 2012-11-28 Andreas Schwab <schwab@suse.de>
42450
42451 * scripts/abilist.awk: Also handle indirect functions in .opd
42452 section.
42453
42454 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42455
42456 [BZ #13881]
42457 * sysdeps/x86/fpu/powl_helper.c: New file.
42458 * sysdeps/x86/fpu/Makefile: Likewise.
42459 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
42460 (p3): New object.
42461 (__ieee754_powl): Use __powl_helper for finite arguments except
42462 integer exponents below 8.
42463 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
42464 (p3): New object.
42465 (__ieee754_powl): Use __powl_helper for finite arguments except
42466 integer exponents below 8.
42467 * math/libm-test.inc (pow_test): Add more tests and enable some
42468 previously disabled tests.
42469 * sysdeps/i386/fpu/libm-test-ulps: Update.
42470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42471
42472 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42473 Carlos O'Donell <carlos_odonell@mentor.com>
42474
42475 * nss/makedb.c (is_prime): Assert that input is odd and greater
42476 than 4. Note that fact in a comment too.
42477 (next_prime): Add 4 to input.
42478
42479 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42480
42481 [BZ #11741]
42482 * libio/Makefile (tests): Add test case tst-fwrite-error.
42483 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
42484 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
42485 * libio/tst-fwrite-error.c: New test case.
42486
42487 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
42488
42489 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
42490 before casting to void *.
42491 * include/libc-internal.h (__pointer_type): New macro.
42492 (__integer_if_pointer_type_sub): Likewise.
42493 (__integer_if_pointer_type): Likewise.
42494 (cast_to_integer): Likewise.
42495 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
42496 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
42497 before casting to atomic64_t.
42498 (atomic_exchange_acq): Likewise.
42499 (__arch_exchange_and_add_body): Likewise.
42500 (__arch_add_body): Likewise.
42501 (atomic_add_negative): Likewise.
42502 (atomic_add_zero): Likewise.
42503
42504 2012-11-26 Joseph Myers <joseph@codesourcery.com>
42505
42506 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
42507 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
42508 (add_fdes): Likewise.
42509 (linear_search_fdes): Likewise.
42510 (binary_search_unencoded_fdes): Likewise.
42511
42512 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
42513
42514 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
42515
42516 2012-11-24 Adam Conrad <adconrad@0c3.net>
42517
42518 * configure.in: Autodetect C++ header directories.
42519 * configure: Regenerated.
42520
42521 2012-11-23 Mike Frysinger <vapier@gentoo.org>
42522
42523 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
42524
42525 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
42526
42527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42528
42529 2012-11-22 Joseph Myers <joseph@codesourcery.com>
42530
42531 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
42532 LDBL_MANT_DIG == 106]: Disable some tests.
42533 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42534 Likewise.
42535 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42536 Likewise.
42537
42538 [BZ #14871]
42539 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
42540 input for small inputs. Return +/- pi/2 for large inputs.
42541 * math/libm-test.inc (atan_test): Add more tests.
42542
42543 * sysdeps/generic/unwind-dw2-fde-glibc.c
42544 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
42545 __attribute__ ((unused)).
42546
42547 [BZ #14645]
42548 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
42549 x * y if x and y are nonzero and z is zero.
42550
42551 [BZ #14811]
42552 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
42553 nonzero exponents with absolute value below 0x1p-117 to +/-
42554 0x1p-117.
42555
42556 [BZ #14869]
42557 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
42558 up arguments below 2**-450, not just those below 2**-500.
42559 * math/libm-test.inc (hypot_test): Add another test.
42560
42561 [BZ #14868]
42562 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
42563 Return a+b for ratio over 2**120, not 2**60.
42564 * math/libm-test.inc (hypot_test): Add another test.
42565
42566 * math/libm-test.inc (clog_test): Use
42567 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
42568 (clog10_test): Likewise.
42569
42570 [BZ #6778]
42571 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
42572
42573 2012-11-22 Andreas Schwab <schwab@suse.de>
42574
42575 * sysdeps/i386/fpu/libm-test-ulps: Update.
42576
42577 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
42578
42579 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
42580 printf output with newline.
42581
42582 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
42583
42584 [BZ #14865]
42585 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
42586 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
42587 -z nodlopen, -z initfirst and -z execstack support.
42588 * configure: Regenerated.
42589
42590 * elf/elf.h (DF_1_NODIRECT): New macro.
42591 (DF_1_IGNMULDEF): Likewise.
42592 (DF_1_NOKSYMS): Likewise.
42593 (DF_1_NOHDR): Likewise.
42594 (DF_1_EDITED): Likewise.
42595 (DF_1_NORELOC): Likewise.
42596 (DF_1_SYMINTPOSE): Likewise.
42597 (DF_1_GLOBAUDIT): Likewise.
42598 (DF_1_SINGLETON): Likewise.
42599 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
42600 DT_1_SUPPORTED_MASK bits.
42601 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
42602
42603 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
42604
42605 * sysdeps/unix/make-syscalls.sh: Document prefixes.
42606
42607 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
42608
42609 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
42610 macro.
42611
42612 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
42613 (sendmmsg): Move declarations...
42614 * socket/sys/socket.h: ... here.
42615 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
42616 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
42617 include it from...
42618 * socket/recvmmsg.c: ... this new file.
42619 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
42620 (sendmmsg): Rename to __sendmmsg, create weak alias and make
42621 definition of __sendmmsg hidden.
42622 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
42623 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
42624 Move ENOSYS stub into and include it from...
42625 * socket/sendmmsg.c: ... this new file.
42626 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
42627 (sysdep_routines): Move recvmmsg and sendmmsg...
42628 * socket/Makefile (routines): ... here.
42629 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
42630 (GLIBC_PRIVATE): Add __sendmmsg.
42631 * include/sys/socket.h (__sendmmsg): Add declarations.
42632 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
42633 sendmmsg.
42634
42635 2012-11-20 Joseph Myers <joseph@codesourcery.com>
42636
42637 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
42638 variable I1 with __attribute__ ((unused)).
42639 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42640
42641 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42642
42643 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
42644 DUMMY variables with __attribute__ ((unused)).
42645
42646 * bits/byteswap.h: Include <bits/types.h>.
42647 (__bswap_64): Use __uint64_t instead of unsigned long long int.
42648
42649 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
42650
42651 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
42652 string_t. Do not manually set errno.
42653 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
42654 length with __strnlen. Make sure to both set errno and return it on
42655 failure.
42656
42657 2012-11-19 David S. Miller <davem@davemloft.net>
42658
42659 With help from Joseph Myers.
42660 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
42661 very large arguments properly.
42662 * math/libm-test.inc (atan_test): New tests.
42663 (atan2_test): New tests.
42664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42665 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42666
42667 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42668
42669 [BZ #14856]
42670 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
42671 Define to 3.
42672
42673 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
42674 [POSIX] (EADDRNOTAVAIL): Likewise.
42675 [POSIX] (EAFNOSUPPORT): Likewise.
42676 [POSIX] (EALREADY): Likewise.
42677 [POSIX] (ECONNABORTED): Likewise.
42678 [POSIX] (ECONNREFUSED): Likewise.
42679 [POSIX] (ECONNRESET): Likewise.
42680 [POSIX] (EDESTADDRREQ): Likewise.
42681 [POSIX] (EDQUOT): Likewise.
42682 [POSIX] (EHOSTUNREACH): Likewise.
42683 [POSIX] (EIDRM): Likewise.
42684 [POSIX] (EISCONN): Likewise.
42685 [POSIX] (ELOOP): Likewise.
42686 [POSIX] (EMULTIHOP): Likewise.
42687 [POSIX] (ENETDOWN): Likewise.
42688 [POSIX] (ENETUNREACH): Likewise.
42689 [POSIX] (ENOBUFS): Likewise.
42690 [POSIX] (ENODATA): Likewise.
42691 [POSIX] (ENOLINK): Likewise.
42692 [POSIX] (ENOMSG): Likewise.
42693 [POSIX] (ENOPROTOOPT): Likewise.
42694 [POSIX] (ENOSR): Likewise.
42695 [POSIX] (ENOSTR): Likewise.
42696 [POSIX] (ENOTCONN): Likewise.
42697 [POSIX] (ENOTSOCK): Likewise.
42698 [POSIX] (EOPNOTSUPP): Likewise.
42699 [POSIX] (EOVERFLOW): Likewise.
42700 [POSIX] (EPROTO): Likewise.
42701 [POSIX] (EPROTONOSUPPORT): Likewise.
42702 [POSIX] (EPROTOTYPE): Likewise.
42703 [POSIX] (ESTALE): Likewise.
42704 [POSIX] (ETIME): Likewise.
42705 [POSIX] (ETXTBSY): Likewise.
42706 [POSIX] (EWOULDBLOCK): Likewise.
42707 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
42708 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
42709 [POSIX] (SEEK_CUR): Likewise.
42710 [POSIX] (SEEK_END): Likewise.
42711 [POSIX || UNIX98] (mode_t): Do not require.
42712 [POSIX] (off_t): Likewise.
42713 [POSIX] (pid_t): Likewise.
42714 [POSIX] (sys/stat.h): Do not allow header.
42715 [POSIX] (unistd.h): Likewise.
42716 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
42717 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
42718 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
42719 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
42720 require.
42721 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
42722 sigevent): Specify elements.
42723 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
42724 entry.
42725 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
42726 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
42727
42728 * conform/data/cpio.h-data [POSIX]: Disable whole file.
42729 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
42730 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
42731 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
42732 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
42733 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
42734 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
42735 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
42736 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
42737 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
42738 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
42739 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
42740 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
42741 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
42742 Likewise.
42743 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
42744 Likewise.
42745 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
42746 Likewise.
42747 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
42748 Likewise.
42749 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
42750 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
42751 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
42752 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
42753 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
42754 Specify lower bound on value.
42755 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
42756 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
42757 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
42758 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
42759 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
42760 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
42761 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
42762 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
42763 value.
42764 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
42765 as optional.
42766 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
42767 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
42768 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
42769 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
42770 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
42771 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
42772 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
42773 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
42774 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
42775 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
42776 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
42777 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
42778 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
42779 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
42780 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
42781 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
42782 entry.
42783 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
42784 optional.
42785 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
42786 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
42787 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
42788 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
42789 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
42790 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
42791 Likewise.
42792 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
42793 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
42794 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
42795 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
42796 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
42797 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
42798 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
42799 as optional.
42800 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
42801 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
42802 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
42803 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
42804 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
42805 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
42806 specify as optional.
42807 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
42808 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
42809 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
42810 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
42811 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
42812 [XPG3] (NL_LANGMAX): Likewise.
42813 [POSIX || XPG3] (NL_MSGMAX): Likewise.
42814 [POSIX || XPG3] (NL_NMAX): Likewise.
42815 [POSIX || XPG3] (NL_SETMAX): Likewise.
42816 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
42817 [XPG3] (NZERO): Likewise.
42818 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
42819 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
42820 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
42821 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
42822 (REG_ERANGE): Expect.
42823 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
42824 optional-constant.
42825 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
42826 Use (void) in prototype.
42827 [POSIX] (*_t): Allow.
42828 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
42829 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
42830 (WRDE_BADVAL): Expect.
42831
42832 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
42833 expect.
42834 [XPG3 || XPG4] (O_RSYNC): Likewise.
42835 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
42836 Likewise.
42837 [XPG3 || XPG4] (pthread_sigmask): Likewise.
42838 [XPG3 || XPG4] (sigqueue): Likewise.
42839 [XPG3 || XPG4] (sigtimedwait): Likewise.
42840 [XPG3 || XPG4] (sigwaitinfo): Likewise.
42841 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
42842 [XPG3 || XPG4] (vsnprintf): Likewise.
42843 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
42844 Likewise.
42845 [XPG3 || XPG4] (blksize_t): Likewise.
42846 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
42847 Likewise.
42848 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
42849 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
42850 [XPG3 || XPG4] (struct itimerspec): Likewise.
42851 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
42852 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
42853 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
42854 [XPG3 || XPG4] (clockid_t): Likewise.
42855 [XPG3 || XPG4] (timer_t): Likewise.
42856 [XPG3 || XPG4] (clock_getres): Likewise.
42857 [XPG3 || XPG4] (clock_gettime): Likewise.
42858 [XPG3 || XPG4] (clock_settime): Likewise.
42859 [XPG3 || XPG4] (nanosleep): Likewise.
42860 [XPG3 || XPG4] (timer_create): Likewise.
42861 [XPG3 || XPG4] (timer_delete): Likewise.
42862 [XPG3 || XPG4] (timer_gettime): Likewise.
42863 [XPG3 || XPG4] (timer_getoverrun): Likewise.
42864 [XPG3 || XPG4] (timer_settime): Likewise.
42865 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
42866 [XPG3 || XPG4] (getlogin_r): Likewise.
42867 [XPG3 || XPG4] (pread): Likewise.
42868 [XPG3 || XPG4] (pthread_atfork): Likewise.
42869 [XPG3 || XPG4] (pwrite): Likewise.
42870
42871 [BZ #14835]
42872 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
42873 <bits/siginfo.h>.
42874
42875 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
42876
42877 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
42878 finalizing MALLSTREAM.
42879
42880 * sysdeps/mach/hurd/syncfs.c: New file.
42881
42882 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
42883
42884 [BZ #14719]
42885 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
42886 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
42887 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
42888 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
42889 (_nss_dns_gethostbyname4_r): Likewise.
42890 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
42891 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
42892
42893 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
42894
42895 [BZ #13763]
42896 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
42897
42898 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
42899
42900 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
42901 * elf/cache.c (print_entry): Print ",AArch64" for
42902 FLAG_AARCH64_LIB64
42903
42904 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
42905 * elf/cache.c (print_entry): Print ",hard-float" for
42906 FLAG_ARM_LIBHF.
42907
42908 2012-11-18 David S. Miller <davem@davemloft.net>
42909
42910 With help from Joseph Myers.
42911 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
42912 cutoff to 2**-13.
42913 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
42914 cutoff to 2**-25.
42915 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
42916 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
42917 small.
42918 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
42919 * math/libm-test.inc (y0_test): New tests.
42920 (y1_test): New tests.
42921 * sysdeps/i386/fpu/libm-test-ulps: Update.
42922 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42924
42925 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
42926
42927 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
42928 64-bit targets.
42929 * configure: Regenerated.
42930
42931 2012-11-17 David S. Miller <davem@davemloft.net>
42932
42933 [BZ #14811]
42934 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
42935 nonzero exponents with absolute value below 0x1p-128 to +/-
42936 0x1p-128.
42937
42938 2012-11-17 Joseph Myers <joseph@codesourcery.com>
42939
42940 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
42941
42942 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
42943
42944 * posix/getconf-speclist.c: New file.
42945 * posix/posix-envs.def: Likewise.
42946 * posix/confstr.c (START_ENV_GROUP): New macro.
42947 (END_ENV_GROUP): Likewise.
42948 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42949 (KNOWN_PRESENT_ENV_STRING): Likewise.
42950 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42951 (UNKNOWN_ENVIRONMENT): Likewise.
42952 (confstr): Include posix-envs.def instead of handling
42953 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
42954 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
42955 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
42956 (END_ENV_GROUP): Likewise.
42957 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42958 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42959 (UNKNOWN_ENVIRONMENT): Likewise.
42960 (__sysconf): Include posix-envs.def instead of handling associated
42961 cases directly here.
42962 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
42963 preprocessing getconf-speclist.c rather than running getconf or
42964 generating empty file.
42965
42966 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
42967
42968 * scripts/check-local-headers.sh: Ignore 'mach' headers.
42969
42970 2012-11-16 Andrej Lajovic <natrij@gmail.com>
42971
42972 [BZ #14672]
42973 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
42974
42975 2012-11-16 David S. Miller <davem@davemloft.net>
42976
42977 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
42978 smaller than LDBL_EPSILON/2.0L, just return xm1.
42979
42980 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
42981
42982 * elf/tst-array1.c (init): Set constructor priority to 1000.
42983 (fini): Set destructor priority to 1000.
42984 * elf/tst-array2dep.c: Likewise.
42985
42986 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42987
42988 [BZ #11741]
42989 * libio/fileops.c (_IO_new_file_write): Correctly return error.
42990 (_IO_new_file_xsputn): Also return EOF if none of the input
42991 data was written when overflow failed.
42992 * libio/iopadn.c (_IO_padn): Likewise.
42993 * libio/iowpadn.c (_IO_wpadn): Likewise.
42994 * stdio-common/tst-put-error.c: Add copyright notice.
42995 (do_test): Add case for printing padded string.
42996 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
42997 _IO_padn returned error.
42998 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
42999 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
43000 return EOF.
43001
43002 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
43003
43004 * libio/libioP.h: Add comment note that the references to C++
43005 bits are now obsolete.
43006
43007 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43008
43009 * math/libm-test.inc (check_complex): Use asprintf.
43010
43011 2012-11-14 Joseph Myers <joseph@codesourcery.com>
43012
43013 * debug/pcprofiledump.c (print_version): Update copyright year.
43014 * malloc/memusagestat.c (print_version): Likewise.
43015
43016 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
43017
43018 [BZ #14831]
43019 * elf/Makefile (tests): Add tst-audit8.
43020 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
43021 ($(objpfx)tst-audit8.out): New target.
43022 (tst-audit8-ENV): New variable.
43023 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
43024 audit if l_reloc_result is NULL.
43025 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
43026 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
43027 * elf/tst-audit8.c: New file.
43028
43029 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43030
43031 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
43032 * misc/Makefile (CFLAGS-select.c): Define.
43033 * posix/Makefile (CFLAGS-pause.c): Define.
43034
43035 2012-11-13 David S. Miller <davem@davemloft.net>
43036
43037 * crypt/Makefile: Move test targets after toplevel Rules
43038 inclusion. Grab any necessary sysdep routines when linking.
43039 * crypt/md5.c (md5_process_block): Remove define, we will always
43040 name it __md5_process_block.
43041 (md5_finish_ctx): Update md5_process_block call.
43042 (md5_stream): Likewise.
43043 (md5_process_bytes): Likewise.
43044 (md5_process_block): Rename to __md5_process_block and move to ...
43045 * crypt/md5-block.c: ... here.
43046 * crypt/sha256.c (sha256_process_block): Move to ...
43047 * crypt/sha256-block.c: ... here.
43048 * crypt/sha512.c (sha512_process_block): Move to ...
43049 * crypt/sha512-block.c: ... here.
43050 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
43051 path.
43052 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
43053 * sysdeps/sparc/sparc64/multiarch/Makefile
43054 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
43055 crypt subdir.
43056 (localedef-aux): Add md5 crypto assembler when in locale subdir.
43057 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
43058 multiarch changes.
43059 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
43060 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
43061 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
43062 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
43063 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
43064 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
43065 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
43066 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
43067 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
43068 file.
43069 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
43070 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
43071 file.
43072 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
43073
43074 2012-11-13 Joseph Myers <joseph@codesourcery.com>
43075
43076 * timezone/tzselect.ksh: Update from tzcode git revision
43077 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
43078 * timezone/zdump.c: Likewise.
43079 * timezone/zic.c: Likewise.
43080 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
43081 in TZVERSION setting, not $(PKGVERSION).
43082 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
43083 REPORT_BUGS_TO settings.
43084
43085 [BZ #14838]
43086 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
43087 macro.
43088
43089 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43090
43091 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
43092 detection to immediately after _FP_ROUND().
43093 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
43094 bits are 0.
43095
43096 2012-11-11 David S. Miller <davem@davemloft.net>
43097
43098 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
43099 inttypes.h
43100 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
43101 __close rather than their public counterparts.
43102
43103 2012-11-10 Joseph Myers <joseph@codesourcery.com>
43104
43105 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
43106 file.
43107 [UNIX98] (sem_timedwait): Do not expect.
43108 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
43109 [XPG4 || UNIX98] (sockatmark): Do not expect.
43110 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
43111 (clock_getcpuclockid): Do not expect.
43112 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
43113 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
43114 Do not expect.
43115 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
43116 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
43117 [UNIX98] (vwscanf): Likewise.
43118 [UNIX98] (vswscanf): Likewise.
43119
43120 2012-11-09 Joseph Myers <joseph@codesourcery.com>
43121
43122 * timezone/version.h: Remove file.
43123 * timezone/README: Do not refer to version.h.
43124 * timezone/Makefile ($(objpfx)zic.o): New dependency on
43125 $(objpfx)version.h.
43126 ($(objpfx)zdump.o): Likewise.
43127 ($(objpfx)version.h): New target.
43128
43129 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
43130 2012i.
43131 * timezone/README: Don't mention modification to tzselect.ksh.
43132 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
43133 work on unmodified tzselect.ksh. Substitute version numbers in
43134 tzselect.ksh.
43135
43136 * Makefile (format-me): Remove.
43137 (INSTALL): Adjust indentation. Use commands directly instead of
43138 using $(format-me).
43139
43140 * aclocal.m4 (ACX_PKGVERSION): New macro.
43141 (ACX_BUGURL): Likewise.
43142 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
43143 (PKGVERSION): New AC_DEFINE_UNQUOTED.
43144 (REPORT_BUGS_TO): Likewise.
43145 * configure: Regenerated.
43146 * config.h.in (PKGVERSION): New macro.
43147 (REPORT_BUGS_TO): Likewise.
43148 * config.make.in (PKGVERSION): New variable.
43149 (PKGVERSION_TEXI): Likewise.
43150 (REPORT_BUGS_TO): Likewise.
43151 (REPORT_BUGS_TEXI): Likewise.
43152 * Makefile (format-me): Use -I$(common-objpfx)manual.
43153 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
43154 ($(common-objpfx)manual/%): New target.
43155 (manual/%): Remove target.
43156 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
43157 (print_version): Use PKGVERSION.
43158 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
43159 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
43160 and REPORT_BUGS_TO.
43161 ($(objpfx)xtrace): Likewise.
43162 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
43163 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
43164 (print_version): Use PKGVERSION.
43165 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
43166 (do_version): Use PKGVERSION.
43167 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
43168 REPORT_BUGS_TO.
43169 (common-ldd-rewrite): Likewise.
43170 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
43171 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
43172 (print_version): Use PKGVERSION.
43173 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
43174 * elf/pldd.c (argp_program_bug_address): Remove variable.
43175 (more_help): New function.
43176 (argp): Use more_help.
43177 (print_version): Use PKGVERSION.
43178 * elf/sln.c (main): Use PKGVERSION.
43179 (usage): Use REPORT_BUGS_TO.
43180 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
43181 (top level): Use PKGVERSION.
43182 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
43183 (print_version): Use PKGVERSION.
43184 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
43185 (print_version): Use PKGVERSION.
43186 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
43187 (print_version): Use PKGVERSION.
43188 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
43189 (print_version): Use PKGVERSION.
43190 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
43191 (print_version): Use PKGVERSION.
43192 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
43193 (print_version): Use PKGVERSION.
43194 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
43195 and BUGURL.
43196 ($(objpfx)memusage): Likewise.
43197 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
43198 (do_version): Use PKGVERSION.
43199 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
43200 (print_version): Use PKGVERSION.
43201 * malloc/mtrace.pl ($PACKAGE): Remove variable.
43202 ($PKGVERSION): New variable.
43203 ($REPORT_BUGS_TO): Likewise.
43204 (usage): Use $REPORT_BUGS_TO.
43205 (top level): Use $PKGVERSION.
43206 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
43207 ($(objpfx)pkgvers.texi): New rule.
43208 ($(objpfx)stamp-pkgvers): Likewise.
43209 * manual/install.texi: Include pkgvers.texi.
43210 (--with-pkgversion): Document new configure option.
43211 (--with-bugurl): Likewise.
43212 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
43213 than necessarily for this particular distribution. Use
43214 REPORT_BUGS_TO for where to report bugs.
43215 * INSTALL: Regenerated.
43216 * manual/libc.texinfo: Include pkgvers.texi.
43217 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
43218 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
43219 (print_version): Use PKGVERSION.
43220 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
43221 (print_version): Use PKGVERSION.
43222 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
43223 (print_version): Use PKGVERSION.
43224 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
43225 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
43226 macro.
43227 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
43228 (print_version): Use PKGVERSION.
43229 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
43230 (print_version): Use PKGVERSION.
43231 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
43232 and PKGVERSION.
43233
43234 * timezone/checktab.awk: Update from tzcode 2012i.
43235 * timezone/ialloc.c: Likewise.
43236 * timezone/private.h: Likewise.
43237 * timezone/scheck.c: Likewise.
43238 * timezone/tzfile.h: Likewise.
43239 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
43240 (TZVERSION): Hardcode tzcode version number.
43241 * timezone/zdump.c: Update from tzcode 2012i.
43242 * timezone/zic.c: Likewise.
43243 * timezone/version.h: New file.
43244 * timezone/README: Describe version.h. Update upstream location.
43245
43246 [BZ #14824]
43247 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
43248 (mktemp): Enable declaration.
43249 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
43250 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
43251 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
43252 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
43253 Likewise.
43254 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
43255 Likewise.
43256 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
43257 Likewise.
43258 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
43259 Likewise.
43260 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
43261 Likewise.
43262 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
43263 Likewise.
43264
43265 [BZ #14821]
43266 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
43267 offset in buffer as u_int32_t not u_long. Consistently use memcpy
43268 for copies of such integer values.
43269 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43270 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43271
43272 2012-11-09 Andreas Jaeger <aj@suse.de>
43273
43274 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
43275 definitions and declarations that are provided by
43276 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43277
43278 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43279
43280 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
43281 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
43282 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
43283 definition.
43284
43285 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43286
43287 * elf/elf.h: Update comment before AArch64 relocations.
43288
43289 2012-11-07 David S. Miller <davem@davemloft.net>
43290
43291 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
43292 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43293 (__start_context): Declare.
43294 (__makecontext_ret): Delete.
43295 (__makecontext): Hook up __start_context instead of
43296 __makecontext_ret.
43297 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
43298 (sysdep_routines): Add __start_context when in stdlib.
43299
43300 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43301
43302 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
43303 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
43304 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
43305 hardcoded "nm".
43306 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
43307 (READELF): New variable. Use it instead of hardcoded "readelf".
43308
43309 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
43310
43311 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
43312 * sysdeps/x86/Makefile: Here.
43313 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
43314 * sysdeps/x86/tst-xmmymm.sh: This.
43315
43316 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43317
43318 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
43319 expectations.
43320 [UNIX98] (pthread_barrier_t): Do not expect.
43321 [UNIX98] (pthread_barrierattr_t): Likewise.
43322 [UNIX98] (pthread_spinlock_t): Likewise.
43323 [UNIX98] (pthread_barrier_destroy): Likewise.
43324 [UNIX98] (pthread_barrier_init): Likewise.
43325 [UNIX98] (pthread_barrier_wait): Likewise.
43326 [UNIX98] (pthread_barrierattr_destroy): Likewise.
43327 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
43328 [UNIX98] (pthread_barrierattr_init): Likewise.
43329 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
43330 [UNIX98] (pthread_getcpuclockid): Likewise.
43331 [UNIX98] (pthread_mutex_timedlock): Likewise.
43332 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
43333 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
43334 [UNIX98] (pthread_sigmask): Likewise.
43335 [UNIX98] (pthread_spin_destroy): Likewise.
43336 [UNIX98] (pthread_spin_init): Likewise.
43337 [UNIX98] (pthread_spin_lock): Likewise.
43338 [UNIX98] (pthread_spin_trylock): Likewise.
43339 [UNIX98] (pthread_spin_unlock): Likewise.
43340 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
43341 Do not expect.
43342 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
43343 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
43344 [XPG3 || XPG4] (pthread_cond_t): Likewise.
43345 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
43346 [XPG3 || XPG4] (pthread_key_t): Likewise.
43347 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
43348 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
43349 [XPG3 || XPG4] (pthread_once_t): Likewise.
43350 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
43351 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
43352 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
43353 [XPG3 || XPG4] (pthread_t): Likewise.
43354
43355 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
43356 not expect.
43357 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
43358
43359 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
43360 Change function return type to int.
43361
43362 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
43363 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
43364 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
43365 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
43366 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
43367 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
43368 [!POSIX] (posix_madvise): Likewise.
43369 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
43370 && !UNIX98].
43371 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
43372 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
43373 (mode_t): Likewise.
43374 (posix_mem_offset): Likewise.
43375 (posix_typed_mem_get_info): Likewise.
43376 (posix_typed_mem_open): Likewise.
43377
43378 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
43379 Change condition to [XOPEN2K8].
43380
43381 * conform/conformtest.pl: Preprocess allow-header data with -x c
43382 instead of from stdin.
43383 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
43384 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
43385 [C99-based standards] (cerfc): Likewise.
43386 [C99-based standards] (cexp2): Likewise.
43387 [C99-based standards] (cexpm1): Likewise.
43388 [C99-based standards] (clog10): Likewise.
43389 [C99-based standards] (clog1p): Likewise.
43390 [C99-based standards] (clog2): Likewise.
43391 [C99-based standards] (clgamma): Likewise.
43392 [C99-based standards] (ctgamma): Likewise.
43393 [C99-based standards] (cerff): Likewise.
43394 [C99-based standards] (cerfcf): Likewise.
43395 [C99-based standards] (cexp2f): Likewise.
43396 [C99-based standards] (cexpm1f): Likewise.
43397 [C99-based standards] (clog10f): Likewise.
43398 [C99-based standards] (clog1pf): Likewise.
43399 [C99-based standards] (clog2f): Likewise.
43400 [C99-based standards] (clgammaf): Likewise.
43401 [C99-based standards] (ctgammaf): Likewise.
43402 [C99-based standards] (cerfl): Likewise.
43403 [C99-based standards] (cerfcl): Likewise.
43404 [C99-based standards] (cexp2l): Likewise.
43405 [C99-based standards] (cexpm1l): Likewise.
43406 [C99-based standards] (clog10l): Likewise.
43407 [C99-based standards] (clog1pl): Likewise.
43408 [C99-based standards] (clog2l): Likewise.
43409 [C99-based standards] (clgammal): Likewise.
43410 [C99-based standards] (ctgammal): Likewise.
43411 * conform/data/inttypes.h-data [C99-based standards]: Include
43412 stdint.h-data. Remove all expectations for stdint.h contents.
43413 [C99-based standards] (PRI*): Do not allow.
43414 [C99-based standards] (SCN*): Likewise.
43415 [C99-based standards] (*_t): Likewise.
43416 [C99-based-standards] (PRId8): Expect macro.
43417 [C99-based-standards] (PRIi8): Likewise.
43418 [C99-based-standards] (PRIo8): Likewise.
43419 [C99-based-standards] (PRIu8): Likewise.
43420 [C99-based-standards] (PRIx8): Likewise.
43421 [C99-based-standards] (PRIX8): Likewise.
43422 [C99-based-standards] (SCNd8): Likewise.
43423 [C99-based-standards] (SCNi8): Likewise.
43424 [C99-based-standards] (SCNo8): Likewise.
43425 [C99-based-standards] (SCNu8): Likewise.
43426 [C99-based-standards] (SCNx8): Likewise.
43427 [C99-based-standards] (PRIdLEAST8): Likewise.
43428 [C99-based-standards] (PRIiLEAST8): Likewise.
43429 [C99-based-standards] (PRIoLEAST8): Likewise.
43430 [C99-based-standards] (PRIuLEAST8): Likewise.
43431 [C99-based-standards] (PRIxLEAST8): Likewise.
43432 [C99-based-standards] (PRIXLEAST8): Likewise.
43433 [C99-based-standards] (SCNdLEAST8): Likewise.
43434 [C99-based-standards] (SCNiLEAST8): Likewise.
43435 [C99-based-standards] (SCNoLEAST8): Likewise.
43436 [C99-based-standards] (SCNuLEAST8): Likewise.
43437 [C99-based-standards] (SCNxLEAST8): Likewise.
43438 [C99-based-standards] (PRIdFAST8): Likewise.
43439 [C99-based-standards] (PRIiFAST8): Likewise.
43440 [C99-based-standards] (PRIoFAST8): Likewise.
43441 [C99-based-standards] (PRIuFAST8): Likewise.
43442 [C99-based-standards] (PRIxFAST8): Likewise.
43443 [C99-based-standards] (PRIXFAST8): Likewise.
43444 [C99-based-standards] (SCNdFAST8): Likewise.
43445 [C99-based-standards] (SCNiFAST8): Likewise.
43446 [C99-based-standards] (SCNoFAST8): Likewise.
43447 [C99-based-standards] (SCNuFAST8): Likewise.
43448 [C99-based-standards] (SCNxFAST8): Likewise.
43449 [C99-based-standards] (PRId16): Likewise.
43450 [C99-based-standards] (PRIi16): Likewise.
43451 [C99-based-standards] (PRIo16): Likewise.
43452 [C99-based-standards] (PRIu16): Likewise.
43453 [C99-based-standards] (PRIx16): Likewise.
43454 [C99-based-standards] (PRIX16): Likewise.
43455 [C99-based-standards] (SCNd16): Likewise.
43456 [C99-based-standards] (SCNi16): Likewise.
43457 [C99-based-standards] (SCNo16): Likewise.
43458 [C99-based-standards] (SCNu16): Likewise.
43459 [C99-based-standards] (SCNx16): Likewise.
43460 [C99-based-standards] (PRIdLEAST16): Likewise.
43461 [C99-based-standards] (PRIiLEAST16): Likewise.
43462 [C99-based-standards] (PRIoLEAST16): Likewise.
43463 [C99-based-standards] (PRIuLEAST16): Likewise.
43464 [C99-based-standards] (PRIxLEAST16): Likewise.
43465 [C99-based-standards] (PRIXLEAST16): Likewise.
43466 [C99-based-standards] (SCNdLEAST16): Likewise.
43467 [C99-based-standards] (SCNiLEAST16): Likewise.
43468 [C99-based-standards] (SCNoLEAST16): Likewise.
43469 [C99-based-standards] (SCNuLEAST16): Likewise.
43470 [C99-based-standards] (SCNxLEAST16): Likewise.
43471 [C99-based-standards] (PRIdFAST16): Likewise.
43472 [C99-based-standards] (PRIiFAST16): Likewise.
43473 [C99-based-standards] (PRIoFAST16): Likewise.
43474 [C99-based-standards] (PRIuFAST16): Likewise.
43475 [C99-based-standards] (PRIxFAST16): Likewise.
43476 [C99-based-standards] (PRIXFAST16): Likewise.
43477 [C99-based-standards] (SCNdFAST16): Likewise.
43478 [C99-based-standards] (SCNiFAST16): Likewise.
43479 [C99-based-standards] (SCNoFAST16): Likewise.
43480 [C99-based-standards] (SCNuFAST16): Likewise.
43481 [C99-based-standards] (SCNxFAST16): Likewise.
43482 [C99-based-standards] (PRId32): Likewise.
43483 [C99-based-standards] (PRIi32): Likewise.
43484 [C99-based-standards] (PRIo32): Likewise.
43485 [C99-based-standards] (PRIu32): Likewise.
43486 [C99-based-standards] (PRIx32): Likewise.
43487 [C99-based-standards] (PRIX32): Likewise.
43488 [C99-based-standards] (SCNd32): Likewise.
43489 [C99-based-standards] (SCNi32): Likewise.
43490 [C99-based-standards] (SCNo32): Likewise.
43491 [C99-based-standards] (SCNu32): Likewise.
43492 [C99-based-standards] (SCNx32): Likewise.
43493 [C99-based-standards] (PRIdLEAST32): Likewise.
43494 [C99-based-standards] (PRIiLEAST32): Likewise.
43495 [C99-based-standards] (PRIoLEAST32): Likewise.
43496 [C99-based-standards] (PRIuLEAST32): Likewise.
43497 [C99-based-standards] (PRIxLEAST32): Likewise.
43498 [C99-based-standards] (PRIXLEAST32): Likewise.
43499 [C99-based-standards] (SCNdLEAST32): Likewise.
43500 [C99-based-standards] (SCNiLEAST32): Likewise.
43501 [C99-based-standards] (SCNoLEAST32): Likewise.
43502 [C99-based-standards] (SCNuLEAST32): Likewise.
43503 [C99-based-standards] (SCNxLEAST32): Likewise.
43504 [C99-based-standards] (PRIdFAST32): Likewise.
43505 [C99-based-standards] (PRIiFAST32): Likewise.
43506 [C99-based-standards] (PRIoFAST32): Likewise.
43507 [C99-based-standards] (PRIuFAST32): Likewise.
43508 [C99-based-standards] (PRIxFAST32): Likewise.
43509 [C99-based-standards] (PRIXFAST32): Likewise.
43510 [C99-based-standards] (SCNdFAST32): Likewise.
43511 [C99-based-standards] (SCNiFAST32): Likewise.
43512 [C99-based-standards] (SCNoFAST32): Likewise.
43513 [C99-based-standards] (SCNuFAST32): Likewise.
43514 [C99-based-standards] (SCNxFAST32): Likewise.
43515 [C99-based-standards] (PRId64): Likewise.
43516 [C99-based-standards] (PRIi64): Likewise.
43517 [C99-based-standards] (PRIo64): Likewise.
43518 [C99-based-standards] (PRIu64): Likewise.
43519 [C99-based-standards] (PRIx64): Likewise.
43520 [C99-based-standards] (PRIX64): Likewise.
43521 [C99-based-standards] (SCNd64): Likewise.
43522 [C99-based-standards] (SCNi64): Likewise.
43523 [C99-based-standards] (SCNo64): Likewise.
43524 [C99-based-standards] (SCNu64): Likewise.
43525 [C99-based-standards] (SCNx64): Likewise.
43526 [C99-based-standards] (PRIdLEAST64): Likewise.
43527 [C99-based-standards] (PRIiLEAST64): Likewise.
43528 [C99-based-standards] (PRIoLEAST64): Likewise.
43529 [C99-based-standards] (PRIuLEAST64): Likewise.
43530 [C99-based-standards] (PRIxLEAST64): Likewise.
43531 [C99-based-standards] (PRIXLEAST64): Likewise.
43532 [C99-based-standards] (SCNdLEAST64): Likewise.
43533 [C99-based-standards] (SCNiLEAST64): Likewise.
43534 [C99-based-standards] (SCNoLEAST64): Likewise.
43535 [C99-based-standards] (SCNuLEAST64): Likewise.
43536 [C99-based-standards] (SCNxLEAST64): Likewise.
43537 [C99-based-standards] (PRIdFAST64): Likewise.
43538 [C99-based-standards] (PRIiFAST64): Likewise.
43539 [C99-based-standards] (PRIoFAST64): Likewise.
43540 [C99-based-standards] (PRIuFAST64): Likewise.
43541 [C99-based-standards] (PRIxFAST64): Likewise.
43542 [C99-based-standards] (PRIXFAST64): Likewise.
43543 [C99-based-standards] (SCNdFAST64): Likewise.
43544 [C99-based-standards] (SCNiFAST64): Likewise.
43545 [C99-based-standards] (SCNoFAST64): Likewise.
43546 [C99-based-standards] (SCNuFAST64): Likewise.
43547 [C99-based-standards] (SCNxFAST64): Likewise.
43548 [C99-based-standards] (PRIdMAX): Likewise.
43549 [C99-based-standards] (PRIiMAX): Likewise.
43550 [C99-based-standards] (PRIoMAX): Likewise.
43551 [C99-based-standards] (PRIuMAX): Likewise.
43552 [C99-based-standards] (PRIxMAX): Likewise.
43553 [C99-based-standards] (PRIXMAX): Likewise.
43554 [C99-based-standards] (SCNdMAX): Likewise.
43555 [C99-based-standards] (SCNiMAX): Likewise.
43556 [C99-based-standards] (SCNoMAX): Likewise.
43557 [C99-based-standards] (SCNuMAX): Likewise.
43558 [C99-based-standards] (SCNxMAX): Likewise.
43559 [C99-based-standards] (PRIdPTR): Likewise.
43560 [C99-based-standards] (PRIiPTR): Likewise.
43561 [C99-based-standards] (PRIoPTR): Likewise.
43562 [C99-based-standards] (PRIuPTR): Likewise.
43563 [C99-based-standards] (PRIxPTR): Likewise.
43564 [C99-based-standards] (PRIXPTR): Likewise.
43565 [C99-based-standards] (SCNdPTR): Likewise.
43566 [C99-based-standards] (SCNiPTR): Likewise.
43567 [C99-based-standards] (SCNoPTR): Likewise.
43568 [C99-based-standards] (SCNuPTR): Likewise.
43569 [C99-based-standards] (SCNxPTR): Likewise.
43570 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
43571 allow.
43572 * conform/data/stdint.h-data: Update comments to clarify
43573 requirements.
43574 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
43575 type.
43576 [C99-based standards] (INT8_MAX): Likewise.
43577 [C99-based standards] (INT16_MIN): Likewise.
43578 [C99-based standards] (INT16_MAX): Likewise.
43579 [C99-based standards] (INT32_MIN): Likewise.
43580 [C99-based standards] (INT32_MAX): Likewise.
43581 [C99-based standards] (INT64_MIN): Likewise.
43582 [C99-based standards] (INT64_MAX): Likewise.
43583 [C99-based standards] (UINT8_MAX): Likewise.
43584 [C99-based standards] (UINT16_MAX): Likewise.
43585 [C99-based standards] (UINT32_MAX): Likewise.
43586 [C99-based standards] (UINT64_MAX): Likewise.
43587 [C99-based standards] (INT_LEAST8_MIN): Likewise.
43588 [C99-based standards] (INT_LEAST8_MAX): Likewise.
43589 [C99-based standards] (INT_LEAST16_MIN): Likewise.
43590 [C99-based standards] (INT_LEAST16_MAX): Likewise.
43591 [C99-based standards] (INT_LEAST32_MIN): Likewise.
43592 [C99-based standards] (INT_LEAST32_MAX): Likewise.
43593 [C99-based standards] (INT_LEAST64_MIN): Likewise.
43594 [C99-based standards] (INT_LEAST64_MAX): Likewise.
43595 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
43596 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
43597 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
43598 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
43599 [C99-based standards] (INT_FAST8_MIN): Likewise.
43600 [C99-based standards] (INT_FAST8_MAX): Likewise.
43601 [C99-based standards] (INT_FAST16_MIN): Likewise.
43602 [C99-based standards] (INT_FAST16_MAX): Likewise.
43603 [C99-based standards] (INT_FAST32_MIN): Likewise.
43604 [C99-based standards] (INT_FAST32_MAX): Likewise.
43605 [C99-based standards] (INT_FAST64_MIN): Likewise.
43606 [C99-based standards] (INT_FAST64_MAX): Likewise.
43607 [C99-based standards] (UINT_FAST8_MAX): Likewise.
43608 [C99-based standards] (UINT_FAST16_MAX): Likewise.
43609 [C99-based standards] (UINT_FAST32_MAX): Likewise.
43610 [C99-based standards] (UINT_FAST64_MAX): Likewise.
43611 [C99-based standards] (INTPTR_MIN): Likewise.
43612 [C99-based standards] (INTPTR_MAX): Likewise.
43613 [C99-based standards] (UINTPTR_MAX): Likewise.
43614 [C99-based standards] (INTMAX_MIN): Likewise.
43615 [C99-based standards] (INTMAX_MAX): Likewise.
43616 [C99-based standards] (UINTMAX_MAX): Likewise.
43617 [C99-based standards] (PTRDIFF_MIN): Likewise.
43618 [C99-based standards] (PTRDIFF_MAX): Likewise.
43619 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
43620 [C99-based standards] (SIZE_MAX): Likewise.
43621 [C99-based standards] (WCHAR_MAX): Likewise.
43622 [C99-based standards] (WINT_MAX): Likewise.
43623 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
43624 constraint on value.
43625 [C99-based standards] (WCHAR_MIN): Likewise.
43626 [C99-based standards] (WINT_MIN): Likewise.
43627 [C99-based standards] (*_t): Allow.
43628 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
43629 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
43630 Include math.h-data and complex.h-data. Remove all expectations
43631 of math.h and complex.h contents.
43632 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
43633 at end of line.
43634 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
43635 (struct tm): Expect tag.
43636 [C99-based-standards] (wcstof): Expect function.
43637 [C99-based-standards] (wcstold): Likewise.
43638 [C99-based-standards] (wcstoll): Likewise.
43639 [C99-based-standards] (wcstoull): Likewise.
43640 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
43641 macro-int-constant. Specify type.
43642 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
43643 constraint on value.
43644 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43645 Specify type.
43646 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
43647 Specify value.
43648 [ISO C standards]: Do not allow headers.
43649 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
43650 wcs[abcdefghijklmnopqrstuvwxyz]*.
43651 [ISO C standards] (*_t): Do not allow.
43652 * conform/data/wctype.h-data [C99-based standards] (iswblank):
43653 Expect function.
43654 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
43655 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43656 Specify type.
43657 [ISO C standards]: Do not allow headers.
43658 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
43659 is[abcdefghijklmnopqrstuvwxyz]*.
43660 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
43661 to[abcdefghijklmnopqrstuvwxyz]*.
43662 [ISO C standards] (*_t): Do not allow.
43663 * conform/data/stdalign.h-data: New file.
43664 * conform/data/stdbool.h-data: Likewise.
43665 * conform/data/stdnoreturn.h-data: Likewise.
43666
43667 2012-11-07 Roland McGrath <roland@hack.frob.com>
43668
43669 [BZ #14815]
43670 * manual/filesys.texi (Directory Entries): Typo fix.
43671 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
43672
43673 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43674
43675 * elf/elf.h (EM_AARCH64): New macro.
43676 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
43677 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
43678 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
43679 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
43680 (R_AARCH64_TLSDESC): Likewise.
43681 (NT_ARM_TLS): Likewise.
43682 (NT_ARM_HW_BREAK): Likewise.
43683 (NT_ARM_HW_WATCH): Likewise.
43684
43685 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43686
43687 [BZ #14811]
43688 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
43689 (__ieee754_powl): Saturate nonzero exponents with absolute value
43690 below 0x1p-79 to +/- 0x1p-79.
43691 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
43692 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
43693 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
43694 nonzero exponents with absolute value below 0x1p-32 to +/-
43695 0x1p-32.
43696 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
43697 (__ieee754_powl): Saturate nonzero exponents with absolute value
43698 below 0x1p-79 to +/- 0x1p-79.
43699 * math/libm-test.inc (pow_test): Add more tests.
43700
43701 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43702
43703 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
43704 _dl_s390_cap_flags with kernel. Increase string length.
43705 (_dl_s390_platforms): Add z196 and zEC12.
43706
43707 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43708
43709 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
43710 Change XOPEN21K to XOPEN2K.
43711
43712 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
43713
43714 * string/memmove.c: Use memcpy when possible.
43715
43716 2012-11-06 Andreas Jaeger <aj@suse.de>
43717
43718 * po/eo.po: Update from translation team.
43719
43720 2012-11-06 Joseph Myers <joseph@codesourcery.com>
43721
43722 [BZ #14793]
43723 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
43724 exponent and small x and y exponents, scale x or y up. Increase
43725 by 2 the exponent used in scaling up.
43726 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43727 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43728 * math/libm-test.inc (fma_test): Add more tests.
43729 (fma_test_towardzero): Likewise.
43730 (fma_test_downward): Likewise.
43731 (fma_test_upward): Likewise.
43732
43733 2012-11-05 Joseph Myers <joseph@codesourcery.com>
43734
43735 [BZ #14805]
43736 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
43737 fenv_t *.
43738
43739 [BZ #14801]
43740 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
43741 namespace for names of struct fields.
43742 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
43743 fenv_t fields.
43744 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
43745 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
43746
43747 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
43748
43749 [BZ #3665]
43750 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
43751
43752 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43753
43754 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
43755 PTR_DEMANGLE.
43756
43757 [BZ #5246]
43758 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
43759 PTR_DEMANGLE.
43760
43761 2012-11-04 Joseph Myers <joseph@codesourcery.com>
43762
43763 [BZ #14797]
43764 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
43765 definitely overflow as x * y not x * y + z.
43766 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43767 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43768 * math/libm-test.inc (fma_test): Add more tests.
43769 (fma_test_towardzero): Likewise.
43770 (fma_test_downward): Likewise.
43771 (fma_test_upward): Likewise.
43772
43773 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43774
43775 [BZ #157]
43776
43777 * include/stub-tag.h: Remove file.
43778 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
43779 '#include' of it.
43780 * manual/maint.texi (Porting): Don't reference it.
43781 * Makerules ($(objpfx)stubs): Likewise.
43782 * dirent/closedir.c: Don't include <stub-tag.h>.
43783 * dirent/dirfd.c: Likewise.
43784 * dirent/fdopendir.c: Likewise.
43785 * dirent/getdents.c: Likewise.
43786 * dirent/getdents64.c: Likewise.
43787 * dirent/opendir.c: Likewise.
43788 * dirent/readdir.c: Likewise.
43789 * dirent/readdir64.c: Likewise.
43790 * dirent/readdir64_r.c: Likewise.
43791 * dirent/readdir_r.c: Likewise.
43792 * dirent/rewinddir.c: Likewise.
43793 * dirent/seekdir.c: Likewise.
43794 * dirent/telldir.c: Likewise.
43795 * gmon/profil.c: Likewise.
43796 * grp/setgroups.c: Likewise.
43797 * inet/if_index.c: Likewise.
43798 * io/access.c: Likewise.
43799 * io/chdir.c: Likewise.
43800 * io/chmod.c: Likewise.
43801 * io/chown.c: Likewise.
43802 * io/close.c: Likewise.
43803 * io/dup.c: Likewise.
43804 * io/dup2.c: Likewise.
43805 * io/dup3.c: Likewise.
43806 * io/euidaccess.c: Likewise.
43807 * io/faccessat.c: Likewise.
43808 * io/fchdir.c: Likewise.
43809 * io/fchmod.c: Likewise.
43810 * io/fchmodat.c: Likewise.
43811 * io/fchown.c: Likewise.
43812 * io/fchownat.c: Likewise.
43813 * io/fcntl.c: Likewise.
43814 * io/flock.c: Likewise.
43815 * io/fstatfs.c: Likewise.
43816 * io/fstatfs64.c: Likewise.
43817 * io/fstatvfs.c: Likewise.
43818 * io/fstatvfs64.c: Likewise.
43819 * io/futimens.c: Likewise.
43820 * io/fxstat.c: Likewise.
43821 * io/fxstat64.c: Likewise.
43822 * io/fxstatat.c: Likewise.
43823 * io/fxstatat64.c: Likewise.
43824 * io/getcwd.c: Likewise.
43825 * io/isatty.c: Likewise.
43826 * io/lchmod.c: Likewise.
43827 * io/lchown.c: Likewise.
43828 * io/link.c: Likewise.
43829 * io/linkat.c: Likewise.
43830 * io/lseek.c: Likewise.
43831 * io/lseek64.c: Likewise.
43832 * io/lxstat64.c: Likewise.
43833 * io/mkdir.c: Likewise.
43834 * io/mkdirat.c: Likewise.
43835 * io/mkfifo.c: Likewise.
43836 * io/mkfifoat.c: Likewise.
43837 * io/open.c: Likewise.
43838 * io/open64.c: Likewise.
43839 * io/openat.c: Likewise.
43840 * io/openat64.c: Likewise.
43841 * io/pipe.c: Likewise.
43842 * io/pipe2.c: Likewise.
43843 * io/poll.c: Likewise.
43844 * io/posix_fadvise.c: Likewise.
43845 * io/posix_fadvise64.c: Likewise.
43846 * io/posix_fallocate.c: Likewise.
43847 * io/posix_fallocate64.c: Likewise.
43848 * io/read.c: Likewise.
43849 * io/readlink.c: Likewise.
43850 * io/readlinkat.c: Likewise.
43851 * io/rmdir.c: Likewise.
43852 * io/sendfile.c: Likewise.
43853 * io/sendfile64.c: Likewise.
43854 * io/statfs.c: Likewise.
43855 * io/statfs64.c: Likewise.
43856 * io/statvfs.c: Likewise.
43857 * io/statvfs64.c: Likewise.
43858 * io/symlink.c: Likewise.
43859 * io/symlinkat.c: Likewise.
43860 * io/ttyname.c: Likewise.
43861 * io/ttyname_r.c: Likewise.
43862 * io/umask.c: Likewise.
43863 * io/unlink.c: Likewise.
43864 * io/unlinkat.c: Likewise.
43865 * io/utime.c: Likewise.
43866 * io/utimensat.c: Likewise.
43867 * io/write.c: Likewise.
43868 * io/xmknod.c: Likewise.
43869 * io/xmknodat.c: Likewise.
43870 * io/xstat.c: Likewise.
43871 * io/xstat64.c: Likewise.
43872 * login/getpt.c: Likewise.
43873 * login/grantpt.c: Likewise.
43874 * login/unlockpt.c: Likewise.
43875 * math/e_acoshl.c: Likewise.
43876 * math/e_acosl.c: Likewise.
43877 * math/e_asinl.c: Likewise.
43878 * math/e_atan2l.c: Likewise.
43879 * math/e_atanhl.c: Likewise.
43880 * math/e_coshl.c: Likewise.
43881 * math/e_expl.c: Likewise.
43882 * math/e_fmodl.c: Likewise.
43883 * math/e_gammal_r.c: Likewise.
43884 * math/e_hypotl.c: Likewise.
43885 * math/e_j0l.c: Likewise.
43886 * math/e_j1l.c: Likewise.
43887 * math/e_jnl.c: Likewise.
43888 * math/e_lgammal_r.c: Likewise.
43889 * math/e_log10l.c: Likewise.
43890 * math/e_log2l.c: Likewise.
43891 * math/e_logl.c: Likewise.
43892 * math/e_powl.c: Likewise.
43893 * math/e_rem_pio2l.c: Likewise.
43894 * math/e_sinhl.c: Likewise.
43895 * math/e_sqrtl.c: Likewise.
43896 * math/fclrexcpt.c: Likewise.
43897 * math/fedisblxcpt.c: Likewise.
43898 * math/feenablxcpt.c: Likewise.
43899 * math/fegetenv.c: Likewise.
43900 * math/fegetexcept.c: Likewise.
43901 * math/fegetround.c: Likewise.
43902 * math/feholdexcpt.c: Likewise.
43903 * math/fesetenv.c: Likewise.
43904 * math/fesetround.c: Likewise.
43905 * math/feupdateenv.c: Likewise.
43906 * math/fgetexcptflg.c: Likewise.
43907 * math/fraiseexcpt.c: Likewise.
43908 * math/fsetexcptflg.c: Likewise.
43909 * math/ftestexcept.c: Likewise.
43910 * math/k_cosl.c: Likewise.
43911 * math/k_rem_pio2l.c: Likewise.
43912 * math/k_sinl.c: Likewise.
43913 * math/k_tanl.c: Likewise.
43914 * math/s_asinhl.c: Likewise.
43915 * math/s_atanl.c: Likewise.
43916 * math/s_cbrtl.c: Likewise.
43917 * math/s_erfl.c: Likewise.
43918 * math/s_expm1l.c: Likewise.
43919 * math/s_log1pl.c: Likewise.
43920 * math/s_tanhl.c: Likewise.
43921 * misc/acct.c: Likewise.
43922 * misc/brk.c: Likewise.
43923 * misc/chflags.c: Likewise.
43924 * misc/chroot.c: Likewise.
43925 * misc/fchflags.c: Likewise.
43926 * misc/fgetxattr.c: Likewise.
43927 * misc/flistxattr.c: Likewise.
43928 * misc/fremovexattr.c: Likewise.
43929 * misc/fsetxattr.c: Likewise.
43930 * misc/fsync.c: Likewise.
43931 * misc/ftruncate.c: Likewise.
43932 * misc/futimes.c: Likewise.
43933 * misc/futimesat.c: Likewise.
43934 * misc/getdomain.c: Likewise.
43935 * misc/getdtsz.c: Likewise.
43936 * misc/gethostid.c: Likewise.
43937 * misc/gethostname.c: Likewise.
43938 * misc/getloadavg.c: Likewise.
43939 * misc/getpagesize.c: Likewise.
43940 * misc/getsysstats.c: Likewise.
43941 * misc/getxattr.c: Likewise.
43942 * misc/gtty.c: Likewise.
43943 * misc/ioctl.c: Likewise.
43944 * misc/lgetxattr.c: Likewise.
43945 * misc/listxattr.c: Likewise.
43946 * misc/llistxattr.c: Likewise.
43947 * misc/lremovexattr.c: Likewise.
43948 * misc/lsetxattr.c: Likewise.
43949 * misc/lutimes.c: Likewise.
43950 * misc/madvise.c: Likewise.
43951 * misc/mincore.c: Likewise.
43952 * misc/mlock.c: Likewise.
43953 * misc/mlockall.c: Likewise.
43954 * misc/mmap.c: Likewise.
43955 * misc/mprotect.c: Likewise.
43956 * misc/msync.c: Likewise.
43957 * misc/munlock.c: Likewise.
43958 * misc/munlockall.c: Likewise.
43959 * misc/munmap.c: Likewise.
43960 * misc/preadv.c: Likewise.
43961 * misc/preadv64.c: Likewise.
43962 * misc/ptrace.c: Likewise.
43963 * misc/pwritev.c: Likewise.
43964 * misc/pwritev64.c: Likewise.
43965 * misc/readv.c: Likewise.
43966 * misc/reboot.c: Likewise.
43967 * misc/remap_file_pages.c: Likewise.
43968 * misc/removexattr.c: Likewise.
43969 * misc/revoke.c: Likewise.
43970 * misc/select.c: Likewise.
43971 * misc/setdomain.c: Likewise.
43972 * misc/setegid.c: Likewise.
43973 * misc/seteuid.c: Likewise.
43974 * misc/sethostid.c: Likewise.
43975 * misc/sethostname.c: Likewise.
43976 * misc/setregid.c: Likewise.
43977 * misc/setreuid.c: Likewise.
43978 * misc/setxattr.c: Likewise.
43979 * misc/sstk.c: Likewise.
43980 * misc/stty.c: Likewise.
43981 * misc/swapoff.c: Likewise.
43982 * misc/swapon.c: Likewise.
43983 * misc/sync.c: Likewise.
43984 * misc/syncfs.c: Likewise.
43985 * misc/syscall.c: Likewise.
43986 * misc/truncate.c: Likewise.
43987 * misc/ualarm.c: Likewise.
43988 * misc/usleep.c: Likewise.
43989 * misc/ustat.c: Likewise.
43990 * misc/utimes.c: Likewise.
43991 * misc/vhangup.c: Likewise.
43992 * misc/writev.c: Likewise.
43993 * posix/_exit.c: Likewise.
43994 * posix/alarm.c: Likewise.
43995 * posix/execve.c: Likewise.
43996 * posix/fexecve.c: Likewise.
43997 * posix/fork.c: Likewise.
43998 * posix/fpathconf.c: Likewise.
43999 * posix/getaddrinfo.c: Likewise.
44000 * posix/getegid.c: Likewise.
44001 * posix/geteuid.c: Likewise.
44002 * posix/getgid.c: Likewise.
44003 * posix/getgroups.c: Likewise.
44004 * posix/getlogin.c: Likewise.
44005 * posix/getlogin_r.c: Likewise.
44006 * posix/getpgid.c: Likewise.
44007 * posix/getpid.c: Likewise.
44008 * posix/getppid.c: Likewise.
44009 * posix/getresgid.c: Likewise.
44010 * posix/getresuid.c: Likewise.
44011 * posix/getsid.c: Likewise.
44012 * posix/getuid.c: Likewise.
44013 * posix/glob64.c: Likewise.
44014 * posix/nanosleep.c: Likewise.
44015 * posix/pathconf.c: Likewise.
44016 * posix/pause.c: Likewise.
44017 * posix/posix_madvise.c: Likewise.
44018 * posix/pread.c: Likewise.
44019 * posix/pread64.c: Likewise.
44020 * posix/pwrite.c: Likewise.
44021 * posix/pwrite64.c: Likewise.
44022 * posix/sched_getaffinity.c: Likewise.
44023 * posix/sched_getp.c: Likewise.
44024 * posix/sched_gets.c: Likewise.
44025 * posix/sched_primax.c: Likewise.
44026 * posix/sched_primin.c: Likewise.
44027 * posix/sched_rr_gi.c: Likewise.
44028 * posix/sched_setaffinity.c: Likewise.
44029 * posix/sched_setp.c: Likewise.
44030 * posix/sched_sets.c: Likewise.
44031 * posix/sched_yield.c: Likewise.
44032 * posix/setgid.c: Likewise.
44033 * posix/setlogin.c: Likewise.
44034 * posix/setpgid.c: Likewise.
44035 * posix/setresgid.c: Likewise.
44036 * posix/setresuid.c: Likewise.
44037 * posix/setsid.c: Likewise.
44038 * posix/setuid.c: Likewise.
44039 * posix/sleep.c: Likewise.
44040 * posix/spawni.c: Likewise.
44041 * posix/sysconf.c: Likewise.
44042 * posix/times.c: Likewise.
44043 * posix/wait.c: Likewise.
44044 * posix/wait3.c: Likewise.
44045 * posix/wait4.c: Likewise.
44046 * posix/waitpid.c: Likewise.
44047 * resolv/gai_sigqueue.c: Likewise.
44048 * resource/getpriority.c: Likewise.
44049 * resource/getrlimit.c: Likewise.
44050 * resource/getrusage.c: Likewise.
44051 * resource/nice.c: Likewise.
44052 * resource/setpriority.c: Likewise.
44053 * resource/setrlimit.c: Likewise.
44054 * resource/ulimit.c: Likewise.
44055 * rt/aio_cancel.c: Likewise.
44056 * rt/aio_fsync.c: Likewise.
44057 * rt/aio_read.c: Likewise.
44058 * rt/aio_sigqueue.c: Likewise.
44059 * rt/aio_suspend.c: Likewise.
44060 * rt/aio_write.c: Likewise.
44061 * rt/clock_getres.c: Likewise.
44062 * rt/clock_gettime.c: Likewise.
44063 * rt/clock_nanosleep.c: Likewise.
44064 * rt/clock_settime.c: Likewise.
44065 * rt/lio_listio.c: Likewise.
44066 * rt/mq_close.c: Likewise.
44067 * rt/mq_getattr.c: Likewise.
44068 * rt/mq_notify.c: Likewise.
44069 * rt/mq_open.c: Likewise.
44070 * rt/mq_receive.c: Likewise.
44071 * rt/mq_send.c: Likewise.
44072 * rt/mq_setattr.c: Likewise.
44073 * rt/mq_timedreceive.c: Likewise.
44074 * rt/mq_timedsend.c: Likewise.
44075 * rt/mq_unlink.c: Likewise.
44076 * rt/shm_open.c: Likewise.
44077 * rt/shm_unlink.c: Likewise.
44078 * rt/timer_create.c: Likewise.
44079 * rt/timer_delete.c: Likewise.
44080 * rt/timer_getoverr.c: Likewise.
44081 * rt/timer_gettime.c: Likewise.
44082 * rt/timer_settime.c: Likewise.
44083 * setjmp/__longjmp.c: Likewise.
44084 * setjmp/setjmp.c: Likewise.
44085 * signal/kill.c: Likewise.
44086 * signal/killpg.c: Likewise.
44087 * signal/raise.c: Likewise.
44088 * signal/sigaction.c: Likewise.
44089 * signal/sigaltstack.c: Likewise.
44090 * signal/sigblock.c: Likewise.
44091 * signal/sigignore.c: Likewise.
44092 * signal/sigintr.c: Likewise.
44093 * signal/signal.c: Likewise.
44094 * signal/sigpause.c: Likewise.
44095 * signal/sigpending.c: Likewise.
44096 * signal/sigqueue.c: Likewise.
44097 * signal/sigreturn.c: Likewise.
44098 * signal/sigset.c: Likewise.
44099 * signal/sigsetmask.c: Likewise.
44100 * signal/sigstack.c: Likewise.
44101 * signal/sigsuspend.c: Likewise.
44102 * signal/sigtimedwait.c: Likewise.
44103 * signal/sigvec.c: Likewise.
44104 * signal/sigwait.c: Likewise.
44105 * signal/sigwaitinfo.c: Likewise.
44106 * signal/sysv_signal.c: Likewise.
44107 * socket/accept.c: Likewise.
44108 * socket/accept4.c: Likewise.
44109 * socket/bind.c: Likewise.
44110 * socket/connect.c: Likewise.
44111 * socket/getpeername.c: Likewise.
44112 * socket/getsockname.c: Likewise.
44113 * socket/getsockopt.c: Likewise.
44114 * socket/isfdtype.c: Likewise.
44115 * socket/listen.c: Likewise.
44116 * socket/recv.c: Likewise.
44117 * socket/recvfrom.c: Likewise.
44118 * socket/recvmsg.c: Likewise.
44119 * socket/send.c: Likewise.
44120 * socket/sendmsg.c: Likewise.
44121 * socket/sendto.c: Likewise.
44122 * socket/setsockopt.c: Likewise.
44123 * socket/shutdown.c: Likewise.
44124 * socket/sockatmark.c: Likewise.
44125 * socket/socket.c: Likewise.
44126 * socket/socketpair.c: Likewise.
44127 * stdio-common/ctermid.c: Likewise.
44128 * stdio-common/cuserid.c: Likewise.
44129 * stdio-common/remove.c: Likewise.
44130 * stdio-common/rename.c: Likewise.
44131 * stdio-common/renameat.c: Likewise.
44132 * stdio-common/tempname.c: Likewise.
44133 * stdlib/getcontext.c: Likewise.
44134 * stdlib/makecontext.c: Likewise.
44135 * stdlib/setcontext.c: Likewise.
44136 * stdlib/swapcontext.c: Likewise.
44137 * stdlib/system.c: Likewise.
44138 * streams/fattach.c: Likewise.
44139 * streams/fdetach.c: Likewise.
44140 * streams/getmsg.c: Likewise.
44141 * streams/getpmsg.c: Likewise.
44142 * streams/putmsg.c: Likewise.
44143 * streams/putpmsg.c: Likewise.
44144 * sysdeps/unix/bsd/getpt.c: Likewise.
44145 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
44146 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
44147 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44149 Likewise.
44150 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
44151 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44152 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
44153 * sysvipc/msgctl.c: Likewise.
44154 * sysvipc/msgget.c: Likewise.
44155 * sysvipc/msgrcv.c: Likewise.
44156 * sysvipc/msgsnd.c: Likewise.
44157 * sysvipc/semctl.c: Likewise.
44158 * sysvipc/semget.c: Likewise.
44159 * sysvipc/semop.c: Likewise.
44160 * sysvipc/semtimedop.c: Likewise.
44161 * sysvipc/shmat.c: Likewise.
44162 * sysvipc/shmctl.c: Likewise.
44163 * sysvipc/shmdt.c: Likewise.
44164 * sysvipc/shmget.c: Likewise.
44165 * termios/tcdrain.c: Likewise.
44166 * termios/tcflow.c: Likewise.
44167 * termios/tcflush.c: Likewise.
44168 * termios/tcgetattr.c: Likewise.
44169 * termios/tcgetpgrp.c: Likewise.
44170 * termios/tcsendbrk.c: Likewise.
44171 * termios/tcsetattr.c: Likewise.
44172 * termios/tcsetpgrp.c: Likewise.
44173 * time/adjtime.c: Likewise.
44174 * time/clock.c: Likewise.
44175 * time/getitimer.c: Likewise.
44176 * time/gettimeofday.c: Likewise.
44177 * time/setitimer.c: Likewise.
44178 * time/settimeofday.c: Likewise.
44179 * time/stime.c: Likewise.
44180 * time/time.c: Likewise.
44181
44182 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
44183
44184 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
44185 /usr/old/bin.
44186
44187 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
44188 instead of spaces.
44189 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
44190
44191 2012-11-03 Joseph Myers <joseph@codesourcery.com>
44192
44193 [BZ #14796]
44194 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
44195 FE_TONEAREST before applying Dekker multiplication and Knuth
44196 addition. Clear inexact exceptions and check for exact zero
44197 results afterwards.
44198 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44199 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44200 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44201 * math/libm-test.inc (fma_test): Add more tests.
44202 (fma_test_towardzero): Likewise.
44203 (fma_test_downward): Likewise.
44204 (fma_test_upward): Likewise.
44205 * sysdeps/generic/math_private.h (default_libc_fesetround): New
44206 function.
44207 (libc_fesetround): New macro.
44208 (libc_fesetroundf): Likewise.
44209 (libc_fesetroundl): Likewise.
44210 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
44211 function.
44212 (libc_fesetround_387): Likewise.
44213 (libc_fesetroundf): New macro.
44214 (libc_fesetround): Likewise.
44215 (libc_fesetroundl): Likewise.
44216 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
44217 function.
44218 (libc_fesetroundf): New macro.
44219 (libc_fesetround): Likewise.
44220 (libc_fesetroundl): Likewise.
44221 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
44222 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
44223 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
44224 libm_hidden_ver.
44225 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
44226 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
44227 libm_hidden_def.
44228 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
44229 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
44230 libm_hidden_ver.
44231 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
44232 libm_hidden_def.
44233
44234 [BZ #3439]
44235 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
44236 integer constant usable in #if and use that to give value to enum
44237 constant.
44238 (FE_DIVBYZERO): Likewise.
44239 (FE_UNDERFLOW): Likewise.
44240 (FE_OVERFLOW): Likewise.
44241 (FE_INVALID): Likewise.
44242 (FE_INVALID_SNAN): Likewise.
44243 (FE_INVALID_ISI): Likewise.
44244 (FE_INVALID_IDI): Likewise.
44245 (FE_INVALID_ZDZ): Likewise.
44246 (FE_INVALID_IMZ): Likewise.
44247 (FE_INVALID_COMPARE): Likewise.
44248 (FE_INVALID_SOFTWARE): Likewise.
44249 (FE_INVALID_SQRT): Likewise.
44250 (FE_INVALID_INTEGER_CONVERSION): Likewise.
44251 (FE_TONEAREST): Likewise.
44252 (FE_TOWARDZERO): Likewise.
44253 (FE_UPWARD): Likewise.
44254 (FE_DOWNWARD): Likewise.
44255 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
44256 (FE_DIVBYZERO): Likewise.
44257 (FE_OVERFLOW): Likewise.
44258 (FE_UNDERFLOW): Likewise.
44259 (FE_INEXACT): Likewise.
44260 (FE_TONEAREST): Likewise.
44261 (FE_DOWNWARD): Likewise.
44262 (FE_UPWARD): Likewise.
44263 (FE_TOWARDZERO): Likewise.
44264 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
44265 (FE_UNDERFLOW): Likewise.
44266 (FE_OVERFLOW): Likewise.
44267 (FE_DIVBYZERO): Likewise.
44268 (FE_INVALID): Likewise.
44269 (FE_TONEAREST): Likewise.
44270 (FE_TOWARDZERO): Likewise.
44271 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
44272 (FE_OVERFLOW): Likewise.
44273 (FE_UNDERFLOW): Likewise.
44274 (FE_DIVBYZERO): Likewise.
44275 (FE_INEXACT): Likewise.
44276 (FE_TONEAREST): Likewise.
44277 (FE_TOWARDZERO): Likewise.
44278 (FE_UPWARD): Likewise.
44279 (FE_DOWNWARD): Likewise.
44280 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
44281 (FE_DIVBYZERO): Likewise.
44282 (FE_OVERFLOW): Likewise.
44283 (FE_UNDERFLOW): Likewise.
44284 (FE_INEXACT): Likewise.
44285 (FE_TONEAREST): Likewise.
44286 (FE_DOWNWARD): Likewise.
44287 (FE_UPWARD): Likewise.
44288 (FE_TOWARDZERO): Likewise.
44289
44290 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
44291
44292 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
44293
44294 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
44295
44296 * scripts/cross-test-ssh.sh (command): Use newlines to separate
44297 commands. Quote $PWD.
44298 (blacklist_exports): Don't use remove_newlines. Replace "declare
44299 -x" by "export".
44300 (remove_newlines): Remove.
44301
44302 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
44303
44304 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
44305 * stdlib/stdlib.h (atof): Moved to ...
44306 * include/bits/stdlib-float.h: Here. New file.
44307 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
44308 * stdlib/bits/stdlib-float.h: New file.
44309 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
44310 -mno-sse -mno-mmx.
44311 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
44312 <xmmintrin.h>.
44313
44314 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44315
44316 * conform/conformtest.pl (@headers): Add fenv.h.
44317 * conform/data/fenv.h-data: New file.
44318 * include/fenv.h [_ISOMAC]: Disable all contents of file except
44319 include of <math/fenv.h>.
44320
44321 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
44322 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
44323 && !UNIX98]. Enables tests for XOPEN2K8.
44324 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
44325 POSIX2008]: Likewise.
44326
44327 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
44328 (struct rusage): Do not expect type or its members.
44329
44330 [BZ #3439]
44331 * math/math.h (FP_NAN): Define macro to integer constant usable in
44332 #if and use that to give value to enum constant.
44333 (FP_INFINITE): Likewise.
44334 (FP_ZERO): Likewise.
44335 (FP_SUBNORMAL): Likewise.
44336 (FP_NORMAL): Likewise.
44337
44338 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
44339
44340 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
44341 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
44342 arguments.
44343
44344 2012-11-02 Roland McGrath <roland@hack.frob.com>
44345
44346 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
44347 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
44348 autoconf-time if not.
44349 * configure.in: Remove AC_PREREQ.
44350
44351 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44352
44353 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
44354 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
44355 of the internal implementation.
44356
44357 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44358
44359 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
44360 except include of <misc/sys/syslog.h>.
44361
44362 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44363
44364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
44365 function returns with a NULL context exit with zero.
44366
44367 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44368
44369 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
44370
44371 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
44372
44373 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
44374 (run_program_cmd): This.
44375 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
44376 (tst_langinfo): New variable. Use it.
44377
44378 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
44379
44380 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
44381 floating point opcodes.
44382
44383 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44384
44385 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
44386 variable.
44387
44388 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
44389
44390 * sysdeps/mach/hurd/powerpc: Remove directory.
44391 * sysdeps/mach/powerpc: Likewise.
44392
44393 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44394
44395 * scripts/check-local-headers.sh: Ignore c++ headers.
44396
44397 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44398
44399 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
44400 __libc_cleanup_region_start argument.
44401
44402 2012-11-01 Joseph Myers <joseph@codesourcery.com>
44403
44404 [BZ #14784]
44405 [BZ #14785]
44406 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
44407 x * y using scaling, not as x * y + z.
44408 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44409 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44410 * math/libm-test.inc (fma_test): Add more tests.
44411 (fma_test_towardzero): Likewise.
44412 (fma_test_downward): Likewise.
44413 (fma_test_upward): Likewise.
44414
44415 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44416
44417 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
44418
44419 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44420
44421 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
44422 New variable.
44423
44424 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
44425
44426 * rt/tst-shm.c (worker): Correct checking for mmap failure.
44427
44428 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44429
44430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44431 Fix sort order.
44432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44433 Likewise.
44434
44435 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44436
44437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44438 Fix the order of the list for glibc 2.17.
44439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44440 Likewise.
44441
44442 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44443
44444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44445
44446 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44447
44448 [BZ #14610]
44449 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
44450 for low part of x being zero before using __atanl (y).
44451 * math/libm-test.inc (atan2_test): Add another test.
44452
44453 * manual/install.texi (Configuring and compiling): Document
44454 general use of test-wrapper and test-wrapper-env.
44455 * INSTALL: Regenerated.
44456
44457 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
44458 (__fma): Do not extract and scale down low bits on after-rounding
44459 systems when result rounded to normal precision would have normal
44460 exponent.
44461 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
44462 (__fmal): Do not extract and scale down low bits on after-rounding
44463 systems when result rounded to normal precision would have normal
44464 exponent.
44465 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
44466 (__fmal): Do not extract and scale down low bits on after-rounding
44467 systems when result rounded to normal precision would have normal
44468 exponent.
44469 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
44470 macro.
44471 (fma_test): Add more tests.
44472 (fma_test_towardzero): Likewise.
44473 (fma_test_downward): Likewise.
44474 (fma_test_upward): Likewise.
44475
44476 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
44477
44478 * sysdeps/i386/tininess.h: Renamed to ...
44479 * sysdeps/x86/tininess.h: This.
44480 * sysdeps/x86_64/tininess.h: Removed.
44481
44482 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44483
44484 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
44485 input. Use $(build-program-cmd).
44486 ($(objpfx)tst-array1-static.out): Likewise.
44487 ($(objpfx)tst-array2.out): Likewise.
44488 ($(objpfx)tst-array3.out): Likewise.
44489 ($(objpfx)tst-array4.out): Likewise.
44490 ($(objpfx)tst-array5.out): Likewise.
44491 ($(objpfx)tst-array5-static.out): Likewise.
44492
44493 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
44494
44495 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
44496 if defined.
44497
44498 * nss/nsswitch.h (nss_interface_function): Provide new
44499 macro for use with NSS functions.
44500 * grp/initgroups.c: Use new macro.
44501 * nss/getXXbyYY.c: Likewise.
44502 * nss/getXXbyYY_r.c: Likewise.
44503 * nss/getXXent.c: Likewise.
44504 * nss/getXXent_r.c: Likewise.
44505 * sysdeps/posix/getaddrinfo.c: Likewise.
44506
44507 2012-10-30 Andreas Jaeger <aj@suse.de>
44508
44509 * po/ru.po: Update Russion translation from translation project.
44510
44511 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44512
44513 [BZ #14152]
44514 [BZ #14783]
44515 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
44516 result and shift together with sticky bit instead of replicating
44517 round-to-nearest rounding.
44518 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44519 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44520 * math/libm-test.inc (fma_test): Add more tests. Do not permit
44521 missing underflow exceptions.
44522 (fma_test_towardzero): Add more tests.
44523 (fma_test_downward): Likewise.
44524 (fma_test_upward): Likewise.
44525
44526 [BZ #14047]
44527 * sysdeps/generic/tininess.h: New file.
44528 * sysdeps/i386/tininess.h: Likewise.
44529 * sysdeps/sh/tininess.h: Likewise.
44530 * sysdeps/x86_64/tininess.h: Likewise.
44531 * stdlib/tst-strtod-underflow.c: Likewise.
44532 * stdlib/tst-tininess.c: Likewise.
44533 * stdlib/strtod_l.c: Include <tininess.h>.
44534 (round_and_return): Do not set errno for exact underflow cases.
44535 Force an underflow exception when setting errno for underflow.
44536 Determine underflow based on rounding to normal precision if
44537 TININESS_AFTER_ROUNDING.
44538 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
44539 ERANGE for exact underflow cases.
44540 * stdlib/Makefile (tests): Add tst-tininess and
44541 tst-strtod-underflow.
44542 ($(objpfx)tst-tininess): Use $(link-libm).
44543 ($(objpfx)tst-strtod-underflow): Likewise.
44544
44545 2012-10-30 Andreas Jaeger <aj@suse.de>
44546
44547 [BZ#14767]
44548 * elf/Makefile (tests): Remove conditional for have-initfini-array
44549 since this is now always required and the variable does not exist
44550 anymore.
44551 (tests-static): Likewise.
44552 (modules-names): Likewise.
44553
44554 * po/eo.po: Add Esperanto translation from translation project.
44555
44556 * elf/tst-array1.c (fini_array): Make writeable so that it can be
44557 merged with constructor/destructor.
44558 (init_array): Likewise.
44559 * elf/tst-array2dep.c (fini_array): Likewise.
44560 (init_array): Likewise.
44561
44562 2012-10-29 Mike Frysinger <vapier@gentoo.org>
44563
44564 * manual/message.texi: Delete @cartouche tags.
44565
44566 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
44567
44568 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
44569 EOPNOTSUPP.
44570 * sysdeps/mach/hurd/fsync.c: Likewise.
44571
44572 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
44573 [_POSIX_REALTIME_SIGNALS]: Change condition to
44574 [_POSIX_REALTIME_SIGNALS > 0].
44575
44576 2012-10-27 Andreas Jaeger <aj@suse.de>
44577
44578 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
44579 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
44580 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
44581 [__WORDSIZE != 64]: Likewise.
44582
44583 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
44584
44585 * iconvdata/tst-table.sh: Remove ${SHELL}.
44586 * iconvdata/tst-tables.sh: Likewise.
44587
44588 2012-10-25 David S. Miller <davem@davemloft.net>
44589
44590 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44591 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
44592 of strtoull.
44593
44594 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
44595 ifunc-impl-list.c
44596 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44597 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
44598 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
44599 file.
44600
44601 2012-10-25 Roland McGrath <roland@hack.frob.com>
44602
44603 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44604 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
44605 __getdirentries.
44606
44607 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44608 Jim Blandy <jimb@codesourcery.com>
44609
44610 * scripts/cross-test-ssh.sh: New file.
44611 * manual/install.texi (Configuring and compiling): Document use of
44612 cross-test-ssh.sh.
44613 * INSTALL: Regenerated.
44614
44615 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
44616
44617 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
44618 EOPNOTSUPP.
44619
44620 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44621
44622 * Makeconfig (run-program-prefix): Fix comment.
44623
44624 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44625 Jim Blandy <jimb@codesourcery.com>
44626
44627 * Makeconfig (test-wrapper): New variable,
44628 (test-wrapper-env): Likewise.
44629 [$(cross-compiling) = yes && $(test-wrapper) != ""]
44630 (run-built-tests): Define to yes.
44631 (run-program-prefix): Use $(test-wrapper).
44632 (built-program-cmd): Likewise.
44633 * Rules (make-test-out): Use $(test-wrapper-env) and
44634 $(host-built-program-cmd).
44635 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
44636 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
44637 tst-pathopt.sh.
44638 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
44639 $(test-wrapper-env) to tst-rtld-load-self.sh.
44640 ($(objpfx)order2.out): Use $(test-wrapper).
44641 ($(objpfx)tst-initorder.out): Likewise.
44642 ($(objpfx)tst-initorder2.out): Likewise.
44643 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
44644 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
44645 (test_wrapper_env): New variable. Use it to run ld.so.
44646 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
44647 Use it to run ld.so.
44648 (test_wrapper_env): Likewise.
44649 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
44650 $(test-wrapper) to run-iconv-test.sh.
44651 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
44652 (ICONV): Use $test_wrapper.
44653 * posix/Makefile ($(objpfx)globtest.out): Pass
44654 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
44655 globtest.sh, not $(run-program-prefix).
44656 * posix/globtest.sh (run_via_rtld_prefix): New variable.
44657 (test_wrapper): Likewise.
44658 (test_wrapper_env): Likewise. Use it to run globtest with HOME
44659 set together with run_via_rtld_prefix.
44660 (run_program_prefix): Define in terms of test_wrapper and
44661 run_via_rtld_prefix.
44662
44663 2012-10-24 Roland McGrath <roland@hack.frob.com>
44664
44665 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
44666 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
44667 Targets removed.
44668
44669 [BZ #14743]
44670 * include/time.h: Remove librt_hidden_proto (clock_gettime).
44671 Declare __clock_getres, __clock_gettime, __clock_settime,
44672 __clock_nanosleep, and __clock_getcpuclockid.
44673 * rt/clock_gettime.c: Define __clock_gettime as an alias.
44674 Remove librt_hidden_def (clock_gettime).
44675 * sysdeps/unix/clock_gettime.c: Likewise.
44676 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
44677 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
44678 * rt/clock_getres.c: Define __clock_getres as an alias.
44679 * sysdeps/posix/clock_getres.c: Likewise.
44680 * rt/clock_settime.c: Define __clock_settime as an alias.
44681 * sysdeps/unix/clock_settime.c: Likewise.
44682 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
44683 * sysdeps/unix/clock_nanosleep.c: Likewise.
44684 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
44685 * rt/clock-compat.c: New file.
44686 * rt/Makefile (librt-routines): Add clock-compat and move
44687 $(clock-routines) to ...
44688 (routines): ... here, new variable.
44689 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
44690 Don't add get_clockfreq here.
44691 * rt/Versions (libc: GLIBC_2.17): New version set.
44692 Add clock_* symbols here.
44693 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
44694 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
44695 (GLIBC_2.17): Add clock_* symbols.
44696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44698 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44700 Likewise.
44701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44702 Likewise.
44703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44707 * NEWS: Mention the move.
44708
44709 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44710 Use __open, __read, __close rather than their public counterparts.
44711 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44712 (__get_clockfreq_via_cpuinfo): Likewise.
44713 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
44714 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
44715
44716 * config.h.in (HAVE_IFUNC): New #undef.
44717 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
44718 was successful.
44719 * configure: Regenerated.
44720
44721 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44722
44723 * configure.in: Move READELF check to start of file.
44724 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
44725 libc_cv_asm_gnu_indirect_function in the process.
44726 * configure: Regenerated.
44727
44728 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44729
44730 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
44731 send the output to /dev/null.
44732 (libc_cv_cc_with_libunwind): Likewise.
44733 (libc_cv_as_noexecstack): Likewise.
44734 * configure: Regenerate.
44735
44736 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44737
44738 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
44739
44740 * posix/globtest.sh (TMPDIR): Do not set.
44741 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
44742 (testout): Likewise.
44743
44744 2012-10-24 Andreas Jaeger <aj@suse.de>
44745
44746 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
44747 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
44748 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
44749 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
44750 posix_fadvise64, posix_fallocate64.
44751
44752 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
44753 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
44754 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
44755 Likewise.
44756 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
44757 Likewise.
44758 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
44759
44760 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
44761 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
44762 <bits/fcntl-linux.h>.
44763 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
44764
44765 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
44766 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
44767 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
44768 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
44769 [__WORDSIZE != 64]: Likewise.
44770
44771 2012-10-23 Joseph Myers <joseph@codesourcery.com>
44772
44773 * Makeconfig (run-built-tests): New variable.
44774 * Rules [$(cross-compiling) = yes]: Change condition to
44775 [$(run-built-tests) = no].
44776 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
44777 to [$(run-built-tests) = yes].
44778 * elf/Makefile [$(cross-compiling) = no]: Likewise
44779 * grp/Makefile [$(cross-compiling) = no]: Likewise.
44780 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
44781 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
44782 * intl/Makefile [$(cross-compiling) = no]: Likewise.
44783 * io/Makefile [$(cross-compiling) = no]: Likewise.
44784 * libio/Makefile [$(cross-compiling) = no]: Likewise.
44785 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
44786 * misc/Makefile [$(cross-compiling) = no]: Likewise.
44787 * posix/Makefile [$(cross-compiling) = no]: Likewise.
44788 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
44789 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
44790 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
44791 * string/Makefile [$(cross-compiling) = no]: Likewise.
44792
44793 * posix/Makefile ($(objpfx)globtest.out): Pass
44794 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
44795 $(rtld-installed-name).
44796 * posix/globtest.sh (elf_objpfx): Remove variable.
44797 (rtld_installed_name): Likewise.
44798 (library_path): Likewise.
44799 (run_program_prefix): New variable. Use for running globtest
44800 binary.
44801
44802 2012-10-23 Jim Blandy <jimb@codesourcery.com>
44803 Joseph Myers <joseph@codesourcery.com>
44804
44805 * Makeconfig (host-built-program-cmd): New variable.
44806 * elf/Makefile (tst-stackguard1-ARGS): Use
44807 $(host-built-program-cmd).
44808 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
44809 (tst-spawn-ARGS): Likewise.
44810 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
44811
44812 2012-10-23 Joseph Myers <joseph@codesourcery.com>
44813 Jim Blandy <jimb@codesourcery.com>
44814
44815 * Makeconfig (run-via-rtld-prefix): New variable.
44816 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
44817 (built-program-cmd): Likewise.
44818
44819 2012-10-22 Andreas Jaeger <aj@suse.de>
44820
44821 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
44822 __O_RSYNC if it exists, otherwise to O_SYNC.
44823
44824 2012-10-22 Jim Blandy <jimb@codesourcery.com>
44825 Joseph Myers <joseph@codesourcery.com>
44826
44827 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
44828 /dev/null.
44829 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
44830 from /dev/null
44831 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
44832 /dev/null.
44833
44834 2012-10-22 Andreas Jaeger <aj@suse.de>
44835
44836 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
44837 Define always.
44838 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
44839
44840 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44841 bits/fcntl-linux.h.
44842
44843 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
44844 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
44845
44846 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
44847 to __O_LARGEFILE.
44848 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
44849 to __O_LARGEFILE.
44850
44851 2012-10-21 Jim Blandy <jimb@codesourcery.com>
44852 Joseph Myers <joseph@codesourcery.com>
44853
44854 * config.make.in (NM): New variable.
44855
44856 2012-10-21 Andreas Jaeger <aj@suse.de>
44857
44858 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
44859 definitions and declarations that are provided by
44860 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44861
44862 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
44863
44864 [BZ #14683]
44865 * elf/Makefile (tests-static): Add tst-leaks1-static.
44866 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
44867 ($(objpfx)tst-leaks1-static): New rule.
44868 ($(objpfx)tst-leaks1-static-mem): Likewise.
44869 (tst-leaks1-static-ENV): New macro.
44870 * elf/dl-open.c (dl_open_worker): Check the main application
44871 only if SHARED is defined.
44872 * elf/tst-leaks1-static.c: New file.
44873
44874 2012-10-20 Andreas Jaeger <aj@suse.de>
44875
44876 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
44877 generic values for Linux.
44878 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
44879 and declarations that are provided by <bits/fcntl-linux.h> and
44880 include <bits/fcntl-linux.h>.
44881 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44882 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44883
44884 2012-10-20 Roland McGrath <roland@hack.frob.com>
44885
44886 * io/fcntl.h: Move include of <bits/types.h> to the top and
44887 include it unconditionally.
44888
44889 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
44890
44891 * wcsmbs/Makefile (tests-ifunc): New variable.
44892 (tests): Add $(tests-ifunc).
44893 * wcsmbs/test-wcschr-ifunc.c: New file.
44894 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
44895 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
44896 * wcsmbs/test-wcslen-ifunc.c: Likewise.
44897 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
44898 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
44899
44900 * string/Makefile (tests-ifunc): New variable.
44901 (tests): Add $(tests-ifunc).
44902 * string/test-memccpy.c (TEST_NAME): New macro.
44903 * string/test-memchr.c (TEST_NAME): Likewise.
44904 * string/test-memcmp.c (TEST_NAME): Likewise.
44905 * string/test-memcpy.c (TEST_NAME): Likewise.
44906 * string/test-memmem.c (TEST_NAME): Likewise.
44907 * string/test-memmove.c (TEST_NAME): Likewise.
44908 * string/test-memset.c (TEST_NAME): Likewise.
44909 * string/test-rawmemchr.c (TEST_NAME): Likewise.
44910 * string/test-stpcpy.c (TEST_NAME): Likewise.
44911 * string/test-stpncpy.c (TEST_NAME): Likewise.
44912 * string/test-strcasecmp.c (TEST_NAME): Likewise.
44913 * string/test-strcasestr.c (TEST_NAME): Likewise.
44914 * string/test-strcat.c (TEST_NAME): Likewise.
44915 * string/test-strchr.c (TEST_NAME): Likewise.
44916 * string/test-strcmp.c(TEST_NAME): Likewise.
44917 * string/test-strcpy.c (TEST_NAME): Likewise.
44918 * string/test-strcspn.c (TEST_NAME): Likewise.
44919 * string/test-strlen.c (TEST_NAME): Likewise.
44920 * string/test-strncasecmp.c (TEST_NAME): Likewise.
44921 * string/test-strncmp.c (TEST_NAME): Likewise.
44922 * string/test-strncpy.c (TEST_NAME): Likewise.
44923 * string/test-strnlen.c (TEST_NAME): Likewise.
44924 * string/test-strpbrk.c (TEST_NAME): Likewise.
44925 * string/test-strrchr.c (TEST_NAME): Likewise.
44926 * string/test-strspn.c (TEST_NAME): Likewise.
44927 * string/test-strstr.c (TEST_NAME): Likewise.
44928 * string/test-bcopy-ifunc.c: New file.
44929 * string/test-bzero-ifunc.c: Likewise.
44930 * string/test-memccpy-ifunc.c: Likewise.
44931 * string/test-memchr-ifunc.c: Likewise.
44932 * string/test-memcmp-ifunc.c: Likewise.
44933 * string/test-memcpy-ifunc.c: Likewise.
44934 * string/test-memmem-ifunc.c: Likewise.
44935 * string/test-memmove-ifunc.c: Likewise.
44936 * string/test-mempcpy-ifunc.c: Likewise.
44937 * string/test-memset-ifunc.c: Likewise.
44938 * string/test-rawmemchr-ifunc.c: Likewise.
44939 * string/test-stpcpy-ifunc.c: Likewise.
44940 * string/test-stpncpy-ifunc.c: Likewise.
44941 * string/test-strcasecmp-ifunc.c: Likewise.
44942 * string/test-strcasestr-ifunc.c: Likewise.
44943 * string/test-strcat-ifunc.c: Likewise.
44944 * string/test-strchr-ifunc.c: Likewise.
44945 * string/test-strchrnul-ifunc.c: Likewise.
44946 * string/test-strcmp-ifunc.c: Likewise.
44947 * string/test-strcpy-ifunc.c: Likewise.
44948 * string/test-strcspn-ifunc.c: Likewise.
44949 * string/test-strlen-ifunc.c: Likewise.
44950 * string/test-strncasecmp-ifunc.c: Likewise.
44951 * string/test-strncat-ifunc.c: Likewise.
44952 * string/test-strncmp-ifunc.c: Likewise.
44953 * string/test-strncpy-ifunc.c: Likewise.
44954 * string/test-strnlen-ifunc.c: Likewise.
44955 * string/test-strpbrk-ifunc.c: Likewise.
44956 * string/test-strrchr-ifunc.c: Likewise.
44957 * string/test-strspn-ifunc.c: Likewise.
44958 * string/test-strstr-ifunc.c: Likewise.
44959
44960 * debug/Makefile (tests-ifunc): New variable.
44961 (tests): Add $(tests-ifunc).
44962 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
44963 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
44964 * debug/test-stpcpy_chk-ifunc.c: New file.
44965 * debug/test-strcpy_chk-ifunc.c: Likewise.
44966
44967 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
44968
44969 [BZ #13601]
44970 * elf/dl-load.c (open_verify): Retry read if the entire ELF
44971 header is not read in.
44972
44973 2012-10-19 Joseph Myers <joseph@codesourcery.com>
44974
44975 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
44976 script to $(SHELL) as $<. Pass $(common-objpfx) to script
44977 directly. Pass built executable to script as
44978 $(built-program-cmd).
44979 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
44980 $testprogram without using LD_LIBRARY_PATH and $ldso.
44981
44982 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
44983 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
44984 $(rtld-installed-name).
44985 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
44986 (rtld_installed_name): Likewise.
44987 (library_path): Likewise.
44988 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
44989 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
44990 $(run-program-prefix) to tst-tables.sh.
44991 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
44992 it to run tst-table-from and tst-table-to.
44993 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
44994 Pass it to tst-table.sh.
44995 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
44996 $(run-program-prefix) to tst-gettext.sh.
44997 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
44998 tst-translit.sh.
44999 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
45000 tst-gettext2.sh.
45001 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
45002 to run tst-gettext.
45003 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
45004 to run tst-gettext2.
45005 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
45006 to run tst-translit.
45007 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
45008 $(run-program-prefix) to tst-mtrace.sh.
45009 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
45010 to run tst-mtrace.
45011 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
45012 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
45013 $(rtld-installed-name).
45014 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
45015 (rtld_installed_name): Likewise.
45016 (run_program_prefix): New variable. Use it to run wordexp-test.
45017
45018 * Makeconfig (ARCH): Remove all definitions.
45019 (machine): Likewise.
45020 [ARCH]: Remove conditional code.
45021 [!objdir]: Give error.
45022 [!objdir] (objpfx): Remove.
45023 [!objdir] (common-objpfx): Likewise.
45024 [!objdir] (common-objdir): Likewise.
45025 * configure.in (config_makefile): Remove. Hardcode Makefile in
45026 AC_CONFIG_FILES call.
45027 * configure: Regenerated.
45028
45029 [BZ #13888]
45030 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
45031 or TMPDIR.
45032 (testout): Likewise.
45033
45034 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
45035 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
45036 $(rtld-installed-name).
45037 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
45038 (rtld_installed_name): Likwise.
45039 (runit): Remove function.
45040 (run_getconf): New variable, Use it for running getconf binary.
45041
45042 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
45043
45044 [BZ #14716]
45045 * string/test-memmem.c (check_result): New function.
45046 (do_one_test): Use it.
45047 (check1): New function.
45048 (test_main): Use it.
45049
45050 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
45051
45052 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
45053
45054 2012-10-18 Joseph Myers <joseph@codesourcery.com>
45055
45056 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
45057 (_G_LSEEK64): Likewise.
45058 (_G_MMAP64): Likewise.
45059 (_G_FSTAT64): Likewise.
45060 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
45061 (_G_LSEEK64): Likewise.
45062 (_G_MMAP64): Likewise.
45063 (_G_FSTAT64): Likewise.
45064 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
45065 unconditional. Call __mmap64 directly.
45066 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
45067 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
45068 __lseek64 directly.
45069 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
45070 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
45071 __mmap64 directly.
45072 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
45073 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
45074 __lseek64 directly.
45075 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
45076 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
45077 __lseek64 directly.
45078 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
45079 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
45080 __lseek64 directly.
45081 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
45082 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
45083 __fxstat64 directly.
45084 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
45085 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
45086 unconditional.
45087 (freopen64) [!_G_OPEN64]: Remove conditional code.
45088 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
45089 unconditional.
45090 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
45091 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
45092 unconditional.
45093 (ftello64) [!_G_LSEEK64]: Remove conditional code.
45094 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
45095 unconditional.
45096 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45097 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
45098 unconditional.
45099 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
45100 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
45101 unconditional.
45102 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45103 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
45104 unconditional.
45105 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45106 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
45107 unconditional.
45108 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45109
45110 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
45111
45112 [BZ #12140]
45113 * manual/memory.texi (Malloc Tunable Parameters): Add note
45114 about free list pointers overwriting some perturb bytes.
45115 Wording suggested by Roland McGrath.
45116
45117 2012-10-17 Joseph Myers <joseph@codesourcery.com>
45118
45119 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
45120 (lgamma_test): Likewise.
45121 (tgamma_test): Likewise.
45122
45123 2012-10-16 Florian Weimer <fweimer@redhat.com>
45124
45125 [BZ #14700]
45126 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
45127 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
45128
45129 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
45130
45131 * NEWS: Mention BZ #14716.
45132 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
45133 when removing AVAILABLE1_USES_J macro.
45134
45135 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
45136
45137 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
45138 (__bswap_64): __uint64_t for unsigned 64-bit int.
45139
45140 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
45141
45142 * include/string.h (memmem): Declare libc hidden alias.
45143 * string/memmem.c (memmem): Define libc hidden alias.
45144 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
45145 __read, __close instead of open, read, close.
45146
45147 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
45148
45149 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
45150 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
45151 global and hidden.
45152 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
45153 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
45154 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
45155 Likewise.
45156 (__rawmemchr_sse2): Likewise.
45157 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
45158 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
45159 (__strchr_sse2): Likewise.
45160 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
45161 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
45162 (__strcasecmp_sse2): Likewise.
45163 (__strncasecmp_sse2): Likewise.
45164 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
45165 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
45166 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
45167 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
45168 (__strrchr_sse2): Likewise.
45169 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
45170 ifunc-impl-list.c.
45171 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
45172 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
45173 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
45174 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45175 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
45176 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
45177 * sysdeps/x86_64/multiarch/memset.S: Likewise.
45178 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45179 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
45180 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
45181 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
45182 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
45183 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
45184 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
45185 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
45186 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45187 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
45188 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
45189 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
45190 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
45191 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
45192 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
45193 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
45194 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
45195 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
45196 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45197 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
45198 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45199 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
45200 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
45201
45202 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
45203 global and hidden.
45204 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
45205 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
45206 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
45207 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
45208 Likewise.
45209 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
45210 Likewise.
45211 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
45212 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
45213 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
45214 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
45215 ifunc-impl-list.c.
45216 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45217 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45218 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45219 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45220 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45221 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45222 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45223 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45224 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45225 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45226 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45227 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45228 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45229 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
45230 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
45231 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45232 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
45233 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
45234 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45235 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45236 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45237 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45238 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45239 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45240 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45241 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
45242 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
45243 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
45244 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
45245 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45246 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
45247 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45248 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45249 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
45250 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45251 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45252 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45253 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45254 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45255 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45256 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
45257
45258 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
45259 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
45260 * include/ifunc-impl-list.h: New file.
45261 * misc/ifunc-impl-list.c: Likewise.
45262 * misc/Makefile (routines): Add ifunc-impl-list.
45263 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
45264 * string/test-string.h: Include <ifunc-impl-list.h>.
45265 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
45266 TEST_NAME]: New variables.
45267 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
45268 are defined.
45269 (test_init): Call __libc_ifunc_impl_list to initialize
45270 func_list if TEST_IFUNC and TEST_NAME are defined.
45271
45272 * string/Makefile (strop-tests): Add bcopy and bzero.
45273 * string/test-bcopy.c: New file.
45274 * string/test-bzero.c: Likewise.
45275 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
45276 defined.
45277 * string/test-memset.c: Support bzero test if TEST_BZERO is
45278 defined.
45279 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
45280 __libc_memmove.
45281 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
45282 __libc_memset.
45283 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
45284 of memset.
45285
45286 2012-10-10 Joseph Myers <joseph@codesourcery.com>
45287
45288 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
45289 * configure: Regenerated.
45290
45291 * Makeconfig (+link-static-before-libc): Don't include
45292 $(link-static-libc).
45293
45294 * libio/libio.h (_IO_pos_t): Remove.
45295
45296 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45297
45298 * NEWS: Add note about FIPS mode. Wording suggested by Roland
45299 McGrath.
45300
45301 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45302
45303 * crypt/crypt-entry.c: Include fips-private.h.
45304 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
45305 * crypt/md5c-test.c (main): Tolerate disabled MD5.
45306 * sysdeps/unix/sysv/linux/fips-private.h: New file.
45307 * sysdeps/generic/fips-private.h: New file, dummy fallback.
45308
45309 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45310
45311 * crypt/crypt-private.h: Include stdbool.h.
45312 (_ufc_setup_salt_r): Return bool.
45313 * crypt/crypt-entry.c: Include errno.h.
45314 (__crypt_r): Return NULL with EINVAL for bad salt.
45315 * crypt/crypt_util.c (bad_for_salt): New.
45316 (_ufc_setup_salt_r): Check that salt is long enough and within
45317 the specified alphabet.
45318 * crypt/badsalttest.c: New file.
45319 * crypt/Makefile (tests): Add it.
45320 ($(objpfx)badsalttest): New.
45321
45322 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
45323
45324 * NEWS: Add entry for BZ #14602.
45325
45326 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45327
45328 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
45329 type-generic.
45330 * math/libm-test.inc: Update comment listing what functions and
45331 macros are tested.
45332 (isgreater_test): New function.
45333 (isgreaterequal_test): Likewise.
45334 (isless_test): Likewise.
45335 (islessequal_test): Likewise.
45336 (islessgreater_test): Likewise.
45337 (isunordered_test): Likewise.
45338 (main): Call the new functions.
45339
45340 2012-10-09 Roland McGrath <roland@hack.frob.com>
45341
45342 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
45343 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
45344 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
45345 * sysdeps/i386/configure: Regenerated.
45346 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
45347 * sysdeps/mach/configure: Regenerated.
45348 * sysdeps/mach/hurd/configure: Regenerated.
45349 * sysdeps/powerpc/configure: Regenerated.
45350 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45351 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45352 * sysdeps/s390/s390-32/configure: Regenerated.
45353 * sysdeps/s390/s390-64/configure: Regenerated.
45354 * sysdeps/sh/configure: Regenerated.
45355 * sysdeps/sparc/configure: Regenerated.
45356 * sysdeps/unix/sysv/linux/configure: Regenerated.
45357 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
45358 * sysdeps/x86_64/configure: Regenerated.
45359
45360 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
45361 defined. Don't check if MAP is NULL.
45362
45363 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45364
45365 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
45366 (_G_stat64): Likewise.
45367 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
45368 (_G_stat64): Likewise.
45369 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
45370 instead of struct _G_stat64.
45371 * libio/fileops.c (mmap_remap_check): Likewise.
45372 (decide_maybe_mmap): Likewise.
45373 (_IO_new_file_seekoff): Likewise.
45374 (_IO_file_stat): Likewise.
45375 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
45376 _G_off64_t.
45377 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
45378 instead of struct _G_stat64.
45379 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45380
45381 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
45382
45383 [BZ #14602]
45384 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45385 Replace with ...
45386 (CHECK_EOL): New macro.
45387 (two_way_short_needle): Check beginning of haystack for EOL. Use
45388 CHECK_EOL.
45389 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45390 Replace with CHECK_EOL.
45391 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45392 Replace with CHECK_EOL.
45393
45394 2012-10-08 Joseph Myers <joseph@codesourcery.com>
45395
45396 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
45397 type-generic.
45398 * math/libm-test.inc: Update comment listing what functions and
45399 macros are tested.
45400 (finite_test): New function.
45401 (isinf_test): Likewise.
45402 (isnan_test): Likewise.
45403 (fpclassify_test): Test subnormal input.
45404 (isfinite_test): Likewise.
45405 (isnormal_test): Likewise.
45406 (main): Call the new functions.
45407
45408 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
45409
45410 [BZ #14660]
45411 * Makerules (%.dynsym): Force C locale when running
45412 $(OBJDUMP) --dynamic-syms.
45413
45414 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
45415
45416 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
45417 <stdint.h>.
45418
45419 2012-10-06 David S. Miller <davem@davemloft.net>
45420
45421 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
45422 upper 32-bits of the length value in %o2 since we use branch-on-register
45423 tests which consider the entire 64-bit register.
45424
45425 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
45426
45427 * string/test-strstr.c (check2): Add a test for page boundary.
45428
45429 2012-10-05 David S. Miller <davem@davemloft.net>
45430
45431 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
45432 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
45433 file.
45434 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45435 sysdep_routines.
45436 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45437 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
45438 and bzero when HWCAP_SPARC_CRYPTO is present.
45439
45440 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
45441
45442 [BZ #14602]
45443 * string/test-strstr.c (check2): New function.
45444 (test_main): Call check2.
45445
45446 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
45447 and bug-strchr1.
45448 * string/bug-strcasestr1.c (do_test): Moved to ...
45449 * string/test-strcasestr.c (check1): Here. New function.
45450 (do_one_test): Break out result checking code into ...
45451 (check_result): This. New function.
45452 (do_one_test): Call check_result.
45453 (test_main): Call check1.
45454 * string/bug-strchr1.c (do_test): Moved to ...
45455 * string/test-strchr.c (check1): Here. New function.
45456 (do_one_test): Break out result checking code into ...
45457 (check_result): This. New function.
45458 (do_one_test): Call check_result.
45459 (test_main): Call check1.
45460 * string/bug-strstr1.c (main): Moved to ...
45461 * string/test-strstr.c (check1): Here. New function.
45462 (do_one_test): Break out result checking code into ...
45463 (check_result): This. New function.
45464 (do_one_test): Call check_result.
45465 (test_main): Call check1.
45466 * string/bug-strcasestr1.c: Removed.
45467 * string/bug-strchr1.c: Likewise.
45468 * string/bug-strstr1.c: Likewise.
45469
45470 * elf/Makefile (dl-routines): Add hwcaps.
45471 * elf/dl-support.c (_dl_important_hwcaps): Removed.
45472 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
45473 (_dl_important_hwcaps): Moved to ...
45474 * elf/dl-hwcaps.c: Here. New file.
45475 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
45476
45477 [BZ #14557]
45478 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
45479 if IS_IN_rtld isn't defined.
45480
45481 * elf/dl-support.c (_dl_sysinfo_map): New.
45482 Include "get-dynamic-info.h" and "setup-vdso.h".
45483 (_dl_non_dynamic_init): Call setup_vdso.
45484 * elf/dynamic-link.h: Don't include <assert.h>.
45485 (elf_get_dynamic_info): Moved to ...
45486 * elf/get-dynamic-info.h: Here. New file.
45487 * elf/dynamic-link.h: Include "get-dynamic-info.h".
45488 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
45489 * elf/setup-vdso.h: Here. New file.
45490 * elf/rtld.c: Include "setup-vdso.h".
45491 (dl_main): Call setup_vdso.
45492
45493 2012-10-05 Joseph Myers <joseph@codesourcery.com>
45494
45495 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
45496 creal in comment listing functions tested. List finite, isinf,
45497 isnan, isless, islessequal, isgreater, isgreaterequal,
45498 islessgreater, isunordered, lgamma_r and pow10 as functions and
45499 macros not tested. Mention which functions not tested are aliases
45500 for other functions. Fix typo. Note that signs of NaNs are not
45501 tested.
45502
45503 * scripts/config.guess: Update from config.git.
45504 * scripts/config.sub: Likewise.
45505
45506 2012-10-04 Roland McGrath <roland@hack.frob.com>
45507
45508 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
45509 * misc/madvise.c (madvise): Renamed to __madvise.
45510 Make madvise a weak alias.
45511 * include/sys/mman.h: Declare __madvise.
45512 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
45513 * sysdeps/unix/syscalls.list
45514 (madvise): Make __madvise the strong name, and madvise a weak alias.
45515 * sysdeps/unix/sysv/linux/syscalls.list
45516 (madvise, mmap): Remove redundant entries.
45517 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
45518 * malloc/malloc.c (mtrim): Likewise.
45519 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
45520
45521 2012-10-03 Roland McGrath <roland@hack.frob.com>
45522
45523 * sysdeps/mach/hurd/dl-cache.c: File removed.
45524 * config.h.in (USE_LDCONFIG): New #undef.
45525 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
45526 * configure: Regenerated.
45527 * elf/Makefile (dl-routines): Add dl-cache only under
45528 [$(use-ldconfig) = yes].
45529 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
45530 cache on [USE_LDCONFIG].
45531 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
45532 [USE_LDCONFIG].
45533 * elf/rtld.c (dl_main): Likewise.
45534
45535 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
45536
45537 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
45538 _SC_LEVEL4_CACHE_LINESIZE.
45539
45540 2012-10-03 Roland McGrath <roland@hack.frob.com>
45541
45542 * sysdeps/unix/bsd/confstr.h: File removed.
45543
45544 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
45545
45546 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
45547 sys/sdt-config.h.
45548
45549 2012-10-02 Roland McGrath <roland@hack.frob.com>
45550
45551 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
45552 Make 'mapoff' field ElfW(Off) rather than off_t.
45553
45554 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
45555
45556 * nscd/Makefile: Remove nscd-cflags and all its users.
45557 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
45558 (CFLAGS-nonlib): Add compiler flags for nscd modules.
45559
45560 [BZ #10631]
45561 * malloc.c (malloc_printerr): Clarify error message.
45562
45563 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
45564
45565 [BZ #14648]
45566 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45567 Set bit_FMA_Usable if FMA is supported.
45568 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
45569 macro.
45570 (bit_FMA4_Usable): Updated.
45571 (index_FMA_Usable): New macro.
45572 (CPUID_FMA): Likewise
45573 (HAS_FMA): Defined with bit_FMA_Usable.
45574
45575 2012-10-01 Roland McGrath <roland@hack.frob.com>
45576
45577 * bits/types.h (__swblk_t): Type removed.
45578 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
45579 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
45580 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45581 (__SWBLK_T_TYPE): Likewise.
45582 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45583 (__SWBLK_T_TYPE): Likewise.
45584 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45585 (__SWBLK_T_TYPE): Likewise.
45586 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45587 (__SWBLK_T_TYPE): Likewise.
45588
45589 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
45590 Honza Horak <hhorak@redhat.com>
45591
45592 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
45593 (xdr_mapname): Use YPMAXMAP as maxsize.
45594 (xdr_peername): Use YPMAXPEER as maxsize.
45595 (xdr_keydat): Use YPAXRECORD as maxsize.
45596 (xdr_valdat): Use YPMAXRECORD as maxsize.
45597
45598 2012-10-01 Roland McGrath <roland@hack.frob.com>
45599
45600 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
45601
45602 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
45603 * csu/init-first.c: ... here.
45604 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
45605 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
45606 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
45607 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
45608 * sysdeps/i386/init-first.c: File removed.
45609 * sysdeps/sh/init-first.c: File removed.
45610
45611 2012-10-01 Joseph Myers <joseph@codesourcery.com>
45612
45613 [BZ #14645]
45614 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
45615 if x * y might underflow to zero and z is zero.
45616 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45617 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45618 * math/libm-test.inc (min_subnorm_value): New variable.
45619 (fma_test): Add more tests.
45620 (fma_test_towardzero): Likewise.
45621 (fma_test_downward): Likewise
45622 (fma_test_upward): Likewise.
45623 (initialize): Set min_subnorm_value.
45624
45625 2012-09-29 Joseph Myers <joseph@codesourcery.com>
45626
45627 [BZ #14638]
45628 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
45629 0 + 0.
45630 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
45631 mode for addition resulting in exact zero.
45632 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
45633 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
45634 exact 0 + 0.
45635 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45636 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45637 * math/libm-test.inc (fma_test): Add more tests.
45638 (fma_test_towardzero): New function.
45639 (fma_test_downward): Likewise.
45640 (fma_test_upward): Likewise.
45641 (main): Call the new functions.
45642
45643 2012-09-28 David S. Miller <davem@davemloft.net>
45644
45645 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
45646
45647 2012-09-28 Roland McGrath <roland@hack.frob.com>
45648
45649 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
45650 instead of SIGALRM.
45651
45652 * sysdeps/gnu/_G_config.h: Moved to ...
45653 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
45654 * sysdeps/mach/hurd/_G_config.h: Moved to ...
45655 * sysdeps/generic/_G_config.h: ... here.
45656
45657 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
45658
45659 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
45660
45661 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
45662 Conditionalize target on [libnss_test1.so-version].
45663
45664 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
45665
45666 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
45667 (elfobjdir): Move out of conditionals.
45668
45669 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
45670 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
45671 (__nss_lookup_function): Conditionalize label remove_from_tree on
45672 [!DO_STATIC_NSS || SHARED], matching its only use.
45673
45674 2012-09-28 David S. Miller <davem@davemloft.net>
45675
45676 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
45677 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
45678 file.
45679 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45680 sysdep_routines.
45681 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45682 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
45683 when HWCAP_SPARC_CRYPTO is present.
45684
45685 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45686
45687 * io/tst-mknodat.c: Create a FIFO instead of a socket.
45688
45689 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
45690
45691 [BZ #6530]
45692 * stdio-common/vfprintf.c (process_string_arg): Revert
45693 2000-07-22 change.
45694
45695 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
45696
45697 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
45698 for testcase.
45699 * stdio-common/tst-sprintf.c: Include <locale.h>
45700 (main): Test sprintf's handling of incomplete multibyte
45701 characters.
45702
45703 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
45704
45705 * elf/dl-runtime.c (VERSYMIDX): Removed.
45706 * elf/dl-version.c (VERSYMIDX): Likewise.
45707 * elf/do-rel.h (VERSYMIDX): Likewise.
45708 (VALIDX): Likewise.
45709 * elf/dynamic-link.h (VERSYMIDX): Likewise.
45710 * elf/rtld.c (VALIDX): Likewise.
45711 (ADDRIDX): Likewise.
45712 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
45713 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
45714 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
45715 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
45716 (VALIDX): Likewise.
45717 (ADDRIDX): Likewise.
45718
45719 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45720
45721 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
45722
45723 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
45724
45725 [BZ #11438]
45726 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
45727 to global scope.
45728 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
45729 addresses are in the same scope as 192.0.2/24.
45730 * posix/gai.conf: Document new scope table defaults.
45731
45732 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45733
45734 [BZ #5298]
45735 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
45736 for ftell. Compute offsets from write pointers instead.
45737 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45738
45739 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45740
45741 [BZ #14543]
45742 * libio/Makefile (tests): New test case tst-fseek.
45743 * libio/tst-fseek.c: New test case to verify that fseek/ftell
45744 combination works in wide mode.
45745 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
45746 state when the external buffer state changes.
45747
45748 2012-09-27 David S. Miller <davem@davemloft.net>
45749
45750 [BZ #14376]
45751 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
45752 pass reloc->r_addend in as the 'high' argument to
45753 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
45754
45755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45756
45757 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45758
45759 * rt/tst-aio2.c: Include <pthread.h>.
45760 * rt/tst-aio3.c: Likewise.
45761
45762 2012-09-27 Steve Ellcey <sellcey@mips.com>
45763
45764 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
45765
45766 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
45767
45768 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
45769 contents on [SHARED].
45770
45771 2012-09-26 Marek Polacek <polacek@redhat.com>
45772
45773 [BZ #14530]
45774 [BZ #13741]
45775 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
45776 for C++ and GCC <4.3 as well as for non GCC compilers.
45777
45778 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
45779
45780 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45781
45782 2012-09-25 Roland McGrath <roland@hack.frob.com>
45783
45784 * Makefile.in (all, install): Declare with .PHONY.
45785 Reported by Michael Hope <michael.hope@linaro.org>.
45786
45787 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45788
45789 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
45790 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
45791 system header.
45792 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
45793 Likewise.
45794 (sydep_routines): Add the new and the internal functions.
45795 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
45796 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
45797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
45798 (GLIBC_2.17): Add the new function.
45799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45800 (GLIBC_2.17): Likewise.
45801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
45802 (GLIBC_2.17): Likewise.
45803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
45804 (GLIBC_2.17): Likewise.
45805 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
45806
45807 2012-09-25 Alan Modra <amodra@gmail.com>
45808
45809 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
45810 Add release barrier before setting once_control to say
45811 initialisation is done. Add hints on lwarx. Use macro in
45812 place of isync.
45813 (clear_once_control): Add release barrier.
45814
45815 2012-09-25 Joseph Myers <joseph@codesourcery.com>
45816
45817 [BZ #13629]
45818 * math/s_clog.c (__clog): Handle more values close to |z| = 1
45819 specially.
45820 * math/s_clog10.c (__clog10): Likewise.
45821 * math/s_clog10f.c (__clog10f): Likewise.
45822 * math/s_clog10l.c (__clog10l): Likewise.
45823 * math/s_clogf.c (__clogf): Likewise.
45824 * math/s_clogl.c (__clogl): Likewise.
45825 * math/Makefile (libm-calls): Add x2y2m1.
45826 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
45827 (__x2y2m1): Likewise.
45828 (__x2y2m1l): Likewise.
45829 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
45830 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
45831 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
45832 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45833 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
45834 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
45835 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
45836 * sysdeps/i386/fpu/libm-test-ulps: Update.
45837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45838
45839 [BZ #14621]
45840 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
45841 int as type of variable DEPTH.
45842 (glob): Use size_t instead of int as type of variables NEWCOUNT
45843 and OLD_PATHC.
45844
45845 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45846
45847 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45848 Add s_sincosf-sse2.
45849 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
45850 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
45851 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
45852 macros for using routine as __sincosf_ia32.
45853 Use macro for function declaration and weak_alias.
45854 * sysdeps/i386/fpu/libm-test-ulps: Update.
45855
45856 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
45857 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45858
45859 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
45860 subnormal argument.
45861 * math/s_cexpf.c (__cexpf): Likewise.
45862 * math/s_csinf.c (__csinf): Likewise.
45863 * math/s_csinhf.c (__csinhf): Likewise.
45864 * math/s_ctanf.c (__ctanf): Likewise.
45865 * math/s_ctanhf.c (__ctanhf): Likewise.
45866 * math/s_ccosh.c (__ccoshf): Likewise.
45867 * math/s_cexp.c (__cexpl): Likewise.
45868 * math/s_csin.c (__csin): Likewise.
45869 * math/s_csinh.c (__csinh): Likewise.
45870 * math/s_ctan.c (__ctan): Likewise.
45871 * math/s_ctanh.c (ctanh): Likewise.
45872 * math/s_ccoshl.c (__ccoshl): Likewise.
45873 * math/s_cexpl.c (__cexpl): Likewise.
45874 * math/s_csinl.c (__csinl): Likewise.
45875 * math/s_csinhl.c (__csinhl): Likewise.
45876 * math/s_ctanl.c (__ctanl): Likewise.
45877 * math/s_ctanhl.c (__ctanhl): Likewise.
45878
45879 2012-09-25 Joseph Myers <joseph@codesourcery.com>
45880
45881 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
45882 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
45883 (_IO_off_t): Define to __off_t, not _G_off_t.
45884 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
45885 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
45886 (_IO_wint_t): Define to wint_t, not _G_wint_t.
45887 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
45888 type of __dummy and __dummy2 fields.
45889 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
45890 (_G_ssize_t): Likewise.
45891 (_G_off_t): Likewise.
45892 (_G_pid_t): Likewise.
45893 (_G_uid_t): Likewise.
45894 (_G_wchar_t): Likewise.
45895 (_G_wint_t): Likewise.
45896 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
45897 (_G_ssize_t): Likewise.
45898 (_G_off_t): Likewise.
45899 (_G_pid_t): Likewise.
45900 (_G_uid_t): Likewise.
45901 (_G_wchar_t): Likewise.
45902 (_G_wint_t): Likewise.
45903 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
45904 (_G_ssize_t): Likewise.
45905 (_G_off_t): Likewise.
45906 (_G_pid_t): Likewise.
45907 (_G_uid_t): Likewise.
45908 (_G_wchar_t): Likewise.
45909 (_G_wint_t): Likewise.
45910
45911 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45912
45913 * malloc/arena.c: Include malloc-sysdep.h.
45914 (shrink_heap): Use check_may_shrink_heap to decide if madvise
45915 is sufficient to shrink the heap or an unmap is needed.
45916 * sysdeps/generic/malloc-sysdep.h: New file. Define
45917 new function check_may_shrink_heap.
45918 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
45919 new function check_may_shrink_heap.
45920
45921 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45922
45923 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
45924 comments.
45925
45926 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
45927
45928 * catgets/test-gencat.sh: Add "set -e".
45929 * elf/tst-pathopt.sh: Likewise.
45930 * grp/tst_fgetgrent.sh: Likewise.
45931 * iconvdata/run-iconv-test.sh: Likewise.
45932 * intl/tst-gettext.sh: Likewise.
45933 * intl/tst-gettext2.sh: Likewise.
45934 * intl/tst-gettext4.sh: Likewise.
45935 * intl/tst-gettext6.sh: Likewise.
45936 * intl/tst-translit.sh: Likewise.
45937 * io/ftwtest-sh: Likewise.
45938 * libio/test-freopen.sh: Likewise.
45939 * malloc/tst-mtrace.sh: Likewise.
45940 * posix/globtest.sh: Likewise.
45941 * posix/tst-getconf.sh: Likewise.
45942 * posix/wordexp-tst.sh: Likewise.
45943 * stdio-common/tst-printf.sh: Likewise.
45944 * stdio-common/tst-unbputc.sh: Likewise.
45945 * stdlib/tst-fmtmsg.sh: Likewise.
45946 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45947 * catgets/Makefile: Do not specify -e option when running
45948 testsuite shell scripts.
45949 * elf/Makefile: Likewise.
45950 * grp/Makefile: Likewise.
45951 * iconvdata/Makefile: Likewise.
45952 * intl/Makefile: Likewise.
45953 * io/Makefile: Likewise.
45954 * libio/Makefile: Likewise.
45955 * malloc/Makefile: Likewise.
45956 * posix/Makefile: Likewise.
45957 * stdio-common/Makefile: Likewise.
45958 * stdlib/Makefile: Likewise.
45959 * sysdeps/x86_64/Makefile: Likewise.
45960
45961 * io/ftwtest-sh: Add copyright header.
45962 * posix/globtest.sh: Likewise.
45963 * posix/tst-getconf.sh: Likewise.
45964 * posix/wordexp-tst.sh: Likewise.
45965 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45966
45967 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
45968
45969 [BZ #13679]
45970 * Makeconfig (+link): Defined as $(+link-static) if
45971 $(build-shared) isn't yes.
45972 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
45973 isn't yes.
45974 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
45975
45976 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
45977
45978 [BZ #14562]
45979 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
45980 new chunk size with MALLOC_ALIGN_MASK.
45981
45982 2012-09-24 Joseph Myers <joseph@codesourcery.com>
45983
45984 [BZ #5044]
45985 * stdio-common/printf_fphex.c: Include <stdbool.h> and
45986 <rounding-mode.h>.
45987 (__printf_fphex): Determine rounding using get_rounding_mode and
45988 round_away.
45989 * stdio-common/tst-printf-round.c (struct hex_test): New
45990 structure.
45991 (hex_tests): New variable.
45992 (test_hex_in_one_mode): New function.
45993 (do_test): Also run tests for hex float output.
45994
45995 2012-09-21 Joseph Myers <joseph@codesourcery.com>
45996
45997 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45998 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45999 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
46000 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
46001 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
46002 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
46003 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
46004 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
46005
46006 2012-09-20 Joseph Myers <joseph@codesourcery.com>
46007
46008 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
46009 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
46010 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
46011 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
46012
46013 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
46014
46015 [BZ #14579]
46016 * elf/rtld.c (dl_main): Limit the check for self loading to normal
46017 mode only.
46018 * elf/tst-rtld-load-self.sh: New test.
46019 * elf/Makefile: Run it.
46020
46021 2012-09-18 Joseph Myers <joseph@codesourcery.com>
46022
46023 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
46024 (tst-writev-ENV): Remove.
46025 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
46026
46027 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
46028
46029 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
46030
46031 2012-09-17 Joseph Myers <joseph@codesourcery.com>
46032
46033 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
46034 unconditional.
46035 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
46036 Likewise.
46037 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
46038 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
46039 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
46040 Likewise.
46041
46042 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
46043
46044 [BZ #14587]
46045 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
46046 * config.make.in (have-cpp-asm-debuginfo): Removed.
46047 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
46048 * configure: Regenerated.
46049
46050 2012-09-14 Joseph Myers <joseph@codesourcery.com>
46051
46052 [BZ #5044]
46053 * stdio-common/printf_fp.c: Include <stdbool.h> and
46054 <rounding-mode.h>.
46055 (___printf_fp): Determine rounding using get_rounding_mode and
46056 round_away.
46057 * stdio-common/tst-printf-round.c: New file.
46058 * stdio-common/Makefile (tests): Add tst-printf-round.
46059 (link-libm): New variable.
46060 ($(objpfx)tst-printf-round): Depend in $(link-libm).
46061
46062 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
46063
46064 [BZ #14576]
46065 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
46066 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
46067 Likewise.
46068 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
46069 Likewise.
46070
46071 2012-09-13 Joseph Myers <joseph@codesourcery.com>
46072
46073 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
46074 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46075 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46076 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46077
46078 2012-09-12 Joseph Myers <joseph@codesourcery.com>
46079
46080 [BZ #14518]
46081 * include/rounding-mode.h: New file.
46082 * sysdeps/generic/get-rounding-mode.h: Likewise.
46083 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
46084 * stdlib/strtod_l.c: Include <rounding-mode.h>.
46085 (MAX_VALUE): New macro.
46086 (MIN_VALUE): Likewise.
46087 (overflow_value): New function.
46088 (underflow_value): Likewise.
46089 (round_and_return): Use overflow_value and underflow_value to
46090 determine return values in overflow and underflow cases. Use
46091 round_away to determine rounding depending on rounding mode.
46092 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
46093 determine return values in overflow and underflow cases.
46094 * stdlib/tst-strtod-round.c: Include <fenv.h>.
46095 (struct test_results): New structure.
46096 (struct test): Use struct test_results to store expected results
46097 for all rounding modes.
46098 (TEST): Include expected results for all rounding modes.
46099 (test_in_one_mode): New function.
46100 (do_test): Use test_in_one_mode to compute and check results.
46101 Check results for all rounding modes.
46102 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
46103 $(link-libm).
46104
46105 2012-12-09 Allan McRae <allan@archlinux.org>
46106
46107 * sysdeps/i386/fpu/libm-test-ulps: Update
46108
46109 2012-09-11 Joseph Myers <joseph@codesourcery.com>
46110
46111 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
46112 (_G_int32_t): Likewise.
46113 (_G_uint16_t): Likewise.
46114 (_G_uint32_t): Likewise.
46115 (_G_HAVE_BOOL): Likewise.
46116 (_G_HAVE_ATEXIT): Likewise.
46117 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46118 (_G_HAVE_IO_FILE_OPEN): Likewise.
46119 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
46120 (_G_int32_t): Likewise.
46121 (_G_uint16_t): Likewise.
46122 (_G_uint32_t): Likewise.
46123 (_G_HAVE_BOOL): Likewise.
46124 (_G_HAVE_ATEXIT): Likewise.
46125 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46126 (_G_HAVE_IO_FILE_OPEN): Likewise.
46127 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
46128 (_G_int32_t): Likewise.
46129 (_G_uint16_t): Likewise.
46130 (_G_uint32_t): Likewise.
46131 (_G_HAVE_BOOL): Likewise.
46132 (_G_HAVE_ATEXIT): Likewise.
46133 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46134 (_G_HAVE_IO_FILE_OPEN): Likewise.
46135
46136 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
46137
46138 * csu/libc-tls.c: Update copyright years.
46139
46140 2012-09-10 Joseph Myers <joseph@codesourcery.com>
46141
46142 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
46143 [!_G_USING_THUNKS]: Remove conditional code.
46144 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
46145 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
46146
46147 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
46148 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
46149 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46150 (_G_VTABLE_LABEL_PREFIX): Likewise.
46151 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46152 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46153 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46154 (_G_VTABLE_LABEL_PREFIX): Likewise.
46155 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46156 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46157 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46158 (_G_VTABLE_LABEL_PREFIX): Likewise.
46159 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46160
46161 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
46162
46163 * libio/Makefile: Include ../Makeconfig before tests.
46164 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
46165 only if $(build-shared) is yes.
46166
46167 * iconv/gconv_db.c: Update copyright years.
46168
46169 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46170
46171 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
46172 unwind info if defined PIC. Fix special cases description.
46173 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
46174
46175 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
46176 DP_HI_MASK entry.
46177 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
46178
46179 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
46180
46181 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
46182
46183 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
46184 is NULL.
46185
46186 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
46187 (LDLIBS-tst-chk4): This.
46188 (LDFLAGS-tst-chk5): Renamed to ...
46189 (LDLIBS-tst-chk5): This.
46190 (LDFLAGS-tst-chk6): Renamed to ...
46191 (LDLIBS-tst-chk6): This.
46192 (LDFLAGS-tst-lfschk4): Renamed to ...
46193 (LDLIBS-tst-lfschk4): This.
46194 (LDFLAGS-tst-lfschk5): Renamed to ...
46195 (LDLIBS-tst-lfschk5): This.
46196 (LDFLAGS-tst-lfschk6): Renamed to ...
46197 (LDLIBS-tst-lfschk6): This.
46198
46199 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
46200 on $(common-objpfx)soversions.mk.
46201
46202 2012-09-07 Joseph Myers <joseph@codesourcery.com>
46203
46204 [BZ #10014]
46205 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
46206 example host name.
46207
46208 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
46209
46210 * malloc/arena.c (arena_get_retry): New function that gets
46211 another arena for the caller to try its request on.
46212 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
46213 current arena cannot fulfill the request.
46214 (__libc_memalign): Likewise.
46215 (__libc_memalign): Likewise.
46216 (__libc_pvalloc): Likewise.
46217 (__libc_calloc): Likewise.
46218
46219 2012-09-05 John Tobey <john.tobey@gmail.com>
46220
46221 [BZ #13542]
46222 * manual/arith.texi (Operations on Complex): Fix description
46223 of carg branch cut.
46224
46225 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46226
46227 [BZ #10014]
46228 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
46229 host name.
46230
46231 [BZ #10038]
46232 * manual/memory.texi (Memory): Make order of menu items match
46233 order of sections.
46234
46235 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46236
46237 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
46238 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
46239 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
46240
46241 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46242
46243 * csu/libc-tls.c (static_dtv): Renamed to ...
46244 (_dl_static_dtv): This. Make it global.
46245 (_dl_initial_dtv): Removed.
46246 (__libc_setup_tls): Updated.
46247 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
46248 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
46249 DL_INITIAL_DTV.
46250
46251 2012-09-06 Petr Machata <pmachata@redhat.com>
46252
46253 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
46254 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
46255 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
46256 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
46257
46258 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46259
46260 [BZ #14545]
46261 * csu/libc-tls.c (_dl_initial_dtv): New variable.
46262 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
46263 freeing dtv[-1].
46264
46265 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46266
46267 [BZ #14544]
46268 * Makeconfig (link-static-before-libc): Replace $(+prector)
46269 with $(+prectorT).
46270 (link-static-after-libc): Replace $(+postctor) with
46271 $(+postctorT).
46272 (link-bounded): Replace $(+prector)/$(+postctor) with
46273 $(+prectorT)/$(+postctorT).
46274 (+prectorT): New macro.
46275 (+postctorT): Likewise.
46276
46277 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46278
46279 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
46280 (round_str): Handle values above the maximum for IBM long double
46281 as inexact.
46282 * stdlib/tst-strtod-round.c (tests): Regenerated.
46283
46284 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46285
46286 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
46287 assembler flag.
46288 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
46289 zarch_nohighgprs around the zarch optimized routines.
46290 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
46291 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
46292 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
46293 for zarch.
46294
46295 2012-09-05 David S. Miller <davem@davemloft.net>
46296
46297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46298
46299 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
46300 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
46301 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
46302 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46303 entries.
46304
46305 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46306
46307 * malloc/arena.c: Fold copyright years.
46308 * malloc/mcheck.c, malloc/memusage.c: Likewise.
46309
46310 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46311
46312 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
46313
46314 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46315
46316 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
46317
46318 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46319
46320 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
46321 change internal state upon failure.
46322
46323 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46324
46325 * malloc/mcheck.c (mcheck_check_all): Fix typo.
46326 * malloc/memusage.c (mmap): Likewise.
46327 (mmap64, mremap): Likewise. Adjust name in comment.
46328
46329 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46330
46331 * libio/fileops.c: Fix typos in comments.
46332 * libio/oldfileops.c: Likewise.
46333 * libio/wfileops.c: Likewise.
46334
46335 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46336
46337 [BZ #1349]
46338 * malloc/Makefile (tests): Add tst-malloc-usable test case.
46339 (tst-malloc-usable-ENV): Set environment for test case.
46340 * malloc/hooks.c (malloc_check_get_size): New function to get
46341 requested size.
46342 * malloc/malloc.c (musable): Use malloc_check_get_size.
46343 * malloc/tst-malloc-usable.c: New test case.
46344
46345 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46346
46347 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
46348
46349 2012-09-05 Allan McRae <allan@archlinux.org>
46350
46351 [BZ #13966]
46352 * configure.in (CXX_SYSINCLUDES): Use compiler output to
46353 determine header location.
46354 * configure: Regenerated.
46355
46356 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46357
46358 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
46359 float format.
46360 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
46361 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
46362 format.
46363 (test): Regenerate.
46364
46365 2012-09-04 David S. Miller <davem@davemloft.net>
46366
46367 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
46368 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
46369 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
46370
46371 2012-09-04 Florian Weimer <fweimer@redhat.com>
46372
46373 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
46374 failures.
46375
46376 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
46377
46378 2012-09-04 Joseph Myers <joseph@codesourcery.com>
46379
46380 [BZ #9914]
46381 * libio/iogetdelim.c: Include <limits.h>.
46382 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
46383 + len + 1 would overflow.
46384
46385 2012-09-03 Andreas Jaeger <aj@suse.de>
46386
46387 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46388 * sysdeps/i386/fpu/libm-test-ulps: Update.
46389
46390 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46391
46392 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46393 Add s_sinf-sse2, s_conf-sse2.
46394
46395 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
46396 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
46397 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
46398 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
46399
46400 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
46401 for using routine as __sinf_ia32.
46402 Use macro for function declaration and weak_alias.
46403 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
46404 for using routine as __cosf_ia32.
46405 Use macro for function declaration and weak_alias.
46406
46407 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
46408 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
46409
46410 * sysdeps/x86_64/fpu/s_sinf.S: New file.
46411 * sysdeps/x86_64/fpu/s_cosf.S: New file.
46412 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46413
46414 * math/libm-test.inc (cos_test): Add more test cases.
46415 (sin_test): Likewise.
46416 (sincos_test): Likewise.
46417
46418 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46419
46420 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
46421 (IFUNC_RESOLVE): Make pointers to the specialized implementations
46422 hidden.
46423 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46424
46425 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
46426
46427 [BZ #14538]
46428 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
46429 first element of the GOT.
46430 (elf_machine_load_address): Return the difference between
46431 the runtime address of _DYNAMIC and elf_machine_dynamic ().
46432
46433 2012-09-01 Allan McRae <allan@archlinux.org>
46434
46435 [BZ #13412]
46436 * configure.in (AWK): Require gawk version 3.0 or later.
46437 * configure: Regenerated.
46438
46439 2012-09-01 Joseph Myers <joseph@codesourcery.com>
46440
46441 * sysdeps/unix/sysv/linux/kernel-features.h
46442 (__ASSUME_POSIX_CPU_TIMERS): Remove.
46443 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46444 [__NR_clock_getres]: Make code unconditional.
46445 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
46446 (clock_getcpuclockid): Remove code left unreachable by removal of
46447 conditionals.
46448 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
46449 code unconditional.
46450 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46451 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46452 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
46453 Make code unconditional.
46454 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46455 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46456 * sysdeps/unix/sysv/linux/clock_settime.c
46457 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
46458 conditional code.
46459 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
46460 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46461
46462 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
46463
46464 [BZ #14476]
46465 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
46466 scripts/test-installation.pl.
46467
46468 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
46469 and $ld_so_version if it is set.
46470
46471 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
46472
46473 [BZ #14516]
46474 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
46475 failure if reading from procfs failed.
46476 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
46477
46478 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46479
46480 * sysdeps/unix/sysv/linux/kernel-features.h
46481 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
46482 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46483 Remove conditional code.
46484 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46485 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
46486 Remove conditional code.
46487 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46488 * sysdeps/unix/sysv/linux/i386/fxstat.c
46489 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46490 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46491 * sysdeps/unix/sysv/linux/i386/fxstatat.c
46492 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46493 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46494 * sysdeps/unix/sysv/linux/i386/lxstat.c
46495 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46496 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46497 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
46498 Remove conditional code.
46499 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46500 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46501 Remove conditional code.
46502 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46503 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
46504 <kernel-features.h>.
46505 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
46506 Remove.
46507 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
46508 Remove conditional code.
46509 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46510 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
46511 Remove conditional.
46512
46513 2012-08-27 Mike Frysinger <vapier@gentoo.org>
46514
46515 [BZ #5400]
46516 * NEWS: Add fixed bug number.
46517
46518 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46519
46520 [BZ #14519]
46521 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
46522 underflowing exponent in case of negative sign.
46523 * stdlib/tst-strtod-round-data: Add more tests.
46524 * stdlib/tst-strtod-round.c (tests): Regenerated.
46525
46526 [BZ #3479]
46527 * stdlib/strtod_l.c (NDIG): Remove.
46528 (HEXNDIG): Likewise.
46529 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
46530 smallest representable value.
46531 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
46532 lie within an exact representation of 1/2 ulp of the result.
46533 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
46534 unconditionally.
46535 (TENS_P9_IDX): Define unconditionally.
46536 (TENS_P9_SIZE): Likewise.
46537 (TENS_P10_IDX): Likewise.
46538 (TENS_P10_SIZE): Likewise.
46539 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
46540 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
46541 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
46542 entries for 10^2^13 and 10^2^14.
46543 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
46544 (TENS_P13_IDX): Define.
46545 (TENS_P13_SIZE): Likewise.
46546 (TENS_P14_IDX): Likewise.
46547 (TENS_P14_SIZE): Likewise.
46548 (_fpioconst_pow10): Change array size to
46549 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
46550 unconditional.
46551 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
46552 1024]: Add entries for 10^2^13 and 10^2^14.
46553 [LAST_POW10 > _LAST_POW10]: Remove #error.
46554 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
46555 (_fpioconst_pow10): Change array size to
46556 FPIOCONST_POW10_ARRAY_SIZE.
46557 * stdlib/gen-fpioconst.c: New file.
46558 * stdlib/gen-tst-strtod-round.c: Likewise.
46559 * stdlib/tst-strtod-round-data: Likewise.
46560 * stdlib/tst-strtod-round.c: Likewise.
46561 * stdlib/Makefile (tests): Add tst-strtod-round.
46562
46563 [BZ #14459]
46564 * stdlib/strtod_l.c: Include <stdint.h>.
46565 (NDEBUG): Do not define.
46566 (round_and_return): Change EXPONENT parameter to type intmax_t.
46567 Rearrange calculations to avoid internal overflow possibilities.
46568 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
46569 Rearrange calculations to avoid internal overflow possibilities.
46570 Assert that number fits inside MPNSIZE limbs.
46571 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
46572 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
46573 calculations and add assertions to avoid internal overflow
46574 possibilities. Add casts to avoid signed/unsigned operations.
46575 * stdlib/tst-strtod-overflow.c: New file.
46576 * stdlib/Makefile (tests): Add tst-strtod-overflow.
46577
46578 2012-08-25 Marek Polacek <polacek@redhat.com>
46579
46580 * time/time.h: Fix some typos in comments.
46581
46582 2012-08-23 Roland McGrath <roland@hack.frob.com>
46583
46584 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
46585 * posix/tst-rfc3484-2.c: Likewise.
46586 * posix/tst-rfc3484-3.c: Likewise.
46587
46588 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
46589
46590 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
46591 (EF_ARM_ABI_FLOAT_HARD): Likewise.
46592
46593 2012-08-23 Joseph Myers <joseph@codesourcery.com>
46594
46595 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
46596 #include of fxstatat64.c.
46597
46598 2012-08-22 Roland McGrath <roland@hack.frob.com>
46599
46600 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
46601 * shadow/getspent_r.c: Likewise.
46602 * shadow/getspnam.c: Likewise.
46603 * shadow/getspnam_r.c: Likewise.
46604 * gshadow/getsgent.c: Likewise.
46605 * gshadow/getsgent_r.c: Likewise.
46606 * gshadow/getsgnam.c: Likewise.
46607 * gshadow/getsgnam_r.c: Likewise.
46608 * inet/getnetbyad.c: Likewise.
46609 * inet/getnetbyad_r.c: Likewise.
46610 * inet/getnetbynm.c: Likewise.
46611 * inet/getnetbynm_r.c: Likewise.
46612 * inet/getnetent.c: Likewise.
46613 * inet/getnetent_r.c: Likewise.
46614 * inet/getproto.c: Likewise.
46615 * inet/getproto_r.c: Likewise.
46616 * inet/getprtent.c: Likewise.
46617 * inet/getprtent_r.c: Likewise.
46618 * inet/getprtname.c: Likewise.
46619 * inet/getprtname_r.c: Likewise.
46620 * inet/getrpcbyname.c: Likewise.
46621 * inet/getrpcbyname_r.c: Likewise.
46622 * inet/getrpcbynumber.c: Likewise.
46623 * inet/getrpcbynumber_r.c: Likewise.
46624 * inet/getrpcent.c: Likewise.
46625 * inet/getrpcent_r.c: Likewise.
46626 * inet/getaliasent.c: Likewise.
46627 * inet/getaliasent_r.c: Likewise.
46628 * inet/getaliasname.c: Likewise.
46629 * inet/getaliasname_r.c: Likewise.
46630 * nscd/getgrgid_r.c: Likewise.
46631 * nscd/getgrnam_r.c: Likewise.
46632 * nscd/gethstbyad_r.c: Likewise.
46633 * nscd/gethstbynm3_r.c: Likewise.
46634 * nscd/getpwnam_r.c: Likewise.
46635 * nscd/getpwuid_r.c: Likewise.
46636 * nscd/getsrvbynm_r.c: Likewise.
46637 * nscd/getsrvbypt_r.c: Likewise.
46638 * nscd/gai.c: Likewise.
46639
46640 * configure.in (build_nscd): New substituted variable, set
46641 by --disable-build-nscd and defaults to $use_nscd.
46642 * configure: Regenerated.
46643 * config.make.in (build-nscd): New substituted variable.
46644 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
46645 Change conditional to require [$(build-nscd) = yes] as well.
46646 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
46647
46648 [BZ# 13696]
46649 * configure.in (use_nscd): New substituted variable, set by
46650 --disable-nscd. If enabled, define USE_NSCD.
46651 * configure: Regenerated.
46652 * config.h.in: Add USE_NSCD.
46653 * config.make.in (use-nscd): New substituted variable.
46654 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
46655 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
46656 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
46657 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
46658 (CFLAGS-getgrnam_r.c): Likewise.
46659 (CFLAGS-initgroups.c): Likewise.
46660 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
46661 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
46662 Variables removed.
46663 * inet/getnetgrent_r.c
46664 (nscd_setnetgrent): New function, broken out of ...
46665 (setnetgrent): ... here. Call it.
46666 (innetgr): Conditionalize nscd bits on [USE_NSCD].
46667 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
46668 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
46669 * nscd/Makefile (routines, aux): Move definitions after include of
46670 Makeconfig. Conditionalize on [$(use-nscd) != no].
46671 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
46672 Conditionalize on [USE_NSCD].
46673 (is_nscd, nscd_init_cb): Likewise.
46674 (nss_load_library): Conditionalize init callback on [USE_NSCD].
46675 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
46676 * nss/nss_db/db-init.c: Likewise.
46677 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
46678 [USE_NSCD].
46679 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
46680 (make_request): Use it.
46681 (cache_valid_p): New function.
46682 (__check_pf): Use it.
46683 * NEWS: Add item for --disable-nscd.
46684
46685 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
46686
46687 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
46688 to support sed >= 4.2.1-20-ga9bf076.
46689 * configure: Regenerated.
46690
46691 2012-08-22 Roland McGrath <roland@hack.frob.com>
46692
46693 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
46694 Conditionalize whole body on [IREL].
46695
46696 2012-08-22 Jeff Law <law@redhat.com>
46697
46698 [BZ #14505]
46699 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
46700 if the family is PF_UNSPEC.
46701
46702 2012-08-22 Mike Frysinger <vapier@gentoo.org>
46703
46704 * Makerules (lib-version): Rename from V.
46705 (install-lib-nosubdir): Change V to lib-version.
46706
46707 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
46708
46709 [BZ #14252]
46710 * powerpc32/power6/wcschr.c: New file.
46711 * powerpc32/power6/wcscpy.c: New file.
46712 * powerpc32/power6/wcsrchr.c: New file.
46713 * powerpc64/power6/wcschr.c: New file.
46714 * powerpc64/power6/wcscpy.c: New file.
46715 * powerpc64/power6/wcsrchr.c: New file.
46716
46717 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46718
46719 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
46720 (two_way_short_needle): Use it.
46721 * string/strstr.c (AVAILABLE1_USES_J): Define.
46722 * string/strcasestr.c: Likewise.
46723
46724 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
46725 array references.
46726 * string/strcasestr.c (TOLOWER): Make side-effect safe.
46727
46728 [BZ #11607]
46729 * NEWS: Add an entry.
46730 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
46731 define their defaults.
46732 (two_way_short_needle): Detect end-of-string on-the-fly.
46733 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
46734 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
46735 * string/bug-strcasestr1.c: New test.
46736 * string/Makefile: Run it.
46737
46738 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46739
46740 [BZ #11607]
46741 * string/str-two-way.h (two_way_short_needle): Optimize matching of
46742 the first character.
46743
46744 2012-08-21 Roland McGrath <roland@hack.frob.com>
46745
46746 * csu/elf-init.c (__libc_csu_irel): Function removed.
46747 * csu/libc-start.c (apply_irel): New function.
46748 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
46749
46750 2012-08-21 Joseph Myers <joseph@codesourcery.com>
46751
46752 * sysdeps/unix/sysv/linux/kernel-features.h
46753 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
46754 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46755 <kernel-features.h>.
46756 [__NR_fadvise64_64]: Make code unconditional.
46757 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
46758 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46759 !__NR_fadvise64_64)]: Likewise.
46760 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46761 !__NR_fadvise64_64))]: Likewise.
46762 [__NR_fadvise64]: Make code unconditional.
46763 [!__NR_fadvise64]: Remove conditional code.
46764 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
46765 <kernel-features.h>.
46766 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46767 unconditional.
46768 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46769 conditional code.
46770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
46771 not include <kernel-features.h>.
46772 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46773 unconditional.
46774 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46775 conditional code.
46776 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
46777 include <kernel-features.h>.
46778 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46779 unconditional.
46780 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46781 conditional code.
46782
46783 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46784
46785 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
46786 slight instruction rearrangements per scrollpipe analysis.
46787 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46788
46789 2012-08-20 Roland McGrath <roland@hack.frob.com>
46790
46791 * manual/syslog.texi (syslog; vsyslog, closelog):
46792 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
46793 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
46794
46795 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
46796 DSOCAPS to match condition on defining it.
46797
46798 2012-08-20 Joseph Myers <joseph@codesourcery.com>
46799
46800 * sysdeps/unix/sysv/linux/kernel-features.h
46801 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
46802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
46803 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46804 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
46806 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46807 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
46809 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46810 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46811
46812 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
46813 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
46814
46815 * sysdeps/unix/sysv/linux/kernel-features.h
46816 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
46817 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
46818 unconditional.
46819 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46820 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
46821 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46822 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46823 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
46824 Make code unconditional.
46825 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46826 (__mmap64) [!__NR_mmap2]: Likewise.
46827 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
46828 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46829 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46830 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
46831 [__NR_mmap2]: Make code unconditional.
46832 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46833 (__mmap64) [!__NR_mmap2]: Likewise.
46834
46835 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46836
46837 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
46838
46839 2012-08-18 Andreas Jaeger <aj@suse.de>
46840
46841 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
46842
46843 2012-08-18 Mike Frysinger <vapier@gentoo.org>
46844
46845 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
46846 * include/unistd.h (__have_sock_cloexec): Likewise.
46847 (__have_pipe2): Likewise.
46848 (__have_dup3): Likewise.
46849
46850 2012-08-18 Mike Frysinger <vapier@gentoo.org>
46851
46852 [BZ #9685]
46853 * include/unistd.h (__have_pipe2): Change define into an extern int.
46854 (__have_dup3): Likewise.
46855 * socket/have_sock_cloexec.c: Include fcntl.h.
46856 (__have_pipe2): New variable.
46857 (__have_dup3): Likewise.
46858
46859 2012-08-17 Mike Frysinger <vapier@gentoo.org>
46860
46861 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
46862
46863 2012-08-17 Marek Polacek <polacek@redhat.com>
46864
46865 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
46866 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
46867
46868 2012-08-17 Roland McGrath <roland@hack.frob.com>
46869
46870 * configure.in: Add AC_SUBST for sysheaders.
46871 * configure: Regenerated.
46872 * config.make.in (sysheaders): New substituted variable.
46873
46874 * sysdeps/unix/mkfifo.c: Moved ...
46875 * sysdeps/posix/mkfifo.c: ... here.
46876 * sysdeps/unix/mkfifoat.c: Moved ...
46877 * sysdeps/posix/mkfifoat.c: ... here.
46878
46879 * sysdeps/unix/utime.c: Moved ...
46880 * sysdeps/posix/utime.c: ... here.
46881
46882 * sysdeps/unix/time.c: Moved ...
46883 * sysdeps/posix/time.c: ... here.
46884 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
46885 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
46886
46887 * sysdeps/unix/nice.c: Moved ...
46888 * sysdeps/posix/nice.c: ... here.
46889
46890 * sysdeps/unix/alarm.c: Moved ...
46891 * sysdeps/posix/alarm.c: ... here.
46892
46893 * intl/Makefile ($(codeset_mo)): Depend on the input file.
46894
46895 2012-08-17 Jeff Law <law@redhat.com>
46896
46897 * intl/Makefile (codeset_mo): New variable.
46898 ($(codeset_mo)): New target.
46899 (tst-codeset.out): Depend on that. Remove explicit rule.
46900 (tst-gettext3.out, tst-gettext5.out): Likewise.
46901 (LOCPATH-ENV, tst-codeset-ENV): New variables.
46902 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
46903 * intl/tst-codeset.sh: Remove.
46904 * intl/tst-gettext3.sh: Likewise.
46905 * intl/tst-gettext5.sh: Likewise.
46906
46907 2012-08-17 Roland McGrath <roland@hack.frob.com>
46908
46909 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
46910 * sysdeps/unix/syscalls.list: ... here.
46911
46912 * sysdeps/posix/getaddrinfo.c
46913 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
46914 (gaiconf_init, gaiconf_reload): Use them.
46915 [!_STATBUF_ST_NSEC]
46916 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
46917 Define using time_t rather than struct timespec.
46918
46919 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
46920 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
46921 Macros removed.
46922 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
46923 [!NO_THREADS].
46924 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
46925 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
46926 Likewise.
46927
46928 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
46929 __libc_cleanup_push argument.
46930
46931 * bits/param.h: New file.
46932 * misc/sys/param.h: New file.
46933 * include/sys/param.h: New file.
46934 * misc/Makefile (headers): Add bits/param.h.
46935 * sysdeps/generic/sys/param.h: File removed.
46936 * sysdeps/unix/sysv/linux/bits/param.h: New file.
46937 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
46938 * sysdeps/mach/hurd/bits/param.h: New file.
46939 * sysdeps/mach/hurd/sys/param.h: File removed.
46940
46941 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
46942 last change.
46943
46944 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
46945 [_IO_MTSAFE_IO].
46946 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
46947 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
46948 New macros.
46949
46950 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
46951 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
46952 rather than -D_IO_MTSAFE_IO conditionally.
46953 * stdio-common/Makefile (CPPFLAGS): Likewise.
46954 * wcsmbs/Makefile (CPPFLAGS): Likewise.
46955 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
46956 Use $(libio-mtsafe).
46957 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
46958 of -D_IO_MTSAFE_IO.
46959 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
46960 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
46961 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
46962 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
46963 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
46964 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
46965 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
46966 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
46967 (CFLAGS-fread_u_chk.c): Likewise.
46968 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
46969 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
46970 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
46971 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
46972 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
46973 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
46974 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
46975 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
46976 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
46977
46978 * libio/Makefile: Test [$(libc-reentrant) = yes]
46979 instead of [$(filter %REENTRANT, $(defines)) nonempty].
46980
46981 * Makeconfig
46982 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
46983 * sysdeps/pthread/configure: File removed.
46984 * sysdeps/pthread/Makeconfig: New file.
46985 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
46986 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
46987
46988 2012-08-16 Gary Benson <gbenson@redhat.com>
46989
46990 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
46991 unmapping the first object in a namespace.
46992
46993 2012-08-16 Roland McGrath <roland@hack.frob.com>
46994
46995 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
46996 (__internal_setnetgrent): ... this. Add internal_function to
46997 definition. Add libc_hidden_def.
46998 (setnetgrent): Update caller.
46999 (internal_endnetgrent): Renamed to ...
47000 (__internal_endnetgrent): ... this. Add internal_function to
47001 definition. Add libc_hidden_def.
47002 (endnetgrent): Update caller.
47003 (internal_getnetgrent_r): Renamed to ...
47004 (__internal_getnetgrent_r): ... this. Add internal_function to
47005 definition. Add libc_hidden_def.
47006 (__getnetgrent_r): Update caller.
47007 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
47008
47009 2012-08-16 Joseph Myers <joseph@codesourcery.com>
47010
47011 * stdlib/longlong.h: Update from GCC.
47012
47013 2012-08-16 Roland McGrath <roland@hack.frob.com>
47014
47015 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
47016 on _QL, which is set by umul_ppmm but never used.
47017 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
47018 variables, which are set by GMP macros but never used.
47019 * stdio-common/_itowa.c (_itowa): Likewise.
47020 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
47021 * stdlib/mod_1.c (mpn_mod_1): Likewise.
47022
47023 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
47024
47025 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
47026 struct La_sh_regs is not constant.
47027 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
47028 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
47029 and struct La_sparc64_regs are not constant.
47030
47031 2012-08-16 Joseph Myers <joseph@codesourcery.com>
47032
47033 * sysdeps/unix/sysv/linux/kernel-features.h
47034 (__ASSUME_POSIX_TIMERS): Remove.
47035 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47036 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47037 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
47038 Make code unconditional.
47039 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47040 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
47041 Make code unconditional.
47042 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47043 * sysdeps/unix/sysv/linux/clock_nanosleep.c
47044 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
47045 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47046 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
47047 Make code unconditional.
47048 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47049 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
47050 (__libc_missing_posix_timers): Remove.
47051
47052 2012-08-15 Roland McGrath <roland@hack.frob.com>
47053
47054 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
47055 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
47056
47057 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
47058
47059 * elf/dl-sym.c: Include <stdlib.h>.
47060
47061 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
47062 constants, which avoids warnings in 32-bit builds.
47063
47064 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
47065 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
47066
47067 * misc/lseek.c: File moved to ...
47068 * io/lseek.c: ... here.
47069
47070 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
47071
47072 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
47073 shifting LEN more than 31 bits at once.
47074
47075 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47076
47077 [BZ #14195]
47078 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
47079 segmentation fault for a case of two empty input strings.
47080 * string/test-strncasecmp.c (check1): Renamed to...
47081 (bz12205): ...this.
47082 (bz14195): Add new testcase for two empty input strings and N > 0.
47083 (test_main): Call new testcase, adapt for renamed function.
47084
47085 2012-08-15 Andreas Jaeger <aj@suse.de>
47086
47087 [BZ #14090]
47088 * crypt/md5test2.c: New test, based on test supplied by Serge
47089 Belyshev <belyshev@depni.sinp.msu.ru>.
47090 * crypt/Makefile (xtests): Add md5test-giant..
47091 * crypt/Makefile ($(objpfx)md5test-giant): Add.
47092
47093 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
47094
47095 [BZ #14090]
47096 * crypt/md5.c (md5_process_block): Don't assume the buffer
47097 length is less than 2**32.
47098 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
47099 length is less than 2**64.
47100
47101 2012-08-15 Roland McGrath <roland@hack.frob.com>
47102
47103 * string/str-two-way.h: Include <sys/param.h>.
47104 (MAX): Macro removed.
47105
47106 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
47107 Move #define and #undef of memmove to just before and after
47108 including <string.h>.
47109
47110 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
47111 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
47112 and after including <string.h>. Move declarations of
47113 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
47114 to before #include "string/memmove.c".
47115
47116 * include/dirent.h: Declare __getdirentries.
47117
47118 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
47119 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
47120
47121 2012-08-14 Mike Frysinger <vapier@gentoo.org>
47122
47123 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
47124 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
47125 * sysdeps/i386/configure: Regenerated.
47126 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
47127 STABS_CURRENT_FILE, and STABS_FUN.
47128 (END): Remove call to STABS_FUN_END.
47129 (STABS_CURRENT_FILE1): Delete.
47130 (STABS_CURRENT_FILE): Likewise.
47131 (STABS_FUN): Likewise.
47132 (STABS_FUN_END): Likewise.
47133 (STABS_FUN2): Likewise.
47134 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
47135 * sysdeps/x86_64/configure: Regenerated.
47136
47137 2012-08-14 Roland McGrath <roland@hack.frob.com>
47138
47139 * elf/dl-open.c: Include <atomic.h>.
47140 * elf/dl-lookup.c: Likewise.
47141
47142 2012-08-14 Joseph Myers <joseph@codesourcery.com>
47143
47144 * sysdeps/unix/sysv/linux/kernel-features.h
47145 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
47146 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
47147 unconditionally.
47148 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
47149 unconditionally.
47150 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
47151 condition on __ASSUME_CLONE_THREAD_FLAGS.
47152
47153 2012-08-14 Andreas Jaeger <aj@suse.de>
47154
47155 * sysdeps/i386/fpu/libm-test-ulps: Update.
47156
47157 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
47158
47159 * include/atomic.h (atomic_exchange_and_add): Split into ...
47160 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
47161 New atomic macros.
47162
47163 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
47164
47165 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47166
47167 2012-08-13 Jeff Law <law@redhat.com>
47168
47169 * manual/stdio.texi (snprintf): Clarify handling of the trailing
47170 null byte in the output string.
47171
47172 2012-08-10 Joseph Myers <joseph@codesourcery.com>
47173
47174 * sysdeps/unix/sysv/linux/kernel-features.h
47175 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
47176 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
47177 (__ASSUME_ARG_MAX_STACK_BASED): Define.
47178 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
47179 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
47180 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
47181 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
47182
47183 2012-08-09 Jeff Law <law@redhat.com>
47184
47185 [BZ #13939]
47186 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
47187 When avoid_arena is set, don't retry in the that arena. Pick the
47188 next one, whatever it might be.
47189 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
47190 (arena_lock): Pass in new parameter to arena_get2.
47191 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
47192 arena_get2.
47193 (__libc_malloc): Unify retrying after main arena failure with
47194 __libc_memalign version.
47195 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
47196
47197 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
47198
47199 [BZ #14166]
47200 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
47201 to __redirect_strstr.
47202 (__strstr_sse42): Use typeof __redirect_strstr.
47203 (__strstr_ia32): Likewise.
47204 (__libc_strstr): New prototype.
47205 (strstr): Renamed to ...
47206 (__libc_strstr): This.
47207 (strstr): New strong alias of __libc_strstr.
47208 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
47209 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
47210 __redirect_time.
47211 Include <time.h>.
47212 (__libc_time): New prototype.
47213 (time_ifunc): Replace time with __libc_time.
47214 (time): New strong alias and hidden definition of __libc_time.
47215 (__GI_time): Remove strong alias.
47216 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
47217 Include <stddef.h>.
47218 (memmove): Redefined to __redirect_memmove.
47219 (__memmove_sse2): Use typeof __redirect_memmove.
47220 (__memmove_ssse3): Likewise.
47221 (__memmove_ssse3_back): Likewise.
47222 (__libc_memmove): New prototype.
47223 (memmove): Renamed to ...
47224 (__libc_memmove): This.
47225 (memmove): New strong alias of __libc_memmove.
47226
47227 2012-08-08 Mark Salter <msalter@redhat.com>
47228
47229 * elf/elf.h
47230 (R_MN10300_TLS_GD): Define.
47231 (R_MN10300_TLS_LD): Likewise.
47232 (R_MN10300_TLS_LDO): Likewise.
47233 (R_MN10300_TLS_GOTIE): Likewise.
47234 (R_MN10300_TLS_IE): Likewise.
47235 (R_MN10300_TLS_LE): Likewise.
47236 (R_MN10300_TLS_DTPMOD): Likewise.
47237 (R_MN10300_TLS_DTPOFF): Likewise.
47238 (R_MN10300_TLS_TPOFF): Likewise.
47239 (R_MN10300_SYM_DIFF): Likewise.
47240 (R_MN10300_ALIGN): Likewise.
47241 (R_MN10300_NUM): Update.
47242
47243 2012-08-08 Joseph Myers <joseph@codesourcery.com>
47244
47245 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
47246 Remove.
47247
47248 2012-08-08 Roland McGrath <roland@hack.frob.com>
47249
47250 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
47251
47252 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
47253 sysdeps/unix -> sysdeps/posix move.
47254 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47255
47256 2012-08-07 Allan McRae <allan@archlinux.org>
47257
47258 [BZ #14303]
47259 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
47260 (SUNOS_CPP): Likewise.
47261 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
47262 not found.
47263 (open_input): Call CPP using execvp.
47264
47265 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47266
47267 * sysdeps/unix/sysv/linux/kernel-features.h
47268 (__ASSUME_PROT_GROWSUPDOWN): Remove.
47269 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47270 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47271 (__ASSUME_WAITID_SYSCALL): Likewise.
47272 * sysdeps/unix/sysv/linux/dl-execstack.c
47273 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
47274 code unconditional.
47275 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
47276 conditional code.
47277 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
47278 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
47279 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
47280 code.
47281 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
47282 unconditional.
47283 [__ASSUME_WAITID_SYSCALL]: Likewise.
47284 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
47285
47286 2012-08-07 Roland McGrath <roland@hack.frob.com>
47287
47288 * sysdeps/unix/closedir.c: Renamed to ...
47289 * sysdeps/posix/closedir.c: ... here.
47290 * sysdeps/unix/dirfd.c: Renamed to ...
47291 * sysdeps/posix/dirfd.c: ... here.
47292 * sysdeps/unix/dirstream.h: Renamed to ...
47293 * sysdeps/posix/dirstream.h: ... here.
47294 * sysdeps/unix/fdopendir.c: Renamed to ...
47295 * sysdeps/posix/fdopendir.c: ... here.
47296 * sysdeps/unix/opendir.c: Renamed to ...
47297 * sysdeps/posix/opendir.c: ... here.
47298 * sysdeps/unix/readdir.c: Renamed to ...
47299 * sysdeps/posix/readdir.c: ... here.
47300 * sysdeps/unix/readdir_r.c: Renamed to ...
47301 * sysdeps/posix/readdir_r.c: ... here.
47302 * sysdeps/unix/rewinddir.c: Renamed to ...
47303 * sysdeps/posix/rewinddir.c: ... here.
47304 * sysdeps/unix/seekdir.c: Renamed to ...
47305 * sysdeps/posix/seekdir.c: ... here.
47306 * sysdeps/unix/telldir.c: Renamed to ...
47307 * sysdeps/posix/telldir.c: ... here.
47308 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
47309 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
47310 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
47311 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
47312
47313 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
47314 * bits/fcntl.h: ... here.
47315
47316 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
47317 not 0.
47318 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
47319 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
47320 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
47321 (struct flock): Move l_start, l_len to the beginning.
47322 Use __pid_t for l_pid.
47323 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
47324 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
47325 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
47326 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
47327 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
47328 [__USE_LARGEFILE64] (struct flock64): New type.
47329 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
47330
47331 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
47332 * bits/dirent.h: ... here.
47333
47334 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
47335 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
47336
47337 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47338
47339 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47340 Change from 2.6.0 to 2.6.16.
47341 * sysdeps/unix/sysv/linux/configure: Regenerated.
47342 * sysdeps/unix/sysv/linux/kernel-features.h
47343 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
47344 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
47345 version.
47346 (__ASSUME_UTIMES): Likewise.
47347 (__ASSUME_CLONE_STOPPED): Remove.
47348 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
47349 architectures, not kernel version.
47350 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
47351 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47352 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47353 (__ASSUME_WAITID_SYSCALL): Likewise.
47354 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
47355 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
47356 * README: State 2.6.16 as minimum Linux kernel version. Do not
47357 refer to older versions.
47358
47359 2012-08-06 Roland McGrath <roland@hack.frob.com>
47360
47361 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
47362 Define alphasort64 as an alias.
47363 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
47364 Define versionsort64 as an alias.
47365 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
47366 Define scandir64 as an alias.
47367 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
47368 Define scandirat64 as an alias.
47369 * dirent/alphasort64.c (alphasort64):
47370 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
47371 * dirent/versionsort64.c: Likewise.
47372 * dirent/scandir64.c: Likewise.
47373 * dirent/scandirat64.c: Likewise.
47374 * sysdeps/wordsize-64/alphasort.c: File removed.
47375 * sysdeps/wordsize-64/alphasort64.c: File removed.
47376 * sysdeps/wordsize-64/scandir.c: File removed.
47377 * sysdeps/wordsize-64/scandir64.c: File removed.
47378 * sysdeps/wordsize-64/scandirat.c: File removed.
47379 * sysdeps/wordsize-64/scandirat64.c: File removed.
47380 * sysdeps/wordsize-64/versionsort.c: File removed.
47381 * sysdeps/wordsize-64/versionsort64.c: File removed.
47382 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
47383 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
47384 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
47385 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
47386 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
47387 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
47388 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
47389 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
47390
47391 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
47392 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47393 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
47394 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47395 [defined __arch64__ || defined __sparcv9]
47396 (__INO_T_MATCHES_INO64_T): New macro.
47397 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47398 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
47399 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
47400 * sysdeps/unix/sysv/linux/bits/dirent.h
47401 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
47402 (_DIRENT_MATCHES_DIRENT64): New macro.
47403
47404 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
47405 Define lockf64 as an alias.
47406 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
47407 Define fseeko64 as an alias.
47408 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
47409 Define ftello64 as an alias.
47410 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
47411 Define _IO_fgetpos64 and fgetpos64 as aliases.
47412 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
47413 Define _IO_fsetpos64 and fsetpos64 as aliases.
47414 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
47415 Conditionalize body on this.
47416 * libio/fseeko64.c: Likewise.
47417 * libio/ftello64.c: Likewise.
47418 * libio/iofgetpos64.c: Likewise.
47419 * libio/iofsetpos64.c: Likewise.
47420 * sysdeps/wordsize-64/lockf.c: File removed.
47421 * sysdeps/wordsize-64/lockf64.c: File removed.
47422 * sysdeps/wordsize-64/fseeko.c: File removed.
47423 * sysdeps/wordsize-64/fseeko64.c: File removed.
47424 * sysdeps/wordsize-64/ftello.c: File removed.
47425 * sysdeps/wordsize-64/ftello64.c: File removed.
47426 * sysdeps/wordsize-64/iofgetpos.c: File removed.
47427 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
47428 * sysdeps/wordsize-64/iofsetpos.c: File removed.
47429 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
47430 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
47431 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
47432 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
47433 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
47434 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
47435 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
47436 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
47437 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
47438 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
47439 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
47440
47441 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47442 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47443 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
47444 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47445 [defined __arch64__ || defined __sparcv9]
47446 (__OFF_T_MATCHES_OFF64_T): New macro.
47447 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47448 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47449 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47450 (__OFF_T_MATCHES_OFF64_T): New macro.
47451
47452 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47453
47454 * stdlib/secure-getenv.c (__secure_getenv): Replace
47455 GLIBC_2_16 with GLIBC_2_17.
47456
47457 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47458
47459 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
47460 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47461
47462 2012-08-03 David S. Miller <davem@davemloft.net>
47463
47464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47465
47466 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47467
47468 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
47469 Remove.
47470 (__ASSUME_CORRECT_SI_PID): Likewise.
47471 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
47472 (__ASSUME_TMPFS_NAME): Likewise.
47473 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
47474 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
47475 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
47476 (HAVE_AUX_SECURE): Make definition unconditional.
47477 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
47478 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
47479
47480 2012-08-03 Roland McGrath <roland@hack.frob.com>
47481
47482 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
47483 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
47484 * sysdeps/mach/hurd/eloop-threshold.h: New file.
47485 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47486 __eloop_threshold instead of SYMLOOP_MAX.
47487
47488 * sysdeps/generic/eloop-threshold.h: New file.
47489 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
47490 of MAXSYMLINKS.
47491 * elf/chroot_canon.c (chroot_canon): Likewise.
47492
47493 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47494
47495 [BZ #13717]
47496 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47497 Change to 2.6.0 everywhere.
47498 * sysdeps/unix/sysv/linux/configure: Regenerated.
47499 * sysdeps/unix/sysv/linux/kernel-features.h
47500 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
47501 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
47502 kernel versions.
47503 (__ASSUME_POSIX_TIMERS): Define unconditionally.
47504 (__ASSUME_FUTEX_REQUEUE): Remove.
47505 (__ASSUME_STATFS64): Define unconditionally.
47506 (__ASSUME_AT_SECURE): Likewise.
47507 (__ASSUME_CORRECT_SI_PID): Likewise.
47508 (__ASSUME_TGKILL): Define without depending on kernel version for
47509 i386.
47510 (__ASSUME_UTIMES): Likewise.
47511 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
47512 kernel version.
47513 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
47514 (__ASSUME_TMPFS_NAME): Likewise.
47515 * README: Update reference to Linux kernel versions.
47516
47517 2012-08-02 Marek Polacek <polacek@redhat.com>
47518
47519 [BZ# 14150]
47520 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
47521 libc_cv_asm_type_prefix with %.
47522 * configure: Regenerated.
47523 * include/libc-symbols.h: Remove comment about
47524 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47525 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
47526 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
47527 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
47528 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
47529 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47530 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
47531 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
47532 * elf/tst-unique2mod1.c: Likewise.
47533 * elf/tst-unique1mod2.c: Likewise.
47534 * elf/tst-unique1mod1.c: Likewise.
47535 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
47536 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
47537 Replace ASM_TYPE_DIRECTIVE with .type.
47538 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47539 * sysdeps/i386/sysdep.h: Likewise.
47540 * sysdeps/x86_64/sysdep.h: Likewise.
47541 * sysdeps/sh/sysdep.h: Likewise.
47542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47543 Do not define ASM_TYPE_DIRECTIVE.
47544 * sysdeps/powerpc/sysdep.h: Likewise.
47545 * sysdeps/powerpc/powerpc32/sysdep.h:
47546 Replace ASM_TYPE_DIRECTIVE with .type.
47547 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47548 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47549 * sysdeps/i386/fpu/e_powf.S: Likewise.
47550 * sysdeps/i386/fpu/e_expl.S: Likewise.
47551 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47552 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47553 * sysdeps/i386/fpu/e_pow.S: Likewise.
47554 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47555 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47556 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47557 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47558 * sysdeps/i386/fpu/e_log2.S: Likewise.
47559 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47560 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47561 * sysdeps/i386/fpu/e_powl.S: Likewise.
47562 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47563 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47564 * sysdeps/i386/fpu/e_logl.S: Likewise.
47565 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47566 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47567 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47568 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47569 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47570 * sysdeps/i386/fpu/e_log.S: Likewise.
47571 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47572 * sysdeps/i386/fpu/e_logf.S: Likewise.
47573 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47574 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47575 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47576 * sysdeps/i386/fpu/e_log10.S: Likewise.
47577 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47578 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47579 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47580 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47581 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47582 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
47583 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47584 * sysdeps/i386/i686/strtok.S: Likewise.
47585 * sysdeps/i386/i386-mcount.S: Likewise.
47586 * sysdeps/i386/strtok.S: Likewise.
47587 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
47588 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47589 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47590 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47591 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47592 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47593 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47594 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47595 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47596 * sysdeps/x86_64/_mcount.S: Likewise.
47597 * sysdeps/x86_64/strtok.S: Likewise.
47598 * sysdeps/sh/_mcount.S: Likewise.
47599
47600 2012-08-01 Roland McGrath <roland@hack.frob.com>
47601
47602 * libio/iofopen.c: Include <fcntl.h>.
47603 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
47604 (_IO_fopen64, fopen64): Define as aliases.
47605 * libio/iofopen64.c: Include <fcntl.h>.
47606 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
47607 Conditionalize body on this.
47608 * sysdeps/wordsize-64/iofopen.c: File removed.
47609 * sysdeps/wordsize-64/iofopen64.c: File removed.
47610
47611 2012-08-01 Marek Polacek <polacek@redhat.com>
47612
47613 * libc/Makeconfig: Use elf in place of binfmt-subdir.
47614 Use dlfcn directly instead of a variable.
47615 (binfmt-subdir): Do not define.
47616 (dlfcn): Likewise.
47617
47618 2012-08-01 Joseph Myers <joseph@codesourcery.com>
47619
47620 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
47621 Remove all definitions.
47622 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
47623 <kernel-features.h>.
47624 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47625 (miss_F_GETOWN_EX): Remove all definitions.
47626 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
47627 macro definition.
47628 [!__ASSUME_FCNTL64]: Remove conditional code.
47629 [__ASSUME_FCNTL64]: Make code unconditional.
47630 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
47631 <kernel-features.h>.
47632 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47633 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
47634 (lockf64) [__NR_fcntl64]: Make code unconditional.
47635 (lockf64) [__ASSUME_FCNTL64]: Likewise.
47636
47637 * sysdeps/unix/sysv/linux/kernel-features.h
47638 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
47639 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
47640 Make code unconditional.
47641 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47642 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
47644 [__NR_vfork]: Make code unconditional.
47645 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47646 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
47648 [__NR_vfork]: Make code unconditional.
47649 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47650 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47651
47652 2012-08-01 Roland McGrath <roland@hack.frob.com>
47653
47654 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
47655 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
47656
47657 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47658 Define mkstemp64 as an alias.
47659 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47660 Define mkstemps64 as an alias.
47661 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47662 Define mkostemp64 as an alias.
47663 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47664 Define mkostemps64 as an alias.
47665 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
47666 Conditionalize body on this.
47667 * misc/mkostemp64.c: Likewise.
47668 * misc/mkostemps64.c: Likewise.
47669 * misc/mkstemps64.c: Likewise.
47670 * sysdeps/wordsize-64/mkstemp64.c: File removed.
47671 * sysdeps/wordsize-64/mkostemp64.c: File removed.
47672 * sysdeps/wordsize-64/mkostemp.c: File removed.
47673 * sysdeps/wordsize-64/mkstemp.c: File removed.
47674 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
47675 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
47676 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
47677 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
47678
47679 [BZ #14138]
47680 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
47681 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
47682 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
47683 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
47684
47685 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
47686 compat_symbol macros from <shlib-compat.h> rather than the underlying
47687 default_symbol_version and symbol_version macros, so that DEFAULT
47688 lines in shlib-versions are respected.
47689 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
47690
47691 2012-08-01 Florian Weimer <fweimer@redhat.com>
47692
47693 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
47694 Declare with warn_unused_result.
47695 (setgid, setregid, setegid, setresgid): Likewise.
47696 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
47697 Likewise.
47698 * WUR-REPORT: Remove set*id functions.
47699
47700 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
47701
47702 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
47703
47704 2012-07-31 Roland McGrath <roland@hack.frob.com>
47705
47706 [BZ #10191]
47707 * include/sys/socket.h (__libc_accept, __libc_accept4):
47708 Add attribute_hidden.
47709 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
47710
47711 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
47712 use of PTR_MANGLE.
47713 * inet/getnetgrent_r.c (setup): Likewise.
47714
47715 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
47716
47717 2012-07-31 David S. Miller <davem@davemloft.net>
47718
47719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47720
47721 2012-07-31 Joseph Myers <joseph@codesourcery.com>
47722
47723 [BZ #13629]
47724 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
47725 value between 1.0 and 2.0 and smaller part has absolute value less
47726 than 1.0.
47727 * math/s_clog10.c (__clog10): Likewise.
47728 * math/s_clog10f.c (__clog10f): Likewise.
47729 * math/s_clog10l.c (__clog10l): Likewise.
47730 * math/s_clogf.c (__clogf): Likewise.
47731 * math/s_clogl.c (__clogl): Likewise.
47732 * math/libm-test.inc (clog_test): Add more tests.
47733 (clog10_test): Likewise.
47734 * sysdeps/i386/fpu/libm-test-ulps: Update.
47735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47736
47737 2012-07-31 Florian Weimer <fweimer@redhat.com>
47738
47739 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
47740 Exit with zero in case no suitable GID is found, and write a
47741 message to standard error.
47742
47743 2012-07-30 Roland McGrath <roland@hack.frob.com>
47744
47745 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
47746 rather than to 1.
47747 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
47748 (MAXPATHLEN): Removed.
47749 (NOGROUP, NODEV): New macros.
47750 (setbit, clrbit, isset, isclr): New macros.
47751 (howmany, roundup, powerof2): New macros.
47752 (DEV_BSIZE): New macro.
47753
47754 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
47755 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
47756
47757 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
47758 definition on [!__NO_LONG_DOUBLE_MATH].
47759
47760 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
47761 PTR_MANGLE and PTR_DEMANGLE.
47762
47763 * socket/accept4.c (accept4): Rename to __libc_accept4.
47764 Define accept4 as a weak alias.
47765
47766 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
47767 on [_DIRENT_HAVE_D_TYPE].
47768 * io/ftw.c (ftw_dir): Likewise.
47769
47770 * io/xmknod.c (__xmknod): Don't check PATH for being null.
47771
47772 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
47773
47774 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
47775 Use the BSD numbers rather than the arbitrary ones we had.
47776 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
47777 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
47778 (SIGXCPU, SIGXFSZ): New macros.
47779 (_NSIG): Now 32.
47780
47781 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
47782 initializer on [_LIBC_REENTRANT].
47783
47784 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
47785 definitions inside [_POSIX_MAPPED_FILES].
47786
47787 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
47788
47789 * dirent/opendir.c: Include <fcntl.h>.
47790
47791 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
47792 (__libc_getspecific): Likewise.
47793 (__libc_key_create): Likewise.
47794
47795 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
47796 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
47797 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
47798 (tmpfile64): Define as alias.
47799 * sysdeps/wordsize-64/tmpfile.c: File removed.
47800 * sysdeps/wordsize-64/tmpfile64.c: File removed.
47801 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
47802 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
47803
47804 * stdio-common/vfscanf.c: Include <stdbool.h>.
47805 * nss/makedb.c: Likewise.
47806 * stdio-common/_i18n_number.h: Likewise.
47807 * argp/argp-help.c: Likewise.
47808 * posix/wordexp.c: Likewise.
47809 * sysdeps/posix/spawni.c: Likewise.
47810 * nss/nss_files/files-initgroups.c: Likewise.
47811 * stdio-common/reg-modifier.c: Include <stdlib.h>.
47812 * nss/nss_files/files-initgroups.c: Likewise.
47813 * nss/nss_db/db-netgrp.c: Likewise.
47814 * nss/nss_db/db-initgroups.c: Likewise.
47815 * io/fchmodat.c: Include <sys/stat.h>.
47816
47817 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
47818 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
47819
47820 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
47821 [HAVE_MMAP].
47822
47823 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
47824 Add multiple inclusion protection.
47825
47826 2012-07-27 David S. Miller <davem@davemloft.net>
47827
47828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47829
47830 2012-07-27 Gary Benson <gbenson@redhat.com>
47831
47832 [BZ #14298]
47833 * elf/rtld.c: Include <stap-probe.h>.
47834 (dl_main): Added static probes "init_start" and "init_complete".
47835 * elf/dl-load.c: Include <stap-probe.h>.
47836 (lose): Take new parameter "nsid".
47837 Added static probe "map_failed".
47838 (_dl_map_object_from_fd): Pass namespace id to lose.
47839 Added static probe "map_start".
47840 (open_verify): Pass namespace id to lose.
47841 * elf/dl-open.c: Include <stap-probe.h>.
47842 (dl_open_worker) Added static probes "map_complete", "reloc_start"
47843 and "reloc_complete".
47844 * elf/dl-close.c: Include <stap-probe.h>.
47845 (_dl_close_worker): Added static probes "unmap_start" and
47846 "unmap_complete".
47847 * elf/rtld-debugger-interface.txt: New file documenting the above.
47848
47849 2012-07-26 Roland McGrath <roland@hack.frob.com>
47850
47851 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
47852 rather than a string variable.
47853 * sunrpc/rpc_main.c (h_output): Likewise.
47854 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
47855
47856 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
47857
47858 * inet/check_native.c: New file.
47859
47860 2012-07-26 Joseph Myers <joseph@codesourcery.com>
47861
47862 [BZ #13629]
47863 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
47864 if larger part has absolute value 1.0.
47865 * math/s_clog10.c (__clog10): Likewise.
47866 * math/s_clog10f.c (__clog10f): Likewise.
47867 * math/s_clog10l.c (__clog10l): Likewise.
47868 * math/s_clogf.c (__clogf): Likewise.
47869 * math/s_clogl.c (__clogl): Likewise.
47870 * math/libm-test.inc (clog_test): Add more tests.
47871 (clog10_test): Likewise.
47872 * sysdeps/i386/fpu/libm-test-ulps: Update.
47873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47874
47875 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
47876 (pltexit): Likewise.
47877 (La_regs): Likewise.
47878 (La_retval): Likewise.
47879 (int_retval): Likewise.
47880 Update #error for removed macros to refer only to definitions in
47881 tst-audit.h.
47882 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
47883 macro.
47884 (pltexit): Likewise.
47885 (La_regs): Likewise.
47886 (La_retval): Likewise.
47887 (int_retval): Likewise.
47888 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
47889 macro.
47890 (pltexit): Likewise.
47891 (La_regs): Likewise.
47892 (La_retval): Likewise.
47893 (int_retval): Likewise.
47894 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
47895 macro.
47896 (pltexit): Likewise.
47897 (La_regs): Likewise.
47898 (La_retval): Likewise.
47899 (int_retval): Likewise.
47900 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
47901 macro.
47902 (pltexit): Likewise.
47903 (La_regs): Likewise.
47904 (La_retval): Likewise.
47905 (int_retval): Likewise.
47906 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
47907 macro.
47908 (pltexit): Likewise.
47909 (La_regs): Likewise.
47910 (La_retval): Likewise.
47911 (int_retval): Likewise.
47912 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
47913 macro.
47914 (pltexit): Likewise.
47915 (La_regs): Likewise.
47916 (La_retval): Likewise.
47917 (int_retval): Likewise.
47918 * sysdeps/generic/tst-audit.h: Update comment to refer only to
47919 macro definitions in tst-audit.h.
47920 * sysdeps/i386/tst-audit.h: New file.
47921 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
47922 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
47923 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
47924 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
47925 * sysdeps/sh/tst-audit.h: Likewise.
47926 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
47927 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
47928 * sysdeps/x86_64/tst-audit.h: Likewise.
47929
47930 2012-07-26 Andreas Jaeger <aj@suse.de>
47931
47932 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
47933 ptrace.
47934
47935 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
47936 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
47937 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
47938 PTRACE_O_MASK.
47939 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
47940 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
47941 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
47942
47943 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
47944 value.
47945
47946 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
47947 _sigsys.
47948 (si_call_addr, si_syscall, si_arch): Define new macro.
47949 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
47950 _sigsys.
47951 (si_call_addr, si_syscall, si_arch): Define new marcro.
47952 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
47953 _sigsys.
47954 (si_call_addr, si_syscall, si_arch): Define new macro.
47955 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
47956 _sigsys.
47957 (si_call_addr, si_syscall, si_arch): Define new macro.
47958
47959 2012-07-25 Joseph Myers <joseph@codesourcery.com>
47960
47961 [BZ #13717]
47962 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47963 Change to 2.4.21 where previously 2.4.1.
47964 * sysdeps/unix/sysv/linux/configure: Regenerated.
47965 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
47966 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
47967 Linux kernel version.
47968 (__ASSUME_STD_AUXV): Remove.
47969 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
47970 kernel version.
47971 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
47972 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
47973 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
47974 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
47975 (__ASSUME_NETLINK_SUPPORT): Likewise.
47976 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
47977 (__no_netlink_support): Remove conditional definition.
47978 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
47979 Remove.
47980 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47981 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
47982 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
47983 (if_nameindex_ioctl): Remove.
47984 (if_nameindex_netlink): Do not handle __no_netlink_support.
47985 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47986 code.
47987 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
47988 Remove conditional code.
47989 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47990 code.
47991 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
47992 unconditional.
47993 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47994 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
47995 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
47996 Remove.
47997 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
47998 [!__ASSUME_STD_AUXV]: Remove conditional code.
47999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
48000 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
48001 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
48002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
48003 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
48004 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
48005 code.
48006 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
48007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48008 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
48009 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
48010 conditional code.
48011 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
48012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
48013 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
48014 code.
48015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48016 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
48017 conditional code.
48018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
48019 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48020 code unconditional.
48021 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48022 conditional code.
48023 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48024 unconditional.
48025 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48026 conditional code.
48027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48028 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48029 unconditional.
48030 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48031 conditional code.
48032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
48033 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48034 code unconditional.
48035 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48036 conditional code.
48037 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48038 unconditional.
48039 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48040 conditional code.
48041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
48042 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48043 code unconditional.
48044 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48045 conditional code.
48046 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48047 unconditional.
48048 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48049 conditional code.
48050
48051 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
48052
48053 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
48054 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
48055 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
48056 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
48057 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
48058 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48059 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48060 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
48061 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
48062 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
48063 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
48064 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
48065 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
48066 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48067 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
48068 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
48069 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
48070 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
48071 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
48072 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
48073 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
48074 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
48075 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48076
48077 2012-07-25 Florian Weimer <fweimer@redhat.com>
48078
48079 * Versions.def: Add GLIBC_2.17.
48080 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
48081 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
48082 Introduce __libc_secure_getenv.
48083 * stdlib/Versions (2.17): Add secure_getenv
48084 (GLIBC_PRIVATE): Add __libc_secure_getenv.
48085 * stdlib/secure-getenv.c: Rename __secure_getenv to
48086 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
48087 symbol __secure_getenv for GLIBC_2.0.
48088 * stdlib/tst-secure-getenv.c: New.
48089 * stdlib/Makefile (tests): Add testcase.
48090 * manual/startup.texi (Environment Access): Document
48091 secure_getenv.
48092 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
48093 __libc_secure_getenv.
48094 * inet/ruserpass.c (ruserpass): Likewise.
48095 * malloc/mtrace.c (mtrace): Likewise.
48096 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
48097 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
48098 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
48099 * sysdeps/posix/tempname.c: Likewise. Evaluate
48100 HAVE_SECURE_GETENV.
48101 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
48102 __secure_getenv to __libc_secure_getenv.
48103 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
48104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48105 Likewise.
48106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48107 Likewise.
48108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
48109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
48110 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
48111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
48112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
48113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48114 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
48115
48116 2012-07-25 Joseph Myers <joseph@codesourcery.com>
48117
48118 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
48119 (struct La_i86_retval): Likewise.
48120 (struct La_x86_64_regs): Likewise.
48121 (struct La_x86_64_retval): Likewise.
48122 (struct La_x32_regs): Likewise.
48123 (struct La_x32_retval): Likewise.
48124 (struct La_ppc32_regs): Likewise.
48125 (struct La_ppc32_retval): Likewise.
48126 (struct La_ppc64_regs): Likewise.
48127 (struct La_ppc64_retval): Likewise.
48128 (struct La_sh_regs): Likewise.
48129 (struct La_sh_retval): Likewise.
48130 (struct La_s390_32_regs): Likewise.
48131 (struct La_s390_32_retval): Likewise.
48132 (struct La_s390_64_regs): Likewise.
48133 (struct La_s390_64_retval): Likewise.
48134 (struct La_sparc32_regs): Likewise.
48135 (struct La_sparc32_retval): Likewise.
48136 (struct La_sparc64_regs): Likewise.
48137 (struct La_sparc64_retval): Likewise.
48138 (struct audit_ifaces): Remove architecture-specific pltenter and
48139 pltexit members.
48140 * sysdeps/i386/ldsodefs.h: New file.
48141 * sysdeps/powerpc/ldsodefs.h: Likewise.
48142 * sysdeps/s390/ldsodefs.h: Likewise.
48143 * sysdeps/sh/ldsodefs.h: Likewise.
48144 * sysdeps/sparc/ldsodefs.h: Likewise.
48145 * sysdeps/x86_64/ldsodefs.h: Likewise.
48146
48147 2012-07-25 Marek Polacek <polacek@redhat.com>
48148
48149 [BZ #6808]
48150 * math/libm-test.inc (yn_test): Add another test.
48151 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
48152 to ERANGE when the result is +-Inf.
48153 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
48154 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
48155 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
48156 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
48157
48158 2012-07-24 Joseph Myers <joseph@codesourcery.com>
48159
48160 * conform/data/time.h-data (NULL): Use macro-constant. Require
48161 equal to 0.
48162 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
48163 clock_t.
48164 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
48165
48166 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
48167
48168 * configure.in <sysdeps resolving>: Correct printing
48169 Implies_before.
48170 * configure: Regenerate.
48171
48172 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
48173
48174 * math/w_ilogb.c: Include <limits.h>.
48175 * math/w_ilogbl.c: Likewise.
48176
48177 2012-07-20 Joseph Myers <joseph@codesourcery.com>
48178
48179 * manual/lang.texi (__va_copy): Document primarily as ISO C99
48180 va_copy. Document allowing for unavailable va_copy only as
48181 pre-C99 compatibility.
48182 * manual/string.texi (Copying and Concatenation): Use va_copy
48183 instead of __va_copy in concat example.
48184
48185 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
48186
48187 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
48188 (__sendto): Use create_address_port. Initialize APORT and deallocate
48189 it if not null.
48190
48191 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
48192 with O_NOLINK passed to __file_name_lookup.
48193
48194 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
48195 with O_NOLINK passed to __file_name_lookup.
48196
48197 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
48198 negative N or less than NGIDS.
48199
48200 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
48201 type to string_t. Set ERANGE as errno and return it if NAME is not big
48202 enough. Use memcpy instead of strncpy.
48203
48204 2012-07-20 Joseph Myers <joseph@codesourcery.com>
48205
48206 * elf/Makefile (check-data): Remove.
48207 (localplt.data): New vpath directive.
48208 ($(objpfx)check-localplt.out): Use localplt.data from vpath
48209 instead of $(check-data).
48210 * scripts/data/localplt-generic.data: Move to ...
48211 * sysdeps/generic/localplt.data: ... here.
48212 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
48213 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
48214 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
48215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
48216 ... here.
48217 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
48218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
48219 ... here.
48220 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
48221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
48222 ... here.
48223 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
48224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48225 ... here.
48226 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
48227 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
48228 ... here.
48229 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
48230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
48231 ... here.
48232
48233 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48234
48235 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
48236 PPC32 and PPC64 files.
48237 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
48238 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
48239
48240 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48241
48242 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
48243 __makecontext_ret to ...
48244 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
48245 ... here and call exit if uc_link is NULL. New file.
48246 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
48247 __makecontext_ret.S.
48248 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
48249 __makecontext_ret to ...
48250 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
48251 ... here and call exit if uc_link is NULL. New file.
48252 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
48253 __makecontext_ret.S.
48254
48255 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48256
48257 * elf/elf.h (R_390_IRELATIVE): New definition.
48258 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
48259 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
48260 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
48261 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48262 (elf_machine_lazy_rel): Likewise.
48263 * sysdeps/s390/dl-irel.h: New file.
48264 * sysdeps/s390/s390-64/memcpy.S: New asm code.
48265 * sysdeps/s390/s390-64/memset.S: New asm code.
48266 * sysdeps/s390/s390-64/memcmp.S: New asm code.
48267 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
48268 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
48269 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
48270 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
48271 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
48272 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
48273 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
48274 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
48275 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
48276 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
48277 * sysdeps/s390/s390-32/memcpy.S: New asm code.
48278 * sysdeps/s390/s390-32/memset.S: New asm code.
48279 * sysdeps/s390/s390-32/memcmp.S: New asm code.
48280
48281 2012-07-17 Marek Polacek <polacek@redhat.com>
48282
48283 [BZ #14349]
48284 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
48285 * sysdeps/s390/s390-64/configure.in: Likewise.
48286 * sysdeps/sparc/configure.in: Likewise.
48287 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
48288 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
48289 * sysdeps/i386/configure.in: Likewise.
48290 * sysdeps/x86_64/configure.in: Likewise.
48291 * sysdeps/sh/configure.in: Likewise.
48292 * sysdeps/s390/s390-32/configure: Regenerated.
48293 * sysdeps/s390/s390-64/configure: Likewise.
48294 * sysdeps/x86_64/configure: Likewise.
48295 * sysdeps/sh/configure: Likewise.
48296 * sysdeps/powerpc/powerpc64/configure: Likewise.
48297 * sysdeps/powerpc/powerpc32/configure: Likewise.
48298 * sysdeps/sparc/configure: Likwise.
48299 * sysdeps/i386/configure: Likewise.
48300
48301 * elf/dl-open.c: Comment fixes.
48302
48303 2012-07-17 Joseph Myers <joseph@codesourcery.com>
48304
48305 * Makefile [CXX] (check-data): Remove.
48306 [CXX] (c++-types.data): New vpath directive.
48307 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
48308 vpath. Do not allow for C++ type data being missing.
48309 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
48310 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
48311 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
48312 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
48313 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
48314 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
48315 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
48316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
48317 ... here.
48318 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
48319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
48320 ... here.
48321 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
48322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
48323 ... here.
48324 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
48325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
48326 ... here.
48327 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
48328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
48329 ... here.
48330 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
48331 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
48332 ... here.
48333 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
48334 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
48335 ... here.
48336 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
48337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
48338
48339 * elf/tls-macros.h (TLS_LE): Move architecture-specific
48340 definitions to architecture-specific files.
48341 (TLS_IE): Likewise.
48342 (TLS_LD): Likewise.
48343 (TLS_GD): Likewise.
48344 * sysdeps/i386/tls-macros.h: New file.
48345 * sysdeps/powerpc/tls-macros.h: Likewise.
48346 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
48347 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
48348 * sysdeps/sh/tls-macros.h: Likewise.
48349 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
48350 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
48351 * sysdeps/x86_64/tls-macros.h: Likewise.
48352
48353 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48354
48355 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
48356 zero value for regular exit case.
48357
48358 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
48359 (__start_context): Preserve zero value for regular exit case.
48360
48361 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48362 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48363
48364 * manual/setjmp.texi (setcontext): Clarify normal process
48365 termination when uc_link is the null pointer.
48366 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
48367 exit call.
48368
48369 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
48370
48371 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
48372 preprocessor. Test for each exception mask separately.
48373
48374 2012-07-16 Andreas Jaeger <aj@suse.de>
48375
48376 * po/ru.po: Update from translation team.
48377
48378 2012-07-15 Joseph Myers <joseph@codesourcery.com>
48379
48380 * conform/data/string.h-data (NULL): Use macro-constant. Require
48381 equal to 0.
48382 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48383 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48384 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
48385 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
48386 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48387
48388 2012-07-13 Andreas Jaeger <aj@suse.de>
48389
48390 * po/fr.po: Update from translation team.
48391
48392 2012-07-12 Marek Polacek <polacek@redhat.com>
48393
48394 [BZ #14173]
48395 * math/libm-test.inc (yn_test): Add test for BZ #14173.
48396 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
48397 loop condition.
48398
48399 2012-07-12 Joseph Myers <joseph@codesourcery.com>
48400
48401 [BZ #13717]
48402 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48403 Change to 2.4.1 where previously 2.4.0.
48404 * sysdeps/unix/sysv/linux/configure: Regenerated.
48405 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
48406 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
48407 version.
48408 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
48409 (__ASSUME_AT_CLKTCK): Remove.
48410 (__ASSUME_AT_PAGESIZE): Likewise.
48411 (__ASSUME_AT_XID): Likewise.
48412 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
48413 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
48414 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
48415 unconditionally.
48416 (HAVE_AUX_PAGESIZE): Likewise.
48417 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
48418 [__ASSUME_AT_CLKTCK]: Make code unconditional.
48419 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
48420
48421 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
48422
48423 [BZ #14307]
48424 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
48425 the temporary buffer used to invoke __gethostbyname2_r,
48426 __gethostbyaddr_r and gethostbyname4_r to make room for struct
48427 host_data / struct gaih_addrtuple.
48428 * resolv/nss_dns/dns-host.c (global scope): Move definition of
48429 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
48430 header file nss/nsswitch.h.
48431 * nss/nsswitch.h (global scope): Add definition of implementation
48432 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
48433 resolv/nss_dns/dns-host.c).
48434
48435 2012-07-11 Andreas Jaeger <aj@suse.de>
48436
48437 * po/fr.po: Update from translation team.
48438
48439 * po/sv.po: Update from translation team
48440 * po/fr.po: Another update from translation team.
48441
48442 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48443
48444 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
48445 for subnormals or multiply small sinh result by itself.
48446 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48448
48449 2012-07-11 David S. Miller <davem@davemloft.net>
48450
48451 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48452
48453 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
48454
48455 [BZ #14347]
48456 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
48457 (INTERNAL_MARK): Shift it here.
48458
48459 2012-07-10 Marek Polacek <polacek@redhat.com>
48460
48461 [BZ #14151]
48462 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
48463 libc_cv_asm_global_directive with .globl.
48464 * configure: Regenerated.
48465 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
48466 with .globl.
48467 * sysdeps/i386/configure: Regenerated.
48468 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
48469 with .globl.
48470 * sysdeps/x86_64/configure: Regenerated.
48471 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
48472 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
48473 * elf/tst-unique2mod2.c: Likewise.
48474 * elf/tst-unique2mod1.c: Likewise.
48475 * elf/tst-unique1mod2.c: Likewise.
48476 * elf/tst-unique1mod1.c: Likewise.
48477 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48478 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48479 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48480 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48481 * sysdeps/mach/sysdep.h: Likewise.
48482 * sysdeps/i386/sysdep.h: Likewise.
48483 * sysdeps/i386/i386-mcount.S: Likewise.
48484 * sysdeps/x86_64/_mcount.S: Likewise.
48485 * sysdeps/x86_64/sysdep.h: Likewise.
48486 * sysdeps/sh/_mcount.S: Likewise.
48487 * sysdeps/sh/sysdep.h: Likewise.
48488 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
48489 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
48490 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
48491 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48492 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
48493 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
48494 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
48495 * locale/localeinfo.h: Likewise.
48496 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
48497 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
48498
48499 2012-07-09 Roland McGrath <roland@hack.frob.com>
48500
48501 [BZ #14336]
48502 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
48503 system".
48504 * manual/message.texi (The Uniforum approach): Likewise.
48505 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
48506 (glibc iconv Implementation): Likewise.
48507
48508 2012-07-09 Joseph Myers <joseph@codesourcery.com>
48509
48510 [BZ #14337]
48511 * math/s_clog.c (__clog): Avoid scaling a value down where that
48512 could result in underflow.
48513 * math/s_clog10.c (__clog10): Likewise.
48514 * math/s_clog10f.c (__clog10f): Likewise.
48515 * math/s_clog10l.c (__clog10l): Likewise.
48516 * math/s_clogf.c (__clogf): Likewise.
48517 * math/s_clogl.c (__clogl): Likewise.
48518 * math/libm-test.inc (clog_test): Add more tests.
48519 (clog10_test): Likewise.
48520 * sysdeps/i386/fpu/libm-test-ulps: Update.
48521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48522
48523 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
48524
48525 [BZ #14283]
48526 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
48527 by 7 not 8 to examine high bit of fractional part.
48528
48529 [BZ #14042]
48530 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
48531 for call to __mcount_internal.
48532 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
48533 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
48534 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
48535
48536 2012-07-06 Joseph Myers <joseph@codesourcery.com>
48537
48538 [BZ #14154]
48539 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
48540 approximation for values within 0x1p-13f of an odd multiple of
48541 pi/4.
48542 * math/libm-test.inc (tan_test): Do not allow spurious underflow
48543 exception. Add more tests.
48544 * sysdeps/i386/fpu/libm-test-ulps: Update.
48545
48546 [BZ #6778]
48547 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
48548 inputs and return -1 for them. Do not check for +Inf in case not
48549 reachable for +Inf.
48550 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48551 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
48552 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48553 and return -1 for them. Do not check for +Inf in case not
48554 reachable for +Inf.
48555 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
48556 define.
48557 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48558 and return -1 for them. Do not check for +Inf in case not
48559 reachable for +Inf.
48560 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
48561 spurious underflow.
48562 * sysdeps/i386/fpu/libm-test-ulps: Update.
48563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48564
48565 2012-07-06 Mike Frysinger <vapier@gentoo.org>
48566
48567 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
48568
48569 2012-07-05 Joseph Myers <joseph@codesourcery.com>
48570
48571 [BZ #14157]
48572 [BZ #14331]
48573 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
48574 could result in spurious underflow. Scale down values above
48575 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
48576 * math/s_csqrtf.c (__csqrtf): Likewise.
48577 * math/s_csqrtl.c (__csqrtl): Likewise.
48578 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
48579 spurious underflow.
48580 * sysdeps/i386/fpu/libm-test-ulps: Update.
48581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48582
48583 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
48584
48585 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
48586 xopen-msg.sed.
48587 * catgets/xopen-msg.awk: New file.
48588 * catgets/xopen-msg.sed: Removed.
48589
48590 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
48591 po2text.sed.
48592 * intl/po2test.awk: New file.
48593 * intl/po2test.sed: Removed.
48594
48595 2012-07-04 Joseph Myers <joseph@codesourcery.com>
48596
48597 [BZ #14328]
48598 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
48599 or multiply small sinh result by itself.
48600 * math/s_ctanf.c (__ctanf): Likewise.
48601 * math/s_ctanh.c (__ctanh): Likewise.
48602 * math/s_ctanhf.c (__ctanhf): Likewise.
48603 * math/s_ctanhl.c (__ctanhl): Likewise.
48604 * math/s_ctanl.c (__ctanl): Likewise.
48605 * math/libm-test.inc (ctan_test_tonearest): New function.
48606 (ctan_test_towardzero): Likewise.
48607 (ctan_test_downward): Likewise.
48608 (ctan_test_upward): Likewise.
48609 (ctanh_test_tonearest): Likewise.
48610 (ctanh_test_towardzero): Likewise.
48611 (ctanh_test_downward): Likewise.
48612 (ctanh_test_upward): Likewise.
48613 (main): Call these new functions.
48614 * sysdeps/i386/fpu/libm-test-ulps: Update.
48615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48616
48617 2012-07-03 Mike Frysinger <vapier@gentoo.org>
48618
48619 * .gitignore: Delete /ports entry.
48620
48621 2012-07-03 Andreas Jaeger <aj@suse.de>
48622
48623 * po/bg.po: Update from translation team.
48624 * po/cs.po: Likewise.
48625 * po/de.po: Likewise.
48626 * po/hr.po: Likewise.
48627 * po/nl.pl: Likewise.
48628 * po/pl.po: Likewise.
48629 * po/vi.po: Likewise.
48630
48631 2012-07-03 Joseph Myers <joseph@codesourcery.com>
48632
48633 * Makeconfig [!+link] (+link-before-libc): New variable.
48634 [!+link] (+link-after-libc): Likewise.
48635 [!+link] (+link-tests): Likewise.
48636 [!+link] (+link): Define in terms of $(+link-before-libc) and
48637 $(+link-after-libc).
48638 [!+link-static] (+link-static-before-libc): New variable.
48639 [!+link-static] (+link-static-after-libc): Likewise.
48640 [!+link-static] (+link-static-tests): Likewise.
48641 [!+link-static] (+link-static): Define in terms of
48642 $(+link-static-before-libc) and $(+link-static-after-libc).
48643 [build-shared] (link-libc-before-gnulib): New variable.
48644 [build-shared] (link-libc-tests): Likewise.
48645 [build-shared] (link-libc): Define in terms of
48646 $(link-libc-before-gnulib).
48647 [!build-shared] (link-libc-tests): New variable.
48648 (link-libc-static-tests): New variable.
48649 [!gnulib] (gnulib-arch): New variable.
48650 [!gnulib] (gnulib-tests): Likewise.
48651 [!gnulib] (static-gnulib-arch): Likewise.
48652 [!gnulib] (static-gnulib-tests): Likewise.
48653 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
48654 Define with "=" instead of ":=".
48655 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
48656 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
48657 * Rules (binaries-all-notests): New variable.
48658 (binaries-all-tests): Likewise.
48659 (binaries-static-notests): Likewise.
48660 (binaries-static-tests): Likewise.
48661 (binaries-all): Define using $(binaries-all-notests) and
48662 $(binaries-all-tests).
48663 (binaries-static): Define using $(binaries-static-notests) and
48664 $(binaries-static-tests).
48665 (binaries-shared-tests): New variable.
48666 (binaries-shared-notests): Likewise.
48667 (binaries-shared): Remove variable.
48668 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
48669 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
48670 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
48671 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
48672 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
48673 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
48674 * elf/Makefile (sln-modules): New variable.
48675 (extra-objs): Add $(sln-modules:=.o).
48676 (ldconfig-modules): Add static-stubs.
48677 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
48678 * elf/static-stubs.c: New file.
48679
48680 [BZ #14283]
48681 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
48682 by 7 not 8 to examine high bit of fractional part. Use volatile
48683 variables when splitting into final array of floats if
48684 __FLT_EVAL_METHOD__ != 0.
48685 * math/libm-test.inc (cos_test): Add another test.
48686 (sin_test): Likewise.
48687 * sysdeps/i386/fpu/libm-test-ulps: Update.
48688
48689 [BZ #14273]
48690 * math/libm-test.inc (cosh_test): Add more tests.
48691
48692 * version.h (RELEASE): Set to "development".
48693 (VERSION): Set to "2.16.90".
48694
48695 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
48696
48697 * NEWS: Update copyright. Remove last-updated date.
48698 Mention math library bug fixes and timezone data changes.
48699 * README: Mention GNU/Hurd, x32, and HPPA support status.
48700
48701 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
48702
48703 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
48704
48705 2012-06-27 Andreas Jaeger <aj@suse.de>
48706
48707 * manual/contrib.texi (Contributors): Add Samuel Thibault.
48708
48709 2012-06-25 Andreas Jaeger <aj@suse.de>
48710
48711 * sysdeps/s390/fpu/libm-test-ulps: Update.
48712
48713 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
48714 Thomas Schwinge <thomas@codesourcery.com>
48715
48716 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
48717 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
48718 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
48719 fanotify_mark.
48720
48721 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
48722
48723 * sysdeps/mach/start.c: Remove file.
48724 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
48725 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
48726 * sysdeps/sh/init-first.c: Likewise.
48727
48728 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
48729 registers for frame unwinding purposes, add CFI directives.
48730 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48731 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
48732 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
48733 Likewise.
48734
48735 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
48736 __fortify_fail returning.
48737 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48738
48739 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
48740 sysdeps/sh/____longjmp_chk.S.
48741 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
48742 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
48743 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
48744 (gen-as-const-headers): Append sigaltstack-offsets.sym.
48745
48746 * sysdeps/sh/abort-instr.h: New file.
48747 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
48748 process in case exit returns.
48749
48750 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
48751 initialize the GOT register before use.
48752
48753 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
48754 calculation of ARGC > 4.
48755
48756 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
48757 meaningful names to some local labels.
48758
48759 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48760 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48761
48762 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
48763 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
48764 (__arch_compare_and_exchange_val_16_acq): Likewise.
48765 (__arch_compare_and_exchange_val_32_acq): Likewise.
48766 (atomic_exchange_and_add): Fix gUSA sequence.
48767 (atomic_add): Likewise.
48768 (atomic_add_negative): Likewise.
48769 (atomic_add_zero): Likewise.
48770 (atomic_bit_test_set): Likewise.
48771
48772 2012-06-22 Andreas Schwab <schwab@redhat.com>
48773
48774 [BZ #13579]
48775 * include/link.h (struct link_map): Add l_free_initfini.
48776 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
48777 l_initfini.
48778 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
48779 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
48780 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
48781 set.
48782
48783 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
48784
48785 * configure.in: Use AC_LANG_SOURCE.
48786 * configure: Regenerate.
48787
48788 2012-06-22 Roland McGrath <roland@hack.frob.com>
48789
48790 * configure.in (libc_cv_localstatedir): New substituted variable.
48791 * configure: Regenerated.
48792 * config.make.in (localstatedir): New variable, substituted from
48793 libc_cv_localstatedir.
48794 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
48795 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
48796 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
48797 * sysdeps/gnu/configure: Regenerated.
48798
48799 2012-06-21 Jeff Law <law@redhat.com>
48800
48801 [BZ #14277]
48802 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
48803 free. Simplify list management for _LIBC case.
48804
48805 2012-06-21 Joseph Myers <joseph@codesourcery.com>
48806
48807 [BZ #14273]
48808 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
48809 Clear sign bit of 64-bit integer value before comparing against
48810 overflow value.
48811
48812 * sysdeps/mach/configure: Regenerated.
48813
48814 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
48815
48816 [BZ #14278]
48817 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
48818
48819 2012-06-21 Jeff Law <law@redhat.com>
48820
48821 [BZ #13882]
48822 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
48823 uint16_t for elements in the "seen" array to avoid char overflows.
48824 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48825 * elf/dl-open.c (dl_open_worker): Likewise.
48826
48827 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
48828
48829 * scripts/list-sources.sh: Scan PORTS for translations.
48830 * po/libc.pot: Regenerated.
48831
48832 2012-06-21 Andreas Jaeger <aj@suse.de>
48833
48834 [BZ #12194]
48835 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
48836 warning.
48837 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
48838 * bits/byteswap-16.h (__bswap_16): Likewise.
48839 * bits/byteswap.h (__bswap_constant_16): Likewise.
48840
48841 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
48842
48843 [BZ #14117]
48844 * sysdeps/i386/fpu_control.h: Removed.
48845 * sysdeps/x86_64/fpu_control.h: Moved to ...
48846 * sysdeps/x86/fpu_control.h: Here.
48847
48848 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
48849 (_FPU_SETCW): Likewise.
48850
48851 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
48852
48853 [BZ #14117]
48854 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
48855 * sysdeps/x86/fpu/bits/mathinline.h: This.
48856 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
48857
48858 [BZ #14050]
48859 [BZ #14117]
48860 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
48861 functions if __x86_64__ is defined.
48862
48863 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
48864
48865 * string/endian.h: Add !__ASSEMBLER__ condition for including
48866 conversion interfaces.
48867
48868 2012-06-15 Joseph Myers <joseph@codesourcery.com>
48869
48870 [BZ #14241]
48871 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
48872 of ABS(x) in calculating zero to negative powers other than odd
48873 integers.
48874 * math/libm-test.inc (pow_test): Add more tests.
48875
48876 2012-06-15 Andreas Jaeger <aj@suse.de>
48877
48878 * manual/contrib.texi (Contributors): Update entry of Liubov
48879 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
48880 Machado Filho.
48881
48882 2012-06-15 Cyril Hrubis <metan@ucw.cz>
48883
48884 * string/string.h: Add __wur to GNU version of strerror_r.
48885
48886 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
48887
48888 [BZ #14229]
48889 * string/Makefile (tests): Add tst-strtok_r.
48890 * string/tst-strtok_r.c: New file.
48891 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
48892 RAX_LP/RDX_LP on SAVE_PTR.
48893
48894 2012-06-14 Roland McGrath <roland@hack.frob.com>
48895
48896 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
48897
48898 2012-06-14 Joseph Myers <joseph@codesourcery.com>
48899
48900 * libm_test.inc (csqrt_test): Allow more spurious underflow
48901 exceptions.
48902 (j0_test): Likewise.
48903 (j1_test): Likewise.
48904 (y0_test): Likewise.
48905 (y1_test): Likewise.
48906
48907 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
48908
48909 * po/Makefile (libc.pot): Use UTF-8 charset.
48910
48911 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
48912
48913 [BZ #14210]
48914 Suppress sign-conversion warning from FD_SET.
48915 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
48916 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
48917 not unsigned long int.
48918 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
48919
48920 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
48921
48922 [BZ #14050]
48923 [BZ #14117]
48924 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
48925 __extern_always_inline instead of __extern_inline.
48926 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
48927 (__signbit): Likewise.
48928 (__signbitl): Support C++ namespace.
48929 (lrintf): New inline function.
48930 (lrint): Likewise.
48931 (llrintf): Likewise.
48932 (llrint): Likewise.
48933 (fmaxf): Likewise.
48934 (fmax): Likewise.
48935 (fminf): Likewise.
48936 (fmin): Likewise.
48937 (rint): Likewise.
48938 (rintf): Likewise.
48939 (ceil): Likewise.
48940 (ceilf): Likewise.
48941 (floor): Likewise.
48942 (floorf): Likewise.
48943 (nearbyint): Likewise.
48944 (nearbyintf): Likewise.
48945
48946 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
48947
48948 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
48949 non-default versions.
48950
48951 2012-06-11 Roland McGrath <roland@hack.frob.com>
48952
48953 [BZ #14218]
48954 * manual/argp.texi (Argp): Reword argp_parse description slightly.
48955
48956 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
48957
48958 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
48959 (FE_UPWARD, FE_DOWNWARD): Don't define.
48960 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
48961 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48962
48963 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
48964 reading it.
48965 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48966 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48967
48968 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48969
48970 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48971 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
48972 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
48973 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
48974
48975 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
48976
48977 [BZ #14117]
48978 * sysdeps/i386/fpu/bits/fenv.h: Removed.
48979 * sysdeps/i386/fpu/Implies: New file.
48980 * sysdeps/x86_64/fpu/Implies: Likewise.
48981 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
48982 * sysdeps/x86/fpu/bits/fenv.h: This.
48983
48984 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
48985 __SSE_MATH__.
48986
48987 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
48988
48989 [BZ #14134]
48990 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
48991 character 0xffff that matches the last element of the
48992 conversion table.
48993
48994 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48995
48996 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
48997 fmodl commit.
48998
48999 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49000
49001 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
49002 values higher than 25.6283.
49003
49004 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49005
49006 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
49007 subnormal exponent extraction and add some __builtin_expect.
49008 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
49009 Fix for subnormal mantissa calculation.
49010
49011 2012-06-04 Mike Frysinger <vapier@gentoo.org>
49012
49013 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
49014 cpu2 is -1 and errno is not ENOSYS.
49015
49016 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
49017
49018 [BZ #14117]
49019 * sysdeps/i386/i486/bits/string.h: Renamed to ...
49020 * sysdeps/x86/bits/string.h: This.
49021 * sysdeps/x86_64/bits/string.h: Removed.
49022
49023 * sysdeps/i386/i486/bits/string.h: Define inline functions only
49024 if not compiling for x86-64, but compiling for >= i486.
49025
49026 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
49027 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
49028
49029 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
49030 New macro from Linux kernel 3.4.0.
49031 (FP_XSTATE_MAGIC2): Likewise.
49032 (FP_XSTATE_MAGIC2_SIZE): Likewise.
49033 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
49034 (struct _fpx_sw_bytes): New struct.
49035 (struct _xsave_hdr): Likewise.
49036 (struct _ymmh_state): Likewise.
49037 (struct _xstate): Likewise.
49038
49039 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
49040 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
49041 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
49042 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
49043 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
49044 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
49045
49046 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
49047 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
49048 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
49049 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
49050 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
49051 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
49052
49053 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49054
49055 [BZ #13743]
49056 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
49057 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
49058 (sysdep_headers): Include sys/platform/ppc.h.
49059 * sysdeps/powerpc/test-gettimebase.c: Test for
49060 __ppc_get_timebase() to catch future ISA opcode/insn changes.
49061 * manual/Makefile (appendices): Include platform.texi.
49062 * manual/contrib.texi (Contributors): Update @node pointers.
49063 * manual/maint.texi (Maintenance): Likewise.
49064 (Platform): New node.
49065 * manual/platform.texi: New file. Document the new features.
49066
49067 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49068 Jakub Jelinek <jakub@redhat.com>
49069
49070 [BZ #14188]
49071 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
49072 where __builtin_expect is unavailable.
49073
49074 2012-06-03 David S. Miller <davem@davemloft.net>
49075
49076 * stdlib/longlong.h: Updated from GCC.
49077
49078 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
49079
49080 [BZ #14042]
49081 * sysdeps/powerpc/powerpc32/mcount.c: New file.
49082 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
49083 __mcount_internal.
49084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
49085 (GLIBC_2.16): Likewise.
49086
49087 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49088
49089 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
49090
49091 2012-06-01 Joseph Myers <joseph@codesourcery.com>
49092
49093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
49094 (default-abi): New variable.
49095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
49096 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
49097 variable.
49098 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
49099 Likewise.
49100 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
49101 Likewise.
49102 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
49103 Likewise.
49104
49105 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
49106 definition. Document in comment.
49107
49108 2012-06-01 David S. Miller <davem@davemloft.net>
49109
49110 * stdlib/longlong.h: Updated from GCC.
49111
49112 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49113
49114 [BZ #14117]
49115 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
49116 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
49117 sys/debugreg.h sys/io.h here.
49118 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
49119 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
49120 sys/io.h.
49121 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
49122 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
49123 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
49124 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
49125 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
49126 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
49127
49128 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
49129 Define only if __x86_64__ is defined.
49130
49131 2012-06-01 Joseph Myers <joseph@codesourcery.com>
49132
49133 [BZ #14048]
49134 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
49135 Use int64_t for variable i.
49136 * math/libm-test.inc (fmod_test): Add more tests.
49137
49138 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
49139 z computation is not scheduled after fetestexcept.
49140 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
49141 Use math_force_eval instead of asm to ensure calculation scheduled
49142 before exception test.
49143 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
49144 Ensure a1 + u.d computation is not scheduled after fetestexcept.
49145
49146 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
49147
49148 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
49149 computation is not scheduled after fetestexcept.
49150
49151 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49152
49153 [BZ #14117]
49154 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
49155 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
49156
49157 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49158
49159 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
49160 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49161
49162 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
49163
49164 [BZ #14117]
49165 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
49166 <bits/wordsize.h>.
49167 (__WCHAR_MIN): Support __WORDSIZE == 64.
49168 (__WCHAR_MAX): Likewise.
49169
49170 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
49171 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
49172
49173 [BZ #14183]
49174 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
49175 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
49176
49177 [BZ #14117]
49178 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
49179 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
49180
49181 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
49182 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
49183
49184 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
49185 Defined to 1 if __x86_64__ isn't defined.
49186 (_STAT_VER_LINUX_OLD): New.
49187 (st_atime): Remove duplicate.
49188 (st_mtime): Likewise.
49189 (st_ctime): Likewise.
49190
49191 2012-05-31 David S. Miller <davem@davemloft.net>
49192
49193 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
49194 entries.
49195
49196 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
49197
49198 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
49199 gen-libm-test.pl.
49200
49201 [BZ #14132]
49202 * elf/dl-reloc.c: Include <_itoa.h>.
49203 (_dl_reloc_bad_type): Remove use of INTUSE.
49204 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
49205 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
49206 * stdio-common/psiginfo.c (psiginfo): Likewise.
49207 * stdio-common/psignal.c (psignal): Likewise.
49208 * string/strsignal.c (strsignal): Likewise.
49209 * include/signal.h (_sys_siglist): Declare hidden proto.
49210 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
49211 INTVARDEF with libc_hidden_data_def.
49212 * stdio-common/itoa-udigits.c: Likewise.
49213 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
49214 (_itoa_lower_digits_internal): Remove declaration.
49215 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
49216 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
49217 (_sys_sigabbrev_internal): Remove aliases.
49218 (_sys_siglist): Define hidden alias.
49219
49220 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
49221
49222 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49223 bits/sysctl.h.
49224
49225 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
49226
49227 [BZ #14117]
49228 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
49229 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
49230
49231 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
49232 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
49233 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
49234 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
49235 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
49236 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
49237
49238 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
49239 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
49240 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
49241
49242 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
49243 with __addr.
49244 (insw): Likewise.
49245 (insl): Likewise.
49246 (outsb): Likewise.
49247 (outsw): Likewise.
49248 (outsl): Likewise.
49249
49250 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
49251 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
49252 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
49253
49254 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
49255 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
49256 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
49257 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
49258 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
49259 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
49260
49261 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
49262 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
49263
49264 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
49265 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
49266
49267 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
49268 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
49269 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
49270
49271 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
49272 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
49273 to ...
49274 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
49275
49276 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
49277 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
49278 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
49279
49280 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
49281 for x86-64.
49282 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
49283
49284 2012-05-31 Joseph Myers <joseph@codesourcery.com>
49285
49286 * math/math.h (M_El): Use two more decimal places.
49287 (M_LOG2El): Likewise.
49288 (M_LOG10El): Likewise.
49289 (M_LN2l): Likewise.
49290 (M_LN10l): Likewise.
49291 (M_PIl): Likewise.
49292 (M_PI_2l): Likewise.
49293 (M_PI_4l): Likewise.
49294 (M_1_PIl): Likewise.
49295 (M_2_PIl): Likewise.
49296 (M_2_SQRTPIl): Likewise.
49297 (M_SQRT2l): Likewise.
49298 (M_SQRT1_2l): Likewise.
49299
49300 2012-05-31 David S. Miller <davem@davemloft.net>
49301
49302 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
49303 values between float registers.
49304 * sysdeps/sparc/sparc64/memset.S: Likewise.
49305 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49306
49307 2012-05-31 Mike Frysinger <vapier@gentoo.org>
49308
49309 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
49310 -D_FORTIFY_SOURCE=1.
49311 (CPPFLAGS-tst-longjmp_chk.c): Define.
49312 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
49313 (CPPFLAGS-tst-longjmp_chk2.c): Define.
49314 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
49315 CFLAGS-tst-wchar-h.c.
49316
49317 2012-05-31 Marek Polacek <polacek@redhat.com>
49318
49319 [BZ #14132]
49320 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
49321 __endmntent_internal): Remove declaration.
49322 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
49323 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
49324 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
49325
49326 2012-05-30 David S. Miller <davem@davemloft.net>
49327
49328 * sysdeps/sparc/sparc32/soft-fp/q_util.c
49329 (___Q_simulate_exceptions): Use real FP ops rather than writing
49330 into the %fsr.
49331 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
49332 Likewise.
49333
49334 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49335
49336 [BZ #14117]
49337 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
49338 * sysdeps/x86/bits/xtitypes.h: This.
49339
49340 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
49341 * sysdeps/x86/bits/wordsize.h: This.
49342
49343 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
49344 * sysdeps/x86/bits/huge_vall.h: This.
49345
49346 * sysdeps/i386/bits/select.h: Removed.
49347 * sysdeps/x86_64/bits/select.h: Renamed to ...
49348 * sysdeps/x86/bits/select.h: This.
49349
49350 * sysdeps/i386/bits/setjmp.h: Removed.
49351 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
49352 * sysdeps/x86/bits/setjmp.h: This.
49353
49354 * sysdeps/i386/bits/mathdef.h: Removed.
49355 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
49356 * sysdeps/x86/bits/mathdef.h: This.
49357
49358 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
49359
49360 [BZ #14132]
49361 * include/sys/socket.h (__connect_internal)
49362 (__libc_sa_len_internal): Remove declaration.
49363 (__connect, __libc_sa_len): Declare hidden_proto.
49364 (SA_LEN): Remove use of INTUSE.
49365 * socket/connect.c: Add libc_hidden_def.
49366 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
49367 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
49368 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
49369 alias.
49370 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
49371 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
49372 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
49373 of adding _internal alias.
49374
49375 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49376
49377 [BZ #14117]
49378 * sysdeps/i386/bits/link.h: Removed.
49379 * sysdeps/i386/bits/linkmap.h: Likewise.
49380 * sysdeps/x86_64/bits/link.h: Renamed to ...
49381 * sysdeps/x86/bits/link.h: This.
49382 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
49383 * sysdeps/x86/bits/linkmap.h: This.
49384
49385 * sysdeps/i386/bits/endian.h: Removed.
49386 * sysdeps/x86_64/bits/endian.h: Renamed to ...
49387 * sysdeps/x86/bits/endian.h: This.
49388
49389 * sysdeps/i386/bits/byteswap.h: Removed.
49390 * sysdeps/i386/bits/byteswap-16.h: Likewise.
49391 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
49392 * sysdeps/x86/bits/byteswap.h: This.
49393 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
49394 * sysdeps/x86/bits/byteswap-16.h: This.
49395 * sysdeps/i386/Implies: Add x86.
49396 * sysdeps/x86_64/Implies: Likewise.
49397
49398 2012-05-30 David S. Miller <davem@davemloft.net>
49399
49400 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
49401 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
49402 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
49403 (FP_TRAPPING_EXCEPTIONS): Define.
49404 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
49405 (FP_TRAPPING_EXCEPTIONS): Define.
49406 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
49407 subnormals only when inexact has been signalled or underflow
49408 exceptions are enabled.
49409 (_FP_PACK_CANONICAL): Likewise.
49410
49411 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49412
49413 [BZ #14183]
49414 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
49415 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
49416
49417 2012-05-30 Richard Henderson <rth@twiddle.net>
49418
49419 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
49420 with #ifndef NOT_IN_libc.
49421
49422 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
49423 marked to avoid plt entry.
49424
49425 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49426
49427 [BZ #14112]
49428 * Makeconfig (default-abi): New macro.
49429 (abi-includes): Likewise.
49430 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
49431 $(abi-$(default-abi)-lib-soname) for soname if defined.
49432 ($(common-objpfx)gnu/lib-names.stmp): Generate from
49433 abi-variants.
49434 * Makefile (installed-stubs): Likewise.
49435 * include/stubs-biarch.h: Removed.
49436 * scripts/lib-names.awk: Only handle one library at a time.
49437 * scripts/soversions.awk: Remove WORDSIZE support.
49438 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
49439 entries.
49440 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
49441 Removed.
49442 (syscall-list-default-condition): Likewise.
49443 (syscall-list-default-condition): Likewise.
49444 (syscall-list-includes): Likewise.
49445 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
49446 syscall-list-* with abi-*. Handle undefined abi-variants.
49447 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
49448 * sysdeps/unix/sysv/linux/i386/Implies: New file.
49449 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
49450 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
49451 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
49452 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
49453 Removed.
49454 (syscall-list-32-options): Likewise.
49455 (syscall-list-32-condition): Likewise.
49456 (syscall-list-64-options): Likewise.
49457 (syscall-list-64-condition): Likewise.
49458 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
49459 macro.
49460 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
49461 Renamed to ...
49462 (abi-*): This.
49463 (abi-64-ld-soname): New macro.
49464 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
49465 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
49466 Renamed to ...
49467 (abi-*): This.
49468 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
49469 * sysdeps/x86_64/x32/shlib-versions: Likewise.
49470
49471 2012-05-30 Joseph Myers <joseph@codesourcery.com>
49472
49473 * sysdeps/unix/sysv/linux/kernel-features.h
49474 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
49475 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
49476 include <kernel-features.h>.
49477 [!__NR_ftruncate64]: Remove conditional code.
49478 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49479 [__NR_ftruncate64]: Make code unconditional.
49480 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49481 * sysdeps/unix/sysv/linux/truncate64.c: Do not
49482 include <kernel-features.h>.
49483 [!__NR_ftruncate64]: Remove conditional code.
49484 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49485 [__NR_ftruncate64]: Make code unconditional.
49486 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
49488 include <kernel-features.h>.
49489 [!__NR_ftruncate64]: Remove conditional code.
49490 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49491 [__NR_ftruncate64]: Make code unconditional.
49492 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
49494 include <kernel-features.h>.
49495 [!__NR_ftruncate64]: Remove conditional code.
49496 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49497 [__NR_ftruncate64]: Make code unconditional.
49498 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49499
49500 * configure.in (libc_cv_fpie): Weaken to a compile test using
49501 LIBC_TRY_CC_OPTION.
49502 * configure: Regenerated.
49503
49504 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49505
49506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
49507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
49508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
49509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49510 Refreshed.
49511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
49512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
49513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
49514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
49515 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
49516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49517 Refreshed.
49518
49519 2012-05-27 David S. Miller <davem@davemloft.net>
49520
49521 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
49522 (___Q_zero): New.
49523 (__Q_simulate_exceptions): Return void. Change to simulate
49524 exceptions by writing into the %fsr.
49525 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
49526 (__Qp_handle_exceptions): Likewise.
49527 (numbers): Delete.
49528 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
49529 __Qp_handle_exceptions.
49530 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
49531 __Qp_handle_exceptions.
49532 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49533 as unused and give dummy FP_RND_NEAREST initializer.
49534 (FP_INHIBIT_RESULTS): Define.
49535 (___Q_simulate_exceptions): Update declaration.
49536 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
49537 formatting.
49538 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49539 as unused and give dummy FP_RND_NEAREST initializer.
49540 (__Qp_handle_exceptions): Update declaration.
49541 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
49542 formatting.
49543
49544 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
49545
49546 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
49547 the temporary FPU control word.
49548 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
49549 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
49550 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
49551 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49552 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
49553 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
49554 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
49555 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49556 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
49557 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
49558 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49559
49560 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49561
49562 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
49563 fields.
49564
49565 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
49566
49567 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
49568 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
49569 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
49570 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
49571 Likewise.
49572 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
49573 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
49574 Likewise.
49575
49576 2012-05-27 Ulrich Drepper <drepper@gmail.com>
49577
49578 * po/h.po: Update from translation team.
49579
49580 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
49581
49582 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
49583
49584 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
49585 handling of denormals.
49586 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49587 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
49588 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49589 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49590 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49591 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
49592 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
49593 Likewise.
49594
49595 2012-05-26 Marek Polacek <polacek@redhat.com>
49596
49597 [BZ #14152]
49598 * math/libm-test.inc (fma_test): Don't always expect underflow
49599 exception.
49600
49601 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49602
49603 [BZ #12416]
49604 * elf/tst-execstack.c: Include stackinfo.h.
49605 (do_test): Adjust test case to ensure that pthread_getattr_np
49606 behaviour remains the same after marking stack executable.
49607
49608 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49609
49610 * sysdeps/unix/sysv/linux/kernel-features.h
49611 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
49612 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
49613 kernel-features.h.
49614 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49615 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49616 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
49617 kernel-features.h.
49618 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49619 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49620
49621 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
49622
49623 * configure.in: Define the default includes to being none.
49624 * configure: Regenerated.
49625
49626 2012-05-25 Roland McGrath <roland@hack.frob.com>
49627
49628 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
49629 * sysdeps/x86_64/setjmp.S: Likewise.
49630 * sysdeps/i386/bsd-setjmp.S: Likewise.
49631 * sysdeps/i386/bsd-_setjmp.S: Likewise.
49632 * sysdeps/i386/setjmp.S: Likewise.
49633 * sysdeps/i386/__longjmp.S: Likewise.
49634 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49635 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
49636
49637 * include/stap-probe.h: New file.
49638 * configure.in: Handle --enable-systemtap.
49639 * configure: Regenerated.
49640 * config.h.in (USE_STAP_PROBE): New #undef.
49641 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
49642 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
49643 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
49644
49645 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49646
49647 [BZ #13717]
49648 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49649 to 2.4.0 where earlier.
49650 * sysdeps/unix/sysv/linux/configure: Regenerated.
49651 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
49652 <kernel-features.h>.
49653 [__ASSUME_32BITUIDS]: Make code unconditional.
49654 [!__ASSUME_32BITUIDS]: Remove conditional code.
49655 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
49656 <kernel-features.h>.
49657 [__ASSUME_32BITUIDS]: Make code unconditional.
49658 [!__ASSUME_32BITUIDS]: Remove conditional code.
49659 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
49660 [__ASSUME_32BITUIDS]: Make code unconditional.
49661 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
49662 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
49663 <kernel-features.h>.
49664 [__ASSUME_32BITUIDS]: Make code unconditional.
49665 [!__ASSUME_32BITUIDS]: Remove conditional code.
49666 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
49667 <kernel-features.h>.
49668 [__ASSUME_32BITUIDS]: Make code unconditional.
49669 [!__ASSUME_32BITUIDS]: Remove conditional code.
49670 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
49671 <kernel-features.h>.
49672 [__ASSUME_32BITUIDS]: Make code unconditional.
49673 [!__ASSUME_32BITUIDS]: Remove conditional code.
49674 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
49675 <kernel-features.h>.
49676 [__ASSUME_32BITUIDS]: Make code unconditional.
49677 [!__ASSUME_32BITUIDS]: Remove conditional code.
49678 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
49679 <kernel-features.h>.
49680 [__ASSUME_32BITUIDS]: Make code unconditional.
49681 [!__ASSUME_32BITUIDS]: Remove conditional code.
49682 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
49683 <kernel-features.h>.
49684 [__ASSUME_32BITUIDS]: Make code unconditional.
49685 [!__ASSUME_32BITUIDS]: Remove conditional code.
49686 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
49687 <kernel-features.h>.
49688 [__ASSUME_32BITUIDS]: Make code unconditional.
49689 [!__ASSUME_32BITUIDS]: Remove conditional code.
49690 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
49691 <kernel-features.h>.
49692 [__ASSUME_32BITUIDS]: Make code unconditional.
49693 [!__ASSUME_32BITUIDS]: Remove conditional code.
49694 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
49695 <kernel-features.h>.
49696 [__ASSUME_32BITUIDS]: Make code unconditional.
49697 [!__ASSUME_32BITUIDS]: Remove conditional code.
49698 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
49699 <kernel-features.h>.
49700 [__ASSUME_32BITUIDS]: Make code unconditional.
49701 [!__ASSUME_32BITUIDS]: Remove conditional code.
49702 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
49703 <kernel-features.h>.
49704 [__NR_setresgid] (__setresgid): Do not declare.
49705 [__ASSUME_32BITUIDS]: Make code unconditional.
49706 [!__ASSUME_32BITUIDS]: Remove conditional code.
49707 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
49708 <kernel-features.h>.
49709 [__NR_setresuid] (__setresuid): Do not declare.
49710 [__ASSUME_32BITUIDS]: Make code unconditional.
49711 [!__ASSUME_32BITUIDS]: Remove conditional code.
49712 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
49713 <kernel-features.h>.
49714 [__ASSUME_32BITUIDS]: Make code unconditional.
49715 [!__ASSUME_32BITUIDS]: Remove conditional code.
49716 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
49717 <kernel-features.h>.
49718 [__ASSUME_32BITUIDS]: Make code unconditional.
49719 [!__ASSUME_32BITUIDS]: Remove conditional code.
49720 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
49721 <kernel-features.h>.
49722 [__ASSUME_32BITUIDS]: Make code unconditional.
49723 [!__ASSUME_32BITUIDS]: Remove conditional code.
49724 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
49725 <kernel-features.h>.
49726 [__ASSUME_32BITUIDS]: Make code unconditional.
49727 [!__ASSUME_32BITUIDS]: Remove conditional code.
49728 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
49729 <kernel-features.h>.
49730 [__ASSUME_32BITUIDS]: Make code unconditional.
49731 [!__ASSUME_32BITUIDS]: Remove conditional code.
49732 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
49733 <kernel-features.h>.
49734 [__ASSUME_32BITUIDS]: Make code unconditional.
49735 [!__ASSUME_32BITUIDS]: Remove conditional code.
49736 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
49737 <kernel-features.h>.
49738 [__ASSUME_32BITUIDS]: Make code unconditional.
49739 [!__ASSUME_32BITUIDS]: Remove conditional code.
49740 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
49741 <kernel-features.h>.
49742 [__ASSUME_32BITUIDS]: Make code unconditional.
49743 [!__ASSUME_32BITUIDS]: Remove conditional code.
49744 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
49745 <kernel-features.h>.
49746 [__ASSUME_32BITUIDS]: Make code unconditional.
49747 [!__ASSUME_32BITUIDS]: Remove conditional code.
49748 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
49749 <kernel-features.h>.
49750 [__ASSUME_32BITUIDS]: Make code unconditional.
49751 [!__ASSUME_32BITUIDS]: Remove conditional code.
49752 * sysdeps/unix/sysv/linux/kernel-features.h
49753 (__ASSUME_SETRESUID_SYSCALL): Remove.
49754 (__ASSUME_SETRESGID_SYSCALL): Likewise.
49755 (__ASSUME_32BITUIDS): Likewise.
49756 (__ASSUME_LDT_WORKS): Likewise.
49757 (__ASSUME_O_DIRECTORY): Likewise.
49758 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
49759 architecture but not kernel version.
49760 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
49761 (__ASSUME_MMAP2_SYSCALL): Likewise.
49762 (__ASSUME_STAT64_SYSCALL): Likewise.
49763 (__ASSUME_IPC64): Likewise.
49764 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
49765 <kernel-features.h>.
49766 [__ASSUME_32BITUIDS]: Make code unconditional.
49767 [!__ASSUME_32BITUIDS]: Remove conditional code.
49768 * sysdeps/unix/sysv/linux/opendir.c: Do not include
49769 <kernel-features.h>.
49770 [__ASSUME_O_DIRECTORY]: Make code unconditional.
49771 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
49772 132096]: Remove conditional code.
49773 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
49774 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
49783 <kernel-features.h>.
49784 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
49785 unconditional.
49786 (__setresgid): Do not declare.
49787 [__ASSUME_32BITUIDS]: Make code unconditional.
49788 [!__ASSUME_32BITUIDS]: Remove conditional code.
49789 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
49790 <kernel-features.h>.
49791 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
49792 unconditional.
49793 (__setresuid): Do not declare.
49794 [__ASSUME_32BITUIDS]: Make code unconditional.
49795 [!__ASSUME_32BITUIDS]: Remove conditional code.
49796 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
49797 <kernel-features.h>.
49798 [__ASSUME_32BITUIDS]: Make code unconditional.
49799 [!__ASSUME_32BITUIDS]: Remove conditional code.
49800 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
49801 <kernel-features.h>.
49802 [__ASSUME_32BITUIDS]: Make code unconditional.
49803 [!__ASSUME_32BITUIDS]: Remove conditional code.
49804
49805 2012-05-25 Richard Henderson <rth@twiddle.net>
49806
49807 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
49808 dl_hwcap to ifunc resolver.
49809 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
49810 elf_ifunc_invoke.
49811 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
49812 dl_hwcap to ifunc resolver.
49813 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
49814
49815 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49816
49817 [BZ #14153]
49818 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
49819 for |x| <= 2**-26, not 2**-57.
49820 * math/libm-test.inc (acos_test): Do not allow spurious underflow
49821 exception.
49822
49823 2012-05-24 Jeff Law <law@redhat.com>
49824
49825 * stdio-common/Makefile (tests): Add bug25.
49826 * stdio-common/bug25.c: New test.
49827
49828 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
49829
49830 [BZ #13576]
49831 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
49832 multiple of MALLOC_ALIGNMENT in size.
49833 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
49834
49835 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49836
49837 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
49838 Require >= 256.
49839 (FILENAME_MAX): Use macro-int-constant.
49840 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
49841 (_IOFBF): Use macro-int-constant.
49842 (_IOLBF): Likewise.
49843 (_IONBF): Likewise.
49844 (SEEK_CUR): Likewise.
49845 (SEEK_END): Likewise.
49846 (SEEK_SET): Likewise.
49847 (TMP_MAX): Likewise.
49848 (EOF): Use macro-int-constant. Require < 0.
49849 (NULL): Use macro-constant. Require == 0.
49850 (stdin): Require type to be FILE *.
49851 (stdout): Likewise.
49852 (stderr): Likewise.
49853 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
49854 macro-int-constant.
49855 (EXIT_SUCCESS): Likewise.
49856 (NULL): Use macro-constant. Require == 0.
49857 (RAND_MAX): Use macro-int-constant.
49858 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
49859 [C99-based standards] (strtof): Require function.
49860 [C99-based standards] (strtold): Likewise.
49861 [C99-based standards] (strtoll): Likewise.
49862 [C99-based standards] (strtoull): Likewise.
49863 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49864 [ISO || ISO99 || ISO11] (limits.h): Likewise.
49865 [ISO || ISO99 || ISO11] (math.h): Likewise.
49866 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
49867 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49868 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49869
49870 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
49871
49872 [BZ #14132]
49873 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
49874 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
49875 * intl/dgettext.c (DCGETTEXT): Likewise.
49876 * intl/gettext.c (DCGETTEXT): Likewise.
49877 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
49878 * posix/regex_internal.h (gettext): Likewise.
49879 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
49880 Remove declaration.
49881 * include/argz.h (__argz_count_internal)
49882 (__argz_stringify_internal): Remove declaration.
49883 (__argz_count, __argz_stringify): Declare hidden proto.
49884 * intl/dcgettext.c: Remove use of INTDEF.
49885 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
49886 * string/argz-stringify.c: Likewise.
49887 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49888 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49889 Declare hidden proto.
49890 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49891 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49892 Declare hidden proto.
49893 * include/stdio.h (__asprintf_internal): Don't declare.
49894 (__asprintf): Don't define as macro. Declare hidden proto.
49895 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
49896 (__fsetlocking): Declare hidden proto.
49897 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
49898 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
49899 hidden proto.
49900 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
49901 (_IO_setlinebuf): Remove use of INTUSE.
49902 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
49903 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
49904 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
49905 Remove declaration.
49906 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
49907 (_IO_do_flush): Remove use of INTUSE.
49908 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
49909 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
49910 (_IO_adjust_column, _IO_least_wmarker)
49911 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
49912 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
49913 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
49914 (_IO_default_doallocate, _IO_wdefault_doallocate)
49915 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
49916 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
49917 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
49918 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
49919 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
49920 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
49921 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
49922 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
49923 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
49924 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
49925 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
49926 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
49927 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
49928 proto.
49929 (_IO_flush_all_internal, _IO_adjust_column_internal)
49930 (_IO_default_uflow_internal, _IO_default_finish_internal)
49931 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
49932 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
49933 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
49934 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
49935 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
49936 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
49937 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
49938 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
49939 (_IO_file_close_internal, _IO_file_close_it_internal)
49940 (_IO_file_underflow_internal, _IO_file_overflow_internal)
49941 (_IO_file_init_internal, _IO_file_attach_internal)
49942 (_IO_file_fopen_internal, _IO_file_read_internal)
49943 (_IO_file_sync_internal, _IO_file_seek_internal)
49944 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
49945 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
49946 (_IO_str_underflow_internal, _IO_str_overflow_internal)
49947 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
49948 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
49949 (_IO_list_all_internal, _IO_link_in_internal)
49950 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
49951 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
49952 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
49953 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
49954 (_IO_do_write_internal, _IO_padn_internal)
49955 (_IO_getline_info_internal, _IO_getline_internal)
49956 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
49957 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
49958 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
49959 (_IO_vfscanf_internal, _IO_vfprintf_internal)
49960 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
49961 (_IO_init_internal, _IO_un_link_internal): Don't declare.
49962 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
49963 with libc_hidden_ver, remove use of INTUSE.
49964 * libio/genops.c: Likewise.
49965 * libio/freopen.c: Likewise.
49966 * libio/freopen64.c: Likewise.
49967 * libio/iofclose.c: Likewise.
49968 * libio/iofdopen.c: Likewise.
49969 * libio/iofflush.c: Likewise.
49970 * libio/iofflush_u.c: Likewise.
49971 * libio/iofgets.c: Likewise.
49972 * libio/iofgets_u.c: Likewise.
49973 * libio/iofopen.c: Likewise.
49974 * libio/iofopncook.c: Likewise.
49975 * libio/iofread.c: Likewise.
49976 * libio/iofread_u.c: Likewise.
49977 * libio/ioftell.c: Likewise.
49978 * libio/iofwrite.c: Likewise.
49979 * libio/iogetline.c: Likewise.
49980 * libio/iogets.c: Likewise.
49981 * libio/iogetwline.c: Likewise.
49982 * libio/iopadn.c: Likewise.
49983 * libio/iopopen.c: Likewise.
49984 * libio/ioseekoff.c: Likewise.
49985 * libio/ioseekpos.c: Likewise.
49986 * libio/iosetbuffer.c: Likewise.
49987 * libio/iosetvbuf.c: Likewise.
49988 * libio/ioungetc.c: Likewise.
49989 * libio/ioungetwc.c: Likewise.
49990 * libio/iovdprintf.c: Likewise.
49991 * libio/iovsprintf.c: Likewise.
49992 * libio/iovsscanf.c: Likewise.
49993 * libio/memstream.c: Likewise.
49994 * libio/obprintf.c: Likewise.
49995 * libio/oldfileops.c: Likewise.
49996 * libio/oldiofclose.c: Likewise.
49997 * libio/oldiofdopen.c: Likewise.
49998 * libio/oldiofopen.c: Likewise.
49999 * libio/oldiopopen.c: Likewise.
50000 * libio/oldstdfiles.c: Likewise.
50001 * libio/putc.c: Likewise.
50002 * libio/setbuf.c: Likewise.
50003 * libio/setlinebuf.c: Likewise.
50004 * libio/stdfiles.c: Likewise.
50005 * libio/strops.c: Likewise.
50006 * libio/vasprintf.c: Likewise.
50007 * libio/vscanf.c: Likewise.
50008 * libio/vsnprintf.c: Likewise.
50009 * libio/vswprintf.c: Likewise.
50010 * libio/wfiledoalloc.c: Likewise.
50011 * libio/wfileops.c: Likewise.
50012 * libio/wgenops.c: Likewise.
50013 * libio/wmemstream.c: Likewise.
50014 * libio/wstrops.c: Likewise.
50015 * libio/__fpurge.c: Likewise.
50016 * libio/__fsetlocking.c: Likewise.
50017 * assert/assert.c: Likewise.
50018 * debug/fgets_chk.c: Likewise.
50019 * debug/fgets_u_chk.c: Likewise.
50020 * debug/fread_chk.c: Likewise.
50021 * debug/fread_u_chk.c: Likewise.
50022 * debug/gets_chk.c: Likewise.
50023 * debug/obprintf_chk.c: Likewise.
50024 * debug/vasprintf_chk.c: Likewise.
50025 * debug/vdprintf_chk.c: Likewise.
50026 * debug/vsnprintf_chk.c: Likewise.
50027 * debug/vsprintf_chk.c: Likewise.
50028 * malloc/mtrace.c: Likewise.
50029 * misc/error.c: Likewise.
50030 * misc/syslog.c: Likewise.
50031 * stdio-common/asprintf.c: Likewise.
50032 * stdio-common/fxprintf.c: Likewise.
50033 * stdio-common/getw.c: Likewise.
50034 * stdio-common/isoc99_fscanf.c: Likewise.
50035 * stdio-common/isoc99_scanf.c: Likewise.
50036 * stdio-common/isoc99_vfscanf.c: Likewise.
50037 * stdio-common/isoc99_vscanf.c: Likewise.
50038 * stdio-common/isoc99_vsscanf.c: Likewise.
50039 * stdio-common/printf-prs.c: Likewise.
50040 * stdio-common/printf_fp.c: Likewise.
50041 * stdio-common/printf_fphex.c: Likewise.
50042 * stdio-common/printf_size.c: Likewise.
50043 * stdio-common/putw.c: Likewise.
50044 * stdio-common/scanf.c: Likewise.
50045 * stdio-common/sprintf.c: Likewise.
50046 * stdio-common/tmpfile.c: Likewise.
50047 * stdio-common/vfprintf.c: Likewise.
50048 * stdio-common/vfscanf.c: Likewise.
50049 * stdlib/strfmon_l.c: Likewise.
50050 * sunrpc/openchild.c: Likewise.
50051 * sunrpc/xdr_stdio.c: Likewise.
50052 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
50053 * sysdeps/mach/hurd/tmpfile.c: Likewise.
50054
50055 2012-05-24 Roland McGrath <roland@hack.frob.com>
50056
50057 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50058
50059 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
50060 in the third column, to generate for the shared library an IFUNC
50061 that uses _dl_vdso_vsym.
50062 * Makerules (COMPILE.c, compile-stdin.c): New variables.
50063 * Makeconfig (object-suffixes-noshared): New variable.
50064
50065 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
50066 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
50067 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
50068 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
50069
50070 [BZ #14132]
50071 * include/sys/time.h (__gettimeofday): Remove macro.
50072 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
50073 * time/gettimeofday.c (__gettimeofday): Remove #undef.
50074 Remove INTDEF.
50075 (__gettimeofday): Add libc_hidden_def.
50076 (gettimeofday): Add libc_hidden_weak.
50077 * sysdeps/mach/gettimeofday.c: Likewise.
50078 * sysdeps/posix/gettimeofday.c: Likewise.
50079 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
50080 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
50081 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
50082 (__gettimeofday_internal): Remove strong_alias.
50083 (__gettimeofday): Add libc_hidden_def.
50084 (gettimeofday): Add libc_hidden_weak.
50085 * sysdeps/unix/syscalls.list (gettimeofday):
50086 Remove __gettimeofday_internal alias.
50087
50088 2012-05-24 Daniel Jacobowitz <drow@false.org>
50089 H.J. Lu <hongjiu.lu@intel.com>
50090
50091 [BZ #12495]
50092 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
50093 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
50094 (largebin_index_32_big): New.
50095 (largebin_index): Use it for 16-byte alignment.
50096 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
50097 correction with front_misalign.
50098
50099 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
50100
50101 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
50102 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
50103 Likewise.
50104 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
50105 Likewise.
50106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50107 Likewise.
50108 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
50109 Likewise.
50110 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
50111 Likewise.
50112 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
50113 Likewise.
50114 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
50115 Likewise.
50116 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
50117 Likewise.
50118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
50119 Likewise.
50120 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
50121 Likewise.
50122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
50123 Likewise.
50124 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
50125 Likewise.
50126
50127 * scripts/data/c++-types-x32-linux-gnu.data: New file.
50128 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
50129
50130 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50131
50132 [BZ #10846]
50133 [BZ #14036]
50134 * math/libm-test.inc (exp_test): Add test from bug 14036.
50135 (pow_test): Add test from bug 10846.
50136
50137 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
50138 and other flags.
50139 (special_function): Do not include flags in test name.
50140 (parse_args): Likewise.
50141 * sysdeps/i386/fpu/libm-test-ulps: Update.
50142 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50143 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50144 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50146
50147 * math/gen-libm-test.pl (%beautify): Add entries for underflow
50148 exceptions.
50149 * math/libm-test.inc ("Philosophy"): Update comment about
50150 exception testing.
50151 (UNDERFLOW_EXCEPTION): New macro.
50152 (UNDERFLOW_EXCEPTION_OK): Likewise.
50153 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
50154 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
50155 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
50156 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
50157 (INVALID_EXCEPTION_OK): Update value.
50158 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50159 (OVERFLOW_EXCEPTION_OK): Likewise.
50160 (IGNORE_ZERO_INF_SIGN): Likewise.
50161 (test_exceptions): Handle underflow exceptions.
50162 (acos_test): Update for underflow exception expectations.
50163 (cexp_test): Likewise.
50164 (clog_test): Likewise.
50165 (clog10_test): Likewise.
50166 (csqrt_test): Likewise.
50167 (ctan_test): Likewise.
50168 (ctanh_test): Likewise.
50169 (exp_test): Likewise.
50170 (exp10_test): Likewise.
50171 (exp2_test): Likewise.
50172 (expm1_test): Likewise.
50173 (fma_test): Likewise.
50174 (j0_test): Likewise.
50175 (jn_test): Likewise.
50176 (nexttoward_test): Likewise.
50177 (pow_test): Likewise.
50178 (scalbn_test): Likewise.
50179 (scalbln_test): Likewise.
50180 (tan_test): Likewise.
50181 (y1_test): Likewise.
50182 * sysdeps/i386/fpu/libm-test-ulps: Update.
50183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50184
50185 2012-05-23 David S. Miller <davem@davemloft.net>
50186
50187 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50188 (__libc_sigaction): Remove unused local variables.
50189
50190 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50191
50192 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
50193
50194 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
50195
50196 mktime: avoid signed integer overflow
50197 * time/mktime.c (__mktime_internal): Do not mishandle the case
50198 where diff == INT_MIN.
50199
50200 mktime: simplify computation of average
50201 * time/mktime.c (ranged_convert): Use new time_t_avg function
50202 instead of rolling our own (probably-slower) code.
50203
50204 mktime: do not assume signed right shift propagates sign bit
50205 * time/mktime.c (isdst_differ): New static function.
50206 (__mktime_internal): No need to normalize tm_isdst now.
50207 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
50208 tm_isdst values.
50209
50210 mktime: merge another wrapv change from gnulib
50211 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
50212 from some compilers.
50213
50214 mktime: remove incorrect attempt at unusual arithmetics
50215 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
50216 The code didn't really work on such machines anyway.
50217 (TYPE_MINIMUM): Assume two's complement.
50218 (twos_complement_arithmetic): Verify that long_int and time_t
50219 are two's complement (or unsigned, in the latter case).
50220
50221 mktime: check signed shifts on long_int and time_t, too
50222 * time/mktime.c (SHR): Check that shifts work as desired
50223 on the types long_int and time_t too, as SHR is used on
50224 such types.
50225
50226 mktime: do not assume 'long' is wide enough
50227 * time/mktime.c (verify): Move decl up.
50228 (long_int): New type.
50229 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
50230 to remove assumption in the code that 'long' is wide enough to
50231 store year values. This assumption is not true on x32 and on
50232 some non-glibc platforms.
50233
50234 mktime: merge wrapv change from gnulib
50235 * time/mktime.c (WRAPV): New macro.
50236 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
50237 (guess_time_tm, __mktime_internal): Do not assume that signed
50238 integer overflow wraps around; modern compilers generate code
50239 where this assumption is no longer valid.
50240
50241 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50242
50243 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50244 Replace "jmp L(pseudo_end)" with "ret".
50245 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
50246 Likewise.
50247
50248 2012-05-23 Andreas Jaeger <aj@suse.de>
50249
50250 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
50251 * sysdeps/unix/sysv/linux/poll.c: Remove file.
50252
50253 2012-05-23 Andreas Jaeger <aj@suse.de>
50254 Maximilian Attems <max@stro.at>
50255
50256 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
50257 New macros.
50258
50259 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50260
50261 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
50262 code so that pseudo_end is just ret and the stack pointer is
50263 correct also for static library in error case.
50264
50265 2012-05-23 Joseph Myers <joseph@codesourcery.com>
50266
50267 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
50268 move to syscalls.list.
50269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
50270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
50271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
50272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
50273
50274 * manual/install.texi (Running make install): Do not mention Linux
50275 kernel version for which pt_chown is not needed.
50276 (Linux): Do not mention problems with nscd with 2.0 kernels.
50277 * INSTALL: Regenerated.
50278
50279 2012-05-23 Andreas Jaeger <aj@suse.de>
50280
50281 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
50282 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
50283 macro.
50284 * sysdeps/unix/sysv/linux/s390/bits/mman.h
50285 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50286 * sysdeps/unix/sysv/linux/sh/bits/mman.h
50287 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50288 * sysdeps/unix/sysv/linux/i386/bits/mman.h
50289 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50290 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
50291 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50292 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
50293 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50294 * sysdeps/unix/sysv/linux/bits/in.h
50295 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
50296
50297 2012-05-22 Roland McGrath <roland@hack.frob.com>
50298
50299 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
50300 (PREPARE_VERSION): Just use assert instead, it will be elided
50301 under [NDEBUG] anyway.
50302
50303 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50304
50305 * sysdeps/unix/sysv/linux/Makefile: Include
50306 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
50307 (sysdep_routines): Remove sysctl.
50308 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
50309 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
50310 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
50311 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
50312 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
50313
50314 2012-05-22 Andreas Jaeger <aj@suse.de>
50315
50316 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
50317 that pseudo_end is just ret and the stack pointer is correct also
50318 for static library in error case.
50319
50320 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
50321
50322 [BZ #14122]
50323 * nss/nsswitch.c (defconfig_entries): New variable.
50324 (__nss_database_lookup): Don't leak defconfig entries.
50325 (nss_parse_service_list): Don't leak on error paths.
50326 (free_database_entries): New function.
50327 (free_defconfig): New function.
50328 (free_mem): Move common code to free_database_entries.
50329
50330 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50331
50332 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
50333 Add arch_prctl.
50334 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
50335
50336 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50337 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
50338 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
50339 New macro.
50340 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
50341 (INTERNAL_SYSCALL_TYPES): Likewise.
50342 (LOAD_ARGS_TYPES_[1-6]): Likewise.
50343 (LOAD_REGS_TYPES_[1-6]): Likewise.
50344 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
50345 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
50346
50347 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50348
50349 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
50350 copysignl for GLIBC_2_0.
50351 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
50352 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
50353 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
50354 logbl for GLIBC_2_0.
50355 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
50356 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
50357
50358 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50359
50360 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
50361 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50362
50363 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50364 Use "neg %eax".
50365
50366 * time/mktime.c: Update copyright years.
50367
50368 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
50369
50370 mktime: merge comment-quoting-style change from gnulib
50371 * time/mktime.c: Quote 'like this' in comments.
50372 The GNU coding standards suggest that we no longer quote `like this',
50373 as "`" and "'" are typically rendered asymmetrically nowadays.
50374 The typical gnulib style is to quote 'like this' when quoting
50375 code, and "like this" when quoting English.
50376
50377 * time/mktime.c (compile-command): Add "-I.".
50378
50379 mktime: merge mktime-internal.h change from gnulib
50380 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
50381
50382 mktime: merge time_r change from gnulib
50383 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
50384
50385 mktime: merge DEBUG change from gnulib
50386 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
50387 case system <time.h> has a #define.
50388
50389 mktime: merge <sys/types.h> change from gnulib
50390 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
50391 since <time.t> is now guaranteed to define time_t.
50392
50393 mktime: merge HAVE_CONFIG_H change from gnulib
50394 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
50395
50396 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50397
50398 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50399 Use "neg %eax".
50400
50401 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
50402 __rlim_t cast.
50403 (struct rusage): Use anonymous union to pad each field to
50404 __syscall_slong_t.
50405
50406 2012-05-21 David S. Miller <davem@davemloft.net>
50407
50408 * Makefules (o-iterator): Remove .s cases.
50409 (compile-command.s): Delete.
50410 (COMPILE.s): Delete.
50411 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
50412
50413 2012-05-21 Joseph Myers <joseph@codesourcery.com>
50414
50415 * configure.in (libc_cv_predef_stack_protector): Only consider
50416 "foobar" and "__stack_chk_fail" lines in libc_undefs.
50417 * configure: Regenerated.
50418
50419 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50420
50421 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50422 New macro. Use R*LP on int and pointer.
50423 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
50424 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
50425 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
50426 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
50427
50428 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
50429 [__WORDSIZE_TIME64_COMPAT32] instead of
50430 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
50431 (struct utmp): Likewise.
50432 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
50433 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
50434 Renamed to ...
50435 (__WORDSIZE_TIME64_COMPAT32): This.
50436 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
50437 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
50438 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
50439 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
50440 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
50441 (__WORDSIZE_TIME64_COMPAT32): New macro.
50442
50443 2012-05-21 Andreas Jaeger <aj@suse.de>
50444
50445 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
50446 only if [SHARED]. Add prototype for __wcschr_ia32.
50447
50448 2012-05-21 Roland McGrath <roland@hack.frob.com>
50449
50450 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
50451 of %rbp unmolested in the jmp_buf while mangling the low bits.
50452 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
50453 unmolested high bits of %rbp while demangling the low bits.
50454 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50455
50456 2012-05-21 Andreas Jaeger <aj@suse.de>
50457
50458 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
50459 * sunrpc/svc_simple.c: Use it for registerrpc.
50460 * sunrpc/xcrypt.c: Use it for passwd2des.
50461
50462 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
50463
50464 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50465
50466 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
50467 Don't define if [__SYSCALL_WORDSIZE != 32].
50468 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
50469 New macro.
50470
50471 2012-05-21 Bruno Haible <bruno@clisp.org>
50472 Andreas Jaeger <aj@suse.de>
50473
50474 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
50475 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
50476 inptr and inend for must_buffer_ch.
50477 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
50478 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
50479 * stdio-common/Makefile (tests): Remove bug15.
50480 (bug15-ENV): Remove macro.
50481 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
50482 anymore.
50483
50484 2012-05-19 Andreas Jaeger <aj@suse.de>
50485 Roland McGrath <roland@hack.frob.com>
50486
50487 * manual/contrib.texi: Completely rewritten. It contains now an
50488 alphabetical list of contributors and their contributions.
50489
50490 2012-05-21 Richard Henderson <rth@twiddle.net>
50491
50492 * misc/getauxval.c (__getauxval): Use unsigned long int.
50493 * misc/sys/auxv.h: Include <sys/cdefs.h>.
50494 (getauxval): Use unsigned long int.
50495
50496 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50497
50498 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50499
50500 2012-05-21 Roland McGrath <roland@hack.frob.com>
50501
50502 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
50503 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
50504 __alignof__ (long double).
50505
50506 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50507
50508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50509
50510 2012-05-20 Richard Henderson <rth@twiddle.net>
50511
50512 * misc/getauxval.c: New file.
50513 * misc/sys/auxv.h: New file.
50514 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
50515 (routines): Add getauxval.
50516 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
50517 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
50518 * elf/dl-sysdep.c (_dl_auxv): Remove.
50519 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
50520 * elf/dl-support.c (_dl_auxv): New variable.
50521 (_dl_aux_init): Initialize it.
50522 * manual/startup.texi (Auxiliary Vector): New node.
50523 * sysdeps/generic/bits/hwcap.h: New file.
50524 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
50525 * sysdeps/powerpc/sysdep.h: ... here. Include it.
50526 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
50527 * sysdeps/sparc/sysdep.h: ... here. Include it.
50528 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
50529 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
50530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50531 Update.
50532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
50533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
50534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
50535 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
50536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
50539 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
50540
50541 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50542
50543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50544
50545 2012-05-19 David S. Miller <davem@davemloft.net>
50546
50547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50548
50549 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50550
50551 [BZ #14123]
50552 * math/s_ccosh.c: Include <float.h>
50553 (__ccosh): Avoid internal overflow calculating sinh and cosh
50554 values before multiplying by sin and cos values.
50555 * math/s_ccoshf.c: Likewise.
50556 * math/s_ccoshl.c: Likewise.
50557 * math/s_csin.c: Likewise.
50558 * math/s_csinf.c: Likewise.
50559 * math/s_csinl.c: Likewise.
50560 * math/s_csinh.c: Likewise.
50561 * math/s_csinhf.c: Likewise.
50562 * math/s_csinhl.c: Likewise.
50563 * math/libm-test.inc (ccos_test): Add more tests.
50564 (ccosh_test): Likewise.
50565 (csin_test): Likewise.
50566 (csinh_test): Likewise.
50567 * sysdeps/i386/fpu/libm-test-ulps: Update.
50568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50569
50570 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
50571
50572 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
50573 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
50574
50575 * sysdeps/x86_64/x32/_itoa.h: Add comment.
50576
50577 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50578
50579 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
50580 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
50581 * sysdeps/powerpc/soft-fp/Versions: Likewise.
50582 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
50583 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
50584 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
50585 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
50586 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
50587 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
50588 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
50589 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
50590 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
50591 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
50592 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
50593 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
50594 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
50595 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
50596 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
50597 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
50598 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
50599 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
50600 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
50601 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
50602 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
50603 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
50604 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
50605 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
50606 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
50607 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
50608 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
50609 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
50610
50611 2012-05-18 Andreas Jaeger <aj@suse.de>
50612
50613 * csu/.gitignore: Delete.
50614
50615 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50616
50617 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
50618 (timex): Use __syscall_slong_t.
50619
50620 2012-05-18 Andreas Jaeger <aj@suse.de>
50621 Carlos O'Donell <carlos_odonell@mentor.com>
50622
50623 * manual/install.texi (Configuring and compiling): Update
50624 description about files modified in the source directory.
50625 * INSTALL: Regenerated.
50626
50627 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50628
50629 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
50630 value. Use "or" to set return value to -1.
50631 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
50632 negate return value.
50633
50634 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50635
50636 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
50637 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
50638 failure if the compiler has Graphite support disabled.
50639 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
50640 Likewise.
50641 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
50642 (CFLAGS-memmove.c): Likewise.
50643 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
50644 Likewise.
50645
50646 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50647
50648 * sysdeps/x86_64/x32/_itoa.h: New file.
50649
50650 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
50651 getdents system call only if kernel and user dirents have the
50652 same d_ino and d_off.
50653
50654 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50655 LLONG_MAX != LONG_MAX.
50656 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50657 (_fitoa_word): Likewise.
50658
50659 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
50660 years.
50661 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
50662 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
50663 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
50664
50665 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
50666 include <bits/wordsize.h>. Check __x86_64__ instead of
50667 __WORDSIZE.
50668 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
50669 if __x86_64__ is defined. Use anonymous union on fpstate.
50670
50671 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
50672 anonymous union.
50673
50674 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
50675
50676 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
50677 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
50678 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
50679 Refer to _rtld_local_ro instead of _rtld_global_ro.
50680 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
50681 Likewise.
50682 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
50683 Likewise.
50684 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
50685 Likewise.
50686 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
50687 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
50688 of _rtld_global, and rtld_progname instead of _dl_argv[0].
50689
50690 [BZ #10882]
50691 * sysdeps/powerpc/powerpc32/dl-machine.c
50692 (__elf_machine_runtime_setup) [PROF]: Don't reference
50693 _dl_prof_resolve.
50694
50695 2012-05-18 Andreas Jaeger <aj@suse.de>
50696
50697 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
50698 function only available for GCCs before 3.4 since GCC 3.4
50699 introduced a builtin.
50700 (lrint): Likewise.
50701 (llrintf): Likewise.
50702 (llrint): Likewise.
50703 (fmaxf): Likewise.
50704 (fmax): Likewise.
50705 (fminf): Likewise.
50706 (fmin): Likewise.
50707 (rint): Likewise.
50708 (rintf): Likewise.
50709 (nearbyint): Likewise.
50710 (nearbyintf): Likewise.
50711 (ceil): Likewise.
50712 (ceilf): Likewise.
50713 (floor): Likewise.
50714 (floorf): Likewise.
50715
50716 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50717
50718 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
50719 on both fields and cast pointer to __syscall_ulong_t.
50720
50721 * bits/types.h (__fsword_t): New type.
50722 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
50723 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
50724 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50725 (__FSWORD_T_TYPE): Likewise.
50726 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50727 (__FSWORD_T_TYPE): Likewise.
50728 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50729 (__FSWORD_T_TYPE): Likewise.
50730 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
50731 (__FSWORD_T_TYPE): Likewise.
50732 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
50733 __SWORD_TYPE with __fsword_t.
50734 (statfs64): Likewise.
50735
50736 2012-05-17 David S. Miller <davem@davemloft.net>
50737
50738 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
50739
50740 2012-05-17 Andreas Jaeger <aj@suse.de>
50741
50742 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
50743 warning.
50744
50745 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50746
50747 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
50748
50749 2012-05-17 Andreas Jaeger <aj@suse.de>
50750
50751 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
50752 when it is used.
50753
50754 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50755
50756 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
50757
50758 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50759
50760 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
50761 * sysdeps/x86_64/tst-mallocalign1.c: New file.
50762
50763 2012-05-17 Andreas Jaeger <aj@suse.de>
50764 Carlos O'Donell <carlos_odonell@mentor.com>
50765
50766 [BZ #14059]
50767 * sysdeps/x86_64/multiarch/init-arch.h
50768 (bit_YMM_Usable): Rename to...
50769 (bit_AVX_Usable): ... this.
50770 (bit_FMA4_Usable): New macro.
50771 (bit_XMM_state): New macro.
50772 (bit_YMM_state): New macro.
50773 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
50774 [__ASSEMBLER__] (index_AVX_Usable): ... this.
50775 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
50776 (CPUID_OSXSAVE): New macro.
50777 (CPUID_AVX): New macro.
50778 (CPUID_FMA4): New macro.
50779 (index_YMM_Usable): Rename to...
50780 (index_AVX_Usable): ... this.
50781 (HAS_AVX): Use HAS_ARCH_FEATURE.
50782 (HAS_FMA4): Likewise.
50783 (HAS_YMM_USABLE): Remove.
50784 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50785 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
50786 are present.
50787 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
50788 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
50789 * sysdeps/x86_64/multiarch/Makefile: Likewise.
50790 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
50791 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
50792
50793 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50794
50795 * math/libm-test.c: Support platforms without multiple rounding modes.
50796 * math/bug-nextafter.c: Support platforms without FP exceptions.
50797 * math/bug-nexttoward.c: Likewise.
50798 * math/test-fenv.c: Likewise.
50799 * math/test-misc.c: Likewise.
50800 * stdlib/bug-getcontext.c: Likewise.
50801
50802 2012-05-17 Andreas Jaeger <aj@suse.de>
50803
50804 * manual/examples/search.c (critter_cmp): Change signature to
50805 avoid warnings.
50806 * manual/string.texi (Collation Functions): Likewise.
50807
50808 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50809
50810 * bits/types.h: Fold copyright years.
50811 * bits/typesizes.h: Likewise.
50812 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
50813 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
50814 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
50815 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
50816 * time/time.h: Likewise.
50817
50818 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
50819
50820 [BZ #208]
50821 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
50822 in instead of returning them. Return void.
50823 (__libc_mallinfo): Accumulate over all arenas.
50824 (__malloc_stats): Adjust for change in int_mallinfo interface.
50825
50826 2012-05-16 Roland McGrath <roland@hack.frob.com>
50827
50828 [BZ #10375]
50829 * configure.in (NM): Add AC_CHECK_TOOL for it.
50830 (libc_extra_cflags): New substituted variable.
50831 Check for -fstack-protector being used implicitly.
50832 * configure: Regenerated.
50833 * config.make.in (config-extra-cflags): New variable,
50834 gets @libc_extra_cflags@.
50835 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
50836
50837 [BZ #10375]
50838 * configure.in: Check for _FORTIFY_SOURCE being predefined.
50839 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
50840 * configure: Regenerated.
50841 * config.make.in (CPPUNDEFS): New substituted variable.
50842 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
50843 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
50844 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
50845
50846 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50847
50848 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
50849 (mq_attr): Use __syscall_slong_t.
50850
50851 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50852
50853 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
50854 Check __x86_64__ instead of __WORDSIZE.
50855 (_STAT_VER_LINUX): Likewise.
50856 (stat): Check __x86_64__ instead of __WORDSIZE. Use
50857 __syscall_ulong_t and __syscall_slong_t.
50858 (stat64): Likewise.
50859
50860 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50861
50862 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
50863
50864 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50865
50866 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
50867
50868 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50869
50870 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
50871 __syscall_ulong_t.
50872
50873 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
50874 include <bits/wordsize.h>. Check __x86_64__ instead of
50875 __WORDSIZE.
50876 (greg_t): Use "__extension__ long long int" if __x86_64__ is
50877 defined.
50878 (mcontext_t): Replace "unsigned long" with "unsigned long long".
50879
50880 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
50881 include <bits/wordsize.h>. Check __x86_64__ instead of
50882 __WORDSIZE.
50883 (user_regs_struct): Use "__extension__ unsigned long long"
50884 instead of "unsigned long" if __x86_64__ is defined.
50885 (user): Likewise. Pad after pointer field if __ILP32__ is
50886 defined.
50887
50888 2012-05-16 Joseph Myers <joseph@codesourcery.com>
50889
50890 * configure.in (makeinfo): Require version 4.5 or later. Allow
50891 versions 5 to 9.
50892 * configure: Regenerated.
50893 * manual/install.texi (texinfo): Increase version requirement to
50894 4.5 or later.
50895 * INSTALL: Regenerated.
50896
50897 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
50898
50899 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50900
50901 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
50902
50903 * sysdeps/x86_64/x32/ffs.c: New file.
50904
50905 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
50906 __syscall_ulong_t.
50907 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
50908 defined. Use __syscall_ulong_t.
50909 (shminfo): Use __syscall_ulong_t.
50910 (shm_info): Likewise.
50911
50912 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
50913 __syscall_ulong_t.
50914
50915 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
50916 <bits/wordsize.h>.
50917 (msgqnum_t): Use __syscall_ulong_t.
50918 (msglen_t): Likewise.
50919 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
50920 __syscall_ulong_t.
50921
50922 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
50923 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50924
50925 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
50926
50927 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
50928 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
50929
50930 * sysvipc/sys/msg.h (msgbuf): Replace long int with
50931 __syscall_slong_t.
50932
50933 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
50934 include <bits/wordsize.h>. Check __x86_64__ instead of
50935 __WORDSIZE.
50936
50937 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
50938 "unsigned long long int" if __x86_64__ is defined.
50939 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
50940
50941 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
50942 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50943 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
50944
50945 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
50946 <stdint.h>.
50947 (GET_PC): Cast to uintptr_t first.
50948 (GET_FRAME): Likewise.
50949 (GET_STACK): Likewise.
50950
50951 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
50952 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
50953 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
50954 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
50955 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
50956 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
50957 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
50958 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
50959 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
50960 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
50961 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
50962 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
50963 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
50964 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
50965 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
50966 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
50967 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
50968 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
50969 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
50970 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
50971 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
50972 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
50973 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
50974 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
50975 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
50976 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
50977 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
50978 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
50979 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
50980
50981 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
50982
50983 * Makerules (+depfiles): Also collect depfiles from .oS in
50984 $(extra-objs).
50985 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
50986 .oS, $(libnldbl-routines)).
50987
50988 * Makerules (native-compile-mkdep-flags): Define.
50989 * sunrpc/Makefile (extra-objs): Add $(addprefix
50990 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
50991 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
50992 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
50993 calling $(make-target-directory).
50994
50995 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50996
50997 * bits/types.h (__snseconds_t): Removed.
50998 * time/time.h (struct timespec): Replace __snseconds_t with
50999 __syscall_slong_t.
51000 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
51001 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
51002 Likewise.
51003 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51004 (__SNSECONDS_T_TYPE): Likewise.
51005 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51006 (__SNSECONDS_T_TYPE): Likewise.
51007 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51008 (__SNSECONDS_T_TYPE): Likewise.
51009
51010 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51011
51012 * sysdeps/mach/hurd/bits/typesizes.h
51013 (__SYSCALL_SLONG_TYPE): New macro.
51014 (__SYSCALL_ULONG_TYPE): Likewise.
51015
51016 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51017
51018 * bits/types.h (__syscall_slong_t): New type.
51019 (__syscall_ulong_t): Likewise.
51020
51021 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
51022 (__SYSCALL_ULONG_TYPE): Likewise.
51023 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51024 (__SYSCALL_SLONG_TYPE): Likewise.
51025 (__SYSCALL_ULONG_TYPE): Likewise.
51026 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51027 (__SYSCALL_SLONG_TYPE): Likewise.
51028 (__SYSCALL_ULONG_TYPE): Likewise.
51029 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51030 (__SYSCALL_SLONG_TYPE): Likewise.
51031 (__SYSCALL_ULONG_TYPE): Likewise.
51032
51033 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51034
51035 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
51036 Add sigaltstack-offsets.sym.
51037 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
51038 <sigaltstack-offsets.h>.
51039 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
51040 longjmp_msg pointer.
51041 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
51042 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
51043 signal stack.
51044 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
51045
51046 2012-05-15 Joseph Myers <joseph@codesourcery.com>
51047
51048 * elf/stackguard-macros.h: Remove file.
51049 * sysdeps/generic/stackguard-macros.h: New file.
51050 * sysdeps/i386/stackguard-macros.h: Likewise.
51051 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
51052 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
51053 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
51054 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
51055 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
51056 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
51057 * sysdeps/x86_64/stackguard-macros.h: Likewise.
51058 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
51059 <elf/stackguard-macros.h>.
51060
51061 [BZ #14109]
51062 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
51063 __aligned__ in attribute.
51064 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
51065 (gregset_t): Likewise.
51066
51067 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51068
51069 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
51070 * sysdeps/x86_64/64/Implies-after: Here. New file.
51071 * sysdeps/x86_64/x32/Implies-after: New file.
51072
51073 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51074
51075 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
51076 and access return value for _dl_profile_fixup. Use R10_LP to
51077 load frame size.
51078
51079 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51080
51081 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
51082
51083 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51084
51085 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
51086 * sysdeps/x86_64/x32/sysdep.h: New file.
51087
51088 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51089
51090 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
51091 * sysdeps/x86_64/setjmp.S: Likewise.
51092
51093 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51094
51095 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
51096 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
51097 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
51098 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
51099 remove unused global constant.
51100
51101 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
51102
51103 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
51104 include of <not-cancel.h>.
51105
51106 2012-05-15 Roland McGrath <roland@hack.frob.com>
51107
51108 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
51109
51110 2012-05-15 Jeff Law <law@redhat.com>
51111 Andreas Jaeger <aj@suse.de>
51112
51113 [BZ #13594]
51114 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
51115 out from...
51116 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
51117 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
51118 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
51119 code changing __hst_map_handle.map.
51120
51121 2012-05-15 Roland McGrath <roland@hack.frob.com>
51122
51123 * configure.in (sysnames): Look for Implies-before and Implies-after
51124 files.
51125 * configure: Regenerated.
51126
51127 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51128
51129 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
51130 8-byte data alignment with LP_SIZE alignment.
51131
51132 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51133
51134 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
51135 into R10_LP.
51136
51137 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51138
51139 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
51140
51141 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51142
51143 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
51144 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
51145 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
51146 Likewise.
51147 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
51148
51149 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51150
51151 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
51152 (stackinfo_sub_sp): Likewise.
51153
51154 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51155
51156 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
51157 RAX_LP.
51158
51159 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51160
51161 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
51162 into R*_LP.
51163
51164 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51165
51166 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
51167 sizes into R*_LP.
51168
51169 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51170
51171 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
51172
51173 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51174
51175 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
51176 into R11_LP and load __x86_64_shared_cache_size_half into
51177 R8_LP.
51178
51179 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51180
51181 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
51182 R8_LP.
51183
51184 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51185
51186 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
51187 logb for POWER7.
51188 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
51189 logbf for POWER7.
51190 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
51191 logbl for POWER7.
51192 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
51193 powerpc32/power7/fpu/s_logb.c via #include.
51194 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
51195 powerpc32/power7/fpu/s_logbf.c via #include.
51196 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
51197 powerpc32/power7/fpu/s_logbl.c via #include.
51198
51199 2012-05-15 Joseph Myers <joseph@codesourcery.com>
51200
51201 * README.libm: Remove file.
51202
51203 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51204
51205 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
51206 count for x32. Use R*_LP and omit operand-size suffix.
51207
51208 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51209
51210 * shlib-versions: Move x86_64-.*-linux.* entries to ...
51211 * sysdeps/x86_64/64/shlib-versions: Here. New file.
51212 * sysdeps/x86_64/x32/shlib-versions: New file.
51213
51214 2012-05-14 Roland McGrath <roland@hack.frob.com>
51215
51216 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
51217 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
51218 Use _dl_fatal_printf instead.
51219
51220 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51221
51222 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
51223 set if not set by the user. Do not allow for being unset.
51224 * sysdeps/unix/sysv/linux/configure: Regenerated.
51225
51226 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51227
51228 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
51229 the `q' suffix from lea and replace .quad with ASM_ADDR.
51230
51231 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51232
51233 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
51234 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
51235 instead of $17.
51236 (PTR_DEMANGLE): Likewise.
51237
51238 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51239
51240 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
51241 (LP_OP): Likewise.
51242 (ASM_ADDR): Likewise.
51243 (RAX_LP): Likewise.
51244 (RBP_LP): Likewise.
51245 (RBX_LP): Likewise.
51246 (RCX_LP): Likewise.
51247 (RDI_LP): Likewise.
51248 (RSI_LP): Likewise.
51249 (RSP_LP): Likewise.
51250 (R8_LP): Likewise.
51251 (R9_LP): Likewise.
51252 (R10_LP): Likewise.
51253 (R10_LP): Likewise.
51254 (R11_LP): Likewise.
51255 (R12_LP): Likewise.
51256 (R13_LP): Likewise.
51257 (R14_LP): Likewise.
51258 (R15_LP): Likewise.
51259
51260 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51261
51262 * sysdeps/x86_64/x32/dl-machine.h: New file.
51263
51264 2012-05-14 Andreas Jaeger <aj@suse.de>
51265
51266 * manual/Makefile (subdir): Remove export of subdir.
51267 (all): Remove target.
51268 (.PHONY): Remove all from list.
51269 (mkinstalldirs): Remove.
51270 (.PHONY): Remove installdirs from list.
51271 ($(inst_infodir)/libc.info): Use make-target-directory.
51272 (installdirs): Remove.
51273 (subdir_%): Remove.
51274 (glibc-targets): Remove.
51275 (lib): Remove.
51276 (stubs): Remove.
51277 ($(objpfx)stubs ../po/manual.pot): Remove.
51278 ($(objpfx)stamp%): Remove.
51279 (make-target-directory): Remove.
51280 (subdir_install): Remove.
51281 (routines): Remove.
51282 (aux): Remove.
51283 (sources): Remove.
51284 (objects): Remove.
51285 (headers): Remove.
51286
51287 [BZ #13750]
51288 * manual/.gitignore: Remove, it's not needed anymore.
51289 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
51290 all files in it.
51291 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
51292 directory.
51293 (texis): Renamed to $(objpfx)texis.
51294 (texis-path): New, contains path to generated files.
51295 (chapters.%): Use texis-path for complete path, add extra argument
51296 libc-texinfo.sh.
51297 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
51298 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
51299 (summary,texi, stamp-summary): Use complete path of
51300 files. Generate files in build dir.
51301 (dir-add.texi): Build in build dir.
51302 (libm-err.texi,stamp-libm-err): Likewise.
51303 (version.texi, stamp-version): Likewise.
51304 (.%c.texi): Likewise.
51305 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
51306 (mostlyclean): Remove target.
51307 (realclean): Remove target.
51308 (generated): Add new variable with contents from mostlyclean and
51309 realclean, remove entries duplicated in common-mostlyclean, add
51310 stamp-libm-err and stamp-version.
51311 (generated-dirs): Add libc directory.
51312 ($(inst_infodir)/libc.info): Install files from build dir.
51313
51314 * manual/install.texi (Configuring and compiling): Adjust since
51315 the info files are not part of the tar ball anymore.
51316
51317 2012-05-14 Andreas Jaeger <aj@suse.de>
51318
51319 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
51320 variable.
51321
51322 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51323
51324 [BZ #13717]
51325 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
51326 to 2.2.0 where earlier.
51327 * sysdeps/unix/sysv/linux/configure: Regenerated.
51328 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
51329 Remove conditional code.
51330 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
51331 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
51332 Remove conditional code.
51333 [!__NR_lchown]: Likewise.
51334 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51335 [__NR_lchown]: Likewise.
51336 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
51337 comment referencing __ASSUME_LCHOWN_SYSCALL.
51338 * sysdeps/unix/sysv/linux/i386/sigaction.c
51339 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51340 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51341 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
51342 Remove conditional code.
51343 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
51344 (__protocol_available): Remove #if 0 code.
51345 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
51346 conditional code.
51347 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
51348 * sysdeps/unix/sysv/linux/kernel-features.h
51349 (__ASSUME_GETCWD_SYSCALL): Don't define.
51350 (__ASSUME_REALTIME_SIGNALS): Likewise.
51351 (__ASSUME_PREAD_SYSCALL): Likewise.
51352 (__ASSUME_PWRITE_SYSCALL): Likewise.
51353 (__ASSUME_POLL_SYSCALL): Likewise.
51354 (__ASSUME_LCHOWN_SYSCALL): Likewise.
51355 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
51356 non-SPARC.
51357 (__ASSUME_SIOCGIFNAME): Don't define.
51358 (__ASSUME_MSG_NOSIGNAL): Likewise.
51359 (__ASSUME_SENDFILE): Define unconditionally.
51360 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
51361 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
51362 conditional code.
51363 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
51364 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
51365 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51366 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51367 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
51368 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51369 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
51371 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51372 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
51374 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51375 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
51377 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51378 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
51380 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51381 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
51383 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51384 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
51386 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51387 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
51389 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51390 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
51392 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51393 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51394 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
51395 Remove conditional code.
51396 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51397 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51398 Remove conditional code.
51399 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51400 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
51401 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
51402 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51403 Remove conditional code.
51404 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51405 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
51406 Remove conditional code.
51407 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51408 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
51409 Remove conditional code.
51410 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51411 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51412 Remove conditional code.
51413 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51414 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51415 Remove conditional code.
51416 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51417 * sysdeps/unix/sysv/linux/sh/pwrite64.c
51418 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51419 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51420 * sysdeps/unix/sysv/linux/sigaction.c
51421 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51422 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51423 * sysdeps/unix/sysv/linux/sigpending.c
51424 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51425 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51426 * sysdeps/unix/sysv/linux/sigprocmask.c
51427 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51428 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51429 * sysdeps/unix/sysv/linux/sigsuspend.c
51430 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51431 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51432 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51433 (__libc_missing_rt_sigs): Remove.
51434 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
51435 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
51436 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
51437 Remove conditional code.
51438 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
51439 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
51440 return 1.
51441 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
51442 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
51443 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
51444 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
51445
51446 2012-05-14 Andreas Jaeger <aj@suse.de>
51447
51448 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
51449 it's not used in glibc.
51450 (__coshm1): Likewise.
51451 (__acosh1p): Likewise.
51452 (__sgn): Likewise.
51453
51454 * manual/string.texi (Copying and Concatenation): Add missing
51455 variable in concat example.
51456 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
51457
51458 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51459
51460 [BZ #14103]
51461 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
51462 __builtin_clzl with __builtin_clzll.
51463
51464 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51465
51466 [BZ #14104]
51467 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
51468 libc_freeres_ptr.
51469
51470 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51471
51472 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
51473 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
51474 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
51475 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
51476
51477 2012-05-14 Mike Frysinger <vapier@gentoo.org>
51478
51479 * NEWS: Update ia64 info.
51480
51481 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
51482
51483 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
51484 used as bcopy.
51485
51486 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
51487
51488 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
51489 * sysdeps/unix/syscalls.list (dup3): Likewise.
51490 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
51491 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
51492
51493 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51494
51495 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
51496 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
51497
51498 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51499
51500 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
51501 thread pointer.
51502 (TLS_IE): Use mov/add instead of movq/addq to load thread
51503 pointer.
51504 (TLS_GD_PREFIX): New.
51505 (TLS_GD): Use it.
51506
51507 2012-05-11 David S. Miller <davem@davemloft.net>
51508
51509 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
51510 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
51511 (_FPU_SETCW): Likewise.
51512
51513 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51514
51515 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
51516 is 32-byte aligned.
51517
51518 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
51519
51520 [BZ #11837]
51521 * iconvdata/gb18030.c: Update tables.
51522 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
51523 characters specially.
51524 (BODY for TO_LOOP): Add encoding of missing ranges.
51525
51526 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
51527
51528 [BZ #13673]
51529 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
51530 * sysdeps/mach/hurd/dup3.c: Likewise.
51531 * sysdeps/mach/hurd/readlinkat.c: Likewise.
51532 * sysdeps/powerpc/memmove.c:: Likewise.
51533
51534 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51535
51536 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
51537 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
51538
51539 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51540
51541 * elf/elf.h (R_X86_64_RELATIVE64): New.
51542 (R_X86_64_NUM): Updated.
51543 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51544 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
51545 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
51546 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
51547 tst-quad1pie tst-quad2pie
51548 (modules-names): Add tst-quadmod1 tst-quadmod2.
51549 ($(objpfx)tst-quad1): New dependency.
51550 ($(objpfx)tst-quad2): Likewise.
51551 ($(objpfx)tst-quad1pie): Likewise.
51552 ($(objpfx)tst-quad2pie): Likewise.
51553 * sysdeps/x86_64/tst-quad1.c: New file.
51554 * sysdeps/x86_64/tst-quad1pie.c: New file.
51555 * sysdeps/x86_64/tst-quad2.c: Likewise.
51556 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
51557 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
51558 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
51559 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
51560 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
51561
51562 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51563
51564 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
51565 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
51566 * streams/stropts.h (t_scalar_t): Define type.
51567
51568 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
51569 (_PATH_PRESERVE): Set to "/var/lib".
51570 (_PATH_RWHODIR): Set to "/var/spool/rwho".
51571
51572 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
51573 instead of int.
51574
51575 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
51576 if __dir_mkfile succeeded.
51577
51578 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
51579 checking for _hurd_dtablesize. Unlock it right after having
51580 finished _hurd_dtable allocation.
51581
51582 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51583
51584 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
51585 * sysdeps/mach/hurd/configure: Regenerated.
51586 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
51587 special-casing to...
51588 * sysdeps/gnu/configure.in: ... this new file.
51589 * sysdeps/unix/sysv/linux/configure: Regenerated.
51590 * sysdeps/gnu/configure: New generated file.
51591
51592 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
51593 for Linux: use nsec instead of usec, as well as:
51594 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
51595 members of type struct timespec.
51596 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
51597 New macros.
51598 (struct stat64): Likewise.
51599 (_STATBUF_ST_NSEC): New macro.
51600 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
51601
51602 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
51603 __strtoul_internal rather than strtoul.
51604
51605 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51606
51607 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
51608 and reject them.
51609
51610 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51611
51612 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
51613 which preserves existing values.
51614 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
51615
51616 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51617
51618 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
51619 TIMEOUT values. Return EINVAL for NFDS values either negative or
51620 greater than FD_SETSIZE.
51621
51622 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51623
51624 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
51625 allocated, call __vm_protect to finish enabling the existing space, and
51626 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
51627 allocate the remainder.
51628
51629 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51630
51631 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
51632 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
51633
51634 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51635
51636 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
51637 sysdeps/mach/hurd/readlink.c.
51638
51639 * posix/tst-sysconf.c (posix_options): Only use
51640 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
51641 _POSIX_SYNCHRONIZED_IO when they are defined
51642 * sysdeps/mach/hurd/bits/posix_opt.h:
51643 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
51644 (_XOPEN_REALTIME): Undefine macro.
51645 (_XOPEN_REALTIME_THREADS): Undefine macro.
51646 (_XOPEN_SHM): Undefine macro.
51647 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
51648 macro to -1.
51649 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
51650 macro to -1.
51651 (_POSIX_ASYNC_IO): Undefine macro.
51652 (_POSIX_PRIORITIZED_IO): Undefine macro.
51653 (_POSIX_SPIN_LOCKS): Define macro to -1.
51654
51655 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
51656 SA_NODEFER, SA_RESETHAND.
51657 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
51658 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
51659 F_DUPFD_CLOEXEC.
51660
51661 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51662
51663 * elf/Makefile (pldd-modules): Define unconditionally.
51664
51665 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51666
51667 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
51668
51669 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51670
51671 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
51672 Return ENOENT when name is empty.
51673 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
51674
51675 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51676
51677 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
51678
51679 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
51680
51681 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51682
51683 Fix mlock in all cases except non-readable pages.
51684 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
51685 instead of VM_PROT_ALL as parameter to __vm_wire function.
51686
51687 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
51688 (__mkdir): When path is `/', just fail with EEXIST.
51689 * sysdeps/mach/hurd/mkdirat.c: Likewise.
51690
51691 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51692
51693 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
51694 <sys/uio.h> (for writev).
51695 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
51696 and <sys/param.h> (for MIN).
51697
51698 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51699
51700 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
51701 REQUESTED_TIME. Properly set the remaining time and return EINTR
51702 if interrupted.
51703
51704 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51705
51706 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
51707 Depend on against $(link-rpcuserlibs).
51708
51709 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51710
51711 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
51712 (__libc_stack_end): Do not use attribute_relro.
51713 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
51714 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
51715 to libthread-provided value.
51716 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
51717 attribute_relro.
51718
51719 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51720
51721 [BZ #3748]
51722 * bits/libc-lock.h (__libc_once_get): New macro.
51723 * sysdeps/mach/bits/libc-lock.h: Likewise.
51724 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
51725 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
51726 instead of using implementation details.
51727
51728 * libio/fileops.c: Unconditionally include <kernel-features.h>.
51729 * libio/freopen.c: Likewise.
51730 * libio/freopen64.c: Likewise.
51731 * misc/syslog.c: Likewise.
51732 * nscd/connections.c: Likewise.
51733 * nscd/netgroupcache.c: Likewise.
51734 * sysdeps/posix/getcwd.c: Likewise.
51735
51736 2012-05-10 Roland McGrath <roland@hack.frob.com>
51737
51738 * math/w_ilogbf.c: Add #include <limits.h>.
51739
51740 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51741
51742 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
51743 path instead of returning without unlocking.
51744
51745 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
51746 immediate-write ioctls.
51747 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
51748
51749 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51750
51751 * sysdeps/mach/hurd/i386/init-first.c (init): Use
51752 __builtin_frame_address instead of making assumptions about the
51753 location of the return address relative to DATA. Force early load of
51754 the return address.
51755 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
51756 __builtin_frame_address.
51757
51758 dup3 for GNU Hurd.
51759 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
51760 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
51761 implement dup3 and do some further code clean-ups.
51762 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
51763 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
51764
51765 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51766
51767 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
51768
51769 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
51770 HURD_CRITICAL_END around holding _hurd_dtable_lock.
51771 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
51772 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
51773 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
51774 d->port.lock.
51775
51776 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
51777 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
51778 when handler == SIG_ERR, not when handler != SIG_ERR.
51779
51780 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51781
51782 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
51783 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
51784 definitions.
51785
51786 accept4 for GNU Hurd.
51787 * include/sys/socket.h (__libc_accept4): New prototype.
51788 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
51789 to implement __libc_accept4.
51790 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
51791 __libc_accept4.
51792 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
51793
51794 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
51795 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
51796 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
51797 signal-defines.sym.
51798
51799 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51800
51801 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
51802
51803 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51804
51805 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
51806 assertion on O_CLOEXEC flag.
51807 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
51808 * hurd/intern-fd.c: Likewise.
51809 * hurd/port2fd.c: Likewise.
51810
51811 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51812
51813 [BZ #3906]
51814 * bits/in.h (IPV6_PKTINFO): Define new macro.
51815 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
51816
51817 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51818
51819 [BZ #13954]
51820 [BZ #13955]
51821 [BZ #13956]
51822 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
51823 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51824 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
51825 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
51826 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51827 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
51828 * math/libm-test.inc (logb_test) : Additional logb tests.
51829
51830 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
51831 Andreas Jaeger <aj@suse.de>
51832
51833 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
51834 * configure: Regenerated.
51835 * config.h.in (LINK_OBSOLETE_RPC): New macro.
51836 * config.make.in (link-obsolete-rpc): New substituted variable.
51837 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
51838 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
51839 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51840 (shared-only-routines): Don't set it under [link-obsolete-rpc],
51841 so that libc.a contains the symbols.
51842 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51843 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
51844 * sunrpc/auth_none.c: Likewise.
51845 * sunrpc/auth_unix.c: Likewise.
51846 * sunrpc/authdes_prot.c: Likewise.
51847 * sunrpc/authuxprot.c: Likewise.
51848 * sunrpc/clnt_gen.c: Likewise.
51849 * sunrpc/clnt_perr.c: Likewise.
51850 * sunrpc/clnt_raw.c: Likewise.
51851 * sunrpc/clnt_simp.c: Likewise.
51852 * sunrpc/clnt_tcp.c: Likewise.
51853 * sunrpc/clnt_udp.c: Likewise.
51854 * sunrpc/clnt_unix.c: Likewise.
51855 * sunrpc/des_crypt.c: Likewise.
51856 * sunrpc/des_soft.c: Likewise.
51857 * sunrpc/get_myaddr.c: Likewise.
51858 * sunrpc/key_call.c: Likewise.
51859 * sunrpc/key_prot.c: Likewise.
51860 * sunrpc/netname.c: Likewise.
51861 * sunrpc/pm_getmaps.c: Likewise.
51862 * sunrpc/pm_getport.c: Likewise.
51863 * sunrpc/pmap_clnt.c: Likewise.
51864 * sunrpc/pmap_prot.c: Likewise.
51865 * sunrpc/pmap_prot2.c: Likewise.
51866 * sunrpc/pmap_rmt.c: Likewise.
51867 * sunrpc/publickey.c: Likewise.
51868 * sunrpc/rpc_cmsg.c: Likewise.
51869 * sunrpc/rpc_common.c: Likewise.
51870 * sunrpc/rpc_dtable.c: Likewise.
51871 * sunrpc/rpc_prot.c: Likewise.
51872 * sunrpc/rpc_thread.c: Likewise.
51873 * sunrpc/rtime.c: Likewise.
51874 * sunrpc/svc.c: Likewise.
51875 * sunrpc/svc_auth.c: Likewise.
51876 * sunrpc/svc_raw.c: Likewise.
51877 * sunrpc/svc_run.c: Likewise.
51878 * sunrpc/svc_tcp.c: Likewise.
51879 * sunrpc/svc_udp.c: Likewise.
51880 * sunrpc/svc_unix.c: Likewise.
51881 * sunrpc/svcauth_des.c: Likewise.
51882 * sunrpc/xcrypt.c: Likewise.
51883 * sunrpc/xdr.c: Likewise.
51884 * sunrpc/xdr_array.c: Likewise.
51885 * sunrpc/xdr_float.c: Likewise.
51886 * sunrpc/xdr_intXX_t.c: Likewise.
51887 * sunrpc/xdr_mem.c: Likewise.
51888 * sunrpc/xdr_rec.c: Likewise.
51889 * sunrpc/xdr_ref.c: Likewise.
51890 * sunrpc/xdr_sizeof.c: Likewise.
51891 * sunrpc/xdr_stdio.c: Likewise.
51892
51893 2012-05-10 Roland McGrath <roland@hack.frob.com>
51894
51895 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
51896 change. Update copyright years.
51897
51898 2012-05-10 Joseph Myers <joseph@codesourcery.com>
51899
51900 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
51901
51902 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
51903 Joseph Myers <joseph@codesourcery.com>
51904 Paul Pluzhnikov <ppluzhnikov@google.com>
51905
51906 [BZ #14012]
51907 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
51908 requiring rpcgen.
51909 [cross-compiling] (extra-libs): Likewise.
51910 [cross-compiling] (extra-libs-others): Likewise.
51911 [cross-compiling] (librpcsvc-routines): Likewise.
51912 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
51913 [cross-compiling] (omit-deps): Likewise.
51914 (sunrpc-CPPFLAGS): New variable.
51915 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
51916 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
51917 (cross-rpcgen-objs): New variable.
51918 (extra-objs): Append $(cross-rpcgen-objs).
51919 ($(cross-rpcgen-objs)): New rule.
51920 ($(objpfx)cross-rpcgen): Likewise.
51921 (rpcgen-cmd): Define to use $(built-program-file). Expand
51922 comment.
51923 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
51924 ($(objpfx)x%.stmp): Likewise.
51925 * sunrpc/proto.h [IS_IN_build] (_): Define.
51926 [IS_IN_build] (_libc_intl_domainname): Likewise.
51927
51928 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51929
51930 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
51931 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
51932 and R_X86_64_TPOFF64.
51933
51934 2012-05-10 Joseph Myers <joseph@codesourcery.com>
51935
51936 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
51937 sysdeps/unix/sysv/syscalls.list.
51938 (stime): Likewise.
51939 (utime): Likewise.
51940 * sysdeps/unix/sysv/syscalls.list: Remove file.
51941
51942 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
51943
51944 [BZ #3440]
51945 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
51946 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
51947 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
51948 (__LC_IDENTIFICATION): Make these macros useful in #if
51949 expressions, as required by C99.
51950
51951 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
51952
51953 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
51954 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
51955 after this.
51956
51957 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
51958
51959 * stdlib/longlong.h: Updated from GCC.
51960
51961 2012-05-09 Andreas Jaeger <aj@suse.de>
51962
51963 * nscd/nscd.c (run_modes): Make named enum, reorder so that
51964 default is first entry.
51965 (run_mode): Set type.
51966 (main): Remove informal message about syslog.
51967 (options): Fix typo.
51968
51969 [BZ #14053]
51970 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
51971 to asm.
51972 (lrint): Likewise.
51973 (llrintf): Likewise.
51974 (llrint): Likewise.
51975 (rint): Likewise.
51976 (rintf): Likewise.
51977 (nearbyint): Likewise.
51978 (nearbyintf): Likewise.
51979
51980 2012-05-09 Andreas Jaeger <aj@suse.de>
51981 Pedro Alves <palves@redhat.com>
51982
51983 * nscd/nscd.c (run_mode): Use enum.
51984 (main): Cleanup coding style issue.
51985
51986 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
51987 Andreas Jaeger <aj@suse.de>
51988
51989 * nscd/nscd.c (go_background): Replaced with...
51990 (run_mode): ... this.
51991 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
51992 (options): Add -F --foreground.
51993 (main): Implement it.
51994 (parse_opt): Parse it.
51995
51996 2012-05-09 Andreas Jaeger <aj@suse.de>
51997
51998 [BZ #14083]
51999 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
52000 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
52001 -Wconversion warning.
52002 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
52003 Likewise.
52004
52005 2012-05-09 Joseph Myers <joseph@codesourcery.com>
52006
52007 * conform/data/locale.h-data (NULL): Use macro-constant. Require
52008 == 0.
52009 (LC_ALL): Use macro-int-constant.
52010 (LC_COLLATE): Likewise.
52011 (LC_CTYPE): Likewise.
52012 (LC_MESSAGES): Likewise.
52013 (LC_MONETARY): Likewise.
52014 (LC_NUMERIC): Likewise.
52015 (LC_TIME): Likewise.
52016 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
52017 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52018 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52019 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
52020 Specify type.
52021 [C99-based standards] (float_t): Expect type.
52022 [C99-based standards] (double_t): Expect type.
52023 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
52024 type.
52025 [C99-based standards] (HUGE_VALL): Likewise.
52026 [C99-based standards] (INFINITY): Likewise.
52027 [C99-based standards] (NAN): Likewise.
52028 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
52029 [C99-based standards] (FP_NAN): Likewise.
52030 [C99-based standards] (FP_NORMAL): Likewise.
52031 [C99-based standards] (FP_SUBNORMAL): Likewise.
52032 [C99-based standards] (FP_ZERO): Likewise.
52033 [C99-based standards] (FP_FAST_FMA): Use
52034 optional-macro-int-constant. Specify type. Require == 1.
52035 [C99-based standards] (FP_FAST_FMAF): Likewise.
52036 [C99-based standards] (FP_FAST_FMAL): Likewise.
52037 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
52038 [C99-based standards] (FP_ILOGBNAN): Likewise.
52039 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
52040 Specify type.
52041 [C99-based standards] (MATH_ERREXCEPT): Likewise.
52042 [C99-based standards] (math_errhandling): Specify type.
52043 [ISO99 || ISO11] (signgam): Do not allow.
52044 [non-C99-based standards] (copysignf): Do not allow.
52045 [non-C99-based standards] (exp2f): Likewise.
52046 [non-C99-based standards] (log2f): Likewise.
52047 [non-C99-based standards] (modff): Allow.
52048 [non-C99-based standards] (erff): Do not allow.
52049 [non-C99-based standards] (erfcf): Likewise.
52050 [non-C99-based standards] (gammaf): Likewise.
52051 [non-C99-based standards] (hypotf): Likewise.
52052 [non-C99-based standards] (j0f): Likewise.
52053 [non-C99-based standards] (j1f): Likewise.
52054 [non-C99-based standards] (jnf): Likewise.
52055 [non-C99-based standards] (lgammaf): Likewise.
52056 [non-C99-based standards] (tgammaf): Likewise.
52057 [non-C99-based standards] (y0f): Likewise.
52058 [non-C99-based standards] (y1f): Likewise.
52059 [non-C99-based standards] (ynf): Likewise.
52060 [non-C99-based standards] (isnanf): Likewise.
52061 [non-C99-based standards] (acoshf): Likewise.
52062 [non-C99-based standards] (asinhf): Likewise.
52063 [non-C99-based standards] (atanhf): Likewise.
52064 [non-C99-based standards] (cbrtf): Likewise.
52065 [non-C99-based standards] (expm1f): Likewise.
52066 [non-C99-based standards] (ilogbf): Likewise.
52067 [non-C99-based standards] (log1pf): Likewise.
52068 [non-C99-based standards] (logbf): Likewise.
52069 [non-C99-based standards] (nextafterf): Likewise.
52070 [non-C99-based standards] (remainderf): Likewise.
52071 [non-C99-based standards] (rintf): Likewise.
52072 [non-C99-based standards] (scalbf): Likewise.
52073 [non-C99-based standards] (copysignl): Likewise.
52074 [non-C99-based standards] (exp2l): Likewise.
52075 [non-C99-based standards] (log2l): Likewise.
52076 [non-C99-based standards] (modfl): Allow.
52077 [non-C99-based standards] (erfl): Do not allow.
52078 [non-C99-based standards] (erfcl): Likewise.
52079 [non-C99-based standards] (gammal): Likewise.
52080 [non-C99-based standards] (hypotl): Likewise.
52081 [non-C99-based standards] (j0l): Likewise.
52082 [non-C99-based standards] (j1l): Likewise.
52083 [non-C99-based standards] (jnl): Likewise.
52084 [non-C99-based standards] (lgammal): Likewise.
52085 [non-C99-based standards] (tgammal): Likewise.
52086 [non-C99-based standards] (y0l): Likewise.
52087 [non-C99-based standards] (y1l): Likewise.
52088 [non-C99-based standards] (ynl): Likewise.
52089 [non-C99-based standards] (isnanl): Likewise.
52090 [non-C99-based standards] (acoshl): Likewise.
52091 [non-C99-based standards] (asinhl): Likewise.
52092 [non-C99-based standards] (atanhl): Likewise.
52093 [non-C99-based standards] (cbrtl): Likewise.
52094 [non-C99-based standards] (expm1l): Likewise.
52095 [non-C99-based standards] (ilogbl): Likewise.
52096 [non-C99-based standards] (log1pl): Likewise.
52097 [non-C99-based standards] (logbl): Likewise.
52098 [non-C99-based standards] (nextafterl): Likewise.
52099 [non-C99-based standards] (remainderl): Likewise.
52100 [non-C99-based standards] (rintl): Likewise.
52101 [non-C99-based standards] (scalbl): Likewise.
52102 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52103 [non-C99-based standards] (FP_*): Do not allow.
52104 [C99-based standards] (FP_*): Change to
52105 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52106 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52107 allow.
52108 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
52109 (SIG_ERR): Likewise.
52110 [X/Open-based standards] (SIG_HOLD): Likewise.
52111 (SIG_IGN): Likewise.
52112 (SIGABRT): Use macro-int-constant. Specify type. Require
52113 positive value.
52114 (SIGFPE): Likewise.
52115 (SIGILL): Likewise.
52116 (SIGINT): Likewise.
52117 (SIGSEGV): Likewise.
52118 (SIGTER): Likewise.
52119 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
52120 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
52121 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
52122 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
52123 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
52124 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
52125 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
52126 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
52127 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
52128 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
52129 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
52130 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
52131 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
52132 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
52133 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
52134 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
52135 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
52136 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
52137 [X/Open-based standards] (SIGTRAP): Likewise.
52138 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
52139 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
52140 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
52141 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
52142 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52143 allow.
52144
52145 2012-05-08 Ian Wienand <ianw@vmware.com>
52146
52147 [BZ #14080]
52148 * time/tzset.c (__tzset_parse_tz): Update default rules for
52149 daylight time changes in the Energy Policy Act of 2005.
52150
52151 2012-05-09 Andreas Jaeger <aj@suse.de>
52152
52153 [BZ #13983]
52154 * elf/ldconfig.c (parse_conf): Change string to make clear that
52155 ldconfig only issued a warning if ld.so.conf does not exist.
52156
52157 2012-05-08 David S. Miller <davem@davemloft.net>
52158
52159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
52160 movxtod instead of popping the value on the stack.
52161
52162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52163
52164 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
52165
52166 * config.h.in: Add HAVE_ARM_PCS_VFP.
52167
52168 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
52169
52170 [BZ #13979]
52171 * include/features.h: Warn if user requests __FORTIFY_SOURCE
52172 checking but the checks are disabled for any reason.
52173
52174 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
52175
52176 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
52177 and ELF64_R_TYPE with ELFW(R_TYPE).
52178
52179 2012-05-08 Joseph Myers <joseph@codesourcery.com>
52180
52181 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
52182 (ulimit): Likewise.
52183
52184 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
52185 (settimeofday): Likewise.
52186
52187 2012-05-08 Mike Frysinger <vapier@gentoo.org>
52188
52189 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
52190 a struct th_u2 inside the union, and move tu_block/tu_code into
52191 a new th_u3 union of tu_block/tu_code inside of that. Move
52192 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
52193 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
52194 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
52195 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
52196 (th_stuff): Change to th_u1.tu_stuff.
52197 (th_data): Define.
52198 (th_msg): Change to th_u1.th_u2.tu_data.
52199
52200 2012-05-07 David S. Miller <davem@davemloft.net>
52201
52202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52203
52204 [BZ #14074]
52205 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
52206 (SETUP_PIC_REG): Use it.
52207 (SETUP_PIC_REG_LEAF): Use it.
52208
52209 2012-05-07 Joseph Myers <joseph@codesourcery.com>
52210
52211 [BZ #13885]
52212 [BZ #13923]
52213 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52214 USE_AS_EXPM1L.
52215 (EXPL_FINITE): Likewise.
52216 (FLDLOG): Likewise.
52217 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52218 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52219 e_expl.S.
52220 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52221 USE_AS_EXPM1L.
52222 (EXPL_FINITE): Likewise.
52223 (FLDLOG): Likewise.
52224 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52225 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52226 e_expl.S.
52227 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
52228 test of -max_value argument for long double.
52229 * sysdeps/i386/fpu/libm-test-ulps: Update.
52230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52231
52232 2012-05-06 David S. Miller <davem@davemloft.net>
52233
52234 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
52235 quad soft-float symbols whose references which are compiler
52236 generated.
52237 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52238
52239 2012-05-06 Joseph Myers <joseph@codesourcery.com>
52240
52241 [BZ #13884]
52242 [BZ #13914]
52243 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52244 USE_AS_EXP10L.
52245 (EXPL_FINITE): Likewise.
52246 (FLDLOG): Likewise.
52247 (c0): Likewise.
52248 (c1): Likewise.
52249 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52250 Adjust comments for base varying.
52251 (__expl_finite): Change alias to EXPL_FINITE.
52252 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
52253 e_expl.S.
52254 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
52255 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
52256 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52257 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
52258 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52259 USE_AS_EXP10L.
52260 (EXPL_FINITE): Likewise.
52261 (FLDLOG): Likewise.
52262 (c0): Likewise.
52263 (c1): Likewise.
52264 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52265 Adjust comments for base varying.
52266 (__expl_finite): Change alias to EXPL_FINITE.
52267 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
52268 tests for bugs.
52269 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52270
52271 [BZ #14064]
52272 * math/libm-test.inc (check_float_internal): Correct ulp
52273 calculation for subnormal expected results.
52274
52275 2012-05-06 Andreas Jaeger <aj@suse.de>
52276
52277 * Makeconfig (+math-flags): New, set to -frounding-math.
52278 (+cflags): Add +math-flags so that all of glibc gets compiled with
52279 it.
52280
52281 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
52282
52283 2012-05-05 Joseph Myers <joseph@codesourcery.com>
52284
52285 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
52286 Disable one test.
52287
52288 [BZ #13787]
52289 [BZ #13922]
52290 [BZ #14036]
52291 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
52292 (__ieee754_expl): Allow for and saturate large arguments.
52293 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
52294 (u_threshold): Likewise.
52295 (__exp): Call __ieee754_exp before checking for overflow and
52296 underflow.
52297 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
52298 (u_threshold): Likewise.
52299 (__expf): Call __ieee754_expf before checking for overflow and
52300 underflow.
52301 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
52302 (u_threshold): Likewise.
52303 (__expl): Call __ieee754_expl before checking for overflow and
52304 underflow.
52305 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
52306 (__ieee754_expl): Allow for and saturate large arguments.
52307 * math/libm-test.inc (exp_test): Add another test. Do not allow
52308 missing overflow exception on overflow.
52309 (expm1_test): Do not allow missing overflow exception on overflow.
52310
52311 * sysdeps/i386/fpu/e_expl.c: Move to ...
52312 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
52313 rather than using inline asm.
52314 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
52315 * sysdeps/x86_64/fpu/e_expl.S: Copy from
52316 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
52317
52318 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
52319 (nice): Likewise.
52320 (poll): Likewise.
52321 (signal): Likewise.
52322 (time): Likewise.
52323 (times): Likewise.
52324
52325 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52326
52327 * sysdeps/unix/syscalls.list (adjtime): Add entry from
52328 sysdeps/unix/common/syscalls.list.
52329 (fchmod): Likewise.
52330 (fchown): Likewise.
52331 (ftruncate): Likewise.
52332 (getrusage): Likewise.
52333 (gettimeofday): Likewise.
52334 (setpgid): Likewise.
52335 (setregid): Likewise.
52336 (setreuid): Likewise.
52337 (sigaction): Likewise.
52338 (truncate): Likewise.
52339 (vhangup): Likewise.
52340 * sysdeps/unix/common/syscalls.list: Remove file.
52341 * sysdeps/unix/bsd/Implies: Don't include unix/common.
52342 * sysdeps/unix/sysv/linux/Implies: Likewise.
52343
52344 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
52345
52346 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
52347 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
52348 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
52349 Moved to ...
52350 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52351 Here.
52352 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
52353 to ...
52354 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
52355 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
52356 to ...
52357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
52358 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
52359 to ...
52360 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
52361 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
52362 to ...
52363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
52364 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
52365 to ...
52366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
52367 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
52368 to ...
52369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
52370 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
52371 to ...
52372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
52373 Here.
52374 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
52375 to ...
52376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
52377 Here.
52378 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
52379 to ...
52380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
52381 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
52382 Moved to ...
52383 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
52384 Here.
52385 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
52386 to ...
52387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
52388
52389 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52390
52391 * sysdeps/unix/common/bits/dirent.h: Remove file.
52392 * sysdeps/unix/common/bits/fcntl.h: Likewise.
52393
52394 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
52395 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
52396 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
52397 * sysdeps/unix/bsd/isatty.c: Likewise.
52398 * sysdeps/unix/bsd/tcdrain.c: Likewise.
52399 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
52400 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
52401
52402 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52403
52404 [BZ #13563]
52405 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
52406 long double comparison inaccuracies.
52407 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52409
52410 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
52411
52412 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
52413 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
52414
52415 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52416
52417 [BZ #14049]
52418 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
52419 nonzero digits before rounding a hex value.
52420 * stdlib/tst-strtod.c (tests): Add another test.
52421
52422 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52423
52424 * sysdeps/s390/fpu/libm-test-ulps: Update.
52425
52426 2012-05-03 Andreas Jaeger <aj@suse.de>
52427
52428 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
52429 does not get optimized out.
52430 (malloc_opt_barrier): New.
52431
52432 2012-05-03 Andreas Jaeger <aj@suse.de>
52433 Roland McGrath <roland@hack.frob.com>
52434
52435 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
52436 intermediate file deletion.
52437 (generated): Add .symlist files.
52438
52439 2012-05-03 Joseph Myers <joseph@codesourcery.com>
52440
52441 [BZ #13775]
52442 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
52443 Redirect under this condition.
52444 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52445 [__USE_GNU] (__dprintf_chk): Not under this condition.
52446 [__USE_GNU] (__vdprintf_chk): Likewise.
52447 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
52448 under this condition.
52449 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52450 [__USE_XOPEN2K8] (dprintf): Define under this condition.
52451 [__USE_XOPEN2K8] (vdprintf): Likewise.
52452 [__USE_GNU] (__dprintf_chk): Not under this condition.
52453 [__USE_GNU] (__vdprintf_chk): Likewise.
52454 [__USE_GNU] (dprintf): Likewise.
52455 [__USE_GNU] (vdprintf): Likewise.
52456
52457 2012-05-03 Roland McGrath <roland@hack.frob.com>
52458
52459 * elf/Makefile (common-generated): Set this instead of generated for
52460 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
52461 $(all-built-dso)-derived lists.
52462
52463 2012-05-03 Andreas Jaeger <aj@suse.de>
52464
52465 * sysdeps/i386/fpu/libm-test-ulps: Update.
52466
52467 * FAQ: Removed.
52468 * FAQ.in: Likewise.
52469 * scripts/gen-FAQ.pl: Likewise.
52470 * manual/install.texi (Installation): Point to online location of
52471 FAQ.
52472 * Makefile (files-for-dist): Remove FAQ.
52473 (FAQ): Remove.
52474
52475 2012-05-02 Allan McRae <allan@archlinux.org>
52476
52477 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
52478 (LDFLAGS-reldepmod5.so): Likewise.
52479 (LDFLAGS-reldep6mod1.so): Likewise.
52480 (LDFLAGS-reldep6mod4.so): Likewise.
52481 (LDFLAGS-reldep8mod3.so): Likewise.
52482 (LDFLAGS-unload4mod1.so): Likewise.
52483 (LDFLAGS-unload4mod2.so): Likewise.
52484 (LDFLAGS-tst-initorder): Likewise.
52485 (LDFLAGS-tst-initordera2.so): Likewise.
52486 (LDFLAGS-tst-initordera3.so): Likewise.
52487 (LDFLAGS-tst-initordera4.so): Likewise.
52488 (LDFLAGS-tst-initorderb2.so): Likewise.
52489 (LDFLAGS-noload): Likewise.
52490 (LDFLAGS-next): Likewise.
52491 (LDFLAGS-order2mod1.so): Likewise.
52492 (LDFLAGS-order2mod2.so): Likewise.
52493 (LDFLAGS-tst-initorder2): Likewise.
52494 (LDFLAGS-tst-initorder2a.so): Likewise.
52495 (LDFLAGS-tst-initorder2b.so): Likewise.
52496 (LDFLAGS-tst-initorder2c.so): Likewise.
52497 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
52498
52499 2012-05-02 David S. Miller <davem@davemloft.net>
52500
52501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52502
52503 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
52504
52505 [BZ #14055]
52506 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
52507
52508 2012-05-02 Andreas Jaeger <aj@suse.de>
52509
52510 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
52511 since we manipulate rounding mode.
52512 (CPPFLAGS-test-idouble.c): Likewise.
52513 (CPPFLAGS-test-ifloat.c): Likewise.
52514 (CFLAGS-test-ldouble.c): Likewise.
52515 (CFLAGS-test-double.c): Likewise.
52516 (CFLAGS-test-float.c): Likewise.
52517 (CFLAGS-test-misc.c): Likewise.
52518 (CFLAGS-test-test-fenv.c): Likewise.
52519
52520 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52521
52522 [BZ #2550]
52523 [BZ #2570]
52524 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
52525 comparisons to determine direction to adjust input.
52526
52527 2012-05-01 Roland McGrath <roland@hack.frob.com>
52528
52529 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
52530 output to the target.
52531
52532 * scripts/localplt.awk: New file.
52533 * elf/Makefile ($(objpfx)check-localplt): Target removed.
52534 (check-localplt-CFLAGS): Variable removed.
52535 ($(all-built-dso:=.jmprel)): New static pattern rule.
52536 (generated): Add those targets.
52537 (localplt-built-dso): New variable.
52538 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
52539
52540 * elf/check-localplt.c: File removed.
52541
52542 * scripts/check-execstack.awk: New file.
52543 * elf/Makefile ($(objpfx)check-execstack): Target removed.
52544 (check-execstack-CFLAGS): Variable removed.
52545 ($(objpfx)check-execstack.h): Target removed.
52546 ($(objpfx)execstack-default): New target.
52547 (generated): Add that instead of check-execstack.h.
52548 ($(all-built-dso:=.phdr)): New static pattern rule.
52549 (generated): Add those targets.
52550 * elf/check-execstack.c: File removed.
52551
52552 * scripts/check-textrel.awk: New file.
52553 * elf/Makefile ($(objpfx)check-textrel): Target removed.
52554 (check-textrel-CFLAGS): Variable removed.
52555 (all-built-dso): Use := to define.o
52556 ($(all-built-dso:=.dyn)): New static pattern rule.
52557 (generated): Add those targets.
52558 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
52559 * config.make.in (READELF): New substituted variable.
52560 * elf/check-textrel.c: File removed.
52561
52562 2012-05-01 Joseph Myers <joseph@codesourcery.com>
52563
52564 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52565 allow.
52566 * conform/data/ctype.h-data [C99-based standards] (isblank):
52567 Expect function.
52568 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
52569 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
52570 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52571 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
52572 Specify type. Require positive value.
52573 (EILSEQ): Likewise.
52574 (ERANGE): Likewise.
52575 [ISO || POSIX] (EILSEQ): Do not expect.
52576 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
52577 Specify type. Require positive value.
52578 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
52579 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
52580 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
52581 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
52582 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
52583 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
52584 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
52585 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
52586 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
52587 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
52588 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
52589 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
52590 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
52591 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
52592 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
52593 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
52594 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
52595 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
52596 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
52597 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
52598 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
52599 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
52600 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
52601 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
52602 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
52603 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
52604 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
52605 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
52606 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
52607 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
52608 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
52609 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
52610 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
52611 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
52612 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
52613 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
52614 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
52615 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
52616 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
52617 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
52618 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
52619 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
52620 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
52621 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
52622 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
52623 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
52624 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
52625 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
52626 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
52627 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
52628 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
52629 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
52630 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
52631 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
52632 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
52633 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
52634 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
52635 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
52636 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
52637 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
52638 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
52639 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
52640 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
52641 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
52642 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
52643 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
52644 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
52645 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
52646 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
52647 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
52648 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
52649 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
52650 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
52651 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
52652 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
52653 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
52654 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
52655 Require >= 2.
52656 (FLT_ROUNDS): Expect as macro, not constant.
52657 (FLT_MANT_DIG): Use macro-int-constant.
52658 (DBL_MANT_DIG): Likewise.
52659 (LDBL_MANT_DIG): Likewise.
52660 (FLT_DIG): Likewise.
52661 (DBL_DIG): Likewise.
52662 (LDBL_DIG): Likewise.
52663 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
52664 (DBL_MIN_EXP): Likewise.
52665 (LDBL_MIN_EXP): Likewise.
52666 (FLT_MAX_EXP): Use macro-int-constant.
52667 (DBL_MAX_EXP): Likewise.
52668 (LDBL_MAX_EXP): Likewise.
52669 (FLT_MAX_10_EXP): Likewise.
52670 (DBL_MAX_10_EXP): Likewise.
52671 (LDBL_MAX_10_EXP): Likewise.
52672 (FLT_MAX): Use macro-constant.
52673 (DBL_MAX): Likewise.
52674 (LDBL_MAX): Likewise.
52675 (FLT_EPSILON): Use macro-constant. Give upper bound.
52676 (DBL_EPSILON): Likewise.
52677 (LDBL_EPSILON): Likewise.
52678 (FLT_MIN): Likewise.
52679 (DBL_MIN): Likewise.
52680 (LDBL_MIN): Likewise.
52681 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
52682 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
52683 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
52684 [ISO11] (FLT_HAS_SUBNORM): Likewise.
52685 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
52686 [ISO11] (DBL_DECIMAL_DIG): Likewise.
52687 [ISO11] (FLT_DECIMAL_DIG): Likewise.
52688 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
52689 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
52690 [ISO11] (FLT_TRUE_MIN): Likewise.
52691 [ISO11] (LDBL_TRUE_MIN): Likewise.
52692 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52693 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
52694 (SCHAR_MIN): Use macro-int-constant. Specify type.
52695 (SCHAR_MAX): Likewise.
52696 (UCHAR_MAX): Likewise.
52697 (CHAR_MIN): Likewise.
52698 (CHAR_MAX): Likewise.
52699 (MB_LEN_MAX): Use macro-int-constant.
52700 (SHRT_MIN): Use macro-int-constant. Specify type.
52701 (SHRT_MAX): Likewise.
52702 (USHRT_MAX): Likewise.
52703 (INT_MAX): Likewise.
52704 (INT_MIN): Use macro-int-constant. Specify type. Make upper
52705 bound negative.
52706 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
52707 bound with "U".
52708 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52709 bound with "L".
52710 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
52711 bound negative. Suffix upper bound with "L".
52712 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52713 bound with "UL".
52714 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
52715 Specify type.
52716 [C99-based standards] (LLONG_MAX): Likewise.
52717 [C99-based standards] (ULLONG_MAX): Likewise.
52718 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
52719 == 0.
52720 [ISO11] (max_align_t): Require type.
52721 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52722
52723 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
52724 from $CFLAGS, without defining away __attribute__ calls.
52725 (checknamespace): Use $CFLAGS_namespace.
52726
52727 * conform/conformtest.pl (@keywords): Only include C99 keywords
52728 for standards based on C99 or C11.
52729
52730 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
52731 Disable tests.
52732 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
52733 UNIX98]: Likewise.
52734
52735 * conform/conformtest.pl: Handle "macro-int-constant" and test for
52736 usability of symbols in #if.
52737
52738 * conform/conformtest.pl: If macro or constant types start
52739 "promoted:", expect the symbol to be of the following type
52740 promoted by the integer promotions.
52741
52742 * conform/conformtest.pl: Parse all "constant" and "macro" lines
52743 in one place. Also handle "macro-constant".
52744
52745 * conform/conformtest.pl: Only accept expected macro values with
52746 "==". Parse all "macro" lines in one place.
52747 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
52748
52749 * conform/conformtest.pl: Handle braced types on "constant" lines
52750 instead of handling "typed-constant".
52751 * conform/data/signal.h-data: Use "constant" instead of
52752 "typed-constant".
52753
52754 * conform/conformtest.pl: Handle "optional-" at start of lines in
52755 one place rather than duplicating several cases. Handle each
52756 format of "macro" line with initial "optional-".
52757
52758 * conform/conformtest.pl: Only accept expected constant or
52759 optional-constant values with "==". Parse all "constant" lines in
52760 one place. Parse all "optional-constant" lines in one place.
52761 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
52762 * conform/data/fmtmsg.h-data: Likewise.
52763 * conform/data/netinet/in.h-data: Likewise.
52764 * conform/data/tar.h-data: Likewise.
52765 * conform/data/limits.h-data: Use "==" form on "constant" and
52766 "optional-constant" lines.
52767
52768 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
52769 Use -std=c99 for XOPEN2K.
52770 (@knownproblems): Remove.
52771 (newtoken): Don't check %isknown.
52772
52773 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
52774 Do not expect macro.
52775 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
52776 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
52777 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
52778 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
52779 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
52780 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
52781 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
52782 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
52783 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
52784 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
52785 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
52786 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
52787 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
52788 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
52789 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
52790 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
52791 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
52792 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
52793 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
52794 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
52795 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
52796 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
52797 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
52798 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
52799 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
52800 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
52801 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
52802 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
52803 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
52804 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
52805 [XPG3] (acosh): Likewise.
52806 [XPG3] (asinh): Likewise.
52807 [XPG3] (atanh): Likewise.
52808 [XPG3] (cbrt): Likewise.
52809 [XPG3] (expm1): Likewise.
52810 [XPG3] (ilogb): Likewise.
52811 [XPG3] (log1p): Likewise.
52812 [XPG3] (logb): Likewise.
52813 [XPG3] (nextafter): Likewise.
52814 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
52815 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
52816 [XPG3] (remainder): Likewise.
52817 [XPG3] (rint): Likewise.
52818 [XPG3 || XPG4 || UNIX98] (round): Likewise.
52819 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
52820 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
52821 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
52822 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
52823 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
52824 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
52825 [UNIX98 || XOPEN2K] (scalb): Expect.
52826 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
52827 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
52828 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
52829 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
52830 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
52831 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
52832 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
52833 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
52834 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
52835 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
52836 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
52837 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
52838 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
52839 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
52840 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
52841 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
52842 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
52843 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
52844 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
52845 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
52846 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
52847 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
52848 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
52849 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
52850 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
52851 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
52852 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
52853 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
52854 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
52855 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
52856 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
52857 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
52858 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
52859 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
52860 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
52861 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
52862 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
52863 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
52864 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
52865 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
52866 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
52867 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
52868 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
52869 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
52870 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
52871 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
52872 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
52873 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
52874 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
52875 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
52876 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
52877 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
52878 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
52879 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
52880 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
52881 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
52882 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
52883 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
52884 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
52885 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
52886 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
52887 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
52888 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
52889 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
52890 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
52891 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
52892 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
52893 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
52894 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
52895 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
52896 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
52897 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
52898 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
52899 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
52900 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
52901 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
52902 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
52903 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
52904 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
52905 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
52906 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
52907 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
52908 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
52909 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
52910 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
52911 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
52912 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
52913 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
52914 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
52915 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
52916 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
52917 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
52918 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
52919 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
52920 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
52921 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
52922 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
52923 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
52924 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
52925 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
52926 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
52927 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
52928 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
52929 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
52930 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
52931 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
52932 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
52933 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
52934 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
52935 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
52936 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
52937 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
52938 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
52939 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
52940 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
52941 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
52942 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
52943 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
52944 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
52945 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
52946 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
52947 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
52948 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
52949 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
52950 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
52951 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
52952 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
52953 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
52954 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
52955 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
52956 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
52957 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
52958 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
52959 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
52960 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
52961 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
52962 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
52963
52964 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
52965 _XOPEN_SOURCE_EXTENDED for XPG4.
52966
52967 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
52968
52969 * Makeconfig (localtime): Remove variable.
52970 (inst_localtime-file): Likewise.
52971
52972 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
52973
52974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
52975 Update.
52976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52977 Update.
52978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
52979 Update.
52980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
52981 Update.
52982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
52983 Update.
52984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
52985 Update.
52986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52987 Update.
52988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
52989 Update.
52990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52991 Update.
52992
52993 2012-05-01 Joseph Myers <joseph@codesourcery.com>
52994
52995 [BZ #2550]
52996 [BZ #2570]
52997 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
52998 comparisons to determine direction to adjust input.
52999 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
53000 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
53001 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
53002 Likewise.
53003 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
53004 Likewise.
53005 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
53006 Likewise.
53007 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
53008 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
53009 Likewise.
53010 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
53011 Likewise.
53012 * math/libm-test.inc (nexttoward_test): Add more tests.
53013
53014 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
53015
53016 [BZ #14040]
53017 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
53018 in version GLIBC_2.1, not GLIBC_2.0.
53019 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
53020 Likewise.
53021
53022 2012-04-30 Joseph Myers <joseph@codesourcery.com>
53023
53024 [BZ #13942]
53025 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
53026 (1 - x) * (1 + x).
53027 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53028 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
53029 * math/libm-test.inc (acos_test): Add more tests.
53030 (asin_test): Likewise.
53031 * sysdeps/i386/fpu/libm-test-ulps: Update.
53032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53033
53034 [BZ #14034]
53035 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
53036 of square root.
53037 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
53038 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53039 * math/libm-test.inc (acos_test_tonearest): New function.
53040 (acos_test_towardzero): Likewise.
53041 (acos_test_downward): Likewise.
53042 (acos_test_upward): Likewise.
53043 (asin_test_tonearest): Likewise.
53044 (asin_test_towardzero): Likewise.
53045 (asin_test_downward): Likewise.
53046 (asin_test_upward): Likewise.
53047 (main): Call the new functions.
53048 * sysdeps/i386/fpu/libm-test-ulps: Update.
53049 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53050
53051 [BZ #13884]
53052 [BZ #13924]
53053 * math/e_exp10.c: Include <float.h>.
53054 (__ieee754_exp10): Handle underflow here rather than multiplying
53055 large negative argument by M_LN10.
53056 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
53057 of __ieee754_expf.
53058 * math/e_exp10l.c: Include <float.h>.
53059 (__ieee754_exp10l): Handle underflow here rather than multiplying
53060 large negative argument by M_LN10l.
53061 * math/libm-test.inc (exp10_test): Add another test. Do not allow
53062 spurious overflow exception on underflow.
53063
53064 2012-04-29 Marek Polacek <polacek@redhat.com>
53065
53066 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
53067 (__fortify_function): New macro.
53068 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
53069 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
53070 __extern_always_inline.
53071 * libio/bits/stdio2.h: Likewise.
53072 * libio/bits/stdio.h: Likewise.
53073 * string/string.h: Likewise.
53074 * string/bits/string3.h: Likewise.
53075 * include/stdio.h: Likewise.
53076 * stdlib/bits/stdlib.h: Likewise.
53077 * stdlib/stdlib.h: Likewise.
53078 * rt/bits/mqueue2.h: Likewise.
53079 * rt/mqueue.h: Likewise.
53080 * posix/bits/unistd.h: Likewise.
53081 * posix/unistd.h: Likewise.
53082 * io/bits/poll2.h: Likewise.
53083 * io/bits/fcntl2.h: Likewise.
53084 * io/fcntl.h: Likewise.
53085 * io/sys/poll.h: Likewise.
53086 * misc/bits/syslog.h: Likewise.
53087 * misc/bits/syslog-ldbl.h: Likewise.
53088 * misc/sys/syslog.h: Likewise.
53089 * socket/bits/socket2.h: Likewise.
53090 * socket/sys/socket.h: Likewise.
53091 * debug/tst-chk1.c: Likewise.
53092 * wcsmbs/bits/wchar2.h: Likewise.
53093 * wcsmbs/bits/wchar-ldbl.h: Likewise.
53094 * wcsmbs/wchar.h: Likewise.
53095
53096 2012-04-29 Andreas Jaeger <aj@suse.de>
53097
53098 * Makerules (tests): Remove enable-check-abi protection.
53099 (check-abi-warn): Remove.
53100 (check-abi-%): Remove check-abi-warn usage.
53101
53102 * configure.in: Remove check-abi configure option.
53103 * configure: Regenerated.
53104 * config.make.in (enable-check-abi): Remove.
53105
53106 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
53107
53108 [BZ #14033]
53109 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
53110 double functions to double *_finite functions.
53111
53112 [BZ #13941]
53113 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
53114 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
53115 LDBL_MIN_EXP.
53116 * stdio-common/Makefile (tests): Add tst-sprintf3.
53117 * stdio-common/tst-sprintf3.c: New file.
53118
53119 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
53120 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
53121
53122 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53123
53124 * conform/conformtest.pl: Remove duplicate typed-constant
53125 handling.
53126
53127 2012-04-28 David S. Miller <davem@davemloft.net>
53128
53129 * Makerules (%.abilist): Add vpath on sysdep_dirs.
53130 (check-abi-%): Remove AWK script prerequisite and explicit
53131 abilist directory.
53132 (check-abi): Rewrite to just diff the symlist with the abilist.
53133 (config-tls, config-abi-config): Delete, no longer used.
53134 (update-abi-%): Remove AWK script and explicit abilist directory.
53135 (update-abi): Rewrite to simply compare and conditionally copy the
53136 symlist and the sysdep abilist file. Remove update-abi-config
53137 checks.
53138 * abilist/ld.abilist: Remove.
53139 * abilist/libBrokenLocale.abilist: Remove.
53140 * abilist/libanl.abilist: Remove.
53141 * abilist/libcrypt.abilist: Remove.
53142 * abilist/libdl.abilist: Remove.
53143 * abilist/librt.abilist: Remove.
53144 * abilist/libthread_db.abilist: Remove.
53145 * abilist/libutil.abilist: Remove.
53146 * scripts/extract-abilist.awk: Remove.
53147 * scripts/merge-abilist.awk: Remove.
53148 * sysdeps/generic/libcidn.abilist: New file.
53149 * sysdeps/generic/libnss_compat.abilist: New file.
53150 * sysdeps/generic/libnss_db.abilist: New file.
53151 * sysdeps/generic/libnss_dns.abilist: New file.
53152 * sysdeps/generic/libnss_files.abilist: New file.
53153 * sysdeps/generic/libnss_hesiod.abilist: New file.
53154 * sysdeps/generic/libnss_nis.abilist: New file.
53155 * sysdeps/generic/libnss_nisplus.abilist: New file.
53156 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
53157 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
53158 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
53159 file.
53160 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
53161 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
53162 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
53163 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
53164 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
53165 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
53166 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
53167 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
53168 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
53169 file.
53170 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
53171 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
53172 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
53173 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
53174 file.
53175 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
53176 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
53177 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
53178 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
53179 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
53180 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
53181 file.
53182 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
53183 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
53184 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
53185 file.
53186 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
53187 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
53188 New file.
53189 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
53190 New file.
53191 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
53192 New file.
53193 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
53194 New file.
53195 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
53196 New file.
53197 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
53198 New file.
53199 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
53200 New file.
53201 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
53202 New file.
53203 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
53204 New file.
53205 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
53206 New file.
53207 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
53208 New file.
53209 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
53210 New file.
53211 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
53212 New file.
53213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
53214 file.
53215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
53216 New file.
53217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
53218 New file.
53219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
53220 file.
53221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
53222 New file.
53223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
53224 New file.
53225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
53226 file.
53227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
53228 New file.
53229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53230 New file.
53231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
53232 New file.
53233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
53234 New file.
53235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
53236 New file.
53237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
53238 New file.
53239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
53240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
53241 file.
53242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
53243 New file.
53244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
53245 file.
53246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
53247 file.
53248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
53249 file.
53250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
53251 file.
53252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
53253 file.
53254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53255 New file.
53256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
53257 file.
53258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
53259 file.
53260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
53261 New file.
53262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
53263 file.
53264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
53265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
53266 file.
53267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
53268 New file.
53269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
53270 file.
53271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
53272 file.
53273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
53274 file.
53275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
53276 file.
53277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
53278 file.
53279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53280 New file.
53281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
53282 file.
53283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
53284 file.
53285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
53286 New file.
53287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
53288 file.
53289 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
53290 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
53291 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
53292 file.
53293 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
53294 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
53295 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
53296 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
53297 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
53298 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
53299 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
53300 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
53301 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
53302 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
53303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
53304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
53305 file.
53306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
53307 New file.
53308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
53309 file.
53310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
53311 file.
53312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
53313 file.
53314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
53315 file.
53316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
53317 file.
53318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53319 New file.
53320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
53321 New file.
53322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
53323 file.
53324 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
53325 New file.
53326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
53327 file.
53328 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
53329 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
53330 file.
53331 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
53332 New file.
53333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
53334 file.
53335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
53336 file.
53337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
53338 file.
53339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
53340 file.
53341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
53342 file.
53343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53344 New file.
53345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
53346 New file.
53347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
53348 file.
53349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
53350 New file.
53351 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
53352 file.
53353
53354 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53355
53356 * conform/conformtest.pl: Fix typo in handling typed-constant from
53357 allow-header.
53358
53359 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53360
53361 * README: Cut down references to pre-2.6 Linux kernels and
53362 Linuxthreads. Update lists of configurations in libc and ports
53363 and sort alphabetically. Say "or newer" with Linux kernel version
53364 requirements.
53365
53366 * config.h.in [IS_IN_build]: Allow compiling without optimization.
53367
53368 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53369
53370 [BZ #887]
53371 * math/libm-test.inc (logb_test_downward): New test to expose
53372 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
53373 rounding mode.
53374
53375 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53376
53377 [BZ #14027]
53378 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
53379 to be done.
53380 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
53381 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
53382
53383 2012-04-26 Joseph Myers <joseph@codesourcery.com>
53384
53385 * sysdeps/unix/i386/brk.S: Remove file.
53386 * sysdeps/unix/i386/dl-brk.S: Likewise.
53387 * sysdeps/unix/i386/pipe.S: Likewise.
53388 * sysdeps/unix/i386/sigreturn.S: Likewise.
53389 * sysdeps/unix/i386/syscall.S: Likewise.
53390 * sysdeps/unix/i386/vfork.S: Likewise.
53391 * sysdeps/unix/i386/wait.S: Likewise.
53392
53393 * sysdeps/unix/common/tcsendbrk.c: Move to ...
53394 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
53395
53396 * configure.in (arm*-none*): Do not allow without
53397 --enable-hacker-mode.
53398 (netbsd*): Remove case setting base_os.
53399 (386bsd*): Likewise.
53400 (freebsd*): Likewise.
53401 (bsdi*): Likewise.
53402 (osf*): Likewise.
53403 (sunos*): Likewise.
53404 (ultrix*): Likewise.
53405 (newsos*): Likewise.
53406 (dynix*): Likewise.
53407 (*bsd*): Likewise.
53408 (sysv*): Likewise.
53409 (isc*): Likewise.
53410 (esix*): Likewise.
53411 (sco*): Likewise.
53412 (minix*): Likewise.
53413 (irix4*): Likewise.
53414 (irix6*): Likewise.
53415 (solaris[2-9]*): Likewise.
53416 (none): Likewise.
53417 * configure: Regenerated.
53418
53419 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53420
53421 [BZ #11521]
53422 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
53423 overflow or cancellation in calculating denominator.
53424 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
53425 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
53426 down expression to avoid unexpected rounding in newer GCCs.
53427 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
53428
53429 2012-04-26 David S. Miller <davem@davemloft.net>
53430
53431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
53432 long-double compat symbols.
53433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
53437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
53439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
53440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
53441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
53442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
53443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
53444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
53445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53446
53447 2012-04-25 David S. Miller <davem@davemloft.net>
53448
53449 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
53450 HWCAP_* values only after the memory barriers have been defined.
53451 (atomic_full_barrier): Define.
53452 (atomic_read_barrier): Define.
53453 (atomic_write_barrier): Define.
53454
53455 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53456
53457 * shlib-versions: Add libgcc_s version information.
53458 * sysdeps/generic/libgcc_s.h: Remove.
53459 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
53460 libgcc_s.h.
53461 * sysdeps/gnu/unwind-resume.c: Likewise.
53462 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
53463
53464 2012-04-25 David S. Miller <davem@davemloft.net>
53465
53466 * sysdeps/unix/sparc/brk.S: Delete.
53467 * sysdeps/unix/sparc/dl-brk.S: Delete.
53468 * sysdeps/unix/sparc/pipe.S: Delete.
53469 * sysdeps/unix/sparc/sysdep.S: Delete.
53470 * sysdeps/unix/sparc/sysdep.h: Delete.
53471 * sysdeps/unix/sparc/vfork.S: Delete.
53472 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
53473 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
53474 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
53475 (ret_ERRVAL, r0, r1, MOVE): Define.
53476 (JUMPTARGET): Remove.
53477 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
53478 sysdeps/unix/sparc/sysdep.h
53479 (ENTRY, END): Remove.
53480 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53481
53482 2012-04-25 Joseph Myers <joseph@codesourcery.com>
53483
53484 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
53485 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
53486 -DIS_IN_build.
53487
53488 * timezone/README: Update upstream location and email address for
53489 tzcode and tzdata.
53490 * timezone/zdump.c: Update from tzcode 2012b.
53491 * timezone/zic.c: Likewise.
53492
53493 * configure.in (libc_cv_as_needed): Remove test.
53494 * configure: Regenerated.
53495 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
53496 conditional definition.
53497 [$(have-as-needed) != yes] (no-as-needed): Likewise.
53498 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
53499 * config.make.in (have-as-needed): Remove variable.
53500
53501 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
53502 Paul Pluzhnikov <ppluzhnikov@google.com>
53503
53504 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
53505 strings correctly.
53506
53507 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
53508
53509 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
53510 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
53511 * sysdeps/sh/strlen.S: Likewise.
53512
53513 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53514
53515 * sysdeps/unix/fork.S: Remove file.
53516 * sysdeps/unix/i386/fork.S: Likewise.
53517 * sysdeps/unix/sparc/fork.S: Likewise.
53518
53519 * sysdeps/unix/system.c: Remove file.
53520 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
53521
53522 * sysdeps/unix/getegid.S: Remove file.
53523 * sysdeps/unix/geteuid.S: Likewise.
53524
53525 2012-04-24 Roland McGrath <roland@hack.frob.com>
53526
53527 * scripts/check-localplt.awk: New file.
53528 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
53529 of diff.
53530 * scripts/data/localplt-generic.data: Add a comment.
53531
53532 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
53533 NODE when __dir_mkfile failed.
53534 * sysdeps/mach/hurd/symlinkat.c: Likewise.
53535 Reported by Ludovic Courtès <ludo@gnu.org>.
53536
53537 2012-04-24 Andreas Jaeger <aj@suse.de>
53538
53539 * Makerules (common-clean): Also remove gen-as-const-headers
53540 files.
53541
53542 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53543
53544 * Makerules (native-compile): Do not change working directory for
53545 build. Use $(OUTPUT_OPTION) in command.
53546 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
53547
53548 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53549
53550 [BZ #13886]
53551 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
53552 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
53553 * math/libm-test.inc (floor_test): Add more tests.
53554 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
53555
53556 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53557
53558 * sysdeps/unix/getdents.c: Remove file.
53559 * sysdeps/unix/sysv/getdents.c: Likewise.
53560 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
53561
53562 * sysdeps/unix/syscalls.list (madvise): Add syscall from
53563 sysdeps/unix/mman/syscalls.list.
53564 (mmap): Likewise.
53565 (mprotect): Likewise.
53566 (msync): Likewise.
53567 (munmap): Likewise.
53568 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
53569 * sysdeps/unix/mman/syscalls.list: Remove.
53570 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
53571
53572 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
53573 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
53574 * configure: Regenerated.
53575 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
53576 $(libgcc_s_suffix).
53577 * config.make.in (libgcc_s_suffix): Remove variable.
53578
53579 2012-04-23 Joseph Myers <joseph@codesourcery.com>
53580
53581 * sysdeps/unix/sysv/gethostname.c: Move to ...
53582 * sysdeps/posix/gethostname.c: ... here.
53583
53584 * sysdeps/unix/execve.S: Remove file.
53585
53586 * sysdeps/unix/_exit.S: Remove file.
53587
53588 2012-04-23 Andreas Jaeger <aj@suse.de>
53589
53590 [BZ #13739]
53591 * manual/Makefile: Remove make dist support, there's no
53592 need for a stand-alone documentation tar ball.
53593 (TEXI2DVI): Define always, it's not in Makeconfig.
53594 (dist): Removed.
53595 (tar-it): Removed.
53596 (edition): Removed.
53597 (glibc-doc-$(edition).tar): Removed
53598 (%.Z): Removed.
53599 (%.gz): Removed.
53600 (%.uu): Removed.
53601 (ETAGS): Remove, it's in Makeconfig.
53602 (move-if-change): Remove, it's in Makeconfig.
53603
53604 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
53605
53606 [BZ #13970]
53607 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
53608 (strtod, strtof, strtold, strtol, strtoul, strtoq)
53609 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
53610 (strtod_l, strtof_l, strtold_l): Remove __wur.
53611 It is not necessarily an error to ignore strtol's return value.
53612 One can reliably look at the stored endptr to decide whether
53613 the number had valid syntax.
53614
53615 2012-04-21 Andreas Jaeger <aj@suse.de>
53616
53617 [BZ #13739]
53618 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
53619
53620 2012-04-21 Joseph Myers <joseph@codesourcery.com>
53621
53622 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
53623 * sysdeps/unix/sysv/Versions: Remove file.
53624
53625 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
53626
53627 [BZ #13927]
53628 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53629
53630 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
53631
53632 [BZ #7064]
53633 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
53634 version from __vm86.
53635
53636 2012-04-20 Joseph Myers <joseph@codesourcery.com>
53637
53638 * sysdeps/unix/common/lxstat.c: Remove file.
53639 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
53640
53641 * sysdeps/unix/sysv/Makefile: Remove file.
53642
53643 * sysdeps/unix/sysv/direct.h: Remove file.
53644
53645 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
53646 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
53647 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
53648 * sysdeps/unix/sysv/bits/signum.h: Likewise.
53649 * sysdeps/unix/sysv/bits/stat.h: Likewise.
53650 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
53651 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
53652
53653 * sysdeps/unix/sysv/setrlimit.c: Remove file.
53654
53655 * sysdeps/unix/xmknod.c: Remove file.
53656 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
53657
53658 * sysdeps/unix/sysv/settimeofday.c: Remove file.
53659
53660 * sysdeps/unix/sysv/i386/time.S: Remove file.
53661
53662 * sysdeps/unix/fxstat.c: Remove file.
53663 * sysdeps/unix/xstat.c: Likewise.
53664 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
53665
53666 * sysdeps/unix/sysv/sigaction.c: Remove file.
53667
53668 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
53669 (sysdep_headers): Remove variable.
53670 [termio.h not in sysdep_headers] (generated): Likewise.
53671 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
53672 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
53673 * sysdeps/unix/sysv/tcdrain.c: Likewise.
53674 * sysdeps/unix/sysv/tcflow.c: Likewise.
53675 * sysdeps/unix/sysv/tcflush.c: Likewise.
53676 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
53677 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
53678 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
53679 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
53680 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
53681
53682 * sysdeps/unix/siglist.c: Remove file.
53683
53684 * sysdeps/unix/getppid.S: Remove file.
53685
53686 * sysdeps/unix/mkdir.c: Remove file.
53687 * sysdeps/unix/rmdir.c: Likewise.
53688
53689 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
53690
53691 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
53692 ERR_MAX value.
53693 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
53694 errlist-compat value.
53695
53696 2012-04-18 David S. Miller <davem@davemloft.net>
53697
53698 * sysdeps/generic/memcopy.h (reg_char): Delete.
53699 * debug/strcat_chk.c: Use char, not reg_char.
53700 * debug/strcpy_chk.c: Likewise.
53701 * debug/strncat_chk.c: Likewise.
53702 * debug/strncpy_chk.c: Likewise.
53703 * string/memchr.c: Likewise.
53704 * string/memrchr.c: Likewise.
53705 * string/rawmemchr.c: Likewise.
53706 * string/strcat.c: Likewise.
53707 * string/strchr.c: Likewise.
53708 * string/strchrnul.c: Likewise.
53709 * string/strcmp.c: Likewise.
53710 * string/strcpy.c: Likewise.
53711 * string/strncat.c: Likewise.
53712 * string/strncmp.c: Likewise.
53713 * string/strncpy.c: Likewise.
53714
53715 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53716
53717 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
53718 __builtin_memcopy is called when src and dest ranges are known to not
53719 overlap.
53720
53721 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53722
53723 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
53724 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
53725 fwd_align_merge macro call.
53726 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
53727 bwd_align_merge macro call.
53728 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53729
53730 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53731
53732 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
53733 bwd_align_merge macros.
53734 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
53735 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
53736 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53737
53738 2012-04-18 David S. Miller <davem@davemloft.net>
53739
53740 * sysdeps/sparc/sparc64/memcopy.h: Delete.
53741
53742 2012-04-18 Andreas Jaeger <aj@suse.de>
53743
53744 [BZ# 6794]
53745 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
53746 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
53747 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53748
53749 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
53750 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
53751 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53752
53753 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
53754 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
53755 Adjust for changed ldbl-128 files.
53756
53757 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
53758 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
53759 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53760
53761 2012-04-17 David S. Miller <davem@davemloft.net>
53762
53763 * sysdeps/sparc/sparc32/memcopy.h: Delete.
53764
53765 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
53766
53767 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
53768 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
53769 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
53770 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
53771 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
53772 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
53773
53774 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53775
53776 [BZ #6794]
53777 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
53778 * math/libm-test.inc: Add ilogb errno and exception tests.
53779 * math/w_ilogb.c: New file: ilogb wrapper.
53780 * math/w_ilogbf.c: New file: ilogbf wrapper.
53781 * math/w_ilogbl.c: New file: ilogbl wrapper.
53782 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
53783 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
53784 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
53785 exception being thrown with 0.0 as argument.
53786 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
53787 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
53788 exception being thrown with 0.0 as argument.
53789 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
53790 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53791 exception being thrown with 0.0 as argument.
53792 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
53793 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53794 exception being thrown with 0.0 as argument.
53795 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
53796 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
53797 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
53798 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
53799 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
53800 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
53801 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
53802 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
53803 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
53804
53805 2012-04-17 Petr Baudis <pasky@ucw.cz>
53806
53807 * include/sys/uio.h: Change __vector to __iovec to avoid clash
53808 with altivec.
53809
53810 2012-04-16 Marek Polacek <polacek@redhat.com>
53811
53812 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
53813
53814 2012-04-16 Marek Polacek <polacek@redhat.com>
53815
53816 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
53817 operands of fdivp instruction.
53818
53819 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
53820
53821 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
53822 * elf/tst-auditmod3b.c: Likewise.
53823 * elf/tst-auditmod4b.c: Likewise.
53824 * elf/tst-auditmod5b.c: Likewise.
53825 * elf/tst-auditmod6b.c: Likewise.
53826 * elf/tst-auditmod6c.c: Likewise.
53827 * elf/tst-auditmod7b.c: Likewise.
53828 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
53829 * sysdeps/x86_64/preconfigure.in: Likewise.
53830 * sysdeps/x86_64/preconfigure: Regenerated.
53831
53832 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
53833
53834 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
53835 __ILP32__.
53836
53837 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
53838
53839 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53840 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
53841
53842 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
53843
53844 [BZ #13973]
53845 * locale/iso-639.def: Fix gl language name. Spotted by
53846 Yaron Shahrabani.
53847
53848 2012-04-12 Roland McGrath <roland@hack.frob.com>
53849
53850 [BZ #2074]
53851 * libio/libio.h (__io_write_fn): Update comment.
53852
53853 2012-04-12 Petr Baudis <pasky@ucw.cz>
53854
53855 [BZ #2074]
53856 * stdio.texi (Hook Functions): The user provided writer function
53857 is not allowed to return -1.
53858
53859 2012-04-11 David S. Miller <davem@davemloft.net>
53860
53861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53862
53863 2012-04-11 Mike Frysinger <vapier@gentoo.org>
53864
53865 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
53866 Add a leading slash to rtkaio.
53867
53868 2012-04-11 Jim Meyering <meyering@redhat.com>
53869
53870 [BZ #11959]
53871 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
53872 It is not necessarily an error to ignore fwrite's return
53873 value. One can reliably use ferror to test for errors after
53874 the fact.
53875
53876 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
53877
53878 * bits/types.h (__snseconds_t): New type.
53879 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
53880
53881 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
53882 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53883 (__SNSECONDS_T_TYPE): Likewise.
53884 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53885 (__SNSECONDS_T_TYPE): Likewise.
53886 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53887 (__SNSECONDS_T_TYPE): Likewise.
53888
53889 2012-04-10 Andreas Jaeger <aj@suse.de>
53890
53891 [BZ #2636]
53892 * manual/time.texi (Processor Time): Return type of times is
53893 elapsed real time since an arbitrary point in the past.
53894 (CPU Time): Move CLK_TCK from here...
53895 (Processor Time): ...to here. Correct description.
53896 * manual/conf.texi (Constants for Sysconf): Correct description of
53897 _SC_CLK_TCK.
53898
53899 2012-04-10 David S. Miller <davem@davemloft.net>
53900
53901 [BZ #13967]
53902 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
53903 where the is a gap between DT_REL(A) and DT_JMPREL.
53904
53905 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
53906
53907 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
53908 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53909 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53910
53911 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
53912
53913 * elf/dl-support.c (_dl_inhibit_cache): New variable.
53914 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
53915 (dl_main): Handle --inhibit-cache.
53916 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
53917 _dl_inhibit_cache.
53918 * elf/dl-load.c (_dl_map_object): Use it.
53919 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
53920
53921 2012-04-09 Joseph Myers <joseph@codesourcery.com>
53922
53923 [BZ #13872]
53924 * sysdeps/i386/fpu/e_powl.S (p78): New object.
53925 (__ieee754_powl): Saturate large exponents rather than testing for
53926 overflow of y*log2(x).
53927 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53928 * math/libm-test.inc (pow_test): Do not permit spurious overflow
53929 exceptions.
53930
53931 [BZ #11521]
53932 * math/s_ctan.c: Include <float.h>.
53933 (__ctan): Avoid internal overflow or cancellation in calculating
53934 denominator.
53935 * math/s_ctanf.c: Likewise.
53936 * math/s_ctanl.c: Likewise.
53937 * math/s_ctanh.c: Likewise.
53938 * math/s_ctanhf.c: Likewise.
53939 * math/s_ctanhl.c: Likewise.
53940 * math/libm-test.inc (ctan_test): Add more tests.
53941 (ctanh_test): Likewise.
53942 * sysdeps/i386/fpu/libm-test-ulps: Update.
53943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53944
53945 2012-04-09 Andreas Jaeger <aj@suse.de>
53946
53947 [BZ #6894]
53948 * manual/filesys.texi (Directory Entries): Mention that d_namlen
53949 is an optional BSD extension.
53950
53951 [BZ #10254]
53952 * manual/stdio.texi (Opening Streams): Document additional fopen
53953 parameters.
53954
53955 2012-04-09 Roland McGrath <roland@hack.frob.com>
53956
53957 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
53958 %eax without telling the compiler.
53959
53960 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
53961
53962 [BZ # 13963]
53963 * manual/install.texi: Use sourceware.org.
53964
53965 2012-04-09 Joseph Myers <joseph@codesourcery.com>
53966
53967 [BZ #13873]
53968 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
53969 (__ieee754_pow): Generate overflow and underflow using huge*huge
53970 and tiny*tiny rather than just returning constant infinity or zero
53971 for large exponents.
53972 * math/libm-test.inc (pow_test): Require overflow exceptions for
53973 applicable cases of large exponents.
53974
53975 [BZ #706]
53976 * sysdeps/i386/fpu/e_pow.S (p10): New object.
53977 (__ieee754_pow): Use iterative multiplication algorithm only for
53978 integer exponents with absolute value below 1024. Check for odd
53979 integer exponents when using algorithm for real exponents.
53980 * math/libm-test.inc (pow_test): Add more tests.
53981 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53982
53983 2012-04-08 Joseph Myers <joseph@codesourcery.com>
53984
53985 [BZ #13705]
53986 * math/libm-test.inc (exp_test): Do not allow overflow exception
53987 on underflow test.
53988
53989 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
53990
53991 [BZ #13705]
53992 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
53993 instead of __kernel_standard_f.
53994
53995 2012-04-08 Mike Frysinger <vapier@gentoo.org>
53996
53997 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
53998 * sysdeps/x86_64/memset_chk.S: Likewise.
53999
54000 2012-04-08 Andreas Jaeger <aj@suse.de>
54001
54002 [BZ #10153]
54003 * manual/startup.texi (Environment Access): Describe return value
54004 for putenv and setenv.
54005
54006 [BZ #6895]
54007 * manual/filesys.texi (Directory Entries): Add description for
54008 DT_LNK.
54009
54010 [BZ #6890]
54011 * manual/filesys.texi (Directory Entries): Clarify that it's file
54012 system not operating system in the description of DT_UNKNOWN.
54013
54014 [BZ #6578]
54015 * manual/syslog.texi (closelog): Fix reference, it's openlog.
54016
54017 2012-04-08 Stephen Compall <s11@member.fsf.org>
54018
54019 [BZ #6649]
54020 * manual/llio.texi (Opening and Closing Files): Add cross
54021 reference to explain mode argument.
54022
54023 2012-04-07 Mike Frysinger <vapier@gentoo.org>
54024
54025 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
54026 * sysdeps/x86_64/memset_chk.S: Likewise.
54027
54028 2012-04-07 David S. Miller <davem@davemloft.net>
54029
54030 * elf/elf.h (R_SPARC_WDISP10): Define.
54031 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
54032 R_SPARC_SIZE32.
54033 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
54034 R_SPARC_SIZE64 and R_SPARC_H34.
54035
54036 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
54037
54038 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
54039 conditions and remove no longer applicable assertion.
54040
54041 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
54042
54043 * bits/byteswap.h: Include <features.h>.
54044 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54045 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54046
54047 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
54048
54049 * bits/byteswap.h (__bswap_16): Removed.
54050 Include <bits/byteswap-16.h> to get __bswap_16.
54051 * sysdeps/i386/bits/byteswap.h: Likewise.
54052 * sysdeps/s390/bits/byteswap.h: Likewise.
54053 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54054 * bits/byteswap-16.h: New file.
54055 * sysdeps/i386/bits/byteswap-16.h: Likewise.
54056 * sysdeps/s390/bits/byteswap-16.h: Likewise.
54057 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
54058 * string/Makefile (headers): Add bits/byteswap-16.h.
54059
54060 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54061
54062 [BZ #13895]
54063 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
54064 extra indirection.
54065 * nss/Makefile (tests-static, tests): Add tst-nss-static.
54066 * nss/tst-nss-static.c: New.
54067
54068 2012-04-06 Robert Millan <rmh@gnu.org>
54069
54070 [BZ #6486]
54071 * manual/llio.texi (File Position Primitive): lseek
54072 refers to WHENCE when it really means OFFSET.
54073
54074 2012-04-06 Andreas Jaeger <aj@suse.de>
54075
54076 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
54077 strncmp declarations.
54078
54079 * abilist/libc.abilist: Add __poll and __ppoll.
54080
54081 2012-04-05 David S. Miller <davem@davemloft.net>
54082
54083 * scripts/check-local-headers.sh: Accept a host triplet in the
54084 path matched by the exclude regexp.
54085
54086 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
54087 definition.
54088 * sysdeps/powerpc/powerpc32/dl-machine.h
54089 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
54090 * sysdeps/s390/s390-32/dl-machine.h
54091 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54092 * sysdeps/sparc/sparc32/dl-machine.h
54093 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54094 * sysdeps/sparc/sparc64/dl-machine.h
54095 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54096
54097 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
54098 lazy binding.
54099 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
54100 undefined symbol errors.
54101
54102 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
54103 DT_NEEDED entries.
54104
54105 2012-04-05 Michael Matz <matz@suse.de>
54106
54107 [BZ #13592]
54108 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
54109
54110 2012-04-05 Andreas Jaeger <aj@suse.de>
54111
54112 [BZ #13908]
54113 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
54114 comment.
54115
54116 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54117
54118 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
54119 which ROUND is no valid rounding mode.
54120
54121 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54122
54123 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
54124 read again.
54125 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
54126
54127 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54128
54129 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
54130 an exception using FPU order intentionally.
54131
54132 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54133
54134 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
54135 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
54136 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
54137 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
54138
54139 2012-04-05 Simon Josefsson <simon@josefsson.org>
54140
54141 [BZ #12340]
54142 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
54143 EINVAL when BUFLEN is too smal.
54144
54145 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
54146
54147 [BZ #13553]
54148 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
54149 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
54150
54151 2012-04-03 Andreas Jaeger <aj@suse.de>
54152
54153 [BZ #13938]
54154 * manual/setjmp.texi (System V contexts): Fix sentence.
54155
54156 [BZ #13926]
54157 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
54158 New macro for this case.
54159 [!__GNUC__] (__bswap_64): New inline function for this case.
54160 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54161 * bits/byteswap.h: Likewise.
54162 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
54163 ull, guard with __GLIBC_HAVE_LONG_LONG.
54164
54165 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
54166 __GLIBC_HAVE_LONG_LONG.
54167
54168 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
54169 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
54170
54171 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54172
54173 [BZ #13691]
54174 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
54175 inptr and inend, rather than using last_ch.
54176
54177 2012-04-02 David S. Miller <davem@davemloft.net>
54178
54179 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
54180 * stdio-common/printf-parse.h (read_int): Change return type to
54181 'int', return -1 on INT_MAX overflow.
54182 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
54183 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
54184 overflows INT_MAX. Check for overflow of in-format-string precision
54185 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
54186 SIZE_MAX not INT_MAX for integer overflow test.
54187 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
54188 skip the construct in the format string but do not record anything.
54189 * stdio-common/bug22.c: Adjust to test both width/prevision
54190 INT_MAX overflow as well as total length INT_MAX overflow. Check
54191 explicitly for proper errno values.
54192
54193 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
54194
54195 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
54196 CHAR_MAX.
54197 * string/test-strcmp.c [! WIDE]: Likewise.
54198 * time/tst-mktime2.c: Likewise for INT_MAX.
54199 * string/test-string.h: #include <sys/param.h> for MIN.
54200
54201 * csu/init-first.c (__libc_init_first): Call __ctype_init.
54202 * sysdeps/i386/init-first.c (init): Likewise.
54203 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
54204 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
54205 * sysdeps/sh/init-first.c (init): Likewise.
54206
54207 2012-04-01 Ulrich Drepper <drepper@gmail.com>
54208
54209 * po/ru.po: Update from translation team.
54210 * po/vi.po: Likewise.
54211
54212 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
54213
54214 * resolv/nss_dns/dns-host.c: Merge copyright years.
54215
54216 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54217
54218 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54219 Optimize memcpy with prefetch if
54220 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
54221 src, dst pointers have unequal 16 byte alignments.
54222
54223 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
54224
54225 [BZ #13928]
54226 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
54227 from a CNAME entry and return the minimum ttl for the query.
54228 (gaih_getanswer_slice): Likewise.
54229
54230 2012-03-30 Jeff Law <law@redhat.com>
54231
54232 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
54233 due to long keys.
54234 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
54235 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
54236
54237 * resolv/nss_dns/dns-host.c: Update copyright year.
54238
54239 2012-03-30 Ulrich Drepper <drepper@gmail.com>
54240
54241 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
54242 requests to save a system call. Fix check that all bytes are sent.
54243
54244 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
54245 comments for sendmmsg.
54246
54247 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54248
54249 [BZ #13691]
54250 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
54251 with only 1 character between 0x0041 and 0x01b0.
54252 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
54253 * wcsmbs/tst-mbsnrtowcs.c: New file.
54254
54255 2012-03-29 David S. Miller <davem@davemloft.net>
54256
54257 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
54258 small copies by hand.
54259
54260 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54261
54262 [BZ #13761]
54263 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
54264 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
54265 group memberships.
54266
54267 2012-03-28 David S. Miller <davem@davemloft.net>
54268
54269 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
54270 that branches into memcpy.
54271 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54272 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
54273 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
54274 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
54275 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
54276 bits.
54277 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
54278 implementation too.
54279 * sysdeps/sparc/mempcpy.S: New file.
54280
54281 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
54282 the IFUNC routine in the libc case.
54283 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54284
54285 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
54286 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
54287 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
54288 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
54289 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
54290 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
54291 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
54292 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
54293
54294 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
54295 loop to 256 bytes instead of 64 bytes and fix test signedness.
54296
54297 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
54298 * sysdeps/sparc/sparc32/Makefile: rather than here...
54299 * sysdeps/sparc/sparc64/Makefile: and here.
54300
54301 2012-03-28 Ulrich Drepper <drepper@gmail.com>
54302
54303 * malloc/mallocbug.c: Avoid warnings about unused variables.
54304
54305 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
54306
54307 [BZ #13760]
54308 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
54309 in the right place. Discard and retry query if response is
54310 larger than input buffer size.
54311
54312 2012-03-28 Joseph Myers <joseph@codesourcery.com>
54313
54314 [BZ #369]
54315 [BZ #2678]
54316 [BZ #3866]
54317 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
54318 x for large integer exponent.
54319 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54320 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
54321 sign of result as needed afterwards.
54322 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54323 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
54324 result for underflowing pow the same as for overflow.
54325 (__kernel_standard_l): Handle powl overflow and underflow here
54326 rather than calling __kernel_standard.
54327 * math/libm-test.inc (pow_test): Add more tests.
54328
54329 [BZ #3868]
54330 [BZ #13879]
54331 [BZ #13910]
54332 [BZ #13911]
54333 [BZ #13912]
54334 [BZ #13913]
54335 [BZ #13915]
54336 [BZ #13916]
54337 [BZ #13917]
54338 [BZ #13918]
54339 [BZ #13919]
54340 [BZ #13920]
54341 [BZ #13921]
54342 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
54343 * sysdeps/ieee754/k_standard.c: Include <float.h>.
54344 (__kernel_standard_l): New function.
54345 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
54346 __kernel_standard.
54347 * math/w_acosl.c (__acosl): Likewise.
54348 * math/w_asinl.c (__asinl): Likewise.
54349 * math/w_atan2l.c (__atan2l): Likewise.
54350 * math/w_atanhl.c (__atanhl): Likewise.
54351 * math/w_coshl.c (__coshl): Likewise.
54352 * math/w_exp10l.c (__exp10l): Likewise.
54353 * math/w_exp2l.c (__exp2l): Likewise.
54354 * math/w_fmodl.c (__fmodl): Likewise.
54355 * math/w_hypotl.c (__hypotl): Likewise.
54356 * math/w_j0l.c (__j0l, __y0l): Likewise.
54357 * math/w_j1l.c (__j1l, __y1l): Likewise.
54358 * math/w_jnl.c (__jnl, __ynl): Likewise.
54359 * math/w_lgammal.c (__lgammal): Likewise.
54360 * math/w_log10l.c (__log10l): Likewise.
54361 * math/w_log2l.c (__log2l): Likewise.
54362 * math/w_logl.c (__logl): Likewise.
54363 * math/w_powl.c (__powl): Likewise.
54364 * math/w_remainderl.c (__remainderl): Likewise.
54365 * math/w_scalbl.c (sysv_scalbl): Likewise.
54366 * math/w_sinhl.c (__sinhl): Likewise.
54367 * math/w_sqrtl.c (__sqrtl): Likewise.
54368 * math/w_tgammal.c (__tgammal): Likewise.
54369 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
54370 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
54371 * math/libm-test.inc (acos_test): Add more tests.
54372 (acosh_test): Likewise.
54373 (asin_test): Likewise.
54374 (atanh_test): Likewise.
54375 (exp_test): Likewise.
54376 (exp10_test): Likewise.
54377 (exp2_test): Likewise.
54378 (expm1_test): Likewise.
54379 (lgamma_test): Likewise.
54380 (log_test): Likewise.
54381 (log10_test): Likewise.
54382 (log1p_test): Likewise.
54383 (log2_test): Likewise.
54384 (pow_test): Do not allow some spurious overflow exceptions.
54385 (sqrt_test): Add more tests.
54386 (tgamma_test): Likewise.
54387 (y0_test): Likewise.
54388 (y1_test): Likewise.
54389 (yn_test): Likewise.
54390
54391 2012-03-27 Anton Blanchard <anton@samba.org>
54392
54393 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
54394 MAP_HUGETLB.
54395 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54396 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54397 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54398
54399 2012-03-27 David S. Miller <davem@davemloft.net>
54400
54401 * conform/Makefile: Run run-conformtest.sh using $(BASH).
54402
54403 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
54404 have-as-vis3 check.
54405
54406 2012-03-27 Andreas Jaeger <aj@suse.de>
54407
54408 * sysdeps/x86_64/elf/configure.in: Moved to ...
54409 * sysdeps/x86_64/configure.in: ... here.
54410 * sysdeps/x86_64/elf/start.S: Moved to ...
54411 * sysdeps/x86_64/start.S: ... here.
54412 * sysdeps/x86_64/elf/configure: Delete.
54413
54414 * sysdeps/x86_64/configure.in: Merge contents from
54415 sysdeps/i386/configure.in (without i686 check).
54416
54417 * sysdeps/i386/elf/Versions: Merge into ...
54418 * sysdeps/i386/Versions: ... this.
54419 * sysdeps/i386/elf/Versions: Delete file.
54420 * sysdeps/i386/elf/start.S: Moved to ...
54421 * sysdeps/i386/start.S: ...here.
54422 * sysdeps/i386/elf/configure.in: Merge into...
54423 * sysdeps/i386/configure.in: ...here.
54424 * sysdeps/i386/elf/configure.in: Delete file.
54425 * sysdeps/i386/elf/configure: Delete file.
54426
54427 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
54428 * debug/backtracesyms.c: ... here.
54429 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
54430 * debug/backtracesymsfd.c: ... here.
54431 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
54432 * sysdeps/generic/ifunc-sel.h: ... here.
54433
54434 * sysdeps/unix/i386/start.c: Delete file.
54435 * sysdeps/unix/sparc/start.c: Delete file.
54436 * sysdeps/unix/start.c: Delete file.
54437
54438 * sysdeps/sh/elf/configure.in: Moved to ...
54439 * sysdeps/sh/configure.in: ... here.
54440 * sysdeps/sh/elf/start.S: Moved to ...
54441 * sysdeps/sh/start.S: ... here.
54442 * sysdeps/sh/elf/configure: Delete file.
54443
54444 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
54445 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
54446 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
54447 * sysdeps/powerpc/powerpc64/entry.h: ... here.
54448 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
54449 * sysdeps/powerpc/powerpc64/start.S: here.
54450 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
54451 * sysdeps/powerpc/powerpc64/Makefile: ... this.
54452 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
54453 * sysdeps/powerpc/powerpc64/configure.in: ... this.
54454 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
54455
54456 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
54457 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
54458 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
54459 * sysdeps/powerpc/powerpc32/start.S: ... here.
54460 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
54461 * sysdeps/powerpc/powerpc32/configure.in: ... this.
54462 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
54463
54464 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
54465 * sysdeps/powerpc/ifunc-sel.h: ... here.
54466 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
54467 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
54468
54469 * sysdeps/sparc/elf/configure.in: Moved to ...
54470 * sysdeps/sparc/configure.in: ... here.
54471 * sysdeps/sparc/elf/configure: Delete file.
54472 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
54473 * sysdeps/sparc/sparc32/start.S: ... here.
54474 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
54475 * sysdeps/sparc/sparc64/start.S: ... here.
54476 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
54477 * sysdeps/sparc/sparc32/Makefile: ... this.
54478 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
54479 * sysdeps/sparc/sparc64/Makefile: ... this.
54480
54481 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
54482 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
54483 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
54484 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
54485 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
54486 * sysdeps/s390/s390-32/setjmp.S: ... here.
54487 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
54488 * sysdeps/s390/s390-32/configure.in: ... here.
54489 * sysdeps/s390/s390-32/elf/configure: Delete file.
54490 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
54491 * sysdeps/s390/s390-32/start.S: ... here.
54492
54493 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
54494 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
54495 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
54496 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
54497 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
54498 * sysdeps/s390/s390-64/setjmp.S: ... here.
54499 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
54500 * sysdeps/s390/s390-64/configure.in: ... here
54501 * sysdeps/s390/s390-64/elf/configure: Delete file.
54502 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
54503 * sysdeps/s390/s390-64/start.S: ... here.
54504 * sysdeps/s390/s390-64/elf/configure: Delete.
54505
54506 * configure.in: Remove support for elf directories in sysdeps.
54507
54508 * configure: Regenerated.
54509 * sysdeps/i386/configure: Regenerated.
54510 * sysdeps/powerpc/powerpc32/configure: Regenerated.
54511 * sysdeps/powerpc/powerpc64/configure: Regenerated.
54512 * sysdeps/s390/s390-32/configure: Regenerated.
54513 * sysdeps/s390/s390-64/configure: Regenerated.
54514 * sysdeps/sh/configure: Regenerated.
54515 * sysdeps/sparc/configure: Regenerated.
54516 * sysdeps/x86_64/configure: Regenerated.
54517
54518 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
54519
54520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54521
54522 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
54523 denormal result into account.
54524
54525 2012-03-25 Roland McGrath <roland@hack.frob.com>
54526
54527 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
54528 Reported by Allan McRae <allan@archlinux.org>.
54529
54530 2012-03-23 Jeff Law <law@redhat.com>
54531
54532 * nss/getnssent.c (__nss_getent): Fix typo.
54533
54534 2012-03-23 David S. Miller <davem@davemloft.net>
54535
54536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54537
54538 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
54539
54540 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
54541 to pad to uint64_t for each field.
54542 (dl_tls_index): Replace unsigned long with uint64_t.
54543
54544 2012-03-23 Daniel Jacobowitz <dmj@google.com>
54545 Paul Pluzhnikov <ppluzhnikov@google.com>
54546
54547 [BZ #6528]
54548 * grp/Makefile (otherlibs): Don't set it.
54549 * inet/Makefile (otherlibs): Likewise.
54550 * login/Makefile (otherlibs): Likewise.
54551 * nscd/Makefile (otherlibs): Likewise.
54552 * posix/Makefile (otherlibs): Likewise.
54553 * pwd/Makefile (otherlibs): Likewise.
54554 * rt/Makefile (otherlibs): Likewise.
54555 * sunrpc/Makefile (otherlibs): Likewise.
54556 * nss/Makefile (otherlibs): Likewise.
54557 Add libnss_files to routines and static-only-routines.
54558 ($(objpfx)getent): Remove rule.
54559 * resolv/Makefile: Add libnss_dns and libresolv to routines and
54560 static-only-routines.
54561
54562 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54563
54564 [BZ #13892]
54565 * math/s_cexp.c: Include <float.h>.
54566 (__cexp): Handle exp result overflowing not necessarily
54567 overflowing both real and imaginary parts of result.
54568 * math/s_cexpf.c: Likewise.
54569 * math/s_cexpl.c: Likewise.
54570 * math/libm-test.inc (cexp_test): Add more tests.
54571 * sysdeps/i386/fpu/libm-test-ulps: Update.
54572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54573
54574 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54575
54576 * include/link.h (ELFW): New macro.
54577 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
54578 Replace ELF64_R_TYPE with ELFW(R_TYPE).
54579
54580 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54581
54582 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
54583 with uint64_t.
54584
54585 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54586
54587 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
54588 declaration.
54589 (struct La_x32_retval): Likewise.
54590
54591 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54592
54593 * sysdeps/x86_64/preconfigure.in: New file.
54594 * sysdeps/x86_64/preconfigure: New generated file.
54595
54596 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54597
54598 [BZ #13824]
54599 * math/e_exp2l.c: Include <float.h>.
54600 (__ieee754_exp2l): Handle overflow and underflow cases
54601 separately. Only pass fractional part of argument to
54602 __ieee754_expl.
54603 * math/libm-test.inc (exp2_test): Add more tests.
54604
54605 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
54606 negating x to take absolute value.
54607 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
54608 Likewise.
54609 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
54610 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
54611 Likewise.
54612 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
54613 computing low part if x was negated.
54614 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
54615
54616 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54617
54618 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
54619 la_x32_gnu_pltexit.
54620 (pltexit): Cast int_retval to ptrdiff_t.
54621 * elf/tst-auditmod3b.c: Likewise.
54622 * elf/tst-auditmod4b.c: Likewise.
54623 * elf/tst-auditmod5b.c: Likewise.
54624 * elf/tst-auditmod6b.c: Likewise.
54625 * elf/tst-auditmod6c.c: Likewise.
54626 * elf/tst-auditmod7b.c: Likewise.
54627
54628 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
54629 and x32_gnu_pltexit.
54630
54631 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
54632 __ELF_NATIVE_CLASS.
54633 (La_x32_regs): New macro.
54634 (La_x32_retval): Likewise.
54635 (la_x32_gnu_pltenter): New function prototype.
54636 (la_x32_gnu_pltexit): Likewise.
54637
54638 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
54639
54640 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
54641 exponent.
54642
54643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54644
54645 * configure.in (libc_cv_cc_nofma): Check for option to disable
54646 generation of FMA instructions.
54647 * configure: Regenerate.
54648 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
54649 * sysdeps/ieee754/dbl-64/Makefile: New file.
54650 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
54651 Remove brandred-fma4.
54652 (CFLAGS-brandred-fma4.c): Remove.
54653 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
54654 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
54655 define.
54656 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
54657 define.
54658
54659 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54660
54661 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
54662 LLONG_MAX != LONG_MAX.
54663 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54664 (_fitoa_word): Likewise.
54665 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
54666 LLONG_MAX != LONG_MAX.
54667 * stdio-common/_itowa.h: Include <_itoa.h>.
54668 (_itowa_word): Use _ITOA_WORD_TYPE on value.
54669 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
54670 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
54671 only if not defined.
54672 (_ITOA_WORD_TYPE): Likewise.
54673 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54674 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
54675
54676 2012-03-21 David S. Miller <davem@davemloft.net>
54677
54678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54679
54680 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54681
54682 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
54683 of x86_64 when setting libc_cv_slibdir, libdir and
54684 libc_cv_localedir.
54685 * sysdeps/unix/sysv/linux/configure: Regenerated.
54686
54687 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54688
54689 * manual/lang.texi (Old Varargs): Remove section.
54690 (How Variadic): Update menu.
54691 (va_start): Do not mention varargs.h.
54692
54693 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54694 Joseph Myers <joseph@codesourcery.com>
54695
54696 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
54697 link test.
54698 * configure: Regenerated.
54699
54700 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54701
54702 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
54703 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
54704 conformtest.pl
54705
54706 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54707
54708 * NOTES: Remove.
54709 * Makefile (files-for-dist): Remove NOTES.
54710 (NOTES): Remove rule.
54711 * README: Don't refer to NOTES.
54712 * manual/creature.texi: Don't include macros.texi.
54713 * manual/intro.texi (creature.texi): Remove comment referring to
54714 NOTES.
54715
54716 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
54717 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
54718 * configure: Regenerated.
54719 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
54720 LIBC_TRY_CC_OPTION.
54721 (libc_cv_as_i686): Likewise.
54722 (libc_cv_cc_avx): Likewise.
54723 (libc_cv_cc_sse2avx): Likewise.
54724 (libc_cv_cc_fma4): Likewise.
54725 (libc_cv_cc_novzeroupper): Likewise.
54726 * sysdeps/i386/configure: Regenerated.
54727
54728 [BZ #13883]
54729 * sysdeps/i386/fpu/s_cexp.S: Remove.
54730 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54731 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54732 * math/libm-test.inc (cexp_test): Add more tests.
54733 * sysdeps/i386/fpu/libm-test-ulps: Update.
54734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54735
54736 2012-03-21 Allan McRae <allan@archlinux.org>
54737
54738 * timezone/Makefile: Do not install iso3166.tab and zone.tab
54739
54740 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54741
54742 [BZ #13871]
54743 * math/w_exp2.c: Do not include <float.h>.
54744 (o_threshold, u_threshold): Remove.
54745 (__exp2): Calculate result before checking finiteness and calling
54746 __kernel_standard.
54747 * math/w_exp2f.c: Likewise.
54748 * math/w_exp2l.c: Likewise.
54749 * math/libm-test.inc (exp2_test): Require overflow exception for
54750 1e6 input.
54751
54752 [BZ #3866]
54753 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
54754 range of signed 64-bit integers before using fistpll. Remove
54755 checks for whether integers fit in mantissa bits.
54756 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
54757 the range of signed 32-bit integers before using fistpl. Remove
54758 checks for whether integers fit in mantissa bits.
54759 * sysdeps/i386/fpu/e_powl.S (p64): New object.
54760 (__ieee754_powl): Test for y outside the range of signed 64-bit
54761 integers before using fistpll. Reduce 64-bit values to 63-bit
54762 ones as needed.
54763 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
54764 divide-by-zero is raised for zero to large negative powers.
54765 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
54766 (__ieee754_powl): Test for y outside the range of signed 64-bit
54767 integers before using fistpll. Reduce 64-bit values to 63-bit
54768 ones as needed.
54769 * math/libm-test.inc (pow_test): Add more tests.
54770
54771 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54772
54773 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
54774 <stdio-common/_itoa.h>.
54775 * debug/segfault.c: Likewise.
54776 * elf/dl-cache.c: Likewise.
54777 * elf/dl-minimal.c: Likewise.
54778 * elf/dl-misc.c: Likewise.
54779 * elf/dl-sysdep.c: Likewise.
54780 * elf/dl-version.c: Likewise.
54781 * elf/rtld.c: Likewise.
54782 * hurd/hurdsock.c: Likewise.
54783 * hurd/lookup-retry.c: Likewise.
54784 * malloc/malloc.c: Likewise.
54785 * malloc/mtrace.c: Likewise.
54786 * nscd/nscd_getgr_r.c: Likewise.
54787 * nscd/nscd_getpw_r.c: Likewise.
54788 * nscd/nscd_getserv_r.c: Likewise.
54789 * posix/getopt_init.c: Likewise.
54790 * posix/wordexp.c: Likewise.
54791 * stdio-common/_itoa.c: Likewise.
54792 * stdio-common/printf_fphex.c: Likewise.
54793 * stdio-common/vfprintf.c: Likewise.
54794 * string/_strerror.c: Likewise.
54795 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
54796 * sysdeps/i386/i686/hp-timing.h: Likewise.
54797 * sysdeps/mach/_strerror.c: Likewise.
54798 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
54799 * sysdeps/mach/hurd/sethostid.c: Likewise.
54800 * sysdeps/mach/hurd/xmknodat.c: Likewise.
54801 * sysdeps/mach/xpg-strerror.c: Likewise.
54802 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54803 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54804 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
54805 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
54806 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54807 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
54808 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
54809 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
54810 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
54811 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
54812 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
54813 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
54814 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
54815 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
54816 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
54817 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
54818 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
54819 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
54820 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
54821 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
54822 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
54823
54824 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
54825
54826 * stdio-common/_itoa.h: Moved to ...
54827 * sysdeps/generic/_itoa.h: Here.
54828
54829 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
54830
54831 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
54832 instead of "_itoa.h" and "_itowa.h".
54833 * stdio-common/vfprintf.: Likewise.
54834
54835 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54836
54837 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
54838 <bits/wordsize.h>.
54839 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
54840 (__signbit): Likwise.
54841 (llrintf): Likwise.
54842 (llrint): Likwise.
54843
54844 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54845
54846 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
54847 __WORDSIZE != 64.
54848
54849 2012-03-20 Joseph Myers <joseph@codesourcery.com>
54850
54851 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
54852 OVERFLOW_EXCEPTION_OK.
54853 * math/libm-test.inc ("Philosophy"): Update comment about
54854 exception testing.
54855 (OVERFLOW_EXCEPTION): Define.
54856 (OVERFLOW_EXCEPTION_OK): Likewise.
54857 (INVALID_EXCEPTION_OK): Renumber.
54858 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54859 (IGNORE_ZERO_INF_SIGN): Likewise.
54860 (test_exceptions): Handle FE_OVERFLOW.
54861 (exp10_test): Expect overflow exceptions.
54862 (exp2_test): Likewise.
54863 (expm1_test): Likewise.
54864 (nextafter_test): Likewise.
54865 (pow_test): Likewise.
54866 (scalbn_test): Likewise.
54867 (scalbln_test): Likewise.
54868
54869 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54870
54871 * sysdeps/x86_64/bits/atomic.h
54872 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
54873 64bit integer.
54874 (atomic_exchange_acq): Likewise.
54875 (__arch_exchange_and_add_body): Likewise.
54876 (__arch_add_body): Likewise.
54877 (atomic_add_negative): Likewise.
54878 (atomic_add_zero): Likewise.
54879
54880 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54881
54882 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
54883 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
54884
54885 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54886
54887 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
54888 Check __x86_64__ instead of __WORDSIZE.
54889
54890 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54891
54892 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
54893
54894 2012-03-19 David S. Miller <davem@davemloft.net>
54895
54896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54897
54898 * sysdeps/sparc/fpu/fenv_private.h: New file.
54899 * sysdeps/sparc/fpu/math_private.h: Use it.
54900 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
54901 Remove.
54902 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
54903 (libc_feholdexcept_setroundl): Remove.
54904 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
54905 Remove.
54906 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
54907 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
54908
54909 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54910
54911 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
54912 int64_t instead of long int.
54913 (INSERT_WORDS64): Likwise.
54914
54915 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54916
54917 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
54918 _Unwind_GetCFA return to _Unwind_Ptr first.
54919
54920 2012-03-19 Joseph Myers <joseph@codesourcery.com>
54921
54922 [BZ #13629]
54923 * math/s_clog.c: Include <float.h>.
54924 (__clog): Scale large or subnormal inputs.
54925 * math/s_clogf.c: Likewise.
54926 * math/s_clogl.c: Likewise.
54927 * math/s_clog10.c: Include <float.h>.
54928 (M_LOG10_2): Define.
54929 (__clog10): Scale large or subnormal inputs.
54930 * math/s_clog10f.c: Likewise.
54931 * math/s_clog10l.c: Likewise.
54932 * math/libm-test.inc (clog_test): Add more tests.
54933 (clog10_test): Likewise.
54934 * sysdeps/i386/fpu/libm-test-ulps: Update.
54935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54936
54937 [BZ #11451]
54938 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
54939 x and y.
54940 * math/libm-test.inc (atan2_test): Add another test.
54941
54942 * Makerules (common-objdir-compile): Remove.
54943 * sysdeps/unix/Makefile (config-generated): Do not add
54944 $(unix-generated) to variable.
54945 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
54946 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
54947 Remove rule.
54948 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
54949 Likewise.
54950 [generic bits/local_lim.h] (before-compile): Do not append to
54951 variable.
54952 [generic bits/local_lim.h] (common-generated): Likewise.
54953 [generic sys/param.h] (before-compile): Do not append to variable.
54954 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
54955 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
54956 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
54957 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
54958 include.
54959 [generic sys/param.h] (sys/param.h-includes): Remove variable.
54960 [generic sys/param.h] (sys/param.h-includes): Remove rule.
54961 [generic sys/param.h] ($(addprefix
54962 $(common-objpfx),$(sys/param.h-includes))): Likewise.
54963 [generic sys/param.h] (common-generated): Do not append to
54964 variable.
54965 [generic sys/param.h] (sysdep_headers): Likewise.
54966 [generic bits/errno.h] (before-compile): Do not append to
54967 variable.
54968 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
54969 rule.
54970 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
54971 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
54972 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
54973 [generic bits/errno.h] (common-generated): Do not append to
54974 variable.
54975 [generic bits/ioctls.h] (before-compile): Do not append to
54976 variable.
54977 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
54978 rule.
54979 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
54980 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
54981 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
54982 rule.
54983 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
54984 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
54985 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
54986 [generic bits/ioctls.h] (common-generated): Do not append to
54987 variable.
54988 [generic sys/syscall.h] (syscall.h): Remove variable.
54989 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
54990 rule.
54991 [generic sys/syscall.h] (before-compile): Do not append to
54992 variable.
54993 [generic sys/syscall.h] (common-generated): Likewise.
54994 * sysdeps/unix/errnos-tmpl.c: Remove file.
54995 * sysdeps/unix/errnos.awk: Likewise.
54996 * sysdeps/unix/ioctls-tmpl.c: Likewise.
54997 * sysdeps/unix/ioctls.awk: Likewise.
54998 * sysdeps/unix/mk-local_lim.c: Likewise.
54999 * sysdeps/unix/snarf-ioctls: Likewise.
55000
55001 2012-03-19 Richard Henderson <rth@twiddle.net>
55002
55003 * sysdeps/i386/fpu/fenv_private.h: New file.
55004 * sysdeps/i386/fpu/math_private.h: Use it.
55005 (math_opt_barrier, math_force_eval): Remove.
55006 (libc_feholdexcept_setround_53bit): Remove.
55007 (libc_feupdateenv_53bit): Remove.
55008 * sysdeps/x86_64/fpu/math_private.h: Likewise.
55009 (math_opt_barrier, math_force_eval): Remove.
55010 (libc_feholdexcept): Remove.
55011 (libc_feholdexcept_setround): Remove.
55012 (libc_fetestexcept, libc_fesetenv): Remove.
55013 (libc_feupdateenv_test): Remove.
55014 (libc_feupdateenv, libc_feholdsetround): Remove.
55015 (libc_feresetround): Remove.
55016
55017 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
55018 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
55019
55020 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
55021 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
55022 (libc_feupdateenv_testl): New.
55023 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
55024 (libc_feupdateenv_testf): New.
55025 (libc_feupdateenv): Use libc_feupdateenv_test.
55026 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
55027 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
55028
55029 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
55030 (libc_feholdsetroundf, libc_feholdsetroundl): New.
55031 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
55032 (libc_feresetround_noex): New.
55033 (libc_feresetround_noexf): New.
55034 (libc_feresetround_noexl): New.
55035 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
55036 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
55037 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
55038 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
55039 SET_RESTORE_ROUND.
55040 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
55041 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
55042 (__cos): Likewise.
55043 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
55044 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
55045 SET_RESTORE_ROUND_NOEX.
55046 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
55047 SET_RESTORE_ROUND_NOEXF.
55048 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
55049 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
55050 (libc_feholdsetroundf): New.
55051 (libc_feresetround, libc_feresetroundf): New.
55052
55053 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
55054 (libc_feholdexcept_setround_53bit): Convert from macro to function.
55055 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
55056
55057 * sysdeps/generic/math_private.h: Include <fenv.h>.
55058 (default_libc_feholdexcept): New.
55059 (default_libc_feholdexcept_setround): New.
55060 (default_libc_fesetenv, default_libc_feupdateenv): New.
55061 (libc_feholdexcept): Only define if undefined.
55062 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
55063 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
55064 (libc_feholdexcept_setroundl): Likewise.
55065 (libc_feholdexcept_setround_53bit): Likewise.
55066 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
55067 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
55068 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
55069 (libc_feupdateenv_53bit): Likewise.
55070 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
55071 (libc_feholdexcept): Convert from macro to inline function.
55072 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
55073 (libc_fesetenv, libc_feupdateenv): Likewise.
55074
55075 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
55076 not previously defined.
55077 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
55078 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
55079 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
55080 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
55081 * sysdeps/ieee754/flt-32/math_private.h: New file.
55082 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
55083 math_private.h below SET_FLOAT_WORD.
55084 (__isnan, __isinf_ns, __finite): Remove.
55085 (__isnanf, __isinf_nsf, __finitef): Remove.
55086
55087 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
55088
55089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55090
55091 2012-03-17 David S. Miller <davem@davemloft.net>
55092
55093 [BZ #6471]
55094 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
55095 for 2.16.
55096
55097 2012-03-16 David S. Miller <davem@davemloft.net>
55098
55099 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
55100 warnings.
55101
55102 [BZ #6471]
55103 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
55104 properly.
55105 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
55106 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
55107 sysdep_routines when subdir is sysvipc.
55108 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
55109 __getshmlba helper.
55110
55111 * sysdeps/sparc/fpu/libm-test/ulps: Update.
55112
55113 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55114
55115 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
55116 [__LP64__].
55117
55118 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55119
55120 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
55121 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
55122 (__lround): Renamed to ...
55123 (__llround): This. Replace long int with long long int.
55124 Define lround functions as aliases of llround functions.
55125 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
55126
55127 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55128
55129 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
55130 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
55131 adresses to uintptr_t. Replace "long int" and "unsigned long
55132 int" with "greg_t" on va_arg.
55133
55134 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55135
55136 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
55137 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
55138
55139 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
55140 Move e_machine check before EI_CLASS check. Handle x32
55141 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
55142 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
55143 SKIP_EM_IA_64 and include
55144 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
55145
55146 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
55147 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
55148 (add_system_dir): New macro.
55149
55150 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
55151 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
55152
55153 2012-03-16 Joseph Myers <joseph@codesourcery.com>
55154
55155 [BZ #2551]
55156 [BZ #2552]
55157 [BZ #2553]
55158 [BZ #2554]
55159 [BZ #2562]
55160 [BZ #2563]
55161 [BZ #2565]
55162 [BZ #2566]
55163 [BZ #2576]
55164 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
55165 (y0): Likewise.
55166 * math/w_j0f.c (j0f): Likewise.
55167 (y0f): Likewise.
55168 * math/w_j0l.c (__j0l): Likewise.
55169 (__y0l): Likewise.
55170 * math/w_j1.c (j1): Likewise.
55171 (y1): Likewise.
55172 * math/w_j1f.c (j1f): Likewise.
55173 (y1f): Likewise.
55174 * math/w_j1l.c (__j1l): Likewise.
55175 (__y1l): Likewise.
55176 * math/w_jn.c (jn): Likewise.
55177 (yn): Likewise.
55178 * math/w_jnf.c (jnf): Likewise.
55179 (ynf): Likewise.
55180 * math/w_jnl.c (__jnl): Likewise.
55181 (__ynl): Likewise.
55182 * math/libm-test.inc (j0_test): Add more tests.
55183 (j1_test): Likewise.
55184 (jn_test): Likewise. Add trailing semicolon to existing test.
55185 (y0_test): Likewise.
55186 (y1_test): Likewise.
55187 * sysdeps/i386/fpu/libm-test-ulps: Update.
55188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55189
55190 [BZ #13851]
55191 [BZ #13854]
55192 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
55193 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
55194 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
55195 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
55196 (__tanl): Set errno for infinite argument.
55197 * sysdeps/i386/fpu/mptan.c: Remove.
55198 * sysdeps/i386/fpu/s_tan.S: Likewise.
55199 * sysdeps/i386/fpu/s_tanl.S: Likewise.
55200 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
55201 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
55202 * math/libm-test.inc (tan_test): Add more tests and enable more
55203 tests for double and long double.
55204 * sysdeps/i386/fpu/libm-test-ulps: Update.
55205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55206
55207 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
55208
55209 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
55210 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
55211
55212 2012-03-16 Roland McGrath <roland@hack.frob.com>
55213
55214 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
55215 * configure.in: Use it for both main tree and add-ons.
55216 * configure: Regenerated.
55217
55218 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55219
55220 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
55221
55222 2012-03-16 Joseph Myers <joseph@codesourcery.com>
55223
55224 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
55225 in comment.
55226
55227 [BZ #13851]
55228 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
55229 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
55230 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
55231 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
55232 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
55233 infinite argument.
55234 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
55235 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
55236 != 0 for prec == 2.
55237 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
55238 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
55239 * sysdeps/i386/fpu/s_cosl.S: Likewise.
55240 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
55241 * sysdeps/i386/fpu/s_sinl.S: Likewise.
55242 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
55243 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
55244 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
55245 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
55246 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
55247 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
55248 * math/libm-test.inc (cos_test): Add more tests and enable more
55249 tests for long double.
55250 (sin_test): Likewise.
55251 (sincos_test): Likewise.
55252 * sysdeps/i386/fpu/libm-test-ulps: Update.
55253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55254
55255 2012-03-16 David S. Miller <davem@davemloft.net>
55256
55257 * sysdeps/sparc/fpu/math_private.h: New file.
55258
55259 2012-03-15 David S. Miller <davem@davemloft.net>
55260
55261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
55262 file.
55263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
55264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
55265 file.
55266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
55267 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
55268 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
55269 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
55270 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
55271 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
55272 sysdep routines.
55273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55274
55275 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
55276 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
55277
55278 * sysdeps/sparc/sparc-ifunc.h: New file.
55279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
55280 sparc-ifunc.h
55281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
55283 Likewise.
55284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
55285 Likewise.
55286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
55287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
55288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55290 Likewise.
55291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
55292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
55293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
55294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
55295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
55296 Likewise.
55297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
55298 Likewise.
55299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
55300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
55301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
55302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
55303 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55304 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55305 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
55306 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
55307 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55308 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55309 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
55310 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
55311 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
55312 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
55313 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
55314 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
55315 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
55316 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
55317 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
55318 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
55319 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
55320 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
55321 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
55322 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
55323
55324 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55325
55326 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
55327 scaling.
55328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55329
55330 2012-03-15 Andreas Jaeger <aj@suse.de>
55331
55332 [BZ #13852]
55333 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
55334 ieee754/flt-32 implementation for sin, cos and sincos.
55335 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
55336 * sysdeps/i386/fpu/s_cosf.S: Likewise.
55337 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
55338 * sysdeps/i386/fpu/s_sinf.S: Likewise.
55339 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
55340 ieee754/flt-32 implementation for tan.
55341
55342 * math/libm-test.inc (cos_test): Enable some large input tests for
55343 float as well
55344 (sin_test): Likewise.
55345 (sincos_test): Likewise.
55346 (tan_test): Add tests for large input.
55347
55348 * sysdeps/i386/fpu/libm-test-ulps: Update.
55349
55350 2012-03-15 Andreas Jaeger <aj@suse.de>
55351
55352 [BZ #13658]
55353 * math/libm-test.inc (cos_test): Add more test cases.
55354 (sin_test): Likewise.
55355 (sincos_test): Likewise.
55356
55357 2012-03-15 Andreas Jaeger <aj@suse.de>
55358
55359 [BZ #13837]
55360 * math/libm-test.inc (cos_test): Add a test case for large input
55361 value.
55362 (sin_test): Likewise.
55363 (sincos_test): Likewise.
55364
55365 2012-03-15 Andreas Jaeger <aj@suse.de>
55366 Joseph Myers <joseph@codesourcery.com>
55367
55368 [BZ #13658]
55369 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
55370 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
55371 * sysdeps/i386/fpu/branred.c: Likewise.
55372 * sysdeps/i386/fpu/dosincos.c: Likewise.
55373 * sysdeps/i386/fpu/mpa.c: Likewise.
55374 * sysdeps/i386/fpu/s_cos.S: Likewise.
55375 * sysdeps/i386/fpu/s_sin.S: Likewise.
55376 * sysdeps/i386/fpu/s_sincos.S: Likewise.
55377 * sysdeps/i386/fpu/sincos32.c: Likewise.
55378
55379 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
55380 Define.
55381 (libc_feupdateenv_53bit): Define.
55382 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
55383 Define.
55384 (libc_feupdateenv_53bit): Define.
55385
55386 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
55387 53 bit (without extend i386 double precision).
55388
55389 * math/libm-test.inc (sincos_test): Add tests for large input.
55390 (sin): Likewise.
55391 (cos): Likewise.
55392
55393 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
55394
55395 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55396
55397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55398
55399 2012-03-15 David S. Miller <davem@davemloft.net>
55400
55401 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
55402 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
55403 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
55404 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
55405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
55406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
55407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
55408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
55409 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
55410 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
55411 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
55412 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
55413 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
55414 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
55415 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
55416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
55417 file.
55418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
55419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
55420 file.
55421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
55422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
55423 file.
55424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
55425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
55426 file.
55427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
55428 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
55429 fmin/fmax sysdep routines.
55430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55431
55432 2012-03-14 David S. Miller <davem@davemloft.net>
55433
55434 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
55435 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
55436 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
55437 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
55438 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
55439 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
55440 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
55441 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
55442 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
55443 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
55444 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
55445 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
55446 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
55447 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
55448 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
55449 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
55450 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
55451 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
55452 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
55453 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
55454 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
55455 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
55456 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
55457 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
55458 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
55459 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
55460 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
55461 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
55462 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
55463 routines.
55464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
55465 file.
55466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
55467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
55468 file.
55469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
55470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
55471 file.
55472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
55473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
55474 file.
55475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
55476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
55477 file.
55478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
55479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
55480 file.
55481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
55482 file.
55483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
55484 file.
55485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
55486 file.
55487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
55488 New file.
55489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
55490 file.
55491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
55492 file.
55493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
55494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
55495 file.
55496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
55497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
55498 file.
55499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
55500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
55501 file.
55502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
55503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
55504 VIS3 routines.
55505
55506 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55507 New file.
55508
55509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55510
55511 * sysdeps/sparc/configure.in: New file.
55512 * sysdeps/sparc/configure: Generate.
55513 * configure.in (libc_cv_sparc_as_vis3): Substitute.
55514 * configure: Regenerate.
55515 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
55516 * config.make.in (have-as-vis3): New.
55517 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
55518 available use -Av9d instead of -Av9a.
55519 * sysdeps/sparc/sparc64/Makefile: Likewise.
55520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
55521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
55522 New file.
55523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
55524 file.
55525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
55526 New file.
55527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
55528 file.
55529 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
55530 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
55531 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
55532 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
55533 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
55534
55535 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
55536 fzeros/fnegs to load 0x80000000 into a float register instead of
55537 using the stack.
55538 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
55539
55540 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55541
55542 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55543 bits/syscall.h.
55544 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
55545 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
55546 ($(inst_includedir)/bits/syscall.h): Remove rule.
55547 ($(objpfx)bits/syscall.d): Include instead of
55548 $(objpfx)syscall-list.d.
55549 (generated): Change syscall-list.h and syscall-list.d to
55550 bits/syscall.h and bits/syscall.d.
55551
55552 2012-03-14 Roland McGrath <roland@hack.frob.com>
55553
55554 [BZ #13846]
55555 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
55556
55557 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55558
55559 [BZ #13841]
55560 * math/s_csqrt.c: Include <float.h>.
55561 (__csqrt): Scale large or subnormal inputs.
55562 * math/s_csqrtf.c: Likewise.
55563 * math/s_csqrtl.c: Likewise.
55564 * math/libm-test.inc (csqrt_test): Add more tests.
55565 * sysdeps/i386/fpu/libm-test-ulps: Update.
55566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55567
55568 [BZ #13840]
55569 * math/libm-test.inc (hypot_test): Add more tests.
55570
55571 2012-03-13 David S. Miller <davem@davemloft.net>
55572
55573 [BZ #13840]
55574 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
55575 double-precision for the calculation instead of scaling.
55576
55577 2012-03-13 Joseph Myers <joseph@codesourcery.com>
55578
55579 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
55580 manipulate bits before adding and subtracting TWO52[sx].
55581 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
55582 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
55583 Likewise.
55584 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
55585
55586 2012-03-13 David S. Miller <davem@davemloft.net>
55587
55588 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
55589 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
55590 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
55591 rtld-global-offsets.h
55592 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55593
55594 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
55595 large parameters.
55596
55597 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
55598
55599 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
55600 'err' in the ifdef scope in which it is actually used.
55601
55602 * nss/nss_db/db-init.c: Include string.h
55603
55604 2012-03-12 David S. Miller <davem@davemloft.net>
55605
55606 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55607 masking out of the most significant byte of random value used.
55608 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55609 Fix coding style in previous change.
55610
55611 * sysdeps/unix/sysv/linux/kernel-features.h
55612 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
55613 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
55614 expression.
55615 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
55616 later.
55617
55618 2012-03-11 David S. Miller <davem@davemloft.net>
55619
55620 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55621 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
55622 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
55623 for 'resultvar' otherwise things get truncated on 64-bit.
55624
55625 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55626 Fix masking out of the most significant byte of random value used.
55627
55628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55629
55630 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
55631
55632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55633
55634 2012-03-09 David S. Miller <davem@davemloft.net>
55635
55636 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
55637 variables with appropriate CPP guards.
55638 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
55639 from the frame pointer, not the stack pointer. Correct layout
55640 comments. Fix test on resulting framesize and the management of
55641 the outregs buffer for pltexit. Preserve floating point return
55642 values across _dl_call_pltexit call.
55643 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
55644 framesize and the management of the outregs buffer for pltexit.
55645 Preserve floating point return values across _dl_call_pltexit
55646 call.
55647 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
55648 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
55649 (la_sparc64_gnu_pltexit): New functions.
55650 (print_exit): Fix format string for return register value.
55651
55652 2012-03-10 Joseph Myers <joseph@codesourcery.com>
55653
55654 * sunrpc/Makefile (others): Add rpcgen.
55655 ($(objpfx)rpcgen): Remove special build rule and dependency on
55656 libc.
55657 * sunrpc/rpcgen.c: New file.
55658
55659 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
55660
55661 [BZ #13673]
55662 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
55663 * stdio-common/bug-vfprintf-nargs.c: Likewise.
55664 * sysdeps/i386/crti.S: Likewise.
55665 * sysdeps/i386/crtn.S: Likewise.
55666 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
55667 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
55668 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
55669 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
55670 * sysdeps/sh/crti.S: Likewise.
55671 * sysdeps/sh/crtn.S: Likewise.
55672 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55673
55674 [BZ #13673]
55675 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
55676 with URL.
55677 * locale/programs/locfile-kw.gperf: Likewise.
55678 * locale/programs/charmap-kw.h: Regenerated.
55679 * locale/programs/locfile-kw.h: Likewise.
55680
55681 [BZ #13673]
55682 * intl/plural.y: Replace FSF snail mail address with URL.
55683 * intl/plural.c: Regenerated.
55684
55685 2012-03-09 Richard Henderson <rth@twiddle.net>
55686
55687 * include/math_private.h: Remove file.
55688 * math/math_private.h: Move file ...
55689 * sysdeps/generic/math_private.h: ... here.
55690
55691 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
55692 * sysdeps/powerpc/fpu/math_private.h: Likewise.
55693 * sysdeps/x86_64/fpu/math_private.h: Likewise.
55694
55695 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
55696 and <math_private.h>.
55697 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55698 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55699 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55700 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55701 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55702 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
55703 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55704 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55705 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55706 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55707 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55708 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55709 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55710 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55711 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55712 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55713 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55714 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55715 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55716 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55717 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55718 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55719 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55720 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55721 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55722 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55723 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55724 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55725 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55726 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55727 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55728 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55729 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55730 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55731 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55732 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55733 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55734 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55735 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55736 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55737 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
55738 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55739 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55740 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55741 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55742 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55743 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
55744 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55745 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55746 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55747 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55748 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
55749 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55750 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55751 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55752 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55753 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55754 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55755 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55756 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
55757 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55758 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55759 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55760 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55761 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
55762 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55763 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55764 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55765 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
55766 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
55767 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55768 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55769 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55770 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55771 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
55772 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
55773 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
55774 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55775 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
55776 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
55777 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55778 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
55779 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55780 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55781 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55782 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
55783 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
55784 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
55785 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55786 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55787 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55788 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55789 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55790 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55791 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55792 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55793 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55794 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55795 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55796 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55797 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55798 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55799 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55800 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55801 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55802 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55803 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55804 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55805 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55806 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55807 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55808 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55809 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55810 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55811 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
55812 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55813 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55814 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55815 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55816 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55817 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55818 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55819 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55820 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
55821 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55822 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55823 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55824 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
55825 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55826 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
55827 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
55828 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55829 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55830 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
55831 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
55832 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55833 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55834 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55835 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
55836 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55837 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55838 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55839 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55840 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
55841 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
55842 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55843 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55844 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55845 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
55846 * sysdeps/ieee754/k_standard.c: Likewise.
55847 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55848 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55849 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55850 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55851 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55852 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55853 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55854 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55855 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55856 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55857 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55858 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55859 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55860 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55861 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55862 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55863 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55864 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55865 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55866 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
55867 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
55868 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
55869 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55870 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55871 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
55872 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
55873 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55874 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55875 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55876 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55877 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
55878 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55879 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55880 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55881 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
55882 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55883 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55884 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
55885 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
55886 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55887 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
55888 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
55889 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55890 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55891 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
55892 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
55893 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55894 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55895 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55896 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55897 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55898 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55899 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55900 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
55901 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55902 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55903 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
55904 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
55905 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55906 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55907 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55908 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
55909 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55910 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55911 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55912 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55913 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55914 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55915 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55916 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55917 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55918 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55919 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55920 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55921 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55922 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55923 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
55924 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55925 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55926 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55927 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55928 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55929 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55930 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55931 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
55932 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55933 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55934 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
55935 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55936 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55937 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
55938 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55939 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
55940 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
55941 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55942 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55943 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
55944 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
55945 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
55946 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
55947 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55948 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55949 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55950 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55951 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
55952 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55953 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55954 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
55955 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
55956 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55957 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55958 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55959 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55960 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55961 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55962 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55963 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55964 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55965 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55966 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55967 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55968 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55969 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55970 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55971 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55972 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
55973 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55974 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55975 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55976 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55977 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55978 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55979 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55980 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
55981 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55982 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55983 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
55984 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
55985 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55986 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
55987 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
55988 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55989 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
55990 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
55991 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55992 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55993 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55994 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55995 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55996 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
55997 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55998 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55999 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56000 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56001 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
56002 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
56003 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56004 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56005 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56006 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
56007 * sysdeps/ieee754/s_lib_version.c: Likewise.
56008 * sysdeps/ieee754/s_matherr.c: Likewise.
56009 * sysdeps/ieee754/s_signgam.c: Likewise.
56010 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56011 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56012 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
56013 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
56014 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
56015 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
56016 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
56017 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
56018 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
56019 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
56020 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
56021 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
56022 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56023 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56024 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
56025 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56026 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56027 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56028 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56029 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56030 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56031
56032 2012-03-09 Joseph Myers <joseph@codesourcery.com>
56033
56034 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
56035 * sunrpc/rpc_main.c: Likewise.
56036 * sunrpc/rpc_svcout.c: Likewise.
56037
56038 2012-03-09 David S. Miller <davem@davemloft.net>
56039
56040 * include/math_private.h: New file.
56041
56042 2012-03-09 Joseph Myers <joseph@codesourcery.com>
56043
56044 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
56045 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
56046 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
56047 from <bits/socket_type.h>.
56048 (enum __socket_type): Don't define here.
56049 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
56050 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56051 bits/socket_type.h.
56052
56053 [BZ #13566]
56054 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
56055 checking __USE_GNU.
56056
56057 * Makerules ($(inst_includedir)/%.h): New rule.
56058 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
56059 (install-others): Remove variable setting.
56060 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
56061
56062 2012-03-08 Richard Henderson <rth@twiddle.net>
56063
56064 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
56065 from macro to inline function; merge with the
56066 !__LIBC_INTERNAL_MATH_INLINES version.
56067 (__ieee754_sqrtf): Likewise.
56068
56069 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
56070 to inline function.
56071 (__rintf, __floor, __floorf): Likewise.
56072
56073 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
56074 macro to inline function.
56075 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
56076
56077 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
56078 not <math/math_private.h>.
56079
56080 2012-03-08 David S. Miller <davem@davemloft.net>
56081
56082 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
56083 copyright year.
56084 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
56085
56086 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
56087
56088 * resolv/gai_misc.c (handle_requests): Fix struct timespec
56089 normalization.
56090 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
56091 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
56092
56093 2012-03-08 Ulrich Drepper <drepper@gmail.com>
56094
56095 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
56096 be defined individually, they must be defined as a block. Define
56097 S for printing a string instead of hidint the different by using a
56098 macro for adding the 'l'.
56099 * stdio-common/tst-fphex-wide.c: Adjust.
56100
56101 2012-03-07 Marek Polacek <polacek@redhat.com>
56102
56103 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
56104
56105 2012-03-08 Marek Polacek <polacek@redhat.com>
56106
56107 [BZ #13806]
56108 * stdio-common/Makefile (tests): Add tst-fphex-wide.
56109 * stdio-common/tst-fphex.c: Define a few macros to make the
56110 test reusable. Use them.
56111 * stdio-common/tst-fphex-wide.c: New file.
56112
56113 2012-03-08 Joseph Myers <joseph@codesourcery.com>
56114
56115 [BZ #6911]
56116 * manual/macros.texi (gnusystems): New macro.
56117 (nongnusystems): Likewise.
56118 (gnulinuxhurdsystems): Likewise.
56119 (gnuhurdsystems): Likewise..
56120 (gnulinuxsystems): Likewise.
56121 * manual/charset.texi: Use new macros or @theglibc{} to refer to
56122 variants of the GNU system, not "GNU system".
56123 * manual/conf.texi: Likewise.
56124 * manual/errno.texi: Likewise. Update example of errno macro
56125 expansion.
56126 * manual/filesys.texi: Likewise.
56127 (getumask): Document as specific to GNU/Hurd.
56128 * manual/install.texi: Likewise. Reword some references to
56129 GNU/Linux.
56130 * manual/intro.texi: Likewise.
56131 * manual/io.texi: Likewise.
56132 (File Name Portability): Detail which constraints are inapplicable
56133 to all GNU systems and which are only inapplicable to GNU/Hurd.
56134 * manual/job.texi: Likewise.
56135 * manual/llio.texi: Likewise.
56136 (O_NOCTTY): Document as present on GNU/Linux.
56137 * manual/maint.texi: Likewise.
56138 * manual/memory.texi: Likewise.
56139 * manual/pattern.texi: Likewise.
56140 * manual/pipe.texi: Likewise.
56141 * manual/process.texi: Likewise.
56142 * manual/resource.texi: Likewise.
56143 (RUSAGE_CHILDREN): Remove statement about specifying a particular
56144 child on GNU/Hurd.
56145 * manual/setjmp.texi: Likewise.
56146 * manual/signal.texi: Likewise.
56147 * manual/startup.texi: Likewise.
56148 * manual/stdio.texi: Likewise.
56149 * manual/terminal.texi: Likewise.
56150 (ONLCR): Document as POSIX.
56151 (OXTABS): Document availability on GNU/Linux as XTABS.
56152 (ONOEOT): Document availability separately from other bits.
56153 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
56154 * manual/time.texi: Likewise.
56155 * manual/users.texi: Likewise.
56156 * INSTALL: Regenerated.
56157 * sysdeps/gnu/errlist.c: Regenerated.
56158
56159 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
56160 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
56161 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
56162 puts.
56163 * configure: Regenerated.
56164
56165 2012-03-07 Joseph Myers <joseph@codesourcery.com>
56166
56167 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
56168 default includes instead of AC_HEADER_CHECK.
56169 * sysdeps/i386/configure: Regenerated.
56170
56171 [BZ #10716]
56172 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
56173 * math/s_cacoshf.c (__cacoshf): Likewise.
56174 * math/s_cacoshl.c (__cacoshl): Likewise.
56175 * math/s_casinh.c (__casinh): Set signs of result from argument.
56176 * math/s_casinhf.c (__casinhf): Likewise.
56177 * math/s_casinhl.c (__casinhl): Likewise.
56178 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
56179 (casinh_test): Add more tests.
56180 * sysdeps/i386/fpu/libm-test-ulps: Update.
56181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56182
56183 2012-03-07 Ulrich Drepper <drepper@gmail.com>
56184
56185 * po/zh_TW.po: Update from translation team.
56186
56187 * login/Makefile (distribute): Remove variable.
56188 * catgets/Makefile: Likewise.
56189 * mach/Makefile: Likewise.
56190 * malloc/Makefile: Likewise.
56191 * misc/Makefile: Likewise.
56192 * iconv/Makefile: Likewise.
56193 * nscd/Makefile: Likewise.
56194 * hurd/Makefile: Likewise.
56195 * manual/Makefile: Likewise.
56196 * locale/Makefile: Likewise.
56197 * intl/Makefile: Likewise.
56198 * conform/Makefile: Likewise.
56199 * nss/Makefile: Likewise.
56200 * time/Makefile: Likewise.
56201 * soft-fp/Makefile: Likewise.
56202 * dirent/Makefile: Likewise.
56203 * gmon/Makefile: Likewise.
56204 * po/Makefile: Likewise.
56205 * rt/Makefile: Likewise.
56206 * socket/Makefile: Likewise.
56207 * math/Makefile: Likewise.
56208 * signal/Makefile: Likewise.
56209 * debug/Makefile: Likewise.
56210 * elf/Makefile: Likewise.
56211 * timezone/Makefile: Likewise.
56212 * stdlib/Makefile: Likewise.
56213 * iconvdata/Makefile: Likewise.
56214 * sunrpc/Makefile: Likewise.
56215 * io/Makefile: Likewise.
56216 * argp/Makefile: Likewise.
56217 * inet/Makefile: Likewise.
56218 * hesiod/Makefile: Likewise.
56219 * grp/Makefile: Likewise.
56220 * csu/Makefile: Likewise.
56221 * wctype/Makefile: Likewise.
56222 * crypt/Makefile: Likewise.
56223 * libio/Makefile: Likewise.
56224 * string/Makefile: Likewise.
56225 * nis/Makefile: Likewise.
56226 * resolv/Makefile: Likewise.
56227 * stdio-common/Makefile: Likewise.
56228 * wcsmbs/Makefile: Likewise.
56229 * dlfcn/Makefile: Likewise.
56230 * posix/Makefile: Likewise.
56231
56232 [BZ #6959]
56233 * timezone/Makefile: Don't install timezone files, just the programs
56234 and scripts.
56235
56236 2012-03-06 Ulrich Drepper <drepper@gmail.com>
56237
56238 * nss/databases.def: Add missing gshadow entry.
56239
56240 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
56241
56242 2012-03-06 Marek Polacek <polacek@redhat.com>
56243
56244 [BZ #13726]
56245 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
56246 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56247 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
56248 * stdio-common/tst-long-dbl-fphex.c: New file.
56249
56250 2012-03-06 David S. Miller <davem@davemloft.net>
56251
56252 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56253 (set_obp_int): New function.
56254 (get_obp_int): New function.
56255 (__get_clockfreq_via_dev_openprom): Likewise.
56256 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
56257 Avoid unused variable warnings on 'val' and use builtin_expect.
56258 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
56259 __builtin_expect.
56260 (INLINE_CLONE_SYSCALL): Likewise.
56261
56262 2012-03-05 David S. Miller <davem@davemloft.net>
56263
56264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56265
56266 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
56267
56268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56269
56270 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
56271 only for |x| >= 40.
56272 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56273
56274 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
56275
56276 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
56277 Replace gettimeofday with __vdso_gettimeofday.
56278
56279 * sysdeps/unix/sysv/linux/x86_64/init-first.c
56280 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
56281 __vdso_clock_gettime and __vdso_getcpu.
56282
56283 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
56284 time with __vdso_time.
56285
56286 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56287
56288 * manual/lang.texi (size_t): Note types to which size_t may be
56289 equivalent with the GNU C Library, but do not describe when
56290 differences between them are significant.
56291
56292 2012-03-05 Andreas Jaeger <aj@suse.de>
56293
56294 * sysdeps/i386/fpu/libm-test-ulps: Update.
56295
56296 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56297
56298 [BZ #3976]
56299 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
56300 (__ieee754_pow): Save and restore rounding mode and use
56301 round-to-nearest for main computations.
56302 * math/libm-test.inc (pow_test_tonearest): New function.
56303 (pow_test_towardzero): Likewise.
56304 (pow_test_downward): Likewise.
56305 (pow_test_upward): Likewise.
56306 (main): Call the new functions.
56307 * sysdeps/i386/fpu/libm-test-ulps: Update.
56308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56309
56310 [BZ #3976]
56311 * math/libm-test.inc (cosh_test_tonearest): New function.
56312 (cosh_test_towardzero): Likewise.
56313 (cosh_test_downward): Likewise.
56314 (cosh_test_upward): Likewise.
56315 (sinh_test_tonearest): Likewise.
56316 (sinh_test_towardzero): Likewise.
56317 (sinh_test_downward): Likewise.
56318 (sinh_test_upward): Likewise.
56319 (main): Call the new functions.
56320 * sysdeps/i386/fpu/libm-test-ulps: Update.
56321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56322
56323 2012-03-05 Tom de Vries <tom@codesourcery.com>
56324
56325 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
56326 default stack guard is set in last bytes.
56327 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
56328
56329 2012-03-05 Kees Cook <keescook@chromium.org>
56330
56331 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
56332
56333 [BZ #13656]
56334 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
56335 possibly allocate from heap instead of stack.
56336 * stdio-common/bug-vfprintf-nargs.c: New file.
56337 * stdio-common/Makefile (tests): Add nargs overflow test.
56338
56339 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
56340
56341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56342
56343 2012-03-03 Marek Polacek <polacek@redhat.com>
56344
56345 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
56346 * math/math_private.h: Likewise.
56347 * stdlib/tst-strtod.c: Likewise.
56348 * sysdeps/i386/i486/bits/atomic.h: Likewise.
56349 * sysdeps/x86_64/bits/atomic.h: Likewise.
56350
56351 2012-03-02 David S. Miller <davem@davemloft.net>
56352
56353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
56354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
56355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
56356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
56357 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
56358 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
56359 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
56360 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
56361
56362 2012-03-02 Roland McGrath <roland@hack.frob.com>
56363
56364 [BZ #13792]
56365 * manual/examples/README: New file, says the example source files
56366 can be used under GPL>=2.
56367 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
56368 line containing just "*/".
56369 * manual/examples/add.c: Add copyright header (GPL>=2).
56370 * manual/examples/argp-ex1.c: Likewise.
56371 * manual/examples/argp-ex2.c: Likewise.
56372 * manual/examples/argp-ex3.c: Likewise.
56373 * manual/examples/argp-ex4.c: Likewise.
56374 * manual/examples/atexit.c: Likewise.
56375 * manual/examples/db.c: Likewise.
56376 * manual/examples/dir.c: Likewise.
56377 * manual/examples/dir2.c: Likewise.
56378 * manual/examples/execinfo.c: Likewise.
56379 * manual/examples/filecli.c: Likewise.
56380 * manual/examples/filesrv.c: Likewise.
56381 * manual/examples/fmtmsgexpl.c: Likewise.
56382 * manual/examples/genpass.c: Likewise.
56383 * manual/examples/inetcli.c: Likewise.
56384 * manual/examples/inetsrv.c: Likewise.
56385 * manual/examples/isockad.c: Likewise.
56386 * manual/examples/longopt.c: Likewise.
56387 * manual/examples/memopen.c: Likewise.
56388 * manual/examples/memstrm.c: Likewise.
56389 * manual/examples/mkfsock.c: Likewise.
56390 * manual/examples/mkisock.c: Likewise.
56391 * manual/examples/mygetpass.c: Likewise.
56392 * manual/examples/pipe.c: Likewise.
56393 * manual/examples/popen.c: Likewise.
56394 * manual/examples/rprintf.c: Likewise.
56395 * manual/examples/search.c: Likewise.
56396 * manual/examples/select.c: Likewise.
56397 * manual/examples/setjmp.c: Likewise.
56398 * manual/examples/sigh1.c: Likewise.
56399 * manual/examples/sigusr.c: Likewise.
56400 * manual/examples/stpcpy.c: Likewise.
56401 * manual/examples/strdupa.c: Likewise.
56402 * manual/examples/strftim.c: Likewise.
56403 * manual/examples/strncat.c: Likewise.
56404 * manual/examples/subopt.c: Likewise.
56405 * manual/examples/swapcontext.c: Likewise.
56406 * manual/examples/termios.c: Likewise.
56407 * manual/examples/testopt.c: Likewise.
56408 * manual/examples/testpass.c: Likewise.
56409 * manual/examples/timeval_subtract.c: Likewise.
56410
56411 [BZ #13792]
56412 * manual/time.texi (Elapsed Time): Move timeval_subtract example
56413 function to ...
56414 * manual/timeval_subtract.c.texi: ... here, new file.
56415
56416 2012-03-02 David S. Miller <davem@davemloft.net>
56417
56418 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
56419
56420 2012-03-02 Joseph Myers <joseph@codesourcery.com>
56421
56422 [BZ #3976]
56423 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
56424 (__sin): Save and restore rounding mode and use round-to-nearest
56425 for all computations.
56426 (__cos): Save and restore rounding mode and use round-to-nearest
56427 for all computations.
56428 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
56429 <fenv.h>.
56430 (tan): Save and restore rounding mode and use round-to-nearest for
56431 all computations.
56432 * math/libm-test.inc (cos_test_tonearest): New function.
56433 (cos_test_towardzero): Likewise.
56434 (cos_test_downward): Likewise.
56435 (cos_test_upward): Likewise.
56436 (sin_test_tonearest): Likewise.
56437 (sin_test_towardzero): Likewise.
56438 (sin_test_downward): Likewise.
56439 (sin_test_upward): Likewise.
56440 (tan_test_tonearest): Likewise.
56441 (tan_test_towardzero): Likewise.
56442 (tan_test_downward): Likewise.
56443 (tan_test_upward): Likewise.
56444 (main): Call the new functions.
56445 * sysdeps/i386/fpu/libm-test-ulps: Update.
56446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56447
56448 [BZ #10135]
56449 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
56450 small n, then large n, before computing and testing k+n.
56451 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
56452 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
56453 Likewise.
56454 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
56455 Likewise.
56456 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
56457 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
56458 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
56459 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
56460 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56461 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56462 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
56463 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
56464 * math/libm-test.inc (scalbn_test): Add more tests.
56465 (scalbln_test): Likewise.
56466
56467 * manual/filesys.texi (mode_t): Describe constraints on size and
56468 signedness, not exact equivalence to a particular type.
56469 (ino_t): Likewise.
56470 (ino64_t): Likewise.
56471 (dev_t): Likewise.
56472 (nlink_t): Likewise.
56473 (blkcnt_t): Likewise.
56474 (blkcnt64_t): Likewise.
56475 * manual/llio.texi (off_t): Likewise.
56476
56477 [BZ #3976]
56478 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
56479 (__ieee754_exp): Save and restore rounding mode and use
56480 round-to-nearest for all computations.
56481 * math/libm-test.inc (exp_test_tonearest): New function.
56482 (exp_test_towardzero): Likewise.
56483 (exp_test_downward): Likewise.
56484 (exp_test_upward): Likewise.
56485 (main): Call the new functions.
56486 * sysdeps/i386/fpu/libm-test-ulps: Update.
56487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56488
56489 2012-03-01 Chris Demetriou <cgd@google.com>
56490
56491 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
56492 have predictable order.
56493
56494 2012-03-01 David S. Miller <davem@davemloft.net>
56495
56496 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
56497
56498 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
56499 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
56500 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
56501 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
56502
56503 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
56504 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
56505 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
56506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
56507 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
56508 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
56509 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
56510 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
56511 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
56512
56513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56514
56515 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
56516 * sysdeps/sparc/fpu/libm-test-ulps: to here.
56517 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
56518
56519 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
56520 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56521 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56522 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
56523 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
56524 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
56525 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
56526 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56527 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56528 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
56529 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
56530 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56531 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56532 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56533 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56534 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56535 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
56536 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
56537 * sysdeps/sparc/elf/configure: Regenerated.
56538
56539 2012-03-01 Joseph Myers <joseph@codesourcery.com>
56540
56541 * configure.in (AS, LD): Require binutils 2.20 or later.
56542 * configure: Regenerated.
56543 * manual/install.texi (Tools for Compilation): Give binutils 2.20
56544 as required minimum version.
56545 * INSTALL: Regenerated.
56546
56547 [BZ #2541]
56548 [BZ #4108]
56549 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
56550 before squaring exponent.
56551 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
56552 bottom long double and 27 bits of top long double before squaring
56553 exponent.
56554 * math/libm-test.inc (erfc_test): Add more tests.
56555 * sysdeps/i386/fpu/libm-test-ulps: Update.
56556 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56558
56559 2012-03-01 Kai Tietz <ktietz@redhat.com>
56560
56561 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
56562 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
56563 containing bit-fields.
56564 * soft-fp/extended.h (_FP_UNION_E): Likewise.
56565 * soft-fp/single.h (_FP_UNION_S): Likewise.
56566 * soft-fp/double.h (_FP_UNION_D): Likewise.
56567
56568 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56569
56570 [BZ #13786]
56571 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
56572 not include ../strcmp.S.
56573 [USE_AS_STRNCASECMP_L]: Likewise.
56574 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
56575 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
56576 * sysdeps/i386/i686/multiarch/strncase_l-c.c
56577 (__strncasecmp_l_ia32): Define as alias to
56578 __strncasecmp_l_nonascii.
56579
56580 [BZ #5794]
56581 * math/libm-test.inc (expm1_test): Add test for bug 5794.
56582 * sysdeps/i386/fpu/libm-test-ulps: Update.
56583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56584
56585 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
56586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56587
56588 2012-02-29 Jeff Law <law@redhat.com>
56589
56590 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
56591 out of bounds read.
56592
56593 2012-02-29 Marek Polacek <polacek@redhat.com>
56594
56595 [BZ #13706]
56596 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
56597 * elf/Makefile: Add rules to run tst-unused-dep.out.
56598
56599 2012-02-28 David S. Miller <davem@davemloft.net>
56600
56601 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
56602 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
56603 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
56604 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
56605 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
56606 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
56607
56608 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56609
56610 * math/libm-test.inc (llround_test): Move one test from
56611 lround_test. Use TEST_f_L in moved test.
56612 (lround_test): Move misplaced test to llround_test. Add testcase
56613 from bug 2561.
56614
56615 2012-02-28 Ulrich Drepper <drepper@gmail.com>
56616
56617 * sysdeps/x86_64/fpu/e_expf.S: New file.
56618 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
56619
56620 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
56621
56622 [BZ #13637]
56623 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
56624 of remain_len that may cause incomplete multi-byte character and
56625 false match.
56626 * posix/bug-regex33.c: New file.
56627 * posix/Makefile (tests): Add bug-regex33.
56628
56629 2012-02-28 Joseph Myers <joseph@codesourcery.com>
56630
56631 * manual/macros.texi: New file.
56632 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
56633 * manual/libc.texinfo: Include macros.texi.
56634 * manual/creatute.texi: Likewise.
56635 * manual/install.texi: Likewise.
56636 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
56637 @glibcadj{} in references to the GNU C Library.
56638 * manual/charset.texi: Likewise.
56639 * manual/conf.texi: Likewise.
56640 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
56641 when not using those macros.
56642 * manual/creature.texi: Likewise.
56643 * manual/crypt.texi: Likewise.
56644 * manual/errno.texi: Likewise.
56645 * manual/filesys.texi: Likewise.
56646 * manual/header.texi: Likewise.
56647 * manual/install.texi: Likewise.
56648 * manual/intro.texi: Likewise.
56649 * manual/io.texi: Likewise.
56650 * manual/job.texi: Likewise.
56651 * manual/lang.texi: Likewise.
56652 * manual/libc.texiinfo: Likewise.
56653 * manual/llio.texi: Likewise.
56654 * manual/locale.texi: Likewise.
56655 * manual/maint.texi: Likewise.
56656 * manual/math.texi: Likewise.
56657 * manual/memory.texi: Likewise.
56658 * manual/message.texi: Likewise.
56659 * manual/nss.texi: Likewise.
56660 * manual/pattern.texi: Likewise.
56661 * manual/process.texi: Likewise.
56662 * manual/resource.texi: Likewise.
56663 * manual/search.texi: Likewise.
56664 * manual/setjmp.texi: Likewise.
56665 * manual/signal.texi: Likewise.
56666 * manual/socket.texi: Likewise.
56667 * manual/startup.texi: Likewise.
56668 * manual/stdio.texi: Likewise.
56669 * manual/string.texi: Likewise.
56670 * manual/sysinfo.texi: Likewise.
56671 * manual/syslog.texi: Likewise.
56672 * manual/terminal.texi: Likewise.
56673 * manual/time.texi: Likewise.
56674 * manual/users.texi: Likewise.
56675 * INSTALL: Regenerated.
56676 * NOTES: Regenerated.
56677 * sysdeps/gnu/errlist.c: Regenerated.
56678
56679 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
56680
56681 * include/dirent.h: Include <dirstream.h> before
56682 <dirent/dirent.h>.
56683
56684 2012-02-28 David S. Miller <davem@davemloft.net>
56685
56686 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
56687 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
56688 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
56689 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
56690
56691 2012-02-27 David S. Miller <davem@davemloft.net>
56692
56693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
56694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
56695 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
56696 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
56697
56698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
56699 frame pointer instead of stack pointer relative arg slot.
56700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56701 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56702 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56703
56704 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
56705
56706 [BZ #3992]
56707 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
56708
56709 2012-02-27 David S. Miller <davem@davemloft.net>
56710
56711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
56712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
56714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
56715 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56716 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56717 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
56718 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
56719
56720 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56721
56722 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
56723 later. Allow versions 5-9.
56724 * configure: Regenerated.
56725 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
56726 required minimum version and 4.6 as recommended version. Do not
56727 mention bugs in GCC 2.7 and 2.8.
56728 * INSTALL: Regenerated.
56729
56730 2012-02-27 David S. Miller <davem@davemloft.net>
56731
56732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
56733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
56734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
56735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
56736 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
56737 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
56738 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
56739 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
56740
56741 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
56742 manipulate bits before adding and subtracting TWO112[sx].
56743 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56744
56745 2012-02-27 Roland McGrath <roland@hack.frob.com>
56746
56747 [BZ #13775]
56748 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
56749 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
56750 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
56751 being in POSIX, because they are in 1003.1-2008.
56752
56753 * rt/tst-aio.c: Include <fcntl.h>.
56754 * rt/tst-aio7.c: Likewise.
56755 * rt/tst-aio64.c: Likewise.
56756
56757 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
56758
56759 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56760
56761 * manual/install.texi (--with-headers): Describe headers as
56762 interface headers, not private headers.
56763 (Specific advice for GNU/Linux systems): Describe use of headers
56764 from "make headers_install", not private headers from older
56765 kernels.
56766 * INSTALL: Regenerated.
56767 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
56768 Change to 2.6.19.
56769 * sysdeps/unix/sysv/linux/configure: Regenerated.
56770
56771 * manual/llio.texi (fclean): Remove documentation.
56772
56773 * manual/Makefile (libc-texi-generated): New variable. Include
56774 version.texi.
56775 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
56776 $(libc-texi-generated), not duplicated list of files.
56777 (version.texi, stamp-version): New rules.
56778 (realclean): Remove $(libc-texi-generated), not individual files
56779 from that list. Do not remove dir-add.texinfo.
56780 * manual/libc.texinfo: Comment out uses of edition numbers and
56781 references to printed manual. Remove last-updated dates.
56782 (EDITION): Comment out.
56783 (ISBN): Likewise.
56784 (VERSION, UPDATED): Remove.
56785 (version.texi): Include.
56786
56787 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
56788
56789 * sysdeps/posix/spawni.c: Include <signal.h>.
56790 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
56791 * sysdeps/pthread/aio_fsync.c: Likewise.
56792
56793 2012-02-26 Ulrich Drepper <drepper@gmail.com>
56794
56795 * conform/Makefile (tests): Run only when not cross-compiling and
56796 when fast-check is not defined.
56797
56798 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
56799 * conform/data/limits.h-data: Fixes for POSIX2008.
56800 * conform/run-conformtest.sh: Run all tests.
56801 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
56802 headers.
56803 * include/bits/dlfcn.h: Likewise.
56804 * include/langinfo.h: Likewise.
56805 * include/monetary.h: Likewise.
56806 * include/sys/poll.h: Likewise.
56807
56808 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
56809 for __USE_GNU.
56810 * posix/spawn.h: Define __need_sigset_t.
56811 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
56812 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
56813 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
56814 to get sigevent_t only.
56815 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
56816 only for __USE_GNU.
56817 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56818 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56819 process_vm_writev only for __USE_GNU.
56820 * termios/termios.h: Declare tcgetsid also for POSIX2008.
56821
56822 * conform/Makefile: For now ignore errors from run-conformtest.
56823 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
56824 POSIX to avoid namespace pollution. Don't prepend headers.
56825 * conform/data/aio.h-data: Fixes for POSIX testing.
56826 * conform/data/fcntl.h-data: Likewise.
56827 * conform/data/glob.h-data: Likewise.
56828 * conform/data/grp.h-data: Likewise.
56829 * conform/data/pthread.h-data: Likewise.
56830 * conform/data/pwd.h-data: Likewise.
56831 * conform/data/signal.h-data: Likewise.
56832 * conform/data/spawn.h-data: Likewise.
56833 * conform/data/stdio.h-data: Likewise.
56834 * conform/data/stdlib.h-data: Likewise.
56835 * conform/data/stropts.h-data: Likewise.
56836 * conform/data/sys/mman.h-data: Likewise.
56837 * conform/data/sys/stat.h-data: Likewise.
56838 * conform/data/sys/types.h-data: Likewise.
56839 * conform/data/sys/wait.h-data: Likewise.
56840 * conform/data/time.h-data: Likewise.
56841 * conform/data/unistd.h-data: Likewise.
56842 * conform/data/utime.h-data: Likewise.
56843
56844 * io/sys/stat.h: fchmod was always in POSIX.
56845 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
56846 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
56847 * rt/aio.h: Define __need_timespec before including <time.h>.
56848 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
56849 struct. Add forward declaration of pthread_attr_t and use it in
56850 sigevent.
56851 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56852 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56853 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
56854 always remove CLK_TCK definition.
56855
56856 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
56857
56858 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
56859
56860 2012-02-25 Ulrich Drepper <drepper@gmail.com>
56861
56862 * conform/run-conformtest.sh: New file.
56863 * conform/Makefile: Run run-conformtest for tests.
56864 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
56865 support.
56866
56867 * conform/data/uchar.h-data: New file.
56868 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
56869 * conform/data/arpa/inet.h-data: Likewise.
56870 * conform/data/assert.h-data: Likewise.
56871 * conform/data/complex.h-data: Likewise.
56872 * conform/data/cpio.h-data: Likewise.
56873 * conform/data/ctype.h-data: Likewise.
56874 * conform/data/dirent.h-data: Likewise.
56875 * conform/data/dlfcn.h-data: Likewise.
56876 * conform/data/errno.h-data: Likewise.
56877 * conform/data/fcntl.h-data: Likewise.
56878 * conform/data/float.h-data: Likewise.
56879 * conform/data/fmtmsg.h-data: Likewise.
56880 * conform/data/fnmatch.h-data: Likewise.
56881 * conform/data/ftw.h-data: Likewise.
56882 * conform/data/glob.h-data: Likewise.
56883 * conform/data/grp.h-data: Likewise.
56884 * conform/data/iconv.h-data: Likewise.
56885 * conform/data/inttypes.h-data: Likewise.
56886 * conform/data/langinfo.h-data: Likewise.
56887 * conform/data/libgen.h-data: Likewise.
56888 * conform/data/limits.h-data: Likewise.
56889 * conform/data/locale.h-data: Likewise.
56890 * conform/data/math.h-data: Likewise.
56891 * conform/data/monetary.h-data: Likewise.
56892 * conform/data/mqueue.h-data: Likewise.
56893 * conform/data/ndbm.h-data: Likewise.
56894 * conform/data/net/if.h-data: Likewise.
56895 * conform/data/netdb.h-data: Likewise.
56896 * conform/data/netinet/in.h-data: Likewise.
56897 * conform/data/nl_types.h-data: Likewise.
56898 * conform/data/poll.h-data: Likewise.
56899 * conform/data/pthread.h-data: Likewise.
56900 * conform/data/pwd.h-data: Likewise.
56901 * conform/data/regex.h-data: Likewise.
56902 * conform/data/sched.h-data: Likewise.
56903 * conform/data/search.h-data: Likewise.
56904 * conform/data/semaphore.h-data: Likewise.
56905 * conform/data/setjmp.h-data: Likewise.
56906 * conform/data/signal.h-data: Likewise.
56907 * conform/data/spawn.h-data: Likewise.
56908 * conform/data/stdarg.h-data: Likewise.
56909 * conform/data/stdio.h-data: Likewise.
56910 * conform/data/stdlib.h-data: Likewise.
56911 * conform/data/string.h-data: Likewise.
56912 * conform/data/strings.h-data: Likewise.
56913 * conform/data/stropts.h-data: Likewise.
56914 * conform/data/sys/ipc.h-data: Likewise.
56915 * conform/data/sys/mman.h-data: Likewise.
56916 * conform/data/sys/msg.h-data: Likewise.
56917 * conform/data/sys/resource.h-data: Likewise.
56918 * conform/data/sys/select.h-data: Likewise.
56919 * conform/data/sys/sem.h-data: Likewise.
56920 * conform/data/sys/shm.h-data: Likewise.
56921 * conform/data/sys/socket.h-data: Likewise.
56922 * conform/data/sys/stat.h-data: Likewise.
56923 * conform/data/sys/statvfs.h-data: Likewise.
56924 * conform/data/sys/time.h-data: Likewise.
56925 * conform/data/sys/timeb.h-data: Likewise.
56926 * conform/data/sys/times.h-data: Likewise.
56927 * conform/data/sys/types.h-data: Likewise.
56928 * conform/data/sys/uio.h-data: Likewise.
56929 * conform/data/sys/un.h-data: Likewise.
56930 * conform/data/sys/utsname.h-data: Likewise.
56931 * conform/data/sys/wait.h-data: Likewise.
56932 * conform/data/syslog.h-data: Likewise.
56933 * conform/data/tar.h-data: Likewise.
56934 * conform/data/termios.h-data: Likewise.
56935 * conform/data/utime.h-data: Likewise.
56936 * conform/data/utmpx.h-data: Likewise.
56937 * conform/data/varargs.h-data: Likewise.
56938 * conform/data/wchar.h-data: Likewise.
56939 * conform/data/wctype.h-data: Likewise.
56940 * conform/data/wordexp.h-data: Likewise.
56941
56942 * include/stropts.h: New file.
56943 * include/uchar.h: New file.
56944 * include/aio.h: Changes to allow conformtest.pl to use the headers.
56945 * include/assert.h: Likewise.
56946 * include/ctype.h: Likewise.
56947 * include/dirent.h: Likewise.
56948 * include/dlfcn.h: Likewise.
56949 * include/fcntl.h: Likewise.
56950 * include/fnmatch.h: Likewise.
56951 * include/glob.h: Likewise.
56952 * include/grp.h: Likewise.
56953 * include/libio.h: Likewise.
56954 * include/locale.h: Likewise.
56955 * include/math.h: Likewise.
56956 * include/net/if.h: Likewise.
56957 * include/netdb.h: Likewise.
56958 * include/netinet/in.h: Likewise.
56959 * include/pthread.h: Likewise.
56960 * include/pwd.h: Likewise.
56961 * include/regex.h: Likewise.
56962 * include/sched.h: Likewise.
56963 * include/search.h: Likewise.
56964 * include/setjmp.h: Likewise.
56965 * include/signal.h: Likewise.
56966 * include/stdio.h: Likewise.
56967 * include/stdlib.h: Likewise.
56968 * include/string.h: Likewise.
56969 * include/sys/cdefs.h: Likewise.
56970 * include/sys/mman.h: Likewise.
56971 * include/sys/msg.h: Likewise.
56972 * include/sys/resource.h: Likewise.
56973 * include/sys/select.h: Likewise.
56974 * include/sys/socket.h: Likewise.
56975 * include/sys/stat.h: Likewise.
56976 * include/sys/statvfs.h: Likewise.
56977 * include/sys/time.h: Likewise.
56978 * include/sys/times.h: Likewise.
56979 * include/sys/uio.h: Likewise.
56980 * include/sys/utsname.h: Likewise.
56981 * include/sys/wait.h: Likewise.
56982 * include/termios.h: Likewise.
56983 * include/time.h: Likewise.
56984 * include/ulimit.h: Likewise.
56985 * include/unistd.h: Likewise.
56986 * include/utime.h: Likewise.
56987 * include/wchar.h: Likewise.
56988 * include/wctype.h: Likewise.
56989 * include/wordexp.h: Likewise.
56990
56991 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
56992
56993 * time/time.h: TIME_UTC must be a macro.
56994 Make timespec_get available for ISO C11 only as well.
56995
56996 2012-02-24 Ulrich Drepper <drepper@gmail.com>
56997
56998 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
56999 Reported by Peng Haitao <penght@cn.fujitsu.com>.
57000
57001 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57002
57003 * configure.in: Use -o not -a in test for unsupported multi-arch.
57004
57005 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57006
57007 * manual/texinfo.tex: Update to version 2012-01-19.16.
57008
57009 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57010
57011 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
57012
57013 2012-02-24 Roland McGrath <roland@hack.frob.com>
57014
57015 [BZ #13738]
57016 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
57017 * manual/fdl-1.3.texi: New file.
57018 * manual/fdl-1.1.texi: File removed.
57019
57020 [BZ #13738]
57021 * manual/libc.texinfo (FDL_VERSION): New @set.
57022 Use it for mention of FDL in cover text.
57023 (Documentation License): Use it in @include file name.
57024
57025 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57026 Roland McGrath <roland@hack.frob.com>
57027
57028 [BZ #5461]
57029 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
57030 (not LONG_LONG_MAX and LONG_LONG_MIN.
57031 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
57032 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
57033 name.
57034 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
57035
57036 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57037
57038 [BZ #2547]
57039 [BZ #11365]
57040 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
57041 manipulate bits before adding and subtracting TWO23[sx].
57042 * math/libm-test.inc (nearbyint_test): Add more tests.
57043
57044 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57045
57046 [BZ #2548]
57047 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
57048 bits before adding and subtracting TWO23[sx].
57049 * math/libm-test.inc (rint_test): Add more tests.
57050 (rint_test_tonearest): Likewise.
57051 (rint_test_towardzero): Likewise.
57052 (rint_test_downward): Likewise.
57053 (rint_test_upward: Likewise.
57054
57055 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57056
57057 [BZ #10110]
57058 * include/stdc-predef.h: New file. Extracted from features.h.
57059 * include/features.h: Include stdc-predef.h.
57060 * Makefile (headers): Add stdc-predef.h.
57061 * CONFORMANCE (Compiler limitations): Update.
57062
57063 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57064
57065 * manual/libc.texinfo (VERSION, UPDATED): Revert.
57066
57067 2012-02-21 David S. Miller <davem@davemloft.net>
57068
57069 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
57070 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57071
57072 2012-02-20 David S. Miller <davem@davemloft.net>
57073
57074 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
57075 using a normal save/restore sequence, rather than allocating a
57076 dummy stack frame just to store a frame pointer and restore.
57077 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57078
57079 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57080
57081 * manual/install.texi: Fix stray word in line-wrapped comment.
57082
57083 2012-02-20 David S. Miller <davem@davemloft.net>
57084
57085 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
57086 both binutils and gcc support GOTDATA.
57087
57088 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
57089 "rd %pc" in the PIC register setup sequences.
57090
57091 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
57092 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
57093 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57094 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
57095 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57096 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
57097 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57098 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57099 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
57100 (SYSCALL_ERROR_HANDLER): Likewise.
57101 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57102 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57103 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
57104 (SYSCALL_ERROR_HANDLER): Likewise.
57105
57106 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
57107 (HAVE_GCC_GOTDATA): New.
57108 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
57109 relocation support in both binutils and gcc.
57110 * sysdeps/sparc/elf/configure: Regenerate.
57111
57112 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
57113 * sysdeps/sparc/sparc32/elf/configure: Delete.
57114 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
57115 * sysdeps/sparc/sparc64/elf/configure: Delete.
57116 * sysdeps/sparc/elf/configure.in: New file.
57117 * sysdeps/sparc/elf/configure: Generate.
57118
57119 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
57120 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
57121 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57122 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
57123 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
57124
57125 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57126
57127 * manual/install.texi: Do not mention specific glibc version
57128 numbers.
57129 * manual/libc.texinfo (VERSION, UPDATED): Update.
57130 (@copying): Use @copyright{} and range of years.
57131
57132 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57133
57134 [BZ #13695]
57135 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
57136 [crti.S not in sysdirs] (generated): Do not append.
57137 [crti.S not in sysdirs] (omit-deps): Likewise.
57138 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
57139 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
57140 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
57141 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
57142 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
57143 Likewise.
57144 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
57145 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
57146 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
57147 * csu/defs.awk: Remove file.
57148 * sysdeps/generic/initfini.c: Likewise.
57149 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
57150 variable.
57151 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
57152 Likewise.
57153
57154 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57155
57156 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
57157 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
57158 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
57159 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
57160 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57161 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
57162 <bits/epoll.h>.
57163 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
57164 (__EPOLL_PACKED): Define to empty if not defined by
57165 <bits/epoll.h>.
57166 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
57167 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57168 bits/epoll.h.
57169
57170 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57171
57172 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
57173 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
57174 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
57175 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
57176 <bits/timerfd.h>.
57177 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
57178 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57179 bits/timerfd.h.
57180
57181 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57182
57183 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
57184 in C locale.
57185 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57186 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57187 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
57188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57189
57190 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
57191
57192 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57193 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57194
57195 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
57196
57197 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
57198 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
57199 defined.
57200 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
57201 Likewise.
57202 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
57203 entry for 2.16.
57204
57205 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
57206
57207 * math/w_acos.c: Use non-signaling floating-point comparisons.
57208 * math/w_acosf.c: Likewise.
57209 * math/w_acosh.c: Likewise.
57210 * math/w_acoshf.c: Likewise.
57211 * math/w_acoshl.c: Likewise.
57212 * math/w_acosl.c: Likewise.
57213 * math/w_asin.c: Likewise.
57214 * math/w_asinf.c: Likewise.
57215 * math/w_asinl.c: Likewise.
57216 * math/w_atanh.c: Likewise.
57217 * math/w_atanhf.c: Likewise.
57218 * math/w_atanhl.c: Likewise.
57219 * math/w_exp2.c: Likewise.
57220 * math/w_exp2f.c: Likewise.
57221 * math/w_exp2l.c: Likewise.
57222 * math/w_j0.c: Likewise.
57223 * math/w_j0f.c: Likewise.
57224 * math/w_j0l.c: Likewise.
57225 * math/w_j1.c: Likewise.
57226 * math/w_j1f.c: Likewise.
57227 * math/w_j1l.c: Likewise.
57228 * math/w_jn.c: Likewise.
57229 * math/w_jnf.c: Likewise.
57230 * math/w_log.c: Likewise.
57231 * math/w_log10.c: Likewise.
57232 * math/w_log10f.c: Likewise.
57233 * math/w_log10l.c: Likewise.
57234 * math/w_log2.c: Likewise.
57235 * math/w_log2f.c: Likewise.
57236 * math/w_log2l.c: Likewise.
57237 * math/w_logf.c: Likewise.
57238 * math/w_logl.c: Likewise.
57239 * math/w_sqrt.c: Likewise.
57240 * math/w_sqrtf.c: Likewise.
57241 * math/w_sqrtl.c: Likewise.
57242 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57243 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
57244 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57245 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57246 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57247
57248 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57249
57250 [BZ #9739]
57251 * manual/string.texi (strnlen): Use correct parameter name in
57252 equivalent expression.
57253
57254 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57255
57256 [BZ #11174]
57257 * manual/users.texi (seteuid): Consistently use neweuid for
57258 argument name.
57259
57260 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57261
57262 [BZ #13704]
57263 * manual/nss.texi (Services in the NSS configuration): Correct
57264 list of services in example configuration file.
57265
57266 2012-02-19 Nick Bowler <nbowler@draconx.ca>
57267
57268 [BZ #11322]
57269 * manual/arith.texi: Remove statements about negative zero
57270 behaving identically to zero.
57271
57272 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57273
57274 [BZ #5993]
57275 * manual/install.texi: Do not document upgrading from libc5.
57276
57277 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57278
57279 [BZ #4596]
57280 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
57281
57282 2012-02-18 David S. Miller <davem@davemloft.net>
57283
57284 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
57285 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
57286 %o7 across the call.
57287 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
57288 instead.
57289 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
57290 SETUP_PIC_REG_LEAF.
57291 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57292 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
57293 * sysdeps/sparc/crtn.S: Likewise.
57294
57295 2012-02-17 Ulrich Drepper <drepper@gmail.com>
57296
57297 * aout/Makefile: Remove.
57298
57299 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
57300
57301 [BZ #13058]
57302 * manual/examples/argp-ex1.c (main): Format definition in GNU
57303 style.
57304 * manual/examples/argp-ex2.c (main): Likewise.
57305 * manual/examples/argp-ex3.c (main): Likewise.
57306 * manual/examples/argp-ex4.c (main): Likewise.
57307 * manual/examples/longopt.c (main): Use new-style prototype
57308 definition.
57309 * manual/examples/strncat.c (main): Specify return type and use
57310 (void) for arguments.
57311 * manual/examples/subopt.c (main): Use char **argv argument.
57312
57313 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57314
57315 [BZ #5077]
57316 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
57317 rounding modes.
57318
57319 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
57320
57321 [BZ #6907]
57322 * manual/string.texi (strchr): Change when strchrnul is
57323 recommended.
57324
57325 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
57326
57327 [BZ #174]
57328 * manual/locale.texi (setlocale): Document LOCPATH.
57329
57330 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57331
57332 [BZ #10210]
57333 * manual/process.texi (execle): Move @dots{} before last argument.
57334
57335 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
57336
57337 [BZ #12047]
57338 * manual/charset.texi (Generic Charset Conversion): Fix typo
57339 (LC_TYPE -> LC_CTYPE).
57340
57341 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
57342
57343 [BZ #5805]
57344 * manual/arith.texi (scalbn): Use @var{} on parameter names.
57345 (scalbnf): Likewise.
57346 (scalbnl): Likewise.
57347 (scalbln): Likewise.
57348 (scalblnf): Likewise.
57349 (scalblnl): Likewise.
57350 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
57351 (vwarnx): Likewise.
57352 (verr): Likewise.
57353 (verrx): Likewise.
57354 * manual/filesys.texi (telldir): Use braces around return type.
57355 * manual/llio.texi (mmap): Add space after comma.
57356 (mmap64): Likewise.
57357 * manual/math.texi (jn): Use @var{} on parameter names.
57358 (jnf): Likewise.
57359 (jnl): Likewise.
57360 (yn): Likewise.
57361 (ynf): Likewise.
57362 (ynl): Likewise.
57363 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
57364 line.
57365 * manual/resource.texi (ulimit): Use @dots{} instead of literal
57366 "...".
57367 (sched_get_priority_min): Remove semicolon on @deftypefun line.
57368 (sched_get_priority_max): Likewise.
57369 * manual/signal.texi (sigvec): Add space after comma.
57370 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
57371 names.
57372 (if_indextoname): Likewise.
57373 (if_freenameindex): Likewise.
57374 (sendto): Use ',' instead of '.' in prototype.
57375 * manual/startup.texi (syscall): Use @dots{} instead of literal
57376 "...".
57377 * manual/stdio.texi (__fpending): Separate initial words of
57378 paragraph from @deftypefun line.
57379 * manual/syslog.texi (syslog): Use @dots{} instead of literal
57380 "...".
57381 (vsyslog): Use @var{} on parameter names.
57382 * manual/terminal.texi (stty): Use @var{} on parameter names.
57383 * manual/users.texi (getutmp): Use @var{} on parameter names.
57384 (getutmpx): Likewise.
57385
57386 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57387
57388 [BZ #6884]
57389 * manual/stdio.texi (fopen): Fix typos in description of
57390 ",ccs=STRING".
57391
57392 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
57393
57394 [BZ #4026]
57395 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
57396 get clock_id definition.
57397
57398 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
57399
57400 [BZ #4822]
57401 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
57402 (madvise): Cast every argument to void on its own.
57403
57404 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57405
57406 [BZ #9902]
57407 * manual/startup.texi (Exit Status): Fix typo.
57408
57409 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57410
57411 [BZ #10140]
57412 * manual/examples/argp-ex1.c: Include <stdlib.h>.
57413 * manual/examples/argp-ex2.c: Likewise.
57414 * manual/examples/argp-ex3.c: Likewise.
57415
57416 2012-02-16 Richard Henderson <rth@redhat.com>
57417
57418 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
57419 * sysdeps/s390/s390-32/initfini.c: Remove.
57420 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
57421 * sysdeps/s390/s390-64/initfini.c: Remove.
57422
57423 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57424
57425 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
57426 compiler output for sysdeps/generic/initfini.c.
57427 * sysdeps/sh/elf/initfini.c: Remove file.
57428
57429 2012-02-16 David S. Miller <davem@davemloft.net>
57430
57431 [BZ #11494]
57432 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
57433
57434 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
57435 * sysdeps/sparc/crti.S: New file.
57436 * sysdeps/sparc/crtn.S: New file.
57437 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
57438 * sysdeps/sparc/sparc64/Makefile: Likewise.
57439
57440 2012-02-15 Mike Frysinger <vapier@gentoo.org>
57441
57442 [BZ #3335]
57443 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
57444
57445 2012-02-15 Roland McGrath <roland@hack.frob.com>
57446
57447 [BZ #4822]
57448 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
57449
57450 * mach/devstream.c (cookie_io_functions_t): Macro removed.
57451 (write, read, close): Likewise.
57452 Patch by Aurelien Jarno <aurelien@aurel32.net>.
57453
57454 2012-02-15 Joseph Myers <joseph@codesourcery.com>
57455
57456 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
57457 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
57458 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
57459 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
57460 <bits/signalfd.h>.
57461 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
57462 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57463 bits/signalfd.h.
57464
57465 2012-02-14 Marek Polacek <polacek@redhat.com>
57466
57467 * sysdeps/x86_64/crti.S: New file.
57468 * sysdeps/x86_64/crtn.S: New file.
57469 * sysdeps/x86_64/elf/initfini.c: Remove file.
57470
57471 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57472
57473 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
57474 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
57475 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
57476 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
57477 <bits/inotify.h>.
57478 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
57479 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57480 bits/inotify.h.
57481
57482 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57483
57484 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
57485 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
57486 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
57487 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
57488 <bits/eventfd.h>.
57489 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
57490 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57491 bits/eventfd.h.
57492
57493 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
57494
57495 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
57496 __feraiseexcept instead of feraiseexcept.
57497
57498 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
57499 nanosleep invocations.
57500 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
57501 strings, and add error checking for a nanosleep invocations.
57502
57503 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
57504
57505 Replace FSF snail mail address with URLs, as per GNU coding standards.
57506 Most of the snail mail addresses were wrong anyway, and omitting
57507 them makes the source code easier to maintain. Almost all of the
57508 changes are to license notices and to locale LC_IDENTIFICATION
57509 addresses, except for this one:
57510 * manual/libc.texinfo: In "Published by", give the FSF's URL,
57511 not its snail mail address.
57512
57513 2012-02-09 Richard Henderson <rth@twiddle.net>
57514
57515 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
57516 of kernel-features.h.
57517
57518 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
57519
57520 2012-02-08 Marek Polacek <polacek@redhat.com>
57521
57522 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
57523 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
57524 * sysdeps/gnu/_G_config.h: Likewise.
57525 * sysdeps/generic/_G_config.h: Likewise.
57526
57527 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
57528
57529 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
57530 tests.
57531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57532
57533 * sysdeps/powerpc/powerpc32/crti.S: New file.
57534 * sysdeps/powerpc/powerpc32/crtn.S: New file.
57535 * sysdeps/powerpc/powerpc64/crti.S: New file.
57536 * sysdeps/powerpc/powerpc64/crtn.S: New file.
57537
57538 * Makeconfig (have-initfini): Don't set.
57539 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
57540 * configure.in (nopic_initfini): Don't substitute.
57541 * config.h.in (HAVE_INITFINI): Don't #undef.
57542 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
57543 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
57544
57545 2012-02-08 Joseph Myers <joseph@codesourcery.com>
57546
57547 Support crti.S and crtn.S provided directly by architectures.
57548 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
57549 [crti.S in sysdirs] (omit-deps): Likewise.
57550 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
57551 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
57552 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
57553 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
57554 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
57555 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
57556 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
57557 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
57558 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
57559 compiler output for sysdeps/generic/initfini.c.
57560 * sysdeps/i386/elf/Makefile: Remove file.
57561 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
57562
57563 2012-02-07 Marek Polacek <polacek@redhat.com>
57564
57565 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
57566 * sysdeps/gnu/_G_config.h: Likewise.
57567 * sysdeps/mach/hurd/_G_config.h: Likewise.
57568
57569 2012-02-07 Marek Polacek <polacek@redhat.com>
57570
57571 * math/Makefile (tests): Add tst-CMPLX2.
57572 * math/tst-CMPLX2.c: New file.
57573
57574 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
57575
57576 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57577
57578 * math/libm-test.inc (jn_test): Add missing L suffix.
57579
57580 2012-02-06 Marek Polacek <polacek@redhat.com>
57581
57582 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
57583 * sysdeps/i386/fpu/e_powf.S: Likewise.
57584 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57585 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
57586 * sysdeps/i386/fpu/e_acosh.S: Likewise.
57587 * sysdeps/i386/fpu/e_pow.S: Likewise.
57588 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57589 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57590 * sysdeps/i386/fpu/s_expm1.S: Likewise.
57591 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57592 * sysdeps/i386/fpu/e_log2.S: Likewise.
57593 * sysdeps/i386/fpu/e_log2l.S: Likewise.
57594 * sysdeps/i386/fpu/e_scalb.S: Likewise.
57595 * sysdeps/i386/fpu/e_powl.S: Likewise.
57596 * sysdeps/i386/fpu/s_log1p.S: Likewise.
57597 * sysdeps/i386/fpu/e_log10f.S: Likewise.
57598 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57599 * sysdeps/i386/fpu/e_logl.S: Likewise.
57600 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57601 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
57602 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57603 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57604 * sysdeps/i386/fpu/e_log2f.S: Likewise.
57605 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57606 * sysdeps/i386/fpu/e_log.S: Likewise.
57607 * sysdeps/i386/fpu/s_cexp.S: Likewise.
57608 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57609 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
57610 * sysdeps/i386/fpu/e_logf.S: Likewise.
57611 * sysdeps/i386/fpu/e_log10l.S: Likewise.
57612 * sysdeps/i386/fpu/e_atanh.S: Likewise.
57613 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
57614 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57615 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
57616 * sysdeps/i386/fpu/e_log10.S: Likewise.
57617 * sysdeps/i386/fpu/s_frexp.S: Likewise.
57618 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57619 * sysdeps/i386/fpu/s_asinh.S: Likewise.
57620 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57621 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57622 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57623 * sysdeps/i386/asm-syntax.h: Likewise.
57624 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57625 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57626 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57627 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
57628 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
57629 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57630 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57631 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57632 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57633 * sysdeps/powerpc/sysdep.h: Likewise.
57634 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
57635 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57636
57637 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57638
57639 [BZ #411]
57640 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
57641
57642 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57643
57644 * sysdeps/i386/sysdep.h: Include <features.h>.
57645 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
57646 version.
57647
57648 2012-02-05 Joseph Myers <joseph@codesourcery.com>
57649
57650 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
57651 Define.
57652 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
57653 LOAD_PIC_REG_STR.
57654
57655 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57656
57657 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
57658 (SETUP_PIC_REG): Use GET_PC_THUNK.
57659 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
57660 macro.
57661
57662 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57663
57664 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
57665 for non-PIC compilation.
57666 (SETUP_PIC_REG): Add .p2align directive.
57667 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
57668 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
57669 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57670 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57671 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
57672 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57673 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
57674 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57675 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57676 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57677 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57678 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57679 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57680 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57681 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57682 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
57683 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
57684 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57685 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57686 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57687 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57688 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
57689 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57690 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57691 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
57692 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
57693 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57694 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
57695 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57696 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57697 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57698 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57699 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57700 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57701 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57702 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57703 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57704 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57705 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57706 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57707 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57708
57709 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57710
57711 * math/tst-CMPLX.c: Include <stdio.h>.
57712
57713 2012-01-31 Joseph Myers <joseph@codesourcery.com>
57714
57715 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
57716 float.
57717 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57718 * sysdeps/sparc/bits/mathdef.h: Likewise.
57719
57720 2012-01-31 Marek Polacek <polacek@redhat.com>
57721
57722 * libio/libio.h: Don't define _PARAMS.
57723 * locale/programs/config.h: Don't define PARAMS.
57724 * stdlib/strtol_l.c: Likewise.
57725 (__strtol_l): Remove PARAMS from the prototype.
57726
57727 2012-01-31 Ulrich Drepper <drepper@gmail.com>
57728
57729 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
57730 names. Just use the correct names. Remove unnecessary wrapper
57731 functions.
57732 * malloc/arena.c: Likewise.
57733 * malloc/hooks.c: Likewise.
57734
57735 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
57736 ARENA_TEST says not to. Simplify test for creation of a new arena.
57737 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
57738
57739 2012-01-30 Ulrich Drepper <drepper@gmail.com>
57740
57741 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
57742 into tail calls.
57743 (update_get_addr): New function.
57744 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
57745 GET_ADDR_MODULE parameter.
57746
57747 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57748
57749 * crypt/cert.c: Remove __STDC__ conditionals.
57750 * crypt/crypt-entry.c: Likewise.
57751 * crypt/crypt_util.c: Likewise.
57752 * libio/filedoalloc.c: Likewise.
57753 * libio/fileops.c: Likewise.
57754 * libio/genops.c: Likewise.
57755 * libio/iofclose.c: Likewise.
57756 * libio/iofdopen.c: Likewise.
57757 * libio/iofopen.c: Likewise.
57758 * libio/iofopen64.c: Likewise.
57759 * libio/iogetdelim.c: Likewise.
57760 * libio/iopopen.c: Likewise.
57761 * libio/obprintf.c: Likewise.
57762 * libio/oldfileops.c: Likewise.
57763 * libio/oldiofclose.c: Likewise.
57764 * libio/oldiofdopen.c: Likewise.
57765 * libio/oldiofopen.c: Likewise.
57766 * libio/oldiopopen.c: Likewise.
57767 * libio/wfiledoalloc.c: Likewise.
57768 * libio/wgenops.c: Likewise.
57769 * locale/programs/xmalloc.c: Likewise.
57770 * misc/syslog.c: Likewise.
57771 * stdio-common/xbug.c: Likewise.
57772 * string/memchr.c: Likewise.
57773 * string/memcmp.c: Likewise.
57774 * string/memrchr.c: Likewise.
57775 * string/rawmemchr.c: Likewise.
57776 * sysdeps/posix/getcwd.c: Likewise.
57777 * time/strftime_l.c: Likewise.
57778
57779 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57780
57781 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
57782 * config.make.in (config-cflags-sse2avx): Define.
57783 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
57784 Fix typo.
57785
57786 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
57787
57788 * scripts/config.guess: Update from upstream config git repository.
57789 * scripts/config.sub: Likewise.
57790
57791 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
57792
57793 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
57794 (EM_NUM): Update.
57795 (R_TILEPRO_*, R_TILEGX_*): New macros.
57796
57797 * scripts/firstversions.awk: Fix bug in version range handling.
57798
57799 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
57800
57801 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
57802
57803 * include/sys/epoll.h: New file.
57804 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
57805 libc_hidden_def.
57806
57807 2012-01-28 Ulrich Drepper <drepper@gmail.com>
57808
57809 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
57810 Avoid unnecessary __WORDSIZE == 64 test.
57811 (fmaxf): Use VEX format if possible.
57812 (fmax): Likewise.
57813 (fminf): Likewise.
57814 (fmin): Likewise.
57815
57816 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
57817 * math/math_private.h: Remove libc_fegetround* and
57818 libc_fesetround*.
57819 * sysdeps/i386/configure.in: Check for -msse2avx.
57820 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
57821 also if SSE2AVX is defined.
57822 Remove libc_fegetround* and libc_fesetround*.
57823 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
57824 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
57825 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
57826 of HAS_YMM_USABLE.
57827 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57828 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57829 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57830 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57831 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57832
57833 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
57834
57835 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57836
57837 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
57838 size is not set.
57839 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57840
57841 2012-01-27 Ulrich Drepper <drepper@gmail.com>
57842
57843 [BZ #13618]
57844 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
57845 relocation.
57846 * Makeconfig (libm): Define.
57847 * elf/Makefile: Add rules to build and run tst-relsort1.
57848 * elf/tst-relsort1.c: New file.
57849 * elf/tst-relsort1mod1.c: New file.
57850 * elf/tst-relsort1mod2.c: New file.
57851
57852 2012-01-27 Joseph Myers <joseph@codesourcery.com>
57853
57854 * math/s_ldexp.c: Remove __STDC__ conditionals.
57855 * math/s_ldexpf.c: Likewise.
57856 * math/s_ldexpl.c: Likewise.
57857 * math/s_nextafter.c: Likewise.
57858 * math/s_nexttowardf.c: Likewise.
57859 * math/s_significand.c: Likewise.
57860 * math/s_significandf.c: Likewise.
57861 * math/s_significandl.c: Likewise.
57862 * math/w_jnl.c: Likewise.
57863 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
57864 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
57865 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
57866 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
57867 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
57868 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57869 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
57870 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
57871 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57872 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
57873 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
57874 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57875 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57876 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
57877 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57878 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57879 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57880 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57881 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57882 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57883 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57884 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57885 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57886 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57887 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57888 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57889 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57890 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57891 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
57892 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57893 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57894 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
57895 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57896 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
57897 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
57898 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57899 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
57900 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
57901 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
57902 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
57903 * sysdeps/ieee754/k_standard.c: Likewise.
57904 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57905 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57906 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
57907 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
57908 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
57909 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
57910 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57911 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
57912 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
57913 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
57914 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
57915 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
57916 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
57917 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
57918 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
57919 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
57920 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
57921 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57922 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57923 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
57924 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57925 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57926 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
57927 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
57928 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57929 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
57930 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57931 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57932 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57933 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
57934 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
57935 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
57936 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
57937 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
57938 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
57939 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
57940 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
57941 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
57942 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
57943 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
57944 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
57945 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
57946 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
57947 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
57948 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
57949 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57950 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
57951 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57952 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57953 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
57954 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
57955 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57956 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57957 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57958 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57959 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57960 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
57961 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57962 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57963 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57964 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57965 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57966 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57967 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57968 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57969 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57970 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57971 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57972 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57973 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57974 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57975 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57976 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57977 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57978 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57979 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57980 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57981 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57982 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57983 * sysdeps/ieee754/s_matherr.c: Likewise.
57984 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57985 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57986 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57987 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57988
57989 2012-01-26 Joseph Myers <joseph@codesourcery.com>
57990
57991 * crypt/md5.h: Remove __STDC__ conditionals.
57992 * libio/libioP.h: Likewise.
57993 * locale/programs/config.h: Likewise.
57994 * sysdeps/generic/sysdep.h: Likewise.
57995 * sysdeps/i386/asm-syntax.h: Likewise.
57996 * sysdeps/s390/asm-syntax.h: Likewise.
57997 * sysdeps/unix/sysdep.h: Likewise.
57998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
57999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58000
58001 2012-01-26 Joseph Myers <joseph@codesourcery.com>
58002
58003 * libio/libio.h: Remove __STDC__ conditionals.
58004 * malloc/obstack.h: Likewise.
58005 * math/complex.h: Likewise.
58006 * math/math.h: Likewise.
58007 * sysdeps/generic/_G_config.h: Likewise.
58008 * sysdeps/gnu/_G_config.h: Likewise.
58009 * sysdeps/mach/hurd/_G_config.h: Likewise.
58010 * sysdeps/powerpc/bits/mathdef.h: Likewise.
58011 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
58012 * sysdeps/sparc/bits/mathdef.h: Likewise.
58013
58014 2012-01-26 Ulrich Drepper <drepper@gmail.com>
58015
58016 [BZ #13583]
58017 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
58018 Clean up HAS_* macros.
58019 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
58020 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
58021 possible.
58022 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
58023 HAS_AVX.
58024 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58025 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58026 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58027 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58028 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58029
58030 2012-01-25 Joseph Myers <joseph@codesourcery.com>
58031
58032 * elf/tst-unique3.cc (gets): Remove declaration.
58033 * elf/tst-unique3lib.cc (gets): Likewise.
58034 * elf/tst-unique3lib2.cc (gets): Likewise.
58035 * elf/tst-unique4.cc (gets): Likewise.
58036
58037 2012-01-24 Ulrich Drepper <drepper@gmail.com>
58038
58039 * include/stdio.h: Add C++ protection. Add gets declarations and
58040 definitions.
58041 * debug/tst-chk1.c: Don't declare gets here.
58042 * stdio-common/tst-gets.c: Likewise.
58043
58044 2012-01-24 Joseph Myers <joseph@codesourcery.com>
58045
58046 * posix/glob: Remove directory.
58047
58048 2012-01-24 Joseph Myers <joseph@codesourcery.com>
58049
58050 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
58051
58052 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
58053
58054 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
58055 of the non-standard EPFNOSUPPORT.
58056
58057 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
58058
58059 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
58060 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
58061 ANYWHERE set to 1 only on KERN_NO_SPACE error.
58062
58063 2012-01-21 Ulrich Drepper <drepper@gmail.com>
58064
58065 * wcsmbs/uchar.h: Test __STDC_VERSION__.
58066
58067 2012-01-20 Ulrich Drepper <drepper@gmail.com>
58068
58069 * nscd/aicache.c (addhstaiX): Do not cache negative results of
58070 transient errors.
58071 * nscd/grpcache.c (cache_addgr): Likewise.
58072 * nscd/hstcache.c (cache_addhst): Likewise.
58073 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58074 * nscd/pwdcache.c (cache_addpw): Likewise.
58075 * nscd/servicescache.c (cache_addserv): Likewise.
58076
58077 2012-01-16 Ulrich Drepper <drepper@gmail.com>
58078
58079 * malloc/malloc.c: Various cleanups.
58080 * malloc/hooks.c: Likewise.
58081
58082 * stdlib/Makefile (tests): Add bug-fmtmsg1.
58083 * stdlib/bug-fmtmsg1.c: New file.
58084
58085 * stdlib/fmtmsg.c (init): Add missing unlock.
58086 Patch by Peng Haitao <penght@cn.fujitsu.com>.
58087
58088 2012-01-12 Marek Polacek <polacek@redhat.com>
58089
58090 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
58091 and _GNU_SOURCE.
58092
58093 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
58094
58095 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
58096 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
58097 macro to ensure uniqueness of label name.
58098 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58099 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58100
58101 2012-01-11 Ulrich Drepper <drepper@gmail.com>
58102
58103 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
58104
58105 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
58106 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
58107 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
58108 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
58109
58110 2012-01-10 Ulrich Drepper <drepper@gmail.com>
58111
58112 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
58113
58114 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
58115 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
58116 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
58117
58118 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
58119
58120 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
58121 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
58122 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
58123 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
58124
58125 * math/bits/math-finite.h: Add ldexp support.
58126
58127 2012-01-10 Marek Polacek <polacek@redhat.com>
58128
58129 * locale/programs/localedef.h (show_archive_content): Add noreturn
58130 attribute.
58131
58132 2012-01-09 Ulrich Drepper <drepper@gmail.com>
58133
58134 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
58135
58136 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58137
58138 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
58139
58140 * io/Makefile (headers): Add bits/poll2.h.
58141
58142 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
58143
58144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
58145 typo #include statement.
58146
58147 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58148
58149 * include/sys/cdefs.h: Define __attribute_alloc_size.
58150 * catgets/gencat.c: Add alloc_size attribute and apply consistently
58151 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
58152 * elf/pldd.c: Likewise.
58153 * iconv/iconv_charmap.c: Likewise.
58154 * iconv/iconvconfig.c: Likewise.
58155 * iconv/strtab.c: Likewise.
58156 * locale/programs/locale.c: Likewise.
58157 * locale/programs/localedef.h: Likewise.
58158 * locale/programs/simple-hash.c: Likewise.
58159 * nscd/nscd.h: Likewise.
58160 * nss/makedb.c: Likewise.
58161 * sysdeps/generic/ldconfig.h: Likewise.
58162 * locale/programs/localedef.c: Remove xmalloc prototype.
58163 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
58164
58165 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
58166
58167 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
58168 appropriate.
58169
58170 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58171
58172 * math/Makefile (tests): Add tst-CMPLX.
58173 * math/tst-CMPLX.c: New file.
58174
58175 * math/complex.h (CMPLXL): Fix typo.
58176
58177 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
58178 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
58179 GLIBC_2.16.
58180 * debug/tst-chk1.c: Add poll and ppoll tests.
58181 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
58182 * include/sys/poll.h: Add hidden proto for ppoll.
58183 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
58184 * sysdeps/mach/hurd/ppoll.c: Likewise.
58185 * io/ppoll.c: Likewise.
58186 * debug/poll_chk.c: New file.
58187 * debug/ppoll_chk.c: New file.
58188 * include/bits/poll2.h: New file.
58189 * io/bits/poll2.h: New file.
58190
58191 [BZ #1350]
58192 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
58193
58194 * configure.in: static is always set to yes. Remove.
58195 * config.make.in: Don't set build-static.
58196 * Makeconfig: Remove use of build-static.
58197 * dlfcn/Makefile: Likewise.
58198 * elf/Makefile: Likewise.
58199 * math/Makefile: Likewise.
58200 * misc/Makefile: Likewise.
58201 * nptl/Makefile: Likewise.
58202 * sysdeps/mach/hurd/Makefile: Likewise.
58203
58204 * configure.in: PWD_P is not used anymore.
58205 * config.make.in: Remove PWD_P entry.
58206
58207 * configure.in: Remove last remnants of RANLIB.
58208 No need to check for signed size_t anymore.
58209 Don't set libc_commonpagesize and libc_relro_required here for Alpha
58210 and IA-64.
58211 Remove __builtin_expect test because we require at least gcc 3.4.
58212 * aclocal.m4: Likewise.
58213
58214 * wcsmbs/mbrtoc16.c: Implement using towc function.
58215 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
58216 * wcsmbs/wcsmbsload.c: Likewise.
58217 * iconv/gconv_simple.c: Likewise.
58218 * iconv/gconv_int.h: Likewise.
58219 * iconv/gconv_builtin.h: Likewise.
58220 * iconv/iconv_prog.c: Remove CHAR16 handling.
58221
58222 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
58223
58224 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
58225
58226 * configure.in: Remove --with-elf and --enable-bounded options.
58227 Dont set base_machine for ia64. More non-ELF conditions removed.
58228 Remove testing and setting of leading underscore information.
58229 * config.make.in (build-bounded): Set to no.
58230 * config.h.in: Remove NO_UNDERSCORES entry.
58231 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
58232 them.
58233 * csu/start.c: Remove !NO_UNDERSCORE code.
58234 * locale/localeinfo.h: Likewise.
58235 * sysdeps/generic/machine-gmon.h: Likewise.
58236 * sysdeps/generic/sysdep.h: Likewise.
58237 * sysdeps/i386/sysdep.h: Likewise.
58238 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58239 * sysdeps/mach/sysdep.h: Likewise.
58240 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58241 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58242 * sysdeps/sh/sysdep.h: Likewise.
58243 * sysdeps/sparc/sparc32/alloca.S: Likewise.
58244 * sysdeps/unix/i386/sysdep.S: Likewise.
58245 * sysdeps/unix/sparc/start.c: Likewise.
58246 * sysdeps/unix/sparc/sysdep.S: Likewise.
58247 * sysdeps/unix/sparc/sysdep.h: Likewise.
58248 * sysdeps/unix/start.c: Likewise.
58249 * sysdeps/unix/x86_64/sysdep.S: Likewise.
58250 * sysdeps/x86_64/sysdep.h: Likewise.
58251
58252 2012-01-07 Ulrich Drepper <drepper@gmail.com>
58253
58254 [BZ #13553]
58255 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
58256 for non-gcc.
58257 * argp/argp-fmtstream.h: Use const instead __const.
58258 * argp/argp.h: Likewise.
58259 * assert/assert.h: Likewise.
58260 * bits/fenv.h: Likewise.
58261 * bits/sched.h: Likewise.
58262 * bits/sigset.h: Likewise.
58263 * bits/sigthread.h: Likewise.
58264 * catgets/nl_types.h: Likewise.
58265 * conform/data/pthread.h-data: Likewise.
58266 * crypt/crypt-private.h: Likewise.
58267 * crypt/crypt.h: Likewise.
58268 * crypt/crypt_util.c: Likewise.
58269 * ctype/ctype.h: Likewise.
58270 * debug/execinfo.h: Likewise.
58271 * debug/mbsnrtowcs_chk.c: Likewise.
58272 * debug/mbsrtowcs_chk.c: Likewise.
58273 * debug/wcsnrtombs_chk.c: Likewise.
58274 * debug/wcsrtombs_chk.c: Likewise.
58275 * debug/wcstombs_chk.c: Likewise.
58276 * dirent/dirent.h: Likewise.
58277 * dlfcn/dlfcn.h: Likewise.
58278 * elf/neededtest4.c: Likewise.
58279 * grp/grp.h: Likewise.
58280 * gshadow/gshadow.h: Likewise.
58281 * iconv/gconv.h: Likewise.
58282 * iconv/gconv_int.h: Likewise.
58283 * iconv/gconv_simple.c: Likewise.
58284 * iconv/iconv.h: Likewise.
58285 * iconv/loop.c: Likewise.
58286 * iconv/skeleton.c: Likewise.
58287 * include/aio.h: Likewise.
58288 * include/aliases.h: Likewise.
58289 * include/argz.h: Likewise.
58290 * include/arpa/inet.h: Likewise.
58291 * include/assert.h: Likewise.
58292 * include/dirent.h: Likewise.
58293 * include/dlfcn.h: Likewise.
58294 * include/execinfo.h: Likewise.
58295 * include/fcntl.h: Likewise.
58296 * include/fenv.h: Likewise.
58297 * include/glob.h: Likewise.
58298 * include/grp.h: Likewise.
58299 * include/libintl.h: Likewise.
58300 * include/mntent.h: Likewise.
58301 * include/netdb.h: Likewise.
58302 * include/pwd.h: Likewise.
58303 * include/rpc/netdb.h: Likewise.
58304 * include/sched.h: Likewise.
58305 * include/search.h: Likewise.
58306 * include/shadow.h: Likewise.
58307 * include/signal.h: Likewise.
58308 * include/stdio.h: Likewise.
58309 * include/stdlib.h: Likewise.
58310 * include/string.h: Likewise.
58311 * include/sys/socket.h: Likewise.
58312 * include/sys/stat.h: Likewise.
58313 * include/sys/statfs.h: Likewise.
58314 * include/sys/statvfs.h: Likewise.
58315 * include/sys/syslog.h: Likewise.
58316 * include/sys/time.h: Likewise.
58317 * include/sys/uio.h: Likewise.
58318 * include/time.h: Likewise.
58319 * include/unistd.h: Likewise.
58320 * include/utmp.h: Likewise.
58321 * include/wchar.h: Likewise.
58322 * include/wctype.h: Likewise.
58323 * inet/aliases.h: Likewise.
58324 * inet/arpa/inet.h: Likewise.
58325 * inet/netinet/ether.h: Likewise.
58326 * inet/netinet/in.h: Likewise.
58327 * intl/libintl.h: Likewise.
58328 * io/bits/fcntl2.h: Likewise.
58329 * io/fcntl.h: Likewise.
58330 * io/ftw.h: Likewise.
58331 * io/sys/poll.h: Likewise.
58332 * io/sys/stat.h: Likewise.
58333 * io/sys/statfs.h: Likewise.
58334 * io/sys/statvfs.h: Likewise.
58335 * io/utime.h: Likewise.
58336 * libio/bits/stdio.h: Likewise.
58337 * libio/bits/stdio2.h: Likewise.
58338 * libio/libio.h: Likewise.
58339 * libio/libioP.h: Likewise.
58340 * libio/stdio.h: Likewise.
58341 * locale/lc-ctype.c: Likewise.
58342 * locale/locale.h: Likewise.
58343 * login/utmp.h: Likewise.
58344 * malloc/arena.c: Likewise.
58345 * malloc/malloc.c: Likewise.
58346 * malloc/malloc.h: Likewise.
58347 * malloc/mcheck.c: Likewise.
58348 * malloc/mtrace.c: Likewise.
58349 * math/bits/mathcalls.h: Likewise.
58350 * math/fenv.h: Likewise.
58351 * math/math_private.h: Likewise.
58352 * misc/bits/error.h: Likewise.
58353 * misc/bits/syslog.h: Likewise.
58354 * misc/err.h: Likewise.
58355 * misc/error.h: Likewise.
58356 * misc/fstab.h: Likewise.
58357 * misc/mntent.h: Likewise.
58358 * misc/regexp.h: Likewise.
58359 * misc/search.h: Likewise.
58360 * misc/sgtty.h: Likewise.
58361 * misc/sys/mman.h: Likewise.
58362 * misc/sys/syslog.h: Likewise.
58363 * misc/sys/uio.h: Likewise.
58364 * misc/sys/xattr.h: Likewise.
58365 * misc/ttyent.h: Likewise.
58366 * nis/rpcsvc/ypclnt.h: Likewise.
58367 * nss/nss.h: Likewise.
58368 * posix/bits/unistd.h: Likewise.
58369 * posix/fnmatch.h: Likewise.
58370 * posix/glob.h: Likewise.
58371 * posix/sched.h: Likewise.
58372 * posix/spawn.h: Likewise.
58373 * posix/sys/wait.h: Likewise.
58374 * posix/unistd.h: Likewise.
58375 * posix/wordexp.h: Likewise.
58376 * pwd/pwd.h: Likewise.
58377 * resolv/netdb.h: Likewise.
58378 * resource/sys/resource.h: Likewise.
58379 * rt/aio.h: Likewise.
58380 * rt/bits/mqueue2.h: Likewise.
58381 * rt/mqueue.h: Likewise.
58382 * shadow/shadow.h: Likewise.
58383 * signal/signal.h: Likewise.
58384 * socket/send.c: Likewise.
58385 * socket/sendto.c: Likewise.
58386 * socket/sys/socket.h: Likewise.
58387 * stdio-common/printf.h: Likewise.
58388 * stdlib/bits/stdlib.h: Likewise.
58389 * stdlib/fmtmsg.h: Likewise.
58390 * stdlib/monetary.h: Likewise.
58391 * stdlib/stdlib.h: Likewise.
58392 * stdlib/ucontext.h: Likewise.
58393 * streams/stropts.h: Likewise.
58394 * string/argz.h: Likewise.
58395 * string/bits/string2.h: Likewise.
58396 * string/string.h: Likewise.
58397 * string/strings.h: Likewise.
58398 * sunrpc/rpc/auth.h: Likewise.
58399 * sunrpc/rpc/auth_des.h: Likewise.
58400 * sunrpc/rpc/clnt.h: Likewise.
58401 * sunrpc/rpc/netdb.h: Likewise.
58402 * sunrpc/rpc/pmap_clnt.h: Likewise.
58403 * sunrpc/rpc/xdr.h: Likewise.
58404 * sysdeps/generic/inttypes.h: Likewise.
58405 * sysdeps/generic/net/if.h: Likewise.
58406 * sysdeps/generic/sys/swap.h: Likewise.
58407 * sysdeps/gnu/net/if.h: Likewise.
58408 * sysdeps/gnu/utmpx.h: Likewise.
58409 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
58410 * sysdeps/i386/i486/bits/string.h: Likewise.
58411 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
58412 * sysdeps/s390/bits/string.h: Likewise.
58413 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
58414 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
58415 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
58416 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
58417 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
58418 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
58419 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
58420 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
58421 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
58422 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
58423 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
58424 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
58425 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
58426 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
58427 * sysdeps/unix/sysv/linux/readv.c: Likewise.
58428 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
58429 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
58430 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58431 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
58432 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
58433 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58434 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
58435 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
58436 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
58437 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
58438 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
58439 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
58440 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58441 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
58442 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
58443 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
58444 * sysvipc/sys/ipc.h: Likewise.
58445 * sysvipc/sys/msg.h: Likewise.
58446 * sysvipc/sys/sem.h: Likewise.
58447 * sysvipc/sys/shm.h: Likewise.
58448 * termios/termios.h: Likewise.
58449 * time/sys/time.h: Likewise.
58450 * time/time.h: Likewise.
58451 * wcsmbs/bits/wchar2.h: Likewise.
58452 * wcsmbs/uchar.h: Likewise.
58453 * wcsmbs/wchar.h: Likewise.
58454 * wctype/wctype.h: Likewise.
58455
58456 [BZ #13551]
58457 * Makeconfig: Remove all but ELF support including AIX support.
58458 * Makerules: Likewise.
58459 * config.h.in: Likewise.
58460 * config.make.in: Likewise.
58461 * configure: Likewise.
58462 * configure.in: Likewise.
58463 * csu/Makefile: Likewise.
58464 * csu/version.c: Likewise.
58465 * debug/Makefile: Likewise.
58466 * dlfcn/Makefile: Likewise.
58467 * elf/Makefile: Likewise.
58468 * extra-lib.mk: Likewise.
58469 * iconv/Makefile: Likewise.
58470 * include/libc-symbols.h: Likewise.
58471 * include/shlib-compat.h: Likewise.
58472 * resolv/Makefile: Likewise.
58473 * resolv/res_libc.c: Likewise.
58474 * rt/Makefile: Likewise.
58475 * sysdeps/i386/asm-syntax.h: Likewise.
58476 * sysdeps/i386/sysdep.h: Likewise.
58477 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58478 * sysdeps/mach/sysdep.h: Likewise.
58479 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
58480 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
58481 * sysdeps/s390/asm-syntax.h: Likewise.
58482 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58483 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58484 * sysdeps/sh/sysdep.h: Likewise.
58485 * sysdeps/unix/sparc/sysdep.h: Likewise.
58486 * sysdeps/wordsize-32/divdi3.c: Likewise.
58487 * sysdeps/x86_64/sysdep.h: Likewise.
58488
58489 * argp/Versions: Remove _argp_unlock_xxx.
58490
58491 [BZ #13559]
58492 * abilist/ld.abilist: Update. Adjust for removal of tls option.
58493 * abilist/libBrokenLocale.abilist: Likewise.
58494 * abilist/libanl.abilist: Likewise.
58495 * abilist/libc.abilist: Likewise.
58496 * abilist/libcrypt.abilist: Likewise.
58497 * abilist/libdl.abilist: Likewise.
58498 * abilist/libm.abilist: Likewise.
58499 * abilist/libnsl.abilist: Likewise.
58500 * abilist/libpthread.abilist: Likewise.
58501 * abilist/libresolv.abilist: Likewise.
58502 * abilist/librt.abilist: Likewise.
58503 * abilist/libthread_db.abilist: Likewise.
58504 * abilist/libutil.abilist: Likewise.
58505 * abilist/libnss_db.abilist: New file.
58506
58507 * scripts/abilist.awk: Add support for indirect functions.
58508
58509 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
58510
58511 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
58512
58513 * shlib-versions: Remove entries for ports architectures.
58514
58515 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
58516 files in ports.
58517 * elf/stackguard-macros.h: Remove support for IA-64.
58518 * elf/tst-auditmod1.c: Likewise.
58519 * sysdeps/generic/ldsodefs.h: Likewise.
58520
58521 * sysdeps/unix/sysv/linux/configure.in: Ports should define
58522 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
58523 configure files.
58524
58525 [BZ #13552]
58526 * configure.in: Remove --enable-omitfp support.
58527 * FAQ.in: Adjust.
58528 * config.make.in: Likewise.
58529 * Makeconfig: Likewise.
58530 * manual/install.texi: Likewise.
58531
58532 In case anyone cares, the IA-64 architecture could move to ports.
58533 * sysdeps/ia64/*: Removed.
58534 * sysdeps/unix/sysv/linux/ia64/*: Removed.
58535 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
58536
58537 [BZ #13555]
58538 * configure.in: Remove entries for unsupported architectures.
58539
58540 [BZ #13533]
58541 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
58542 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
58543 routines.
58544 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
58545 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
58546 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
58547 fall back to using wcrtomb.
58548 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
58549 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
58550 renaming.
58551 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
58552 * wcsmbs/tst-c16c32-1.c: New file.
58553
58554 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
58555 local variable.
58556
58557 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
58558
58559 * elf/tst-unique3.cc: Add explicit declaration of gets.
58560 * elf/tst-unique3lib.cc: Likewise.
58561 * elf/tst-unique3lib2.cc: Likewise.
58562 * elf/tst-unique4.cc: Likewise.
58563
58564 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
58565
58566 2012-01-06 Joseph Myers <joseph@codesourcery.com>
58567
58568 [BZ #13566]
58569 * assert/assert.h (static_assert): Don't define for C++.
58570 * libio/stdio.h (gets): Do declare for C++ <= C++11.
58571 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
58572
58573 2012-01-03 Ulrich Drepper <drepper@gmail.com>
58574
58575 * iconv/loop.c (single loop): Fix assertion in storing of
58576 remaining bytes.
58577
58578 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
58579
58580 2012-01-01 Ulrich Drepper <drepper@gmail.com>
58581
58582 * posix/getconf.c: Update copyright year.
58583 * nss/getent.c: Likewise.
58584 * nss/makedb.c: Likewise.
58585 * iconv/iconvconfig.c: Likewise.
58586 * iconv/iconv_prog.c: Likewise.
58587 * elf/ldconfig.c: Likewise.
58588 * elf/pldd.c: Likewise.
58589 * elf/sotruss.ksh: Likewise.
58590 * catgets/gencat.c: Likewise.
58591 * csu/version.c: Likewise.
58592 * elf/ldd.bash.in: Likewise.
58593 * elf/sprof.c (print_version): Likewise.
58594 * locale/programs/locale.c: Likewise.
58595 * locale/programs/localedef.c: Likewise.
58596 * login/programs/pt_chown.c: Likewise.
58597 * nscd/nscd.c (print_version): Likewise.
58598 * debug/xtrace.sh: Likewise.
58599 * malloc/memusage.sh: Likewise.
58600 * malloc/mtrace.pl: Likewise.
58601 * debug/catchsegv.sh: Likewise.
58602
58603 2011-12-30 Jakub Jelinek <jakub@redhat.com>
58604
58605 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
58606 pure attribute.
58607
58608 2011-12-24 Ulrich Drepper <drepper@gmail.com>
58609
58610 [BZ #13533]
58611 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
58612 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
58613 transformations.
58614 * iconv/gconv_int.h: Likewise.
58615 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
58616 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
58617 from libc for GLIBC_2.16.
58618 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
58619 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
58620 * wcsmbs/uchar.h: Really define mbstate_t.
58621 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
58622 * wcsmbs/c16rtomb.c: New file.
58623 * wcsmbs/mbrtoc16.c: New file.
58624 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
58625 for C/POSIX locale.
58626 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
58627 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
58628
58629 * wcsmbs/wchar.h: Add missing __restrict.
58630
58631 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58632
58633 [BZ #13532]
58634 * time/Makefile (routines): Add timespec_get.
58635 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
58636 * time/time.h: Define TIME_UTC and declare timespec_get. Define
58637 timespec for ISO C11.
58638 * time/timespec_get.c: New file.
58639 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
58640 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
58641
58642 [BZ #13531]
58643 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
58644 * stdlib/stdlib.h: Declare aligned_alloc.
58645 * Versions.def: Add GLIBC_2.16 for libc.
58646 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
58647
58648 [BZ 13527]
58649 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
58650 ISO C11.
58651
58652 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
58653 code.
58654
58655 [BZ #13528]
58656 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
58657
58658 [BZ #13529]
58659 * assert/assert.h (static_assert): Define.
58660
58661 * version.h: Update for 2.16 development version.
58662
58663 [BZ #13526]
58664 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
58665 _ISOC11_SOURCE.
58666
58667 * version.h (RELEASE): Bump for 2.15 release.
58668 * include/features.h (__GLIBC_MINOR__): Bump to 15.
58669
58670 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
58671 Patch by Marek Polacek <mpolacek@redhat.com>.
58672
58673 * bits/byteswap.h: Protect long long constants with __extension__.
58674 * sysdeps/i386/bits/byteswap.h: Likewise.
58675 * sysdeps/ia64/bits/byteswap.h: Likewise.
58676 * sysdeps/s390/bits/byteswap.h: Likewise.
58677 * sysdeps/x86_64/bits/byteswap.h: Likewise.
58678
58679 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58680
58681 [BZ #13540]
58682 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
58683 destination buffer.
58684 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
58685
58686 2011-12-23 Marek Polacek <polacek@redhat.com>
58687
58688 * elf/dl-addr.c (determine_info): Add inline keyword.
58689 * elf/tst-auditmod4b.c (check_avx): Likewise.
58690 * elf/tst-auditmod6b.c (check_avx): Likewise.
58691 * elf/tst-auditmod6c.c (check_avx): Likewise.
58692 * elf/tst-auditmod7b.c (check_avx): Likewise.
58693
58694 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58695
58696 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
58697 !__SSE_MATH__.
58698
58699 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58700
58701 [BZ #13540]
58702 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
58703 processing for last bytes.
58704
58705 2011-08-06 Bruno Haible <bruno@clisp.org>
58706
58707 [BZ #13061]
58708 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
58709 U+0385, not to U+1FEE.
58710
58711 [BZ #13062]
58712 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
58713 entry for U+00A5 U+0301.
58714
58715 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58716
58717 [BZ #13166]
58718 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
58719 buffer for the output is too small.
58720
58721 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
58722 optimization.
58723
58724 [BZ #13185]
58725 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
58726 SSE flags if possible.
58727
58728 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58729
58730 [BZ #13540]
58731 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
58732 processing for last bytes.
58733
58734 2011-12-22 Joseph Myers <joseph@codesourcery.com>
58735
58736 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
58737 (syscall-list-default-options, syscall-list-default-condition)
58738 (syscall-list-includes): Define.
58739 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
58740 list of ABIs and options and #if conditions for each ABI. Do not
58741 handle common syscalls between ABIs specially.
58742 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
58743 Remove.
58744 (syscall-list-variants, syscall-list-32bit-options)
58745 (syscall-list-32bit-condition, syscall-list-64bit-options)
58746 (syscall-list-64bit-condition): Define.
58747 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
58748 (syscall-list-variants, syscall-list-32bit-options)
58749 (syscall-list-32bit-condition, syscall-list-64bit-options)
58750 (syscall-list-64bit-condition): Define.
58751 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
58752 Remove.
58753 (syscall-list-variants, syscall-list-32bit-options)
58754 (syscall-list-32bit-condition, syscall-list-64bit-options)
58755 (syscall-list-64bit-condition): Define.
58756 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
58757 Remove.
58758 (syscall-list-variants, syscall-list-32bit-options)
58759 (syscall-list-32bit-condition, syscall-list-64bit-options)
58760 (syscall-list-64bit-condition): Define.
58761
58762 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58763
58764 * locale/iso-639.def: Add brx entry.
58765
58766 [BZ #13328]
58767 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
58768 Proposed by Mariusz_Cukr <marcukr@op.pl>.
58769
58770 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
58771 __feraiseexcept_renamed.
58772
58773 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58774
58775 [BZ #13538]
58776 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
58777 EPOLLET with unsigned values.
58778 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58779 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58780
58781 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
58782 to large cancellation.
58783 * math/s_cacoshf.c: Likewise.
58784 * math/s_cacoshl.c: Likewise.
58785
58786 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
58787
58788 [BZ #13305]
58789 [BZ #12786]
58790 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
58791 * math/s_cacoshf.c: Likewise.
58792 * math/s_cacoshl.c: Likewise.
58793
58794 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58795
58796 [BZ #13439]
58797 * iconv/gconv.h: Define __GCONV_SWAP.
58798 * iconvdata/unicode.c: The swap bit must be stored in __flags.
58799 * iconvdata/utf-16.c: Likewise.
58800 * iconvdata/utf-32.c: Likewise.
58801
58802 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
58803
58804 [BZ #13524]
58805 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
58806 numerator after shifting it by one limb.
58807
58808 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
58809
58810 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
58811 under [__USE_EXTERN_INLINES].
58812
58813 2011-12-17 Ulrich Drepper <drepper@gmail.com>
58814
58815 [BZ #13446]
58816 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
58817
58818 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58819
58820 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
58821 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
58822 optimized code.
58823 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
58824 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
58825 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
58826 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
58827 for strncasecmp/strncasecmp_l compilation.
58828 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
58829 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
58830
58831 2011-12-08 Marek Polacek <mpolacek@redhat.com>
58832
58833 [BZ #13484]
58834 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
58835 of __asm__.
58836
58837 2011-12-17 Ulrich Drepper <drepper@gmail.com>
58838
58839 [BZ #13506]
58840 * time/tzfile.c (__tzfile_read): Check values from file header.
58841
58842 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
58843
58844 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
58845 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
58846 * powerpc/powerpc32/dl-start.S: Likewise.
58847 * powerpc/powerpc32/elf/start.S: Likewise.
58848 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
58849 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
58850 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
58851 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
58852 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
58853 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
58854 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
58855 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58856 * powerpc/powerpc32/fpu/s_round.S: Likewise.
58857 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
58858 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
58859 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
58860 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
58861 * powerpc/powerpc32/memset.S: Likewise.
58862 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
58863 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58864 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58865 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58866 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58867 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
58868 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
58869 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
58870 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
58871 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
58872 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
58873 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58874 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58875
58876 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58877
58878 * math/libm-test.inc: Added more nearbyint tests.
58879 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
58880 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
58881 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
58882 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
58883
58884 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
58885
58886 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
58887 FD_CLOEXEC.
58888
58889 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58890
58891 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
58892 Add wcscpy-ssse3 wcscpy-c.
58893 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
58894 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
58895 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
58896 * sysdeps/x86_64/wcschr.S: New file.
58897 * sysdeps/x86_64/wcsrchr.S: New file.
58898 * string/test-strcmp.c: Remove checking of wcscmp function for
58899 wrong alignments.
58900 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
58901 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
58902 wcsrchr-sse2 wcsrchr-c.
58903 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
58904 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
58905 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
58906 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
58907 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
58908 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
58909 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
58910 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
58911 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
58912 * wcsmbc/wcschr.c (WCSCHR): New macro.
58913
58914 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58915
58916 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
58917 * wcsmbs/test-wcsrchr.c: New file.
58918 * string/test-strrchr.c: Add wcsrchr support.
58919 (WIDE): New macro.
58920 * wcsmbs/test-wcscpy.c: New file.
58921 * string/test-strcpy.c: Add wcscpy support.
58922 (WIDE): New macro.
58923
58924 2011-12-10 Ulrich Drepper <drepper@gmail.com>
58925
58926 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
58927 the inner loop.
58928
58929 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
58930
58931 [BZ #13472]
58932 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
58933
58934 2011-12-04 Ulrich Drepper <drepper@gmail.com>
58935
58936 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
58937 Minor optimizations.
58938
58939 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
58940 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
58941 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
58942
58943 2011-12-03 Ulrich Drepper <drepper@gmail.com>
58944
58945 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
58946 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
58947 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
58948 for gcc to avoid warnings.
58949 * inet/Makefile (tests): Add tst-checks.
58950 * inet/tst-checks.c: New file.
58951
58952 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
58953 warning.
58954
58955 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
58956 __wmemcmp_sse2.
58957
58958 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
58959 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
58960
58961 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
58962
58963 2011-12-02 Ulrich Drepper <drepper@gmail.com>
58964
58965 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
58966 problem.
58967
58968 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
58969
58970 2011-11-29 Joseph Myers <joseph@codesourcery.com>
58971
58972 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
58973 conditional on GCC version.
58974 (__arch_compare_and_exchange_val_8_acq)
58975 (__arch_compare_and_exchange_val_16_acq)
58976 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
58977 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
58978 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
58979
58980 2011-12-02 Joseph Myers <joseph@codesourcery.com>
58981
58982 * sysdeps/sh/backtrace.c: New file.
58983
58984 2011-12-02 Andreas Schwab <schwab@redhat.com>
58985
58986 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
58987 parenthesis.
58988
58989 2011-12-01 Andreas Schwab <schwab@redhat.com>
58990
58991 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
58992 falling back to utime.
58993
58994 2011-11-30 Andreas Schwab <schwab@redhat.com>
58995
58996 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
58997 expectations for float.
58998
58999 2011-11-29 Andreas Schwab <schwab@redhat.com>
59000
59001 * locale/weight.h (findidx): Add parameter len.
59002 * locale/weightwc.h (findidx): Likewise.
59003 * posix/fnmatch_loop.c (FCT): Adjust caller.
59004 * posix/regcomp.c (build_equiv_class): Likewise.
59005 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
59006 * posix/regexec.c (check_node_accept_bytes): Likewise.
59007 * string/strcoll_l.c (STRCOLL): Likewise.
59008 * string/strxfrm_l.c (STRXFRM): Likewise.
59009
59010 2011-11-17 Ulrich Drepper <drepper@gmail.com>
59011
59012 * Makefile.in: Remove CVSOPT handling.
59013 * configure.in: Remove use of AC_REVISION.
59014 * iconvdata/Makefile (distribute): No need to filter out CVS.
59015 * scripts/list-sources.sh: Remove CVS, subversion and monotone
59016 handling.
59017
59018 2011-11-16 Andreas Schwab <schwab@redhat.com>
59019
59020 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
59021 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
59022 [USE_AS_STRNCASECMP_L]: Likewise.
59023 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
59024 NO_TLS_DIRECT_SEG_REFS.
59025 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
59026 Fix argument offsets for non-PIC.
59027 [USE_AS_STRNCASECMP_L]: Likewise.
59028 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
59029 NO_TLS_DIRECT_SEG_REFS.
59030
59031 2011-11-15 Ulrich Drepper <drepper@gmail.com>
59032
59033 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
59034 O_CLOEXEC.
59035 * locale/loadlocale.c (_nl_load_locale): Likewise.
59036
59037 2011-11-15 Andreas Schwab <schwab@redhat.com>
59038
59039 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
59040 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
59041 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
59042 (SYSCALL_GETTIME): Set errno on error.
59043
59044 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
59045 count references to noai6ai_cached.
59046
59047 2011-11-15 Ulrich Drepper <drepper@gmail.com>
59048
59049 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
59050
59051 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
59052 FD_CLOEXEC for /proc/self/maps.
59053
59054 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
59055 FD_CLOEXEC for /proc/meminfo.
59056
59057 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
59058 gai.conf.
59059
59060 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
59061 FD_CLOEXEC for given file.
59062
59063 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
59064
59065 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
59066 FD_CLOEXEC for /etc/hosts.
59067 (_gethtent): Likewise.
59068
59069 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
59070
59071 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
59072 cancellation and set FD_CLOEXEC for /etc/netgroup.
59073
59074 * nss/nss_files/files-key.c (search): Don't allow cancellation when
59075 reading /etc/publickey.
59076
59077 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
59078 allow cancellation when reading /etc/group.
59079
59080 * nss/nss_files/files-alias.c (internal_setent): Don't allow
59081 cancellation.
59082 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
59083
59084 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
59085 when using data file.
59086
59087 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
59088
59089 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
59090 (write_nis_obj): Use "c" and "e" in fopen.
59091
59092 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
59093
59094 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
59095
59096 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
59097
59098 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
59099
59100 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
59101 locale.alias.
59102
59103 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
59104
59105 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
59106
59107 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
59108
59109 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
59110 file parsing and set FD_CLOEXEC.
59111
59112 2011-11-14 Ulrich Drepper <drepper@gmail.com>
59113
59114 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
59115
59116 2011-11-14 Andreas Schwab <schwab@redhat.com>
59117
59118 * malloc/arena.c (arena_get2): Don't call reused_arena when
59119 _int_new_arena failed.
59120
59121 2011-11-14 Ulrich Drepper <drepper@gmail.com>
59122
59123 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
59124 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
59125 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
59126 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59127 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59128 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
59129 to compile strcasecmp and strncasecmp.
59130 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
59131 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
59132
59133 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
59134
59135 2011-11-13 Ulrich Drepper <drepper@gmail.com>
59136
59137 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
59138 locale-defines.sym to gen-as-const-headers.
59139 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
59140 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
59141 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
59142 to compile strcasecmp and strncasecmp.
59143 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
59144 strcasecmp_l and strncasecmp_l.
59145 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
59146 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
59147 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
59148 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
59149 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
59150 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
59151 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
59152 * sysdeps/i386/i686/multiarch/strncase.S: New file.
59153 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
59154 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
59155 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
59156
59157 2011-11-12 Ulrich Drepper <drepper@gmail.com>
59158
59159 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
59160 result of SYSDEP_GETTIME_CPU to retval.
59161 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
59162 parameter list to macro. Remove trailing semicolon. Adjust users.
59163
59164 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
59165 variable.
59166
59167 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
59168 mantissa words.
59169 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
59170
59171 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
59172 from unused variable.
59173
59174 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
59175 DWARF definitions.
59176 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
59177 for assembling.
59178
59179 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
59180 over namespaces.
59181
59182 * sunrpc/rpc_prot.c (rejected): Fix case value.
59183
59184 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
59185 unsigned long long int to avoid warnings in shift.
59186
59187 * posix/regex_internal.c (re_string_reconstruct): Actually use result
59188 of use of trans.
59189 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
59190 variable tmp.
59191
59192 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
59193 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
59194 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
59195
59196 * nis/nis_table.c (nis_list): Use variable of correct type for
59197 result of __follow_path call.
59198
59199 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59200
59201 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
59202 of math functions ceil, trunc, floor, round, and sqrt, when
59203 avaliable on the platform.
59204 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
59205 name clash.
59206 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59207 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59208 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59209
59210 2011-10-30 Marek Polacek <mpolacek@redhat.com>
59211
59212 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
59213 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59214
59215 2011-11-11 Roland McGrath <roland@hack.frob.com>
59216
59217 * include/unistd.h: Fix __readlink return type.
59218 Reported by Chris Metcalf <cmetcalf@tilera.com>.
59219
59220 2011-11-11 Ulrich Drepper <drepper@gmail.com>
59221
59222 * stdlib/ucontext.h: Undo last change for makecontext.
59223
59224 2011-11-11 Andreas Schwab <schwab@redhat.com>
59225
59226 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
59227
59228 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
59229 * setjmp/setjmp.h: Mark functions as non-leaf.
59230 * setjmp/bits/setjmp2.h: Likewise.
59231 * stdlib/ucontext.h: Likewise.
59232
59233 2011-11-10 Andreas Schwab <schwab@redhat.com>
59234
59235 * malloc/arena.c (_int_new_arena): Don't increment narenas.
59236 (reused_arena): Don't check arena limit.
59237 (arena_get2): Atomically check arena limit.
59238
59239 2011-11-08 Ulrich Drepper <drepper@gmail.com>
59240
59241 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
59242 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
59243
59244 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
59245 instructions.
59246
59247 2011-11-07 Andreas Schwab <schwab@redhat.com>
59248
59249 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
59250 handler when locking.
59251
59252 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59253 Fix size of allocated buffer.
59254
59255 2011-11-04 Andreas Schwab <schwab@redhat.com>
59256
59257 [BZ #10103]
59258 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
59259 declarations for long double functions.
59260 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
59261
59262 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
59263
59264 2011-11-03 Andreas Schwab <schwab@redhat.com>
59265
59266 * nscd/nscd.c (main): Don't start AVC thread until credentials are
59267 installed.
59268
59269 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
59270 is disabled.
59271
59272 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
59273
59274 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
59275
59276 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
59277
59278 * include/alloca.h (stackinfo_alloca_round): Define.
59279 (extend_alloca): Use it.
59280 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
59281 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
59282 here.
59283
59284 * scripts/check-local-headers.sh: Ignore libaudit.h.
59285
59286 * nscd/Makefile (extra-objs): Make recursively expanded.
59287
59288 2011-11-01 Ulrich Drepper <drepper@gmail.com>
59289
59290 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
59291 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
59292
59293 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
59294 * posix/tst-rfc3484-2.c: Likewise.
59295 * posix/tst-rfc3484-3.c: Likewise.
59296
59297 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
59298 process_vm_writev.
59299 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
59300 process_vm_writev.
59301 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
59302 process_vm_writev from libc using GLIBC_2.15 version.
59303
59304 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
59305
59306 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
59307
59308 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
59309 stack usage.
59310
59311 2011-10-31 Ulrich Drepper <drepper@gmail.com>
59312
59313 [BZ #13367]
59314 * nss/getent.c (initgroups_keys): Show error message in case no group
59315 names are given.
59316
59317 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
59318 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
59319 __bump_nl_timestamp.
59320 * nscd/connections (nscd_init): When host database is served open
59321 netlink socket and request notification about configuration changes.
59322 (main_loop_poll): Track netlink file descriptor and bump timestamp
59323 in case data becomes available.
59324 (main_loop_epoll): Likewise.
59325 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
59326 (database_pers_head): Add extra_data fileds.
59327 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
59328 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
59329 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
59330 Adjust caller.
59331 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
59332 in6ai data, call __free_in6ai.
59333 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
59334 Add -DHAVE_NETLINK.
59335 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
59336 interface information. Reuse previous data if netlink timestamp
59337 is not changed.
59338 (__bump_nl_timestamp): New function.
59339 (__free_in6ai): New function.
59340
59341 2011-10-30 Ulrich Drepper <drepper@gmail.com>
59342
59343 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
59344 close_not_cancel_no_status here.
59345 (__check_pf): Reorganize code a bit to not call close twice if OOM.
59346
59347 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59348
59349 [BZ #13276]
59350 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
59351 return value.
59352
59353 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
59354 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
59355 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
59356
59357 2011-07-03 Andreas Jaeger <aj@suse.de>
59358
59359 [BZ #10709]
59360 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
59361 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
59362 * math/libm-test.inc (sin_test): Add test case.
59363
59364 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59365
59366 [BZ #13337]
59367 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
59368 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59369
59370 * elf/chroot_canon.c (chroot_canon): Cleanups.
59371
59372 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
59373
59374 [BZ #13335]
59375 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
59376 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59377
59378 * string/test-strchr.c: Make usable for strchrnul testing.
59379 * string/test-strchrnul.c: New file.
59380 * string/Makefile (strop-tests): Add strchrnul.
59381
59382 * po/it.po: Update from translation team.
59383 * po/es.po: Likewise.
59384
59385 2011-10-28 Ulrich Drepper <drepper@gmail.com>
59386
59387 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
59388 the three constants needed as parameters. Drop the others.
59389 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
59390 __m128i_strloadu_tolower.
59391 Create and initialize variable zero and use it in all the places
59392 where _mm_setzero_si128 was used.
59393
59394 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
59395 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
59396 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
59397 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
59398 anymore.
59399 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
59400 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
59401 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
59402 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
59403 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
59404 __mpranred, __mptan.
59405 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
59406 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
59407 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
59408 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
59409 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
59410 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
59411 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
59412 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
59413 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
59414
59415 2011-10-28 Andreas Schwab <schwab@redhat.com>
59416
59417 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
59418 redefine if SHARED.
59419 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
59420
59421 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
59422 wide char related routines to wcsmbs subdir.
59423
59424 2011-10-27 Andreas Schwab <schwab@redhat.com>
59425
59426 [BZ #13344]
59427 * misc/sys/cdefs.h (__THROWNL): Define.
59428 * posix/unistd.h: Use __THREADNL instead of __THREAD
59429 for memory synchronization functions.
59430
59431 2011-10-26 Roland McGrath <roland@hack.frob.com>
59432
59433 [BZ #13349]
59434 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
59435 doesn't exist.
59436 * manual/stdio.texi (Obstack Streams): Node removed.
59437
59438 2011-10-26 Andreas Schwab <schwab@redhat.com>
59439
59440 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
59441 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59442 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59443
59444 * math/math_private.h (math_force_eval): Allow non-addressable
59445 arguments.
59446 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
59447
59448 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59449
59450 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
59451 file is not needed.
59452
59453 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
59454 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
59455 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59456 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59457 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59458 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59459 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59460 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
59461 Add AVX variants.
59462 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
59463 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
59464 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
59465 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
59466 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
59467 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
59468 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
59469 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
59470 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
59471 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
59472 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
59473 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
59474 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
59475 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
59476 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
59477 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
59478 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
59479 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
59480 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
59481
59482 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
59483 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
59484
59485 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
59486 place. Use VEX encoding when compiling for AVX.
59487
59488 2011-10-25 Andreas Schwab <schwab@redhat.com>
59489
59490 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
59491 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
59492
59493 * string/test-strchr.c (do_test): Don't generate NUL bytes.
59494
59495 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59496
59497 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
59498 useless if() expression.
59499 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59500 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59501 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59502 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59503 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59504 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59505 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59506 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59507 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59508 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59509 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59510 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59511 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
59512 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59513 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
59514 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59515 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59516 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59517 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
59518
59519 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
59520
59521 2011-10-25 Andreas Schwab <schwab@redhat.com>
59522
59523 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
59524 condition.
59525 * elf/dl-fini.c (_dl_sort_fini): Likewise.
59526
59527 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59528
59529 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
59530 .text section. Avoid duplicate constants.
59531 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59532 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59533 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59534 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59535 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59536 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59537 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59538 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59539 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59540 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
59541 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59542 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59543 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
59544 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
59545 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
59546 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
59547 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
59548 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59549 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59550 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59551 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59552 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59553 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59554 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
59555 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
59556 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
59557 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
59558 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
59559 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
59560 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
59561 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
59562 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
59563 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59564 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
59565 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
59566 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
59567 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
59568 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
59569 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
59570 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
59571 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
59572 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
59573 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
59574 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
59575 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
59576
59577 2011-10-24 Ulrich Drepper <drepper@gmail.com>
59578
59579 * sysdeps/x86_64/dla.h: Move to ...
59580 * sysdeps/x86_64/fpu/dla.h: ...here.
59581 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
59582 situations. Use __builtin_fma only for gcc 4.6 and up.
59583
59584 * config.make.in: Add have-mfma4 entry.
59585 * configure.in: Substitute libc_cv_cc_fma4.
59586 * math/Makefile (dbl-only-routines): Add sincostab.
59587 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
59588 Use __sincostab not sincos.
59589 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
59590 name is a macro.
59591 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59592 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59593 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59594 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
59595 using __copysign.
59596 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
59597 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
59598 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
59599 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
59600 and __inv.
59601 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
59602 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
59603 __copysign.
59604 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
59605 define aliases when function name is a macro.
59606 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
59607 sysdeps/ieee754/dbl-64/sincos.tbl.
59608 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
59609 fma4-enabled routines.
59610 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
59611 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
59612 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
59613 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
59614 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
59615 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
59616 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
59617 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
59618 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
59619 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
59620 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
59621 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
59622 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
59623 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
59624 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
59625 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
59626 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
59627 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
59628 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
59629 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
59630 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
59631 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
59632 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
59633 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
59634 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
59635 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
59636 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
59637 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
59638 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
59639 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
59640
59641 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
59642 rename.
59643 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59644 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59645 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59646 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59647 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59648 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59649 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59650 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59651
59652 2011-10-24 Andreas Schwab <schwab@redhat.com>
59653
59654 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
59655
59656 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59657
59658 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
59659
59660 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
59661 prediction.
59662 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
59663
59664 * string/strnlen.c: Don't define STRNLEN, reverse logic.
59665 Remove unused variable magic_bits.
59666 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
59667
59668 * string/strnlen.c: Define and use STRNLEN macro.
59669 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
59670 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
59671 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
59672 * wcsmbs/wcslen.c: Define and use WCSLEN.
59673 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
59674 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
59675 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
59676 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
59677 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
59678 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
59679 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59680
59681 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59682
59683 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59684 strnlen-sse2-no-bsf.
59685 Rename strlen-no-bsf to strlen-sse2-no-bsf.
59686 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
59687 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
59688 Add strnlen support.
59689 (USE_AS_STRNLEN): New macro.
59690 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
59691 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
59692 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
59693 * sysdeps/x86_64/wcslen.S: New file.
59694
59695 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
59696
59697 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
59698 XMM-moves are used for copying on small sizes.
59699
59700 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59701
59702 * wcsmbs/Makefile (strop-tests): Add wcschr.
59703 * wcsmbs/test-wcschr.c: New file.
59704 * string/test-strchr.c: Update.
59705 Add wcschr support.
59706 (WIDE): New macro.
59707
59708 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59709
59710 * wcsmbs/Makefile (strop-tests): Add wcslen.
59711 * wcsmbs/test-wcslen.c: New file.
59712 * string/test-strlen.c: Update.
59713 Add wcslen support.
59714 (WIDE): New macro.
59715
59716 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59717
59718 * po/it.po: Update from translation team.
59719
59720 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59721
59722 * sysdeps/x86_64/wcscmp.S: Update.
59723 Fix wrong comparison semantics.
59724 wcscmp shall use signed comparison not unsigned.
59725 Don't use substraction to avoid overflow bug.
59726 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
59727 * wcsmbc/wcscmp.c: Likewise.
59728 * string/test-strcmp.c: Likewise.
59729 Add new tests to check cases with negative values.
59730
59731 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59732
59733 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
59734 * sysdeps/x86_64/dla.h: ...here. New file.
59735 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
59736 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59737 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59738 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59739 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59740 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59741 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59742 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59743 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59744
59745 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
59746
59747 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
59748 __ynl_finite aliases.
59749
59750 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59751
59752 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59753
59754 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
59755 define DLA_FMA.
59756 [DLA_FMA] (EMULV): Use DLA_FMA.
59757 [DLA_FMA] (MUL12): Use EMULV.
59758 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
59759 that are not needed.
59760 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59761 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59762 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59763 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59764 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59765 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59766 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59767
59768 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
59769
59770 * math/s_nan.c: Undef __nan.
59771 * math/s_nanf.c: Undef __nanf.
59772 * math/s_nanl.c: Undef __nanl.
59773 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
59774 "math_private.h".
59775
59776 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59777
59778 * math/s_catan.c: Add branch predictions.
59779 * math/s_catanf.c: Likewise.
59780 * math/s_catanh.c: Likewise.
59781 * math/s_catanhf.c: Likewise.
59782 * math/s_catanhl.c: Likewise.
59783 * math/s_catanl.c: Likewise.
59784 * math/s_cexp.c: Likewise.
59785 * math/s_cexpf.c: Likewise.
59786 * math/s_cexpl.c: Likewise.
59787 * math/s_clog.c: Likewise.
59788 * math/s_clog10.c: Likewise.
59789 * math/s_clog10f.c: Likewise.
59790 * math/s_clog10l.c: Likewise.
59791 * math/s_clogf.c: Likewise.
59792 * math/s_clogl.c: Likewise.
59793 * math/s_csqrt.c: Likewise.
59794 * math/s_csqrtf.c: Likewise.
59795 * math/s_csqrtl.c: Likewise.
59796 * math/s_ctanf.c: Likewise.
59797 * math/s_ctanh.c: Likewise.
59798 * math/s_ctanhf.c: Likewise.
59799 * math/s_ctanhl.c: Likewise.
59800 * math/s_ctanl.c: Likewise.
59801
59802 * math/math_private.h: Define __nan, __nanf, __nanl.
59803 * math/s_cacosh.c: Include <math_private.h>.
59804 * math/s_cacoshl.c: Likewise.
59805 * math/s_casinh.c: Likewise.
59806 * math/s_casinhf.c: Likewise.
59807 * math/s_casinhl.c: Likewise.
59808 * math/s_ccos.c: Rely entire on ccosh.
59809 * math/s_ccosf.c: Rely entire on ccoshf.
59810 * math/s_ccosl.c: Rely entirely on ccoshl.
59811 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
59812 Remove tests for FE_INVALID.
59813 * math/s_ccoshf.c: Likewise.
59814 * math/s_ccoshl.c: Likewise.
59815 * math/s_csin.c: Likewise.
59816 * math/s_csinf.c: Likewise.
59817 * math/s_csinh.c Likewise.
59818 * math/s_csinhf.c: Likewise.
59819 * math/s_csinhl.c: Likewise.
59820 * math/s_csinl.c: Likewise.
59821 * math/s_ctan.c: Likewise.
59822 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
59823 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
59824 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
59825
59826 2011-10-21 Ulrich Drepper <drepper@gmail.com>
59827
59828 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
59829 compilation problems.
59830
59831 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
59832 __builtin_expect.
59833
59834 2011-10-20 Ulrich Drepper <drepper@gmail.com>
59835
59836 * sysdeps/i386/configure.in: Test for -mfma4 option.
59837 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
59838 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
59839 COMMON_CPUID_INDEX_80000001.
59840 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
59841 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
59842 use it if FMA3 is not supported.
59843 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
59844
59845 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
59846 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59847
59848 2011-10-20 Andreas Schwab <schwab@redhat.com>
59849
59850 [BZ #12892]
59851 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
59852 it would create a cycle with a link time dependency.
59853
59854 2011-10-19 Ulrich Drepper <drepper@gmail.com>
59855
59856 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
59857 instruction.
59858 * string/Makefile (strop-tests): Add rawmemchr.
59859 * string/test-rawmemchr.c: New file.
59860
59861 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
59862 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
59863 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
59864 when compiling str{,n}casecmp and when AVX is available. Hook up
59865 new optimized code in initializers.
59866
59867 2011-10-19 Andreas Schwab <schwab@redhat.com>
59868
59869 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
59870 __feraiseexcept instead of feraiseexcept.
59871
59872 2011-10-18 Ulrich Drepper <drepper@gmail.com>
59873
59874 * math/math_private.h: Define defaults for libc_fetestexcept and
59875 libc_feupdateenv.
59876 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
59877 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
59878 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59879 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59880 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
59881 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59882 libc_fetestexcept and libc_feupdateenv.
59883
59884 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
59885 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
59886 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
59887 * sysdeps/x86_64/fpu/math_private.h: Define special version of
59888 libc_feholdexcept_setround.
59889
59890 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
59891 Add s_nearbyint-c and s_nearbyintf-c.
59892 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
59893 nearbyintf inlines.
59894 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
59895 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
59896 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
59897 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
59898
59899 * math/math_private.h: Define defaults for libc_fegetround,
59900 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
59901 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
59902 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
59903 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
59904 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
59905 standard functions.
59906 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59907 Remove comments and hacks for old compiler versions.
59908 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59909 libc_fegetround, libc_fesetround, libc_feholdexcept, and
59910 libc_feholdexceptl.
59911
59912 2011-10-18 Andreas Schwab <schwab@redhat.com>
59913
59914 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
59915 (__feraiseexcept_renamed): Add __NTH.
59916 (feraiseexcept): Add __NTH. Rename local variables to fix
59917 namespace violations.
59918
59919 2011-10-17 Ulrich Drepper <drepper@gmail.com>
59920
59921 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
59922
59923 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
59924
59925 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
59926 recently added interfaces.
59927 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
59928
59929 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
59930 about macro parameter expansion.
59931
59932 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
59933 __NO_MATH_INLINES is defined. Cleanups.
59934
59935 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
59936 and __floorf is target has SSE4.1.
59937 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
59938 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
59939 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
59940 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
59941
59942 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
59943 name.
59944 (floorf): Likewise.
59945
59946 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
59947
59948 2011-10-17 Andreas Schwab <schwab@redhat.com>
59949
59950 * misc/sys/cdefs.h: Fix last change.
59951
59952 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
59953 database lookup.
59954
59955 2011-10-16 Ulrich Drepper <drepper@gmail.com>
59956
59957 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
59958
59959 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
59960 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59961 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59962 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59963 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59964 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
59965 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59966 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59967 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
59968 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
59969 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
59970 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
59971 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
59972 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
59973 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
59974 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
59975 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
59976 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
59977 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
59978 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
59979 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
59980 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
59981
59982 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
59983 ceil, ceilf, floor, floorf.
59984
59985 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
59986 Perform IRELATIVE relocations last.
59987
59988 * elf/do-rel.h: Add another parameter nrelative, replacing the
59989 local variable with the same name. Change name of the function
59990 to end in Rel or Rela (uppercase).
59991 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
59992 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
59993 elf_dynamic_do_##reloc function.
59994
59995 2011-10-15 Ulrich Drepper <drepper@gmail.com>
59996
59997 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
59998 is sufficient, at least on modern CPUs.
59999
60000 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
60001
60002 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
60003 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
60004
60005 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
60006 __expl_finite.
60007 * math/bits/math-finite.h: Add entries for exp.
60008 * math/e_expl.c: Add __*_finite alias.
60009 * sysdeps/i386/fpu/e_exp.S: Likewise.
60010 * sysdeps/i386/fpu/e_expf.S: Likewise.
60011 * sysdeps/i386/fpu/e_expl.c: Likewise.
60012 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60013 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60014 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
60015 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60016 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
60017 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
60018 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
60019
60020 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
60021 is sufficient, at least on modern CPUs.
60022
60023 * ctype/ctype-info.c (__ctype_init): Define.
60024 * include/ctype.h (__ctype_init): Declare.
60025 (__ctype_b_loc): The variable is always initialized.
60026 (__ctype_toupper_loc): Likewise.
60027 (__ctype_tolower_loc): Likewise.
60028 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
60029 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
60030
60031 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
60032
60033 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
60034
60035 * configure.in: Also look in $cxxmachine/include for C++ system
60036 headers.
60037
60038 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60039
60040 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
60041 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
60042 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
60043 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
60044 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
60045 (USE_AS_WMEMCMP): New macro.
60046 Fixing indents.
60047 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
60048 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
60049 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
60050 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
60051 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60052 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
60053 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
60054 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
60055 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
60056 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
60057 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
60058 (USE_AS_WMEMCMP): New macro.
60059 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
60060 * sysdeps/string/test-memcmp.c: Update.
60061 Fix simple_wmemcmp.
60062 Add new tests.
60063 * wcsmbs/wmemcmp.c: Update.
60064 (WMEMCMP): New macro.
60065 Fix overflow bug.
60066
60067 2011-10-12 Andreas Jaeger <aj@suse.de>
60068
60069 [BZ #13268]
60070 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
60071
60072 2011-10-15 Ulrich Drepper <drepper@gmail.com>
60073
60074 * libio/iofwide.c (do_length): Avoid warning.
60075
60076 * ctype/ctype.h (__isctype_f): Add missing __THROW.
60077
60078 2011-10-14 Ulrich Drepper <drepper@gmail.com>
60079
60080 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
60081
60082 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
60083 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
60084 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
60085 * sysdeps/i386/i686/fpu/e_log.S: New file.
60086 * sysdeps/i386/i686/fpu/e_logf.S: New file.
60087 * sysdeps/i386/i686/fpu/e_logl.S: New file.
60088
60089 * ctype/ctype.h: Add support for inlined isXXX functions when
60090 compiling C++ code.
60091
60092 2011-10-14 Andreas Schwab <schwab@redhat.com>
60093
60094 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60095
60096 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
60097
60098 2011-10-13 Roland McGrath <roland@hack.frob.com>
60099
60100 [BZ #13291]
60101 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
60102
60103 2011-10-13 Andreas Schwab <schwab@redhat.com>
60104
60105 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
60106 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
60107 feraiseexcept.
60108
60109 * sysdeps/x86_64/memrchr.S: Check for zero size.
60110
60111 * string/stratcliff.c: Add memrchr tests.
60112
60113 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60114
60115 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60116 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
60117 rawmemchr-sse2 rawmemchr-sse2-bsf.
60118 * sysdeps/i386/i686/multiarch/memchr.S: New file.
60119 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
60120 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
60121 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
60122 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
60123 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
60124 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
60125 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
60126 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
60127 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
60128 * string/memrchr.c (MEMRCHR): New macro.
60129
60130 2011-10-12 Ulrich Drepper <drepper@gmail.com>
60131
60132 Add integration with gcc's -ffinite-math-only and optimize wrapper
60133 functions in libm.
60134 * Versions.def: Define GLIBC_2.15 version for libm.
60135 * math/Makefile (headers): Add bits/math-finite.h.
60136 * math/bits/math-finite.h: New file.
60137 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
60138 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
60139 * math/e_acoshl.c: Add __*_finite alias.
60140 * math/e_acosl.c: Likewise.
60141 * math/e_asinl.c: Likewise.
60142 * math/e_atan2l.c: Likewise.
60143 * math/e_atanhl.c: Likewise.
60144 * math/e_coshl.c: Likewise.
60145 * math/e_exp10.c: Likewise.
60146 * math/e_exp10f.c: Likewise.
60147 * math/e_exp10l.c: Likewise.
60148 * math/e_exp2l.c: Likewise.
60149 * math/e_fmodl.c: Likewise.
60150 * math/e_gammal_r.c: Likewise.
60151 * math/e_hypotl.c: Likewise.
60152 * math/e_j0l.c: Likewise.
60153 * math/e_j1l.c: Likewise.
60154 * math/e_jnl.c: Likewise.
60155 * math/e_lgammal_r.c: Likewise.
60156 * math/e_log10l.c: Likewise.
60157 * math/e_log2l.c: Likewise.
60158 * math/e_logl.c: Likewise.
60159 * math/e_powl.c: Likewise.
60160 * math/e_sinhl.c: Likewise.
60161 * math/e_sqrtl.c: Likewise.
60162 * math/e_scalb.c: Completely rewritten and optimized.
60163 * math/e_scalbf.c: Likewise.
60164 * math/e_scalbl.c: Likewise.
60165 * math/w_acos.c: Likewise.
60166 * math/w_acosf.c: Likewise.
60167 * math/w_acosl.c: Likewise.
60168 * math/w_acosh.c: Likewise.
60169 * math/w_acoshf.c: Likewise.
60170 * math/w_acoshl.c: Likewise.
60171 * math/w_asin.c: Likewise.
60172 * math/w_asinf.c: Likewise.
60173 * math/w_asinl.c: Likewise.
60174 * math/w_atan2.c: Likewise.
60175 * math/w_atan2f.c: Likewise.
60176 * math/w_atan2l.c: Likewise.
60177 * math/w_atanh.c: Likewise.
60178 * math/w_atanhf.c: Likewise.
60179 * math/w_atanhl.c: Likewise.
60180 * math/w_exp10.c: Likewise.
60181 * math/w_exp10f.c: Likewise.
60182 * math/w_exp10l.c: Likewise.
60183 * math/w_fmod.c: Likewise.
60184 * math/w_fmodf.c: Likewise.
60185 * math/w_fmodl.c: Likewise.
60186 * math/w_j0.c: Likewise.
60187 * math/w_j0f.c: Likewise.
60188 * math/w_j0l.c: Likewise.
60189 * math/w_j1.c: Likewise.
60190 * math/w_j1f.c: Likewise.
60191 * math/w_j1l.c: Likewise.
60192 * math/w_jn.c: Likewise.
60193 * math/w_jnf.c: Likewise.
60194 * math/w_log.c: Likewise.
60195 * math/w_logf.c: Likewise.
60196 * math/w_logl.c: Likewise.
60197 * math/w_log10.c: Likewise.
60198 * math/w_log10f.c: Likewise.
60199 * math/w_log10l.c: Likewise.
60200 * math/w_log2.c: Likewise.
60201 * math/w_log2f.c: Likewise.
60202 * math/w_log2l.c: Likewise.
60203 * math/w_pow.c: Likewise.
60204 * math/w_powf.c: Likewise.
60205 * math/w_powl.c: Likewise.
60206 * math/w_remainder.c: Likewise.
60207 * math/w_remainderf.c: Likewise.
60208 * math/w_remainderl.c: Likewise.
60209 * math/w_scalb.c: Likewise.
60210 * math/w_scalbf.c: Likewise.
60211 * math/w_scalbl.c: Likewise.
60212 * math/w_sqrt.c: Likewise.
60213 * math/w_sqrtf.c: Likewise.
60214 * math/w_sqrtl.c: Likewise.
60215 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
60216 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
60217 used.
60218 * math/math_private.h: Declare __kernel_standard_f.
60219 * math/w_cosh.c: Remove cruft and optimize a bit.
60220 * math/w_coshf.c: Likewise.
60221 * math/w_coshl.c: Likewise.
60222 * math/w_exp2.c: Likewise.
60223 * math/w_exp2f.c: Likewise.
60224 * math/w_exp2l.c: Likewise.
60225 * math/w_hypot.c: Likewise.
60226 * math/w_hypotf.c: Likewise.
60227 * math/w_hypotl.c: Likewise.
60228 * math/w_lgamma.c: Likewise.
60229 * math/w_lgamma_r.c: Likewise.
60230 * math/w_lgammaf.c: Likewise.
60231 * math/w_lgammaf_r.c: Likewise.
60232 * math/w_lgammal.c: Likewise.
60233 * math/w_lgammal_r.c: Likewise.
60234 * math/w_sinh.c: Likewise.
60235 * math/w_sinhf.c: Likewise.
60236 * math/w_sinhl.c: Likewise.
60237 * math/w_tgamma.c: Likewise.
60238 * math/w_tgammaf.c: Likewise.
60239 * math/w_tgammal.c: Likewise.
60240 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60241 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60242 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
60243 Minor optimizations. Pretty printing. Remove cruft.
60244 * sysdeps/i386/fpu/e_acosf.S: Likewise.
60245 * sysdeps/i386/fpu/e_acosh.S: Likewise.
60246 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60247 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60248 * sysdeps/i386/fpu/e_acosl.c: Likewise.
60249 * sysdeps/i386/fpu/e_asin.S: Likewise.
60250 * sysdeps/i386/fpu/e_asinf.S: Likewise.
60251 * sysdeps/i386/fpu/e_atan2.S: Likewise.
60252 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
60253 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
60254 * sysdeps/i386/fpu/e_atanh.S: Likewise.
60255 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60256 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60257 * sysdeps/i386/fpu/e_exp10.S: Likewise.
60258 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
60259 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
60260 * sysdeps/i386/fpu/e_exp2.S: Likewise.
60261 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
60262 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
60263 * sysdeps/i386/fpu/e_fmod.S: Likewise.
60264 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
60265 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
60266 * sysdeps/i386/fpu/e_hypot.S: Likewise.
60267 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
60268 * sysdeps/i386/fpu/e_log.S: Likewise.
60269 * sysdeps/i386/fpu/e_log10.S: Likewise.
60270 * sysdeps/i386/fpu/e_log10f.S: Likewise.
60271 * sysdeps/i386/fpu/e_log10l.S: Likewise.
60272 * sysdeps/i386/fpu/e_log2.S: Likewise.
60273 * sysdeps/i386/fpu/e_log2f.S: Likewise.
60274 * sysdeps/i386/fpu/e_log2l.S: Likewise.
60275 * sysdeps/i386/fpu/e_logf.S: Likewise.
60276 * sysdeps/i386/fpu/e_logl.S: Likewise.
60277 * sysdeps/i386/fpu/e_pow.S: Likewise.
60278 * sysdeps/i386/fpu/e_powf.S: Likewise.
60279 * sysdeps/i386/fpu/e_powl.S: Likewise.
60280 * sysdeps/i386/fpu/e_remainder.S: Likewise.
60281 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
60282 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
60283 * sysdeps/i386/fpu/e_scalb.S: Likewise.
60284 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60285 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60286 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
60287 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
60288 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
60289 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60290 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60291 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60292 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60293 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60294 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60295 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
60296 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60297 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60298 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60299 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60300 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60301 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60302 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60303 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60304 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60305 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60306 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60307 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60308 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60309 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60310 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60311 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60312 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60313 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60314 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60315 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60316 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60317 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
60318 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60319 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60320 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60321 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60322 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60323 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60324 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60325 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60326 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60327 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60328 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60329 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60330 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60331 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
60332 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
60333 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60334 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
60335 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
60336 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
60337 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
60338 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
60339 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
60340 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
60341 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
60342 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60343 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
60344 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
60345 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
60346 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
60347 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
60348 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
60349 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
60350 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
60351 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
60352 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
60353 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
60354 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
60355 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
60356 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
60357 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
60358 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
60359 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
60360 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
60361 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
60362 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
60363 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
60364 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60365 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
60366 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
60367 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
60368 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
60369 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60370 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
60371 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
60372 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
60373 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60374 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
60375 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60376 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
60377 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60378 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
60379 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
60380 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60381 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60382 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
60383 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60384 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60385 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60386 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
60387 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
60388 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
60389 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
60390 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
60391 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
60392 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
60393 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60394 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60395 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60396 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60397 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
60398 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60399 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
60400 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
60401 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
60402 (__isnanf): Likewise.
60403 (__isinf_ns): Likewise.
60404 (__isinf_nsf): Likewise.
60405 (__finite): Likewise.
60406 (__finitef): Likewise.
60407 (__ieee754_sqrt): Define as macro.
60408 (__ieee754_sqrtf): Define as macro.
60409 (__ieee754_sqrtl): Define as macro.
60410 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
60411 inlined copy.
60412 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
60413 __FINITE_MATH_ONLY__ consistent.
60414 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
60415
60416 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
60417
60418 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
60419 of rawmemchr.
60420
60421 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
60422
60423 2011-10-09 Ulrich Drepper <drepper@gmail.com>
60424
60425 * po/ja.po: Update from translation team.
60426
60427 2011-10-08 Roland McGrath <roland@hack.frob.com>
60428
60429 * locale/programs/locarchive.c (prepare_address_space): New function.
60430 (create_archive, enlarge_archive, open_archive): Use it.
60431
60432 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
60433 inside [SHARED], where it is used.
60434
60435 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
60436
60437 * nss/getent.c (netgroup_keys): Remove unused variable.
60438 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
60439
60440 2011-10-08 Ulrich Drepper <drepper@gmail.com>
60441
60442 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
60443 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
60444 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
60445 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
60446 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
60447 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
60448 * math/Makefile (libm-calls): Add s_isinf_ns.
60449 * math/divtc3.c: Use __isinf_nsl instead of isinf.
60450 * math/multc3.c: Likewise.
60451 * math/s_casin.c: Likewise.
60452 * math/s_casinf.c: Likewise.
60453 * math/s_casinl.c: Likewise.
60454 * math/s_ccos.c: Likewise.
60455 * math/s_ccosf.c: Likewise.
60456 * math/s_ccosl.c: Likewise.
60457 * math/s_ctan.c: Likewise.
60458 * math/s_ctanf.c: Likewise.
60459 * math/s_ctanh.c: Likewise.
60460 * math/s_ctanhf.c: Likewise.
60461 * math/s_ctanhl.c: Likewise.
60462 * math/s_ctanl.c: Likewise.
60463 * math/w_fmod.c: Likewise.
60464 * math/w_fmodf.c: Likewise.
60465 * math/w_fmodl.c: Likewise.
60466 * math/w_remainder.c: Likewise.
60467 * math/w_remainderf.c: Likewise.
60468 * math/w_remainderl.c: Likewise.
60469 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
60470 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
60471 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
60472 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
60473 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
60474 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
60475 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
60476 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
60477
60478 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
60479 of the number.
60480 * stdio-common/printf_fphex.c: Likewise.
60481 * stdio-common/printf_size.c: Likewise.
60482
60483 * math/e_exp10.c: Include math_private.h using <...> not "...".
60484 * math/e_exp10f.c: Likewise.
60485 * math/e_exp10l.c: Likewise.
60486 * math/e_exp2l.c: Likewise.
60487 * math/e_j0l.c: Likewise.
60488 * math/e_j1l.c: Likewise.
60489 * math/e_jnl.c: Likewise.
60490 * math/e_lgammal_r.c: Likewise.
60491 * math/e_rem_pio2l.c: Likewise.
60492 * math/e_scalb.c: Likewise.
60493 * math/e_scalbf.c: Likewise.
60494 * math/e_scalbl.c: Likewise.
60495 * math/k_cosl.c: Likewise.
60496 * math/k_sinl.c: Likewise.
60497 * math/k_tanl.c: Likewise.
60498 * math/s_cacoshf.c: Likewise.
60499 * math/s_catan.c: Likewise.
60500 * math/s_catanf.c: Likewise.
60501 * math/s_catanh.c: Likewise.
60502 * math/s_catanhf.c: Likewise.
60503 * math/s_catanhl.c: Likewise.
60504 * math/s_catanl.c: Likewise.
60505 * math/s_ccosh.c: Likewise.
60506 * math/s_ccoshf.c: Likewise.
60507 * math/s_ccoshl.c: Likewise.
60508 * math/s_cexp.c: Likewise.
60509 * math/s_cexpf.c: Likewise.
60510 * math/s_cexpl.c: Likewise.
60511 * math/s_clog.c: Likewise.
60512 * math/s_clog10.c: Likewise.
60513 * math/s_clog10f.c: Likewise.
60514 * math/s_clog10l.c: Likewise.
60515 * math/s_clogf.c: Likewise.
60516 * math/s_clogl.c: Likewise.
60517 * math/s_csin.c: Likewise.
60518 * math/s_csinf.c: Likewise.
60519 * math/s_csinh.c: Likewise.
60520 * math/s_csinhf.c: Likewise.
60521 * math/s_csinhl.c: Likewise.
60522 * math/s_csinl.c: Likewise.
60523 * math/s_csqrt.c: Likewise.
60524 * math/s_csqrtf.c: Likewise.
60525 * math/s_csqrtl.c: Likewise.
60526 * math/s_ctan.c: Likewise.
60527 * math/s_ctanf.c: Likewise.
60528 * math/s_ctanh.c: Likewise.
60529 * math/s_ctanhf.c: Likewise.
60530 * math/s_ctanhl.c: Likewise.
60531 * math/s_ctanl.c: Likewise.
60532 * math/s_ldexp.c: Likewise.
60533 * math/s_ldexpf.c: Likewise.
60534 * math/s_ldexpl.c: Likewise.
60535 * math/s_significand.c: Likewise.
60536 * math/s_significandf.c: Likewise.
60537 * math/s_significandl.c: Likewise.
60538 * math/w_acos.c: Likewise.
60539 * math/w_acosf.c: Likewise.
60540 * math/w_acosh.c: Likewise.
60541 * math/w_acoshf.c: Likewise.
60542 * math/w_acoshl.c: Likewise.
60543 * math/w_acosl.c: Likewise.
60544 * math/w_asin.c: Likewise.
60545 * math/w_asinf.c: Likewise.
60546 * math/w_asinl.c: Likewise.
60547 * math/w_atan2.c: Likewise.
60548 * math/w_atan2f.c: Likewise.
60549 * math/w_atan2l.c: Likewise.
60550 * math/w_atanh.c: Likewise.
60551 * math/w_atanhf.c: Likewise.
60552 * math/w_atanhl.c: Likewise.
60553 * math/w_cosh.c: Likewise.
60554 * math/w_coshf.c: Likewise.
60555 * math/w_coshl.c: Likewise.
60556 * math/w_dremf.c: Likewise.
60557 * math/w_exp10.c: Likewise.
60558 * math/w_exp10f.c: Likewise.
60559 * math/w_exp10l.c: Likewise.
60560 * math/w_exp2.c: Likewise.
60561 * math/w_exp2f.c: Likewise.
60562 * math/w_fmod.c: Likewise.
60563 * math/w_fmodf.c: Likewise.
60564 * math/w_fmodl.c: Likewise.
60565 * math/w_hypot.c: Likewise.
60566 * math/w_hypotf.c: Likewise.
60567 * math/w_hypotl.c: Likewise.
60568 * math/w_j0.c: Likewise.
60569 * math/w_j0f.c: Likewise.
60570 * math/w_j0l.c: Likewise.
60571 * math/w_j1.c: Likewise.
60572 * math/w_j1f.c: Likewise.
60573 * math/w_j1l.c: Likewise.
60574 * math/w_jn.c: Likewise.
60575 * math/w_jnf.c: Likewise.
60576 * math/w_jnl.c: Likewise.
60577 * math/w_lgamma.c: Likewise.
60578 * math/w_lgamma_r.c: Likewise.
60579 * math/w_lgammaf.c: Likewise.
60580 * math/w_lgammaf_r.c: Likewise.
60581 * math/w_lgammal.c: Likewise.
60582 * math/w_lgammal_r.c: Likewise.
60583 * math/w_log.c: Likewise.
60584 * math/w_log10.c: Likewise.
60585 * math/w_log10f.c: Likewise.
60586 * math/w_log10l.c: Likewise.
60587 * math/w_log2.c: Likewise.
60588 * math/w_log2f.c: Likewise.
60589 * math/w_log2l.c: Likewise.
60590 * math/w_logf.c: Likewise.
60591 * math/w_logl.c: Likewise.
60592 * math/w_pow.c: Likewise.
60593 * math/w_powf.c: Likewise.
60594 * math/w_powl.c: Likewise.
60595 * math/w_remainder.c: Likewise.
60596 * math/w_remainderf.c: Likewise.
60597 * math/w_remainderl.c: Likewise.
60598 * math/w_scalb.c: Likewise.
60599 * math/w_scalbf.c: Likewise.
60600 * math/w_scalbl.c: Likewise.
60601 * math/w_sinh.c: Likewise.
60602 * math/w_sinhf.c: Likewise.
60603 * math/w_sinhl.c: Likewise.
60604 * math/w_sqrt.c: Likewise.
60605 * math/w_sqrtf.c: Likewise.
60606 * math/w_sqrtl.c: Likewise.
60607 * math/w_tgamma.c: Likewise.
60608 * math/w_tgammaf.c: Likewise.
60609 * math/w_tgammal.c: Likewise.
60610
60611 * po/ja.po: Update from translation team.
60612
60613 2011-09-29 Andreas Jaeger <aj@suse.de>
60614
60615 [BZ #13179]
60616 * sunrpc/netname.c (netname2host): Fix logic.
60617
60618 [BZ #6779]
60619 [BZ #6783]
60620 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
60621 correctly.
60622 * math/w_remainder.c (__remainder): Likewise.
60623 * math/w_remainderf.c (__remainderf): Likewise.
60624 * math/libm-test.inc (remainder_test): Add test cases.
60625
60626 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60627
60628 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
60629 sdiv_qrnnd.
60630
60631 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60632
60633 * string/test-memcmp.c: Avoid unncessary #defines.
60634 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60635
60636 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60637
60638 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
60639 Use new sse2 version for core i3 - i7 as it's faster
60640 than sse42 version.
60641 (bit_Prefer_PMINUB_for_stringop): New.
60642 * sysdeps/x86_64/rawmemchr.S: Update.
60643 Replace with faster SSE2 version.
60644 * sysdeps/x86_64/memrchr.S: New file.
60645 * sysdeps/x86_64/memchr.S: Update.
60646 Replace with faster SSE2 version.
60647
60648 2011-09-12 Marek Polacek <mpolacek@redhat.com>
60649
60650 * elf/dl-load.c (lose): Add cast to avoid warning.
60651
60652 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60653
60654 * po/ca.po: Update from translation team.
60655
60656 * inet/getnetgrent_r.c: Hook up nscd.
60657 * nscd/Makefile (routines): Add nscd_netgroup.
60658 (nscd-modules): Add netgroupcache.
60659 (CFLAGS-netgroupcache.c): Define.
60660 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
60661 (cache_search): Add const to second parameter.
60662 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
60663 INNETGR.
60664 (dbs): Add netgrdb entry.
60665 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
60666 (verify_persistent_db): Handle netgrdb.
60667 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
60668 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
60669 GETFDNETGR.
60670 (netgroup_response_header): Define.
60671 (innetgroup_response_header): Define.
60672 (datahead): Add netgroup_response_header and innetgroup_response_header
60673 elements.
60674 * nscd/nscd.conf: Add entries for netgroup cache.
60675 * nscd/nscd.h (dbtype): Add netgrdb.
60676 (_PATH_NSCD_NETGROUP_DB): Define.
60677 (netgroup_iov_disabled): Declare.
60678 (xmalloc, xcalloc, xrealloc): Move declarations here.
60679 (cache_search): Adjust prototype.
60680 Add netgroup-related prototypes.
60681 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
60682 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
60683 (__nscd_innetgr): Declare.
60684 * nscd/selinux.c (perms): Use access_vector_t as element type and
60685 add netgroup-related initializers.
60686 * nscd/netgroupcache.c: New file.
60687 * nscd/nscd_netgroup.c: New file.
60688 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
60689 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
60690 For four parameters use innetgr.
60691 * nss/nss_files/files-init.c: Add definition and callback for netgr.
60692 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
60693 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
60694 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
60695
60696 * nscd/connections.c (register_traced_file): Don't register file
60697 for disabled databases.
60698
60699 2011-10-06 Ulrich Drepper <drepper@gmail.com>
60700
60701 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
60702
60703 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
60704 from tree and freeing node.
60705
60706 2011-09-25 Jiri Olsa <jolsa@redhat.com>
60707
60708 * nss/nsswitch.c (__nss_database_lookup): Handle
60709 nss_parse_service_list out of memory case.
60710
60711 2011-09-15 Jiri Olsa <jolsa@redhat.com>
60712
60713 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
60714 out of memory case.
60715
60716 2011-10-04 Andreas Schwab <schwab@redhat.com>
60717
60718 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
60719 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
60720 pass it down.
60721 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
60722 elf_machine_rela, elf_machine_lazy_rel.
60723 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
60724 (ELF_DYNAMIC_DO_REL): Likewise.
60725 (ELF_DYNAMIC_DO_RELA): Likewise.
60726 (ELF_DYNAMIC_RELOCATE): Likewise.
60727 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
60728 to ELF_DYNAMIC_DO_REL.
60729 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
60730 (dl_main): In trace mode always set __RTLD_NOIFUNC.
60731 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
60732 elf_machine_rela.
60733 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
60734 skip_ifunc, don't call ifunc function if non-zero.
60735 (elf_machine_rela): Likewise.
60736 (elf_machine_lazy_rel): Likewise.
60737 (elf_machine_lazy_rela): Likewise.
60738 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
60739 (elf_machine_lazy_rel): Likewise.
60740 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
60741 Likewise.
60742 (elf_machine_lazy_rel): Likewise.
60743 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60744 Likewise.
60745 (elf_machine_lazy_rel): Likewise.
60746 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
60747 (elf_machine_lazy_rel): Likewise.
60748 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
60749 (elf_machine_lazy_rel): Likewise.
60750 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
60751 (elf_machine_lazy_rel): Likewise.
60752 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
60753 (elf_machine_lazy_rel): Likewise.
60754 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
60755 (elf_machine_lazy_rel): Likewise.
60756 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
60757 (elf_machine_lazy_rel): Likewise.
60758
60759 2011-09-28 Ulrich Drepper <drepper@gmail.com>
60760
60761 * nss/nss_files/files-init.c (_nss_files_init): Use static
60762 initialization for all the *_traced_file variables.
60763
60764 2011-09-28 Andreas Schwab <schwab@redhat.com>
60765
60766 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60767
60768 2011-09-27 Roland McGrath <roland@hack.frob.com>
60769
60770 [BZ #13226]
60771 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
60772
60773 2011-09-27 Andreas Schwab <schwab@redhat.com>
60774
60775 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60776 Reread the line before reparsing it.
60777
60778 2011-09-26 Andreas Schwab <schwab@redhat.com>
60779
60780 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
60781
60782 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
60783 Maxim Kuvyrkov <maxim@codesourcery.com>
60784 Joseph Myers <joseph@codesourcery.com>
60785
60786 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
60787 if needed for __stack_chk_guard.
60788
60789 2011-09-19 Roland McGrath <roland@hack.frob.com>
60790
60791 * sysdeps/posix/spawni.c (script_execute): Always define it.
60792 It will be optimized away if unused.
60793 (maybe_script_execute): New function.
60794 (__spawni): Call it.
60795
60796 * Makerules: Don't include tls.make.
60797 (config-tls): Always set to thread.
60798 * tls.make.c: File removed.
60799
60800 2011-09-19 Mike Frysinger <vapier@gentoo.org>
60801
60802 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
60803 * config.make.in (CPPFLAGS-config): New substituted variable.
60804
60805 2011-09-15 Ulrich Drepper <drepper@gmail.com>
60806
60807 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
60808
60809 [BZ #13192]
60810 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
60811 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
60812
60813 2011-09-15 Roland McGrath <roland@hack.frob.com>
60814
60815 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
60816 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
60817 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60818 (CALL_FAIL): Likewise.
60819 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
60820 (CALL_FAIL): Macro removed.
60821 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
60822
60823 2011-09-15 Ulrich Drepper <drepper@gmail.com>
60824
60825 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
60826 for __FINITE_MATH_ONLY__ == 1.
60827
60828 2011-09-15 Andreas Schwab <schwab@redhat.com>
60829
60830 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
60831 __ieee754_sqrt instead of sqrt.
60832 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
60833 __ieee754_sqrtf instead of sqrtf.
60834 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
60835 __floorf instead of floorf.
60836 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
60837 __floorf, __truncf instead of floorf, truncf.
60838
60839 2011-09-14 Ulrich Drepper <drepper@gmail.com>
60840
60841 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
60842
60843 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
60844 __extern_always_inline.
60845 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
60846 32-bit.
60847
60848 2011-09-14 Andreas Schwab <schwab@redhat.com>
60849
60850 * elf/rtld.c (dl_main): Also relocate in dependency order when
60851 doing symbol dependency testing.
60852
60853 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
60854
60855 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60856 Always define `refsym'.
60857
60858 2011-09-13 Andreas Schwab <schwab@redhat.com>
60859
60860 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
60861 (__FD_ELT): Renamed from __FDELT.
60862 * misc/bits/select2.h (__FD_ELT): Likewise.
60863 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
60864 __FD_MASK instead of __FDELT, __FDMASK.
60865 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60866 Likewise.
60867 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60868 Likewise.
60869
60870 * elf/Makefile (gen-ldd): Fix pattern.
60871
60872 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
60873 (init_tls): Likewise.
60874
60875 2011-09-12 Ulrich Drepper <drepper@gmail.com>
60876
60877 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
60878
60879 2011-09-12 Andreas Schwab <schwab@redhat.com>
60880
60881 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
60882 `struct cmsghdr *' instead of `void *'.
60883 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
60884 Likewise.
60885
60886 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
60887
60888 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
60889 if non-absolute.
60890 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
60891 ldd_rewrite_script.
60892
60893 2011-09-11 Ulrich Drepper <drepper@gmail.com>
60894
60895 * configure.in: Remove --with-tls option.
60896 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
60897 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
60898 out in case it is missing.
60899 * sysdeps/ia64/elf/configure.in: Likewise.
60900 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
60901 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
60902 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
60903 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
60904 * sysdeps/sh/elf/configure.in: Likewise.
60905 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
60906 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
60907 * sysdeps/x86_64/elf/configure.in: Likewise.
60908 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
60909 * sysdeps/mach/hurd/tls.h: Likewise.
60910
60911 [BZ #13067]
60912 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
60913
60914 [BZ #13090]
60915 * configure.in: Fix use of AC_INIT.
60916
60917 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
60918
60919 2011-09-10 Ulrich Drepper <drepper@gmail.com>
60920
60921 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
60922 __set_errno.
60923 * malloc/hooks.c: Likewise.
60924
60925 [BZ #11929]
60926 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
60927 variables statically.
60928 (narenas): Initialize.
60929 (list_lock): Initialize.
60930 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
60931 initializtion of main_arena and list_lock. Small cleanups.
60932 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
60933 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
60934 Add initializers to main_arena and mp_.
60935 (malloc_state): Remove pagesize member. Change all users to use
60936 GLRO(dl_pagesize).
60937
60938 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
60939 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
60940 is always initialized.
60941
60942 * malloc/malloc.c: Removed unused configurations and dead code.
60943 * malloc/arena.c: Likewise.
60944 * malloc/hooks.c: Likewise.
60945 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
60946
60947 * include/tls.h: Removed. USE___THREAD must always be defined.
60948 * bits/libc-tsd.h: Don't handle !USE___THREAD.
60949 * elf/dl-libc.c: Likewise.
60950 * elf/dl-tsd.c: Likewise.
60951 * include/errno.h: Likewise.
60952 * include/netdb.h: Likewise.
60953 * include/resolv.h: Likewise.
60954 * inet/herrno-loc.c: Likewise.
60955 * inet/herrno.c: Likewise.
60956 * malloc/arena.c: Likewise.
60957 * malloc/hooks.c: Likewise.
60958 * malloc/malloc.c: Likewise.
60959 * resolv/res-state.c: Likewise.
60960 * resolv/res_libc.c: Likewise.
60961 * sysdeps/i386/dl-machine.h: Likewise.
60962 * sysdeps/ia64/dl-machine.h: Likewise.
60963 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
60964 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
60965 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
60966 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
60967 * sysdeps/sh/dl-machine.h: Likewise.
60968 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
60969 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
60970 * sysdeps/unix/i386/sysdep.S: Likewise.
60971 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
60972 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
60973 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
60974 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
60975 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
60976 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
60977 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
60978 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
60979 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60980 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
60981 * sysdeps/unix/x86_64/sysdep.S: Likewise.
60982 * sysdeps/x86_64/dl-machine.h: Likewise.
60983 * tls.make.c: Likewise.
60984
60985 * configure.in: Remove --with-__thread option. Make tests for
60986 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
60987 tls_model attribute fail if no support is available. Remove
60988 USE_IN_LIBIO.
60989 * Makeconfig: Adjust for dropped configure option. All features are
60990 now mandatory.
60991 * Makerules: Likewise.
60992 * Versions.def: Likewise.
60993 * argp/argp-fmtstream.c: Likewise.
60994 * argp/argp-fmtstream.h: Likewise.
60995 * argp/argp-help.c: Likewise.
60996 * assert/assert.c: Likewise.
60997 * config.h.in: Likewise.
60998 * config.make.in: Likewise.
60999 * configure: Likewise.
61000 * configure.in: Likewise.
61001 * csu/Versions: Likewise.
61002 * csu/init.c: Likewise.
61003 * elf/tst-audit2.c: Likewise.
61004 * elf/tst-tls10.c: Likewise.
61005 * elf/tst-tls10.h: Likewise.
61006 * elf/tst-tls11.c: Likewise.
61007 * elf/tst-tls12.c: Likewise.
61008 * elf/tst-tls14.c: Likewise.
61009 * elf/tst-tlsmod11.c: Likewise.
61010 * elf/tst-tlsmod12.c: Likewise.
61011 * elf/tst-tlsmod13.c: Likewise.
61012 * elf/tst-tlsmod13a.c: Likewise.
61013 * elf/tst-tlsmod14a.c: Likewise.
61014 * elf/tst-tlsmod15b.c: Likewise.
61015 * elf/tst-tlsmod16a.c: Likewise.
61016 * elf/tst-tlsmod16b.c: Likewise.
61017 * elf/tst-tlsmod7.c: Likewise.
61018 * elf/tst-tlsmod8.c: Likewise.
61019 * elf/tst-tlsmod9.c: Likewise.
61020 * gmon/gmon.c: Likewise.
61021 * grp/fgetgrent_r.c: Likewise.
61022 * grp/putgrent.c: Likewise.
61023 * hurd/fopenport.c: Likewise.
61024 * include/libc-symbols.h: Likewise.
61025 * include/tls.h: Likewise.
61026 * intl/gettextP.h: Likewise.
61027 * intl/loadinfo.h: Likewise.
61028 * locale/global-locale.c: Likewise.
61029 * locale/localeinfo.h: Likewise.
61030 * mach/devstream.c: Likewise.
61031 * malloc/arena.c: Likewise.
61032 * malloc/set-freeres.c: Likewise.
61033 * misc/err.c: Likewise.
61034 * misc/getttyent.c: Likewise.
61035 * misc/mntent_r.c: Likewise.
61036 * posix/getopt.c: Likewise.
61037 * posix/wordexp.c: Likewise.
61038 * pwd/fgetpwent_r.c: Likewise.
61039 * resolv/Versions: Likewise.
61040 * resolv/res_hconf.c: Likewise.
61041 * shadow/fgetspent_r.c: Likewise.
61042 * shadow/putspent.c: Likewise.
61043 * stdio-common/printf_fphex.c: Likewise.
61044 * stdio-common/tmpfile.c: Likewise.
61045 * stdlib/abort.c: Likewise.
61046 * stdlib/fmtmsg.c: Likewise.
61047 * sunrpc/auth_unix.c: Likewise.
61048 * sunrpc/clnt_perr.c: Likewise.
61049 * sunrpc/clnt_tcp.c: Likewise.
61050 * sunrpc/clnt_udp.c: Likewise.
61051 * sunrpc/clnt_unix.c: Likewise.
61052 * sunrpc/openchild.c: Likewise.
61053 * sunrpc/svc_simple.c: Likewise.
61054 * sunrpc/svc_tcp.c: Likewise.
61055 * sunrpc/svc_udp.c: Likewise.
61056 * sunrpc/svc_unix.c: Likewise.
61057 * sunrpc/xdr.c: Likewise.
61058 * sunrpc/xdr_array.c: Likewise.
61059 * sunrpc/xdr_rec.c: Likewise.
61060 * sunrpc/xdr_ref.c: Likewise.
61061 * sunrpc/xdr_stdio.c: Likewise.
61062
61063 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61064
61065 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61066
61067 2011-07-03 Andreas Jaeger <aj@suse.de>
61068
61069 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
61070 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
61071 regenerate with gen-libm-tests.pl.
61072
61073 2010-05-12 Petr Baudis <pasky@suse.cz>
61074
61075 [BZ #11589]
61076 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
61077 around j0() zero points by switching to j1().
61078 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61079 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61080 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61081 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61082
61083 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61084
61085 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
61086 instead of 0.
61087 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
61088 instead of 0.
61089 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61090 Patch in part by Pavel Roskin <proski@gnu.org>.
61091
61092 [BZ #13138]
61093 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
61094 realloc.
61095 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
61096 Free memory block if necessary.
61097
61098 [BZ #12847]
61099 * libio/genops.c (INTDEF): For string streams the _lock pointer can
61100 be NULL. Don't lock in this case.
61101
61102 2011-09-09 Roland McGrath <roland@hack.frob.com>
61103
61104 * elf/elf.h (ELFOSABI_GNU): New macro.
61105 (ELFOSABI_LINUX): Define to that.
61106
61107 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
61108
61109 * string/strncat.c (strncat): Undef the symbol in case it has been
61110 defined in bits/string.h.
61111
61112 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61113
61114 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
61115
61116 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
61117 link map.
61118
61119 2011-08-17 Andreas Jaeger <aj@suse.de>
61120
61121 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
61122
61123 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
61124 Ian Lance Taylor <iant@google.com>
61125
61126 * math/libm-test.inc (lround_test): New testcase.
61127 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
61128
61129 2011-09-08 Ulrich Drepper <drepper@gmail.com>
61130
61131 * Makefile: Remove support for automatic cvs check-ins.
61132 * Makerules: Likewise.
61133 * config.make.in: Likewise.
61134 * configure.in: Likewise.
61135 * intl/Makefile: Likewise.
61136 * locale/Makefile: Likewise.
61137 * po/Makefile: Likewise.
61138 * posix/Makefile: Likewise.
61139 * sysdeps/gnu/Makefile: Likewise.
61140 * sysdeps/mach/hurd/Makefile: Likewise.
61141 * sysdeps/sparc/sparc32/Makefile: Likewise.
61142
61143 [BZ #13118]
61144 * posix/Makefile (bug-regex32-ENV): Define.
61145 Patch by John Stanley <jpsinthemix@verizon.net>.
61146
61147 * misc/Makefile (headers): Add bits/select2.h.
61148 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
61149 * misc/bits/select2.h: New file.
61150 * include/bits/select2.h: New file.
61151 * debug/Makefile (routines): Add fdelt_chk.
61152 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
61153 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
61154 FD_ISSET.
61155 * debug/fdelt_chk.c: New file.
61156
61157 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
61158 * wcsmbs/test-wmemcmp.c: Likewise.
61159 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
61160 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
61161
61162 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61163
61164 * string/Makefile (strop-tests): Add memcmp.
61165 * string/test-wmemcmp.c: New file.
61166 * string/test-memcmp.c: Add wmemcmp support.
61167
61168 2011-09-08 Roland McGrath <roland@hack.frob.com>
61169
61170 [BZ #13153]
61171 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
61172 2011-07-19 change.
61173
61174 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
61175 garbage value in a __mach_port_mod_refs call in the cases of the
61176 task-self and thread-self ports.
61177
61178 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
61179
61180 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
61181
61182 2011-09-08 Andreas Schwab <schwab@redhat.com>
61183
61184 * elf/dl-load.c (lose): Check for non-null L.
61185
61186 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61187
61188 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
61189
61190 * elf/dl-libc.c (dlerror_run): Pass back error code from
61191 dl_catch_error.
61192
61193 [BZ #13123]
61194 * elf/dl-load.c (lose): Free l_origin if it is valid.
61195
61196 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
61197 names.
61198 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
61199 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61200 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61201 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61202 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
61203 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
61204
61205 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61206
61207 * sysdeps/powerpc/fpu/e_hypot.c: New file.
61208 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
61209 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
61210 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
61211 * sysdeps/powerpc/fpu/k_cosf.c: New file.
61212 * sysdeps/powerpc/fpu/k_sinf.c: New file.
61213 * sysdeps/powerpc/fpu/s_cosf.c: New file.
61214 * sysdeps/powerpc/fpu/s_sinf.c: New file.
61215 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
61216 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
61217
61218 2011-08-15 Alan Modra <amodra@gmail.com>
61219
61220 [BZ #13092]
61221 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
61222 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
61223 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
61224 ppc_mcount to static-only-routines.
61225 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
61226 __mcount_internal.
61227 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
61228 __mcount_internal with usual JUMPTARGET. Remove useless nop.
61229
61230 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
61231
61232 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
61233 for finite and infinity parameters.
61234
61235 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
61236
61237 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
61238 and add nop instructions for throughput optimization.
61239 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61240
61241 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
61242
61243 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
61244 aligned copy for power7 with vector-scalar instructions.
61245 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
61246
61247 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
61248
61249 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
61250 AVX check.
61251
61252 2011-09-07 Andreas Schwab <schwab@redhat.com>
61253
61254 [BZ #13144]
61255 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
61256 last change.
61257
61258 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61259
61260 * sysdeps/unix/sysv/linux/x86_64/init-first.c
61261 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
61262 syscall wrapper around clock_gettime in __vdso_clock_gettime.
61263 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
61264 clock_gettime.
61265
61266 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61267
61268 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
61269 Forgot to demangle the pointer.
61270
61271 * sysdeps/i386/sysdep.h: Define atom_text_section.
61272 * sysdeps/x86_64/sysdep.h: Likewise.
61273 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
61274 section with atom_text_section.
61275 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61276 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61277 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
61278 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61279 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
61280
61281 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
61282 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
61283 already be defined. Change to take two parameters and don't assign
61284 result to variable. Adjust all users.
61285 Define INTERNAL_GETTIME if not already defined.
61286 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
61287 call.
61288 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
61289 HAVE_CLOCK_GETTIME_VSYSCALL.
61290 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
61291
61292 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
61293 gettimeofday vsyscall, just use time.
61294
61295 2011-09-06 Andreas Schwab <schwab@redhat.com>
61296
61297 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
61298 <errno.h>.
61299
61300 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61301
61302 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
61303 syscall on x86-64.
61304 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
61305 syscall.
61306 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
61307 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
61308 syscall if possible.
61309
61310 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61311
61312 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
61313 e_ident. Don't pass to find_mapsXX.
61314 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
61315
61316 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61317
61318 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61319 strchr-sse2-no-bsf strrchr-sse2-no-bsf
61320 * sysdeps/x86_64/multiarch/strchr.S: Update.
61321 Check bit_slow_BSF bit.
61322 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61323 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
61324 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
61325
61326 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61327
61328 [BZ #13134]
61329 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
61330 before glibc 2.15.
61331 (tryshell): Define.
61332 (__spawni): Change last parameter to be flag. Test
61333 SPAWN_XFLAGS_USE_PATH flag to use path or not.
61334 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
61335 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
61336 * posix/spawni.c: Likewise.
61337 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
61338 * posix/spawnp.c: Likewise. Change normal version to use
61339 SPAWN_XFLAGS_USE_PATH.
61340 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
61341 SPAWN_XFLAGS_TRY_SHELL.
61342
61343 [BZ #13150]
61344 * posix/glob.h: Remove gcc 1.x support.
61345
61346 [BZ #13068]
61347 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
61348
61349 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61350
61351 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61352 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
61353 strrchr-sse2-bsf
61354 * sysdeps/i386/i686/multiarch/strchr.S: New file.
61355 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
61356 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
61357 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
61358 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
61359 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
61360
61361 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61362
61363 * sysdeps/x86_64/wcscmp.S: New file.
61364
61365 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
61366 wcscmp-c wcscmp-sse2
61367 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
61368 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
61369 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
61370 * wcsmbs/wcscmp.c: Allow renaming.
61371
61372 2011-09-05 David S. Miller <davem@davemloft.net>
61373
61374 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
61375 stack slot, rather than the struct return pointer slot.
61376 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
61377 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
61378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
61379 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
61380
61381 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61382
61383 * po/ja.po: Update from translation team.
61384
61385 [BZ #13144]
61386 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
61387 kernel in 64-bit binaries.
61388
61389 2011-09-01 David S. Miller <davem@davemloft.net>
61390
61391 * elf/elf.h (HWCAP_SPARC_*): Move to..
61392 * sysdeps/sparc/sysdep.h: this new file and add new values.
61393 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
61394 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
61395 _DL_HWCAP_COUNT to 24.
61396 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61397 entries.
61398 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
61399 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
61400 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
61401 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
61402 instead of magic constants.
61403 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61404
61405 2011-08-31 David S. Miller <davem@davemloft.net>
61406
61407 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
61408 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
61409 Reimplement to do errno handling inline.
61410 (SYSCALL_ERROR_HANDLER): New macro.
61411 (__SYSCALL_STRING): Do not do errno handling in asm.
61412 (__CLONE_SYSCALL_STRING): Delete.
61413 (__INTERNAL_SYSCALL_STRING): Delete.
61414 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
61415 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
61416 (PSEUDO): Reimplement to do errno handling inline.
61417 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
61418 (SYSCALL_ERROR_HANDLER): New macro.
61419 (__SYSCALL_STRING): Do not do errno handling in asm.
61420 (__CLONE_SYSCALL_STRING): Delete.
61421 (__INTERNAL_SYSCALL_STRING): Delete.
61422 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
61423 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
61424 i386.
61425 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
61426 (inline_syscall*): Add 'err' argument.
61427 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
61428 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
61429 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
61430 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
61431
61432 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
61433 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
61434
61435 2011-08-30 Andreas Schwab <schwab@redhat.com>
61436
61437 * elf/rtld.c (dl_main): Relocate objects in dependency order.
61438
61439 2011-08-29 Jiri Olsa <jolsa@redhat.com>
61440
61441 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
61442 directive.
61443
61444 2011-08-24 David S. Miller <davem@davemloft.net>
61445
61446 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
61447
61448 2011-08-24 Andreas Schwab <schwab@redhat.com>
61449
61450 * elf/Makefile: Add rules to build and run unload8 test.
61451 * elf/unload8.c: New file.
61452 * elf/unload8mod1.c: New file.
61453 * elf/unload8mod1x.c: New file.
61454 * elf/unload8mod2.c: New file.
61455 * elf/unload8mod3.c: New file.
61456
61457 * elf/dl-close.c (_dl_close_worker): Reset private search list if
61458 it wasn't used.
61459
61460 2011-08-23 David S. Miller <davem@davemloft.net>
61461
61462 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
61463 subtract stack bias.
61464 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
61465 %sp not %fp in calculations.
61466 (_JMPBUF_UNWINDS_ADJ): Likewise.
61467
61468 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
61469 (aio_suspend): Call it to force an exception region around the
61470 AIO_MISC_WAIT() invocation.
61471
61472 2011-08-23 Andreas Schwab <schwab@redhat.com>
61473
61474 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
61475 backslash.
61476
61477 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
61478
61479 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
61480 protection macro.
61481 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
61482 and <dl-machine.h>.
61483 (Elf64_FuncDesc): Remove.
61484
61485 2011-08-22 David S. Miller <davem@davemloft.net>
61486
61487 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
61488 sigaltstack check, add missing cfi directives.
61489 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
61490 missing cfi directives, and sigaltstack handling.
61491
61492 2011-08-16 Andreas Schwab <schwab@redhat.com>
61493
61494 [BZ #11724]
61495 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
61496 object is seen twice.
61497 * elf/dl-fini.c (_dl_sort_fini): Likewise.
61498
61499 * elf/Makefile (distribute): Add tst-initorder2.c.
61500 (tests): Add tst-initorder2.
61501 (modules-names): Add tst-initorder2a tst-initorder2b
61502 tst-initorder2c tst-initorder2d. Add rules to build them.
61503 ($(objpfx)tst-initorder2.out): New rule.
61504 * elf/tst-initorder2.c: New file.
61505 * elf/tst-initorder2.exp: New file.
61506
61507 2011-08-22 Andreas Schwab <schwab@redhat.com>
61508
61509 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
61510
61511 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
61512 dependencies back to end of function.
61513
61514 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61515 $(elfobjdir)/ld.so.
61516
61517 2011-08-21 Ulrich Drepper <drepper@gmail.com>
61518
61519 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
61520 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
61521 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
61522 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
61523 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
61524 of __vdso_gettimeofday.
61525 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
61526 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
61527 attribute_hidden.
61528 (_libc_vdso_platform_setup): Remove initialization of
61529 __vdso_gettimeofday and __vdso_time.
61530
61531 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61532
61533 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
61534 and fgetc_unlocked.
61535 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
61536 getc_unlocked.
61537
61538 * elf/dl-open.c (add_to_global): Report additions to the global scope
61539 for LD_DEBUG=scopes.
61540 (dl_open_worker): Also print scope of newly loaded dependencies.
61541 (_dl_show_scope): Indicate if there is no scope.
61542
61543 [BZ #13114]
61544 * stdio-common/Makefile (tests): Add bug24.
61545 * stdio-common/bug24.c: New file.
61546
61547 2011-08-19 Andreas Jaeger <aj@suse.de>
61548
61549 [BZ #13114]
61550 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
61551 non-existant file when using close-on-exec mode.
61552
61553 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61554
61555 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
61556 the very first instruction.
61557
61558 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
61559 the CFI state in the end.
61560 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
61561 inclusion of dl-trampoline.h.
61562 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
61563
61564 2011-08-19 Andreas Schwab <schwab@redhat.com>
61565
61566 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
61567 expectations for long double.
61568
61569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
61570 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
61571
61572 2011-08-14 David S. Miller <davem@davemloft.net>
61573
61574 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
61575 artificual limit depends upon the system page size.
61576
61577 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61578
61579 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
61580 * resolv/Makefile: Define CFLAGS-libresolv.
61581
61582 2011-08-17 Andreas Schwab <schwab@redhat.com>
61583
61584 * nss/makedb.c (compute_tables): Make variables used in nested
61585 function static.
61586
61587 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61588
61589 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
61590 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
61591 if buffer was too small.
61592
61593 * elf/pldd.c (main): Attach to all threads in the process.
61594 Rewrite /proc handling to use *at functions.
61595
61596 2011-08-16 Ulrich Drepper <drepper@gmail.com>
61597
61598 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
61599 specifies first scope to show.
61600 (dl_open_worker): Update callers. Move printing scope of new
61601 object to before the relocation.
61602 * elf/rtld.c (dl_main): Update _dl_show_scope call.
61603 * sysdeps/generic/ldsodefs.h: Update declaration.
61604
61605 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
61606 string for the scope number.
61607
61608 2011-08-14 Ulrich Drepper <drepper@gmail.com>
61609
61610 * nscd/servicescache.c (cache_addserv): Make sure written is always
61611 initialized.
61612
61613 2011-08-14 Roland McGrath <roland@hack.frob.com>
61614
61615 * sysdeps/i386/i486/bits/atomic.h
61616 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
61617 statement expression, so as to suppress "set but not used" warning.
61618 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
61619
61620 * string/strncat.c (STRNCAT): Use prototype definition.
61621
61622 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
61623 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
61624 -Iprograms here.
61625 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
61626 (localedef-modules): Add localedef.
61627 (locale-modules): Add locale.
61628
61629 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
61630 * elf/rtld.c (dl_main): Invert order of assignment in last change,
61631 to avoid a warning.
61632
61633 2011-08-14 David S. Miller <davem@davemloft.net>
61634
61635 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
61636 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
61637
61638 2011-08-13 Ulrich Drepper <drepper@gmail.com>
61639
61640 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
61641 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
61642 * elf/rtld.c (dl_main): Set l_name of vDSO.
61643 Call _dl_show_scope when DL_DEBUG_SCOPES.
61644 (process_dl_debug): Recognize scopes flag and also set it for all.
61645 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
61646 Declare _dl_show_scope.
61647
61648 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
61649 (do_dlopen): Pass caller_dlopen to dl_open.
61650 (__libc_dlopen_mode): Initialize caller_dlopen.
61651
61652 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
61653 of libc. Make tolower call locale-independent. Optimize a bit by
61654 using isdigit instead of isalnum.
61655 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
61656
61657 2011-08-12 Ulrich Drepper <drepper@gmail.com>
61658
61659 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
61660 was a dependency or dynamically loaded.
61661
61662 2011-08-11 Ulrich Drepper <drepper@gmail.com>
61663
61664 * intl/l10nflist.c: Allow architecture-specific pop function.
61665 * sysdeps/x86_64/l10nflist.c: New file.
61666
61667 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
61668 classification.
61669
61670 2011-08-10 Andreas Schwab <schwab@redhat.com>
61671
61672 * include/dirent.h: Add libc_hidden_proto for scandirat and
61673 scandirat64. Don't declare __scandirat64.
61674 * dirent/scandirat.c: Add libc_hidden_def.
61675 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
61676 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
61677
61678 2011-08-10 David S. Miller <davem@davemloft.net>
61679
61680 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
61681 enum.
61682 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61683 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61684 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61685
61686 2011-08-09 Ulrich Drepper <drepper@gmail.com>
61687
61688 * Versions.def [libc]: Add GLIBC_2.15.
61689 * dirent/Makefile (routines): Add scandirat and scandirat64.
61690 * dirent/Versions [libc]: Export scandirat and scandirat64 for
61691 GLIBC_2.15.
61692 * dirent/dirent.h: Declare scandirat and scandirat64.
61693 * dirent/scandirat.c: New file.
61694 * dirent/scandirat64.c: New file.
61695 * sysdeps/wordsize-64/scandirat.c: New file.
61696 * sysdeps/wordsize-64/scandirat64.c: New file.
61697 * dirent/opendir.c: Define opendirat.
61698 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
61699 using scandirat.
61700 * dirent/scandir64.c: Adjust for scandir.c change.
61701 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
61702 __scandirat64, and __scandir_cancel_handler.
61703 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
61704 additional parameter and use openat instead of open (outside of ld.so).
61705 Add new __opendir as wrapper around __opendirat.
61706 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
61707 here without requiring old scandirat implementation.
61708
61709 2011-08-08 Ulrich Drepper <drepper@gmail.com>
61710
61711 * dirent/scandir.c (cancel_handler): Renamed to
61712 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
61713 defined. Adjust users.
61714 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
61715 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
61716
61717 2011-08-04 Ulrich Drepper <drepper@gmail.com>
61718
61719 * string/test-string.h (IMPL): Use __STRING to expand name and then
61720 stringify it.
61721
61722 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
61723 of cleanups.
61724
61725 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61726
61727 * string/Makefile: Update.
61728 (strop-tests): Append strncat.
61729 * string/test-wcscmp.c: New file.
61730 New comprehensive test for wcscmp.
61731 * string/test-strcmp.c: Update.
61732 (WIDE): New define.
61733
61734 2011-07-22 Andreas Schwab <schwab@redhat.com>
61735
61736 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
61737 line.
61738
61739 2011-07-26 Andreas Schwab <schwab@redhat.com>
61740
61741 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61742 encoding to ACE if AI_IDN.
61743
61744 2011-08-01 Jakub Jelinek <jakub@redhat.com>
61745
61746 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
61747 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
61748
61749 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61750
61751 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
61752 Fix overflow bug in strncat.
61753 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
61754
61755 * string/test-strncat.c: Update.
61756 Add new tests for checking overflow bugs.
61757
61758 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61759
61760 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61761 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
61762 * sysdeps/i386/i686/multiarch/strcat.S: New file.
61763 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
61764 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
61765 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
61766 * sysdeps/i386/i686/multiarch/strncat.S: New file.
61767 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
61768 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
61769
61770 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
61771 (USE_AS_STRCAT): Define.
61772 Add strcat and strncat support.
61773 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61774
61775 2011-07-25 Andreas Schwab <schwab@redhat.com>
61776
61777 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
61778 __n bigger than INT_MAX+1.
61779 (__strncmp_g): Likewise.
61780
61781 2011-07-23 Ulrich Drepper <drepper@gmail.com>
61782
61783 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
61784 * libio/stido.h: Likewise.
61785
61786 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
61787 (AF_NFC): Define.
61788 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
61789 (AF_NFC): Define.
61790
61791 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
61792 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61793 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61794 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
61795 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61796
61797 [BZ #13021]
61798 * scripts/test-installation.pl: Don't expect libnss_test1 to be
61799 installed.
61800
61801 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
61802 typo.
61803 (_dl_x86_64_save_sse): Likewise.
61804
61805 2011-07-22 Ulrich Drepper <drepper@gmail.com>
61806
61807 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
61808 OSXSAVE.
61809 (_dl_x86_64_save_sse): Likewise.
61810
61811 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
61812
61813 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
61814
61815 2011-07-21 Andreas Schwab <schwab@redhat.com>
61816
61817 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
61818 change.
61819 (_dl_x86_64_save_sse): Use correct AVX check.
61820
61821 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61822
61823 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
61824 bug in strncpy/strncat.
61825 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
61826
61827 2011-07-21 Ulrich Drepper <drepper@gmail.com>
61828
61829 * string/tester.c (test_strcat): Add tests for different alignments
61830 of source and destination.
61831 (test_strncat): Likewise.
61832
61833 2011-07-20 Ulrich Drepper <drepper@gmail.com>
61834
61835 [BZ #12852]
61836 * posix/glob.c (glob): Check passed in values before using them in
61837 expressions to avoid some overflows.
61838 (glob_in_dir): Likewise.
61839
61840 [BZ #13007]
61841 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
61842 check for AVX enablement so that we don't crash with old kernels and
61843 new hardware.
61844 * elf/tst-audit4.c: Add same checks here.
61845 * elf/tst-audit6.c: Likewise.
61846
61847 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
61848
61849 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
61850
61851 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
61852
61853 2011-07-20 Ulrich Drepper <drepper@gmail.com>
61854
61855 * po/cs.po: Update from translation team.
61856 * po/bg.po: Likewise.
61857
61858 2011-07-12 Marek Polacek <mpolacek@redhat.com>
61859
61860 * misc/sys/cdefs.h: Add support for const attribute.
61861 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
61862 to gnu_dev_{major,minor,makedev} functions.
61863
61864 2011-07-20 Marek Polacek <mpolacek@redhat.com>
61865
61866 * intl/dcigettext.c (get_output_charset): Add missing bracket.
61867
61868 2011-07-20 Andreas Schwab <schwab@redhat.com>
61869
61870 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
61871 strlen results.
61872
61873 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61874
61875 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
61876 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
61877 register in order to avoid conflicts with the soft frame pointer
61878 being held in r11 when necessary.
61879 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
61880 (INTERNAL_VSYSCALL_NCS): Likewise.
61881
61882 2011-07-14 Marek Polacek <mpolacek@redhat.com>
61883
61884 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
61885 * elf/dl-fini.c (_dl_fini): Adjust caller.
61886 * elf/dl-close.c (_dl_close_worker): Likewise.
61887 * sysdeps/generic/ldsodefs.h: Adjust declaration.
61888
61889 2011-07-15 Marek Polacek <mpolacek@redhat.com>
61890
61891 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
61892 "aux_cache->nlibs < 0".
61893
61894 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
61895 in the reload-count case.
61896
61897 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61898
61899 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61900 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
61901 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
61902 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
61903 * sysdeps/x86_64/multiarch/strcat.S: New file.
61904 * sysdeps/x86_64/multiarch/strncat.S: New file.
61905 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
61906 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
61907 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
61908 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
61909 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
61910 (USE_AS_STRCAT): Define.
61911 Add strcat and strncat support.
61912 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61913 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
61914 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
61915 * string/strncat.c: Update.
61916 (USE_AS_STRNCAT): Define.
61917 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61918 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
61919 and i7.
61920 * sysdeps/x86_64/multiarch/init-arch.h
61921 (bit_Prefer_PMINUB_for_stringop): New.
61922 (index_Prefer_PMINUB_for_stringop): Likewise.
61923 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
61924 bit_Prefer_PMINUB_for_stringop.
61925
61926 2011-07-19 Ulrich Drepper <drepper@gmail.com>
61927
61928 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
61929 buffer64.
61930 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
61931 of casting of buffer.
61932 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
61933 buffer32 and buffer64.
61934 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
61935 writes instead of casting of buffer.
61936 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
61937 buffer32.
61938 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
61939 casting of buffer.
61940
61941 2011-07-19 Andreas Schwab <schwab@redhat.com>
61942
61943 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
61944
61945 2011-07-19 Ulrich Drepper <drepper@gmail.com>
61946
61947 * nscd/nscd.c (termination_handler): Don't do anything for a database
61948 if it has not yet been initialized.
61949
61950 2011-07-18 Ulrich Drepper <drepper@gmail.com>
61951
61952 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61953
61954 2011-07-15 Marek Polacek <mpolacek@redhat.com>
61955
61956 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61957
61958 2011-07-18 Ulrich Drepper <drepper@gmail.com>
61959
61960 * po/nl.po: Update from translation team.
61961 * po/sv.po: Likewise.
61962
61963 2011-07-16 Roland McGrath <roland@hack.frob.com>
61964
61965 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
61966 now disallowed by GCC.
61967
61968 * configure.in (use-default-link): Default to yes if a test -shared
61969 link meets our qualifications.
61970 * configure: Regenerated.
61971
61972 * config.make.in (output-format): New variable.
61973 * configure.in: Check for ld --print-output-format support.
61974 * configure: Regenerated.
61975 * Makerules ($(common-objpfx)format.lds)
61976 [$(output-format) != unknown]: Just use $(output-format),
61977 instead of the linker-script munging.
61978
61979 2011-07-14 Roland McGrath <roland@hack.frob.com>
61980
61981 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
61982 of $(common-objpfx)shlib.lds.
61983 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
61984
61985 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
61986 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
61987
61988 * configure.in (-z relro check): Adjust test code to add a large
61989 writable data section after it.
61990 * configure: Regenerated.
61991
61992 2011-07-11 Roland McGrath <roland@hack.frob.com>
61993
61994 * configure.in (-z relro check): Fix test code to make the variable
61995 truly const.
61996 * configure: Regenerated.
61997
61998 2011-07-11 Ulrich Drepper <drepper@gmail.com>
61999
62000 * nscd/nscd.h (struct traced_file): Define.
62001 (struct database_dyn): Remove inotify_descr, reset_res, and filename
62002 elements. Add traced_files.
62003 (inotify_fd): Declare.
62004 (register_traced_file): Declare.
62005 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
62006 (inotify_fd): Export.
62007 (resolv_conf_descr): Remove.
62008 (nscd_init): Move inotify descriptor creation to main.
62009 Don't register files for notification here.
62010 (register_traced_file): New function.
62011 (invalidate_cache): Don't use reset_res to determine whether to call
62012 res_init, go through the list of registered files.
62013 (main_loop_poll): The inotify descriptors are now stored in the
62014 structures for the traced files.
62015 (main_loop_epoll): Likewise
62016 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
62017 to __nss_disable_nscd.
62018 * nscd/cache.c (prune_cache): There is no single inotify descriptor
62019 for a database anymore. Check the records for all the registered
62020 files instead.
62021 * nss/Makefile (libnss_files-routines): Add files-init.
62022 (libnss_db-routines): Add db-init.
62023 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
62024 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
62025 * nss/nss_db/db-init.c: New file.
62026 * nss/nss_files/files-init.c: New file.
62027 * nss/nsswitch.c (nss_load_library): New function. Broken out of
62028 __nss_lookup_function.
62029 (__nss_lookup_function): Call nss_load_library.
62030 (nss_load_all_libraries): New function.
62031 (__nss_disable_nscd): Take parameter with callback function for files
62032 to register. Set is_nscd. Load all the DSOs for the NSS modules
62033 used for the cached services.
62034 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
62035 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
62036 options for features to all the files in nscd.
62037
62038 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
62039
62040 2011-07-10 Roland McGrath <roland@hack.frob.com>
62041
62042 * csu/elf-init.c (__libc_csu_init): Comment typo.
62043
62044 2011-07-09 Ulrich Drepper <drepper@gmail.com>
62045
62046 * po/pl.po: Update from translation team.
62047 * po/ja.po: Likewise.
62048 * po/ru.po: Likewise.
62049 * po/ko.po: Likewise.
62050 * po/fr.po: Likewise.
62051
62052 2011-07-09 Roland McGrath <roland@hack.frob.com>
62053
62054 * configure.in (.ctors/.dtors header and trailer check):
62055 Use an empirical test on a built program.
62056 * configure: Regenerated.
62057
62058 * configure.in (-z relro check): Use an empirical test on a built DSO.
62059 Detect, but do not require, on ia64.
62060 * configure: Regenerated.
62061
62062 * configure.in (READELF): Find it with AC_CHECK_TOOL.
62063 Update tests that use readelf to use $READELF instead.
62064 * configure: Regenerated.
62065
62066 2011-07-08 Ulrich Drepper <drepper@gmail.com>
62067
62068 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
62069 if the result is not used.
62070
62071 2011-07-05 Andreas Jaeger <aj@suse.de>
62072
62073 [BZ#9696]
62074 * stdlib/tst-strtod.c: Add testcase.
62075
62076 2011-07-07 Ulrich Drepper <drepper@gmail.com>
62077
62078 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
62079 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
62080 The latter has a higher limit. Take additional parameter to pass to
62081 the new function.
62082 (__pathconf): Pass file to __statfs_link_max.
62083 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
62084 __statfs_link_max.
62085 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
62086 __statfs_link_max.
62087
62088 [BZ #12868]
62089 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
62090 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62091 Handle Lustre.
62092 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
62093 (__statfs_filesize_max): Likewise.
62094 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
62095
62096 2011-07-05 Andreas Jaeger <aj@suse.de>
62097
62098 * resolv/res_comp.c (dn_skipname): Remove unused variable.
62099
62100 2011-07-06 Marek Polacek <mpolacek@redhat.com>
62101
62102 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
62103 `status' variable.
62104 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
62105 Likewise.
62106
62107 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
62108
62109 * Makefile (strop-tests): Add strncat.
62110 * string/test-strncat.c: New file.
62111
62112 2011-06-30 Marek Polacek <mpolacek@redhat.com>
62113
62114 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
62115
62116 2011-06-21 Andreas Jaeger <aj@suse.de>
62117
62118 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
62119 Copy rule from iconvdata/Makefile.
62120
62121 2011-07-06 Ulrich Drepper <drepper@gmail.com>
62122
62123 [BZ #12922]
62124 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
62125 but no long options are defined, just return 'W'.
62126
62127 2011-06-22 Marek Polacek <mpolacek@redhat.com>
62128
62129 [BZ #9696]
62130 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
62131
62132 2011-07-06 Ulrich Drepper <drepper@gmail.com>
62133
62134 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
62135 netgroups to read.
62136 (innetgr): Likewise.
62137
62138 2011-07-05 Roland McGrath <roland@hack.frob.com>
62139
62140 * config.make.in (install_root): Default to $(DESTDIR).
62141
62142 2011-07-05 Ulrich Drepper <drepper@gmail.com>
62143
62144 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
62145
62146 2011-07-02 Roland McGrath <roland@hack.frob.com>
62147
62148 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
62149
62150 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
62151 containing directory rather than embedding absolute directory names.
62152
62153 * scripts/check-local-headers.sh: Rewritten using awk.
62154 Match by word, not by line. Print error messages for matches.
62155 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
62156
62157 * Makerules [shlib-lds-flags empty]:
62158 ($(common-objpfx)libc_pic.opts): New target.
62159 ($(common-objpfx)libc_pic.os.clean): New target.
62160 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
62161
62162 * config.make.in (OBJCOPY): New variable.
62163 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
62164 * configure: Regenerated.
62165
62166 * config.make.in (use-default-link): New variable.
62167 * configure.in (use_default_link): Grok --with-default-link to set it.
62168 * configure: Regenerated.
62169 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
62170 (shlib-lds, shlib-lds-flags): Define to empty.
62171
62172 * Makerules (shlib-lds): New variable.
62173 (shlib-lds-flags): New variable.
62174 (build-shlib, build-moduile, build-module-asneeded): Use it.
62175 ($(common-objpfx)libc.so): Use $(shlib-lds).
62176 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
62177 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
62178
62179 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
62180 DT_FLAGS/DT_FLAGS_1 with zero flags.
62181
62182 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
62183 linker script munging.
62184
62185 2011-07-02 Ulrich Drepper <drepper@gmail.com>
62186
62187 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
62188 as 128-bit value.
62189 * crypt/sha512.c (sha512_process_block): Perform total addition using
62190 128-bit if possible.
62191 (__sha512_finish_ctx): Likewise.
62192 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
62193 as 64-bit value.
62194 * crypt/sha256.c (SWAP64): Define.
62195 (sha256_process_block): Perform total addition using 64-bit if
62196 possible.
62197 (__sha256_finish_ctx): Likewise.
62198
62199 2011-07-01 Ulrich Drepper <drepper@gmail.com>
62200
62201 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
62202 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62203 * nscd/hstcache.c (cache_addhst): Likewise.
62204 * nscd/grpcache.c (cache_addgr): Likewise.
62205 * nscd/aicache.c (addhstaiX): Likewise
62206 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
62207
62208 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
62209
62210 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
62211 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62212 * nscd/hstcache.c (cache_addhst): Likewise.
62213 * nscd/grpcache.c (cache_addgr): Likewise.
62214 * nscd/aicache.c (addhstaiX): Likewise
62215
62216 2011-07-01 Andreas Schwab <schwab@redhat.com>
62217
62218 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
62219 domain only when needed.
62220
62221 2011-06-30 Andreas Schwab <schwab@redhat.com>
62222
62223 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
62224 is always restored.
62225
62226 2011-06-29 Ulrich Drepper <drepper@gmail.com>
62227
62228 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
62229 are re-adding the entry.
62230 * nscd/servicescache.c (cache_addserv): Likewise.
62231
62232 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
62233
62234 * sysdeps/generic/dl-irel.h: fix protection against multiple
62235 inclusions.
62236 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
62237
62238 2011-06-28 Ulrich Drepper <drepper@gmail.com>
62239
62240 [BZ #12935]
62241 * malloc/memusage.sh: Fix quoting in message.
62242 * debug/xtrace.sh: Likewise.
62243
62244 * configure.in: Remove support for --experimental-malloc option, make
62245 it the default.
62246 * config.make.in: Likewise.
62247 * malloc/Makefile: Likewise.
62248
62249 2011-06-27 Andreas Schwab <schwab@redhat.com>
62250
62251 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
62252 two-byte characters.
62253
62254 2011-06-27 Roland McGrath <roland@hack.frob.com>
62255
62256 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
62257 AC_CACHE_CHECK invocation.
62258 * configure: Regenerated.
62259
62260 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
62261
62262 2011-06-27 Ulrich Drepper <drepper@gmail.com>
62263
62264 [BZ #12350]
62265 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
62266 bit from old_res_options.
62267
62268 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
62269
62270 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
62271 value type for setfct.
62272
62273 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
62274
62275 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62276 __gettimeofday instead of gettimeofday.
62277
62278 2011-06-26 Ulrich Drepper <drepper@gmail.com>
62279
62280 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
62281
62282 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
62283
62284 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
62285
62286 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
62287 info.
62288
62289 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62290
62291 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62292 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62293 strcpy-sse2-unaligned strncpy-sse2-unaligned
62294 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
62295 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
62296 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
62297 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
62298 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
62299 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
62300 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
62301 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
62302 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
62303 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
62304 (STRCPY): Support SSE2 and SSSE3 versions.
62305
62306 2011-06-24 Ulrich Drepper <drepper@gmail.com>
62307
62308 [BZ #12874]
62309 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
62310 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
62311 kernels which artificially limit size of requests.
62312
62313 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62314
62315 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62316 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62317 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
62318 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
62319 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
62320 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
62321 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
62322 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
62323 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
62324 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
62325 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
62326 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
62327 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
62328 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
62329 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
62330 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62331 Enable unaligned load optimization for Intel Core i3, i5 and i7
62332 processors.
62333 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
62334 Define.
62335 (index_Fast_Unaligned_Load): Define.
62336 (HAS_FAST_UNALIGNED_LOAD): Define.
62337
62338 2011-06-23 Marek Polacek <mpolacek@redhat.com>
62339
62340 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
62341
62342 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62343
62344 [BZ #12907]
62345 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
62346 until it is clear that the information is realy needed.
62347 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
62348
62349 2011-06-22 Andreas Schwab <schwab@redhat.com>
62350
62351 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
62352
62353 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62354
62355 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62356 /sys/devices/system/cpu/online if it is usable.
62357
62358 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
62359 reading the information from the /proc filesystem to once a second.
62360
62361 2011-06-21 Andreas Jaeger <aj@suse.de>
62362
62363 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
62364 NULL after inclusion of kernel headers.
62365
62366 2011-06-21 Ulrich Drepper <drepper@gmail.com>
62367
62368 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
62369 calls to internal_setent.
62370
62371 [BZ #12885]
62372 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
62373 addresses using gethostbyname4_r ignore IPv4 addresses.
62374
62375 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
62376 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
62377
62378 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
62379
62380 2011-06-20 David S. Miller <davem@davemloft.net>
62381
62382 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
62383 inclusions.
62384 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
62385
62386 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
62387 (elf_irel): Use it.
62388 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
62389 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
62390 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
62391 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
62392 * sysdeps/x86_64/dl-irel.h: Likewise.
62393
62394 * elf/dl-runtime.c: Use elf_ifunc_invoke.
62395 * elf/dl-sym.c: Likewise.
62396
62397 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62398
62399 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
62400 need to dereference resplen2.
62401
62402 2011-06-14 Andreas Schwab <schwab@redhat.com>
62403
62404 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
62405
62406 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62407
62408 * Makeconfig: Define vardbdir and inst_vardbdir.
62409 * nss/Makefile: Add rules to install db-Makefile.
62410
62411 * nss/nss_db/db-XXX.c: Cleanup.
62412
62413 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
62414 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
62415 GLIBC_PRIVATE.
62416 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
62417 * nss/makedb.c: Implement -g option to specify that value strings
62418 are generated and should not be added to table iterated over for
62419 get*ent calls.
62420 * nss/nss_db/db-initgroups.c: New file.
62421
62422 * nss/getent.c: Add support for initgroups lookups through getgrouplist
62423 interface.
62424
62425 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
62426 (internal_getgrouplist): Adjust to name change.
62427 Update use_initgroups_entry if this is not the first call.
62428 * nss/databases.def: Add initgroups entry.
62429
62430 * nss/makedb.c (compute_tables): Check result of multiple hash table
62431 sizes to minimize maximum chain length.
62432
62433 2011-06-14 Ulrich Drepper <drepper@gmail.com>
62434
62435 * Versions.def: Add entry for libnss_db.
62436 * shlib-versions: Likewise.
62437 * nss/Makefile: Add rules to build libnss_db.
62438 * nss/Versions: Add libnss_db information. Organize libnss_files
62439 entries better.
62440 * nss/db-Makefile: Add gshadow support. Change rules for the new
62441 makedb progra. Some minor improvements to generate smaller files.
62442 * nss/nss_db/nss_db.h: Move NSS database header data structures to
62443 here from...
62444 * nss/makedb.c: ...here.
62445 Improve database format to be smaller and require less memory at
62446 runtime.
62447 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
62448 db anymore.
62449 * nss/nss_db/db-netgrp.c: Likewise.
62450 * nss/nss_db/db-open.c: Likewise.
62451 * nss/nss_files/flies-XXX.x: Adjust comments.
62452 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
62453 * nss/nss_files/files-grp.c: Likewise.
62454 * nss/nss_files/files-hosts.c: Likewise.
62455 * nss/nss_files/files-network.c: Likewise.
62456 * nss/nss_files/files-proto.c: Likewise.
62457 * nss/nss_files/files-pwd.c: Likewise.
62458 * nss/nss_files/files-rpc.c: Likewise.
62459 * nss/nss_files/files-service.c: Likewise.
62460 * nss/nss_files/files-sgrp.c: Likewise.
62461 * nss/nss_files/files-spwd.c: Likewise.
62462 * nss/nss_db/db-alias.c: Removed.
62463 * nss/nss_db/dummy-db.h: Removed.
62464
62465 2011-06-02 Ulrich Drepper <drepper@gmail.com>
62466
62467 * nss/makedb.c: Rewritten to not use database library.
62468 * nss/Makefile: Update to build new makedb program.
62469
62470 2011-06-14 Andreas Jaeger <aj@suse.de>
62471
62472 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
62473 memset declaration.
62474
62475 2011-06-10 Andreas Schwab <schwab@redhat.com>
62476
62477 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
62478 tmpbuf.
62479
62480 2011-06-10 Roland McGrath <roland@hack.frob.com>
62481
62482 * Makerules (shlib.lds): Fail if the linker script comes out empty.
62483 * elf/Makefile ($(objpfx)ld.so): Likewise.
62484
62485 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
62486 Don't list ld.so twice in dependencies.
62487
62488 * posix/bug-regex31.c: Include <stdlib.h>.
62489
62490 * nscd/hstcache.c (cache_addhst): Remove unused variable.
62491
62492 * nis/nss_compat/compat-spwd.c
62493 (getspent_next_nss_netgr): Remove unused variable.
62494 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
62495
62496 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
62497 nonmembers" output to use the right array.
62498
62499 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
62500
62501 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
62502
62503 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
62504 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
62505 * catgets/gencat.c (read_input_file): Likewise.
62506 * locale/programs/locarchive.c (enlarge_archive): Likewise.
62507
62508 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
62509 variable definition inside #if's controlling its use.
62510
62511 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
62512
62513 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
62514
62515 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
62516
62517 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
62518 unreachable code.
62519
62520 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
62521
62522 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
62523 * configure: Regenerated.
62524
62525 * Makerules: Revert last change.
62526 * elf/Makefile: Likewise.
62527
62528 2011-06-09 Roland McGrath <roland@hack.frob.com>
62529
62530 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
62531 * elf/Makefile ($(objpfx)librtld.os): Likewise.
62532 (reloc-link): Likewise.
62533
62534 2011-06-09 Ulrich Drepper <drepper@gmail.com>
62535
62536 * elf/Makefile: Add rules to build pldd.
62537 * elf/pldd.c: New file.
62538 * elf/pldd-xx.c: New file.
62539
62540 2011-06-07 Ulrich Drepper <drepper@gmail.com>
62541
62542 * version.h: Update for 2.15 development version.
62543
62544 2011-06-07 David S. Miller <davem@davemloft.net>
62545
62546 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
62547 ifuncs.
62548 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
62549 elf_machine_lazy_rel): Likewise.
62550 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
62551 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
62552 elf_machine_lazy_rel): Likewise.
62553 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
62554 dl_hwcap via passed in argument.
62555 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
62556 Likewise.
62557
62558 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62559
62560 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
62561
62562 2011-06-06 Roland McGrath <roland@hack.frob.com>
62563
62564 [BZ #12849]
62565 * manual/fdl-1.1.texi: New file, verbatim from:
62566 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
62567 * manual/lgpl-2.1.texi: New file, verbatim from:
62568 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
62569 * manual/Makefile (licenses): New variable, list those new file names.
62570 (texis): Use it.
62571 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
62572
62573 * manual/fdl.texi: File removed.
62574 * manual/lesser.texi: File removed.
62575 * manual/libc.texinfo (Copying, Documentation License):
62576 Use new @include file names, put @appendix directive before @include.
62577
62578 2011-06-04 Jakub Jelinek <jakub@redhat.com>
62579
62580 [BZ #12841]
62581 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
62582 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
62583 (mq_open): Add __NTH.
62584
62585 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
62586
62587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62588 Assume Intel Core i3/i5/i7 processor if AVX is available.
62589
62590 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62591
62592 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62593 typo.
62594
62595 2011-05-31 Andreas Schwab <schwab@redhat.com>
62596
62597 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
62598 memory. Use alloca_account. Fix memory leak when retrying.
62599
62600 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62601
62602 * version.h (RELEASE): Bump for 2.14 release.
62603 * include/features.h (__GLIBC_MINOR__): Bump to 14.
62604
62605 * config.make.in (RANLIB): Remove entry.
62606
62607 2011-05-30 Ulrich Drepper <drepper@gmail.com>
62608
62609 * po/Makefile (po-sed-cmd): Add ksh to extensions.
62610 (libc.pot): Work around missing support for .ksh extension in xgettext.
62611
62612 [BZ #12684]
62613 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
62614 if both request failed.
62615 (send_dg): In case of server errors clear resplen or *resplen2.
62616
62617 [BZ #12454]
62618 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
62619 when there are multiple maps.
62620 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
62621 (_dl_fini): Remove test here.
62622
62623 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
62624
62625 2011-05-29 Ulrich Drepper <drepper@gmail.com>
62626
62627 [BZ #12350]
62628 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
62629 bit from old_res_options.
62630 (gaih_inet): Likewise.
62631
62632 [BZ #11099]
62633 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
62634 as signed.
62635
62636 * resolv/res_init.c (res_setoptions): Make the code more compact.
62637
62638 [BZ #11558]
62639 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
62640 set RES_USEVC.
62641
62642 [BZ #11634]
62643 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
62644
62645 * malloc/malloc.h: Mark malloc hook variables as deprecated.
62646
62647 [BZ #11781]
62648 * malloc/malloc.h: Declare malloc hook variables as volatile.
62649
62650 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
62651 in last patch.
62652
62653 [BZ #11799]
62654 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
62655 raise in the comment.
62656 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
62657 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62658 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
62659
62660 2011-05-28 Ulrich Drepper <drepper@gmail.com>
62661
62662 [BZ #12811]
62663 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
62664 grow the buffers more if it already has to be sufficient.
62665 (build_wcs_upper_buffer): Likewise.
62666 * posix/regexec.c (check_matching): Likewise.
62667 (clean_state_log_if_needed): Likewise.
62668 (extend_buffers): Don't enlarge buffers beyond size of the input
62669 buffer.
62670 Patches mostly by Emil Wojak <emil@wojak.eu>.
62671 * posix/bug-regex32.c: New file.
62672 * posix/Makefile (tests): Add bug-regex32.
62673
62674 * locale/findlocale.c (_nl_find_locale): Return right away if
62675 _nl_explode_name failed.
62676 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
62677
62678 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
62679
62680 * debug/xtrace.sh: Unify messages.
62681 * malloc/memusage.sh: Likewise.
62682
62683 [BZ #12813]
62684 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
62685 time symbol from vDSO. Substitute with vsyscall if not available.
62686 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
62687 __vdso_time.
62688
62689 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
62690 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
62691 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
62692 Add sendmmsg and internal_sendmmsg.
62693 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
62694 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
62695 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
62696
62697 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
62698 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
62699 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
62700
62701 2011-05-27 Ulrich Drepper <drepper@gmail.com>
62702
62703 [BZ #12813]
62704 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
62705 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
62706 available.
62707 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
62708 __vdso_getcpu.
62709
62710 [BZ #12814]
62711 * iconvdata/Makefile (tests): Add bug-iconv9.
62712 * iconvdata/bug-iconv9.c: New file.
62713
62714 2011-05-27 Andreas Schwab <schwab@redhat.com>
62715
62716 [BZ #12814]
62717 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
62718
62719 2011-05-25 Jakub Jelinek <jakub@redhat.com>
62720
62721 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62722 (struct user_regs_struct): Change intcs field back to cs.
62723
62724 2011-05-25 Ulrich Drepper <drepper@gmail.com>
62725
62726 * po/ja.po: Update from translation team.
62727
62728 2011-05-23 Ulrich Drepper <drepper@gmail.com>
62729
62730 [BZ #12795]
62731 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
62732 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
62733
62734 2011-05-20 Andreas Schwab <schwab@redhat.com>
62735
62736 * stdlib/longlong.h: Update from GCC.
62737
62738 2011-05-23 Andreas Schwab <schwab@redhat.com>
62739
62740 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
62741 parameter name.
62742 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
62743 Add parameter name.
62744 (__sysconf): Pass it down.
62745
62746 2011-05-22 Ulrich Drepper <drepper@gmail.com>
62747
62748 [BZ #12671]
62749 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
62750 some situations.
62751 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
62752 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
62753 add in in __libc_use_alloca calls. Adjust callers.
62754 (glob): Use malloc in some situations.
62755
62756 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
62757 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
62758 pltexit.
62759
62760 2011-05-21 Ulrich Drepper <drepper@gmail.com>
62761
62762 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
62763 and CLOCK_BOOTTIME_ALARM.
62764
62765 [BZ #12782]
62766 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
62767 is returned.
62768
62769 * string/_strerror.c (__strerror_r): Print negative errors as signed
62770 numbers.
62771
62772 [BZ #12777]
62773 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
62774 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
62775 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
62776
62777 * configure.in: Fix typo in redirection and correct removal of test
62778 files in two cases.
62779
62780 [BZ #12788]
62781 * locale/setlocale.c (new_composite_name): Fix test to check for
62782 identical name of all categories.
62783
62784 [BZ #12792]
62785 * libio/filedoalloc.c (local_isatty): New function.
62786 (_IO_file_doallocate): Use local_isatty.
62787 * stdio-common/perror.c (perror): In case a new stream is used
62788 forward the stream error.
62789 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
62790 error flag.
62791
62792 2011-05-20 Ulrich Drepper <drepper@gmail.com>
62793
62794 [BZ #11869]
62795 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
62796 alloca.
62797 * include/alloca.h (extend_alloca_account): Define.
62798
62799 [BZ #11857]
62800 * posix/regex.h: Fix comments with documentation of user-accessible
62801 fields after compilation and describe correct free'ing of pattern
62802 after re_compile_pattern.
62803 Patch by Reuben Thomas <rrt@sc3d.org>.
62804
62805 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
62806
62807 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
62808 and -mno-altivec to prevent the compiler from using Altivec and/or
62809 VSX instructions when the corresponding registers are not available.
62810
62811 2011-05-19 Andreas Schwab <schwab@redhat.com>
62812
62813 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
62814
62815 2011-05-19 Ulrich Drepper <drepper@gmail.com>
62816
62817 * libio/freopen.c (freopen): Use __dup2, not dup2.
62818 * libio/freopen64.c (freopen64): Likewise.
62819
62820 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
62821
62822 [BZ #12775]
62823 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
62824 * math/Makefile (tests): Add test-powl.
62825 (CFLAGS-test-powl.c): Define.
62826 * math/test-powl.c: New file.
62827
62828 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
62829
62830 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
62831
62832 2011-05-17 Ulrich Drepper <drepper@gmail.com>
62833
62834 [BZ #11837]
62835 * iconvdata/gb18030.c: Update to GB18020-2005.
62836
62837 2011-05-16 Ulrich Drepper <drepper@gmail.com>
62838
62839 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
62840 RE_SYNTAX_POSIX_AWK): Update to match recent development.
62841 Patch by Aharon Robbins <arnold@skeeve.com>.
62842
62843 [BZ #11892]
62844 * stdlib/putenv.c (putenv): Don't always create copy of the variable
62845 on the stack.
62846
62847 [BZ #11895]
62848 * misc/pselect.c (__pselect): Handle timeout value errors hidden
62849 through underflows.
62850
62851 [BZ #12766]
62852 * misc/error.c (error_at_line): Ensure file_name and old_file_name
62853 point to strings before performing equality test for error_one_per_line
62854 mode.
62855
62856 [BZ #11697]
62857 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
62858
62859 [BZ #11820]
62860 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62861 (struct user_fpregs_struct): Avoid __uint*_t types.
62862
62863 [BZ #6420]
62864 * malloc/mtrace.c (tr_where): Add additional parameter to point to
62865 symbol info. Use it instead of calling _dl_addr locally.
62866 (lock_and_info): New function.
62867 (tr_freehook): Call lock_and_info and pass symbol info as additional
62868 parameter to tr_where.
62869 (tr_mallochook): Likewise.
62870 (tr_reallochook): Likewise.
62871 (tr_memalignhook): Likewise.
62872
62873 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
62874 used and couldn't be at all thread-safe.
62875
62876 2011-05-15 Ulrich Drepper <drepper@gmail.com>
62877
62878 * libio/freopen.c (freopen): Don't close old file descriptor
62879 before the new one is opened. Instead dup the new file descriptor
62880 to the old one after the new stream is created.
62881 * libio/freopen64.c (freopen64): Likewise.
62882 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
62883 * libio/fileops.c (_IO_new_file_close_it): Handle new
62884 _IO_FLAGS2_NOCLOSE flag.
62885 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
62886 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
62887 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
62888 _IO_FLAGS2_NOCLOSE flag.
62889 * include/unistd.h: Add hidden_proto for dup3.
62890 Define __have_dup3.
62891 * io/dup3.c: Define hidden symbol.
62892 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
62893
62894 [BZ #7101]
62895 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
62896 when an incomplete long option is used.
62897 * posix/tst-getopt_long1.c: New file.
62898 * posix/Makefile (tests): Add tst-getopt_long1.
62899
62900 [BZ #10138]
62901 * scripts/config.guess: Update from autoconf-2.68.
62902 * scripts/config.sub: Likewise.
62903
62904 [BZ #10157]
62905 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
62906 tests into ...
62907 (has_cpuclock): ...this. New function.
62908 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
62909 macro here based on has_cpuclock code.
62910
62911 [BZ #10149]
62912 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62913 First byte (not low byte) is now always NUL.
62914 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
62915
62916 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62917 Use non-cancelable interfaces.
62918
62919 [BZ #9809]
62920 * locale/iso-639.def: Add entry for Sorani.
62921
62922 [BZ #11901]
62923 * include/stdlib.h: Move include protection to the right place.
62924 Define abort_msg_s. Declare __abort_msg with it.
62925 * stdlib/abort.c (__abort_msg): Adjust type.
62926 * assert/assert.c (__assert_fail_base): New function. Majority
62927 of code from __assert_fail. Allocate memory for __abort_msg with
62928 mmap.
62929 (__assert_fail): Now call __assert_fail_base.
62930 * assert/assert-perr.c: Remove bulk of implementation. Use
62931 __assert_fail_base.
62932 * include/assert.hL Declare __assert_fail_base.
62933 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
62934 mmap.
62935 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
62936
62937 2011-05-14 Ulrich Drepper <drepper@gmail.com>
62938
62939 [BZ #11952]
62940 [BZ #12453]
62941 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
62942 until all modules are registered in the DTV.
62943 * elf/Makefile: Add rules to build and run tst-tls19.
62944 * elf/tst-tls19.c: New file.
62945 * elf/tst-tls19mod1.c: New file.
62946 * elf/tst-tls19mod2.c: New file.
62947 * elf/tst-tls19mod3.c: New file.
62948 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
62949
62950 [BZ #12083]
62951 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
62952 correctly.
62953
62954 [BZ #12601]
62955 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
62956 two-byte sequence errors.
62957 * iconvdata/Makefile (tests): Add bug-iconv8.
62958 * iconvdata/bug-iconv8.c: New file.
62959
62960 [BZ #12626]
62961 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
62962 buf2 definition.
62963
62964 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
62965
62966 [BZ #12432]
62967 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
62968 (dummy_getcfa): New function.
62969 (init): Get _Unwind_GetCFA address, use dummy if not found.
62970 (backtrace_helper): In recursion check, also check whether CFA changes.
62971 (__backtrace): Completely initialize arg.
62972
62973 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
62974 storing incomplete byte sequence in state object. Avoid testing for
62975 guaranteed too small input if we know there is enough data available.
62976
62977 2011-05-11 Andreas Schwab <schwab@redhat.com>
62978
62979 * Makeconfig (+link-pie): Indent.
62980 * Rules (binaries-pie): Define if $(have-fpie) and
62981 $(build-shared).
62982 (binaries-shared): Also filter out $(binaries-pie).
62983 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
62984 * nscd/Makefile (others-pie): Add nscd.
62985 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
62986 ($(objpfx)nscd): Remove command override.
62987 * login/Makefile (others-pie): Add pt_chown.
62988 ($(objpfx)pt_chown): Remove command override.
62989 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
62990 remove command overrides.
62991
62992 2011-05-13 Ulrich Drepper <drepper@gmail.com>
62993
62994 * libio/tst_putwc.c: Fix error messages.
62995
62996 [BZ #12724]
62997 * libio/fileops.c (_IO_new_file_close_it): Always flush when
62998 currently writing and seek to current position when not.
62999 * libio/Makefile (tests): Add bug-fclose1.
63000 * libio/bug-fclose1.c: New file.
63001
63002 2011-05-12 Ulrich Drepper <drepper@gmail.com>
63003
63004 [BZ #12511]
63005 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
63006 don't set DF_1_NODELETE here.
63007 (do_lookup_x): When entering new entry test for copy relocation
63008 and if necessary set DF_1_NODELETE flag.
63009 * elf/tst-unique4.cc: New file.
63010 * elf/tst-unique4.h: New file.
63011 * elf/tst-unique4lib.cc: New file.
63012 * elf/Makefile: Add rules to build and run tst-unique4.
63013 Patch by Piotr Bury <pbury@goahead.com>.
63014
63015 2011-05-11 Ulrich Drepper <drepper@gmail.com>
63016
63017 [BZ #12052]
63018 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
63019
63020 [BZ #12625]
63021 * misc/mntent_r.c (addmntent): Flush the stream after the output
63022
63023 [BZ #12393]
63024 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
63025 (is_trusted_path_normalize): Skip initial colon. Append slash
63026 to empty buffer. Duplicate is_trusted_path code but allow
63027 constructed patch to be prefix.
63028 (is_dst): Allow $ORIGIN followed by /.
63029 (_dl_dst_substitute): Correct clearing of check_for_trusted.
63030 Correct testing of result of is_trusted_path_normalize
63031 (decompose_rpath): Fix warning.
63032
63033 2011-05-10 Ulrich Drepper <drepper@gmail.com>
63034
63035 [BZ #11257]
63036 * grp/initgroups.c (internal_getgrouplist): When we found the service
63037 list through the initgroups entry in nsswitch.conf do not always
63038 continue on a successful lookup. Don't always use the
63039 __nss_group_database value if it is set.
63040 * nss/nsswitch.conf (initgroups): Change action for successful db
63041 lookup to continue for compatibility.
63042
63043 2011-05-09 Ulrich Drepper <drepper@gmail.com>
63044
63045 [BZ #11532]
63046 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
63047 and CP774 modules.
63048 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
63049 and CP774 modules.
63050 * iconvdata/tst-tables.sh: Likewise.
63051 * iconvdata/cp770.c: New file.
63052 * iconvdata/cp771.c: New file.
63053 * iconvdata/cp772.c: New file.
63054 * iconvdata/cp773.c: New file.
63055 * iconvdata/cp774.c: New file.
63056 * iconvdata/testdata/CP770: New file.
63057 * iconvdata/testdata/CP770..UTF8: New file.
63058 * iconvdata/testdata/CP771: New file.
63059 * iconvdata/testdata/CP771..UTF8: New file.
63060 * iconvdata/testdata/CP772: New file.
63061 * iconvdata/testdata/CP772..UTF8: New file.
63062 * iconvdata/testdata/CP773: New file.
63063 * iconvdata/testdata/CP773..UTF8: New file.
63064 * iconvdata/testdata/CP774: New file.
63065 * iconvdata/testdata/CP774..UTF8: New file.
63066
63067 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
63068 END CHARMAP line.
63069 * iconvdata/gen-8bit-gap.sh: Likewise.
63070 * iconvdata/gen-8bit.sh: Likewise.
63071
63072 * locale/iso-639.def: Add ary entry.
63073
63074 [BZ #11258]
63075 * locale/C-translit.h.in: Add U20A1 transliteration.
63076
63077 [BZ #12178]
63078 * locale/iso-639.def: Add wae entry.
63079 Patch by Kevin Bortis <bortis@translate-wae.ch>.
63080
63081 [BZ #12545]
63082 * locale/programs/localedef.c (construct_output_path): Use ssize_t
63083 for n.
63084
63085 [BZ #12711]
63086 * locale/C-translit.h.in: Add entry for U20B9.
63087 Patch by pravin.d.s@gmail.com.
63088
63089 2011-05-08 Ulrich Drepper <drepper@gmail.com>
63090
63091 [BZ #12713]
63092 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
63093 ENAMETOOLONG use generic getcwd.
63094 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
63095 in rtld. Use *stat64.
63096 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
63097 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
63098 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
63099 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
63100 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
63101 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
63102 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
63103 __fstatat64 macros.
63104 * include/dirent.h: Add libc_hidden_proto for rewinddir.
63105 * dirent/rewinddir.c: Add libc_hidden_def.
63106 * sysdeps/mach/hurd/rewinddir.c: Likewise.
63107 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
63108
63109 * include/dirent.h (__alloc_dir): Add flags parameter.
63110 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
63111 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
63112 __alloc_dir.
63113 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
63114 from fdopendir if O_CLOEXEC is already set.
63115
63116 2011-03-15 Alan Modra <amodra@gmail.com>
63117
63118 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
63119 l_tls_firstbyte_offset non-zero. Save padding offset in
63120 l_tls_firstbyte_offset for later use.
63121 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
63122 freeing static tls block.
63123
63124 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
63125
63126 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
63127 where #ifdef was intended. The intent is to prevent ARG_MAX from
63128 being defined by the kernel headers.
63129
63130 2011-05-07 Ulrich Drepper <drepper@gmail.com>
63131
63132 [BZ #12734]
63133 * resolv/resolv.h: Define RES_NOTLDQUERY.
63134 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
63135 no-tld-query and set RES_NOTLDQUERY.
63136 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
63137 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
63138 modern BIND to search name as TLD unless forbidden.
63139
63140 2011-05-07 Petr Baudis <pasky@suse.cz>
63141 Ulrich Drepper <drepper@gmail.com>
63142
63143 [BZ #12393]
63144 * elf/dl-load.c (fillin_rpath): Move trusted path check...
63145 (is_trusted_path): ...to here.
63146 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
63147 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
63148 using is_trusted_path_normalize() in setuid scripts.
63149
63150 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
63151
63152 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
63153 __BEGIN/__END_DECLS.
63154
63155 2011-05-06 Ulrich Drepper <drepper@gmail.com>
63156
63157 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
63158 NSS_STATUS_NOTFOUND if no record was found.
63159
63160 2011-05-05 Andreas Schwab <schwab@redhat.com>
63161
63162 * sunrpc/Makefile (headers): Add rpc/netdb.h.
63163 (headers-not-in-tirpc): Remove rpc/netdb.h
63164 * resolv/netdb.h: Revert last change.
63165
63166 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
63167
63168 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
63169 circular dependency between libgcc.a and libc.a.
63170
63171 2011-05-05 Andreas Schwab <schwab@redhat.com>
63172
63173 * resolv/netdb.h: Don't include <rpc/netdb.h>.
63174 * nis/Makefile: Don't install rpcsvc/*.
63175 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
63176 instead of <rpc/types.h>.
63177 (MAXHOSTNAMELEN): Define.
63178
63179 2011-05-03 Andreas Schwab <schwab@redhat.com>
63180
63181 * elf/ldconfig.c (add_dir): Don't crash on empty path.
63182
63183 2011-04-28 Maciej Babinski <mbabinski@google.com>
63184
63185 [BZ #12714]
63186 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
63187 gethostbyname4_r when IPv6 results are possible.
63188
63189 2011-05-02 Ulrich Drepper <drepper@gmail.com>
63190
63191 [BZ #12723]
63192 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
63193 _PC_PIPE_BUF handling.
63194
63195 2011-04-30 Bruno Haible <bruno@clisp.org>
63196
63197 [BZ #12717]
63198 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
63199 * resolv/netdb.h (getnameinfo): Change type of flags parameter
63200 to 'int'.
63201 * inet/getnameinfo.c (getnameinfo): Likewise.
63202
63203 2011-04-29 Ulrich Drepper <drepper@gmail.com>
63204
63205 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
63206 to groups setting in database lookup.
63207 * nss/nsswitch.conf: Add initgroups entry.
63208
63209 2011-04-22 Ulrich Drepper <drepper@gmail.com>
63210
63211 [BZ #12685]
63212 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
63213 mode string.
63214 Patch by Eric Blake <eblake@redhat.com>.
63215
63216 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
63217
63218 * sunrpc/Makefile (need-export-routines): Add svc_run.
63219 (routines): Remove svc_run.
63220 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
63221 * sunrpc/clnt_perr.c (clnt_perrno): Export.
63222 * sunrpc/svc_run.c (svc_run): Likewise.
63223 * sunrpc/svc_udp.c (svcudp_create): Likewise.
63224
63225 2011-04-21 Ulrich Drepper <drepper@gmail.com>
63226
63227 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
63228 problem in reallocation in last patch.
63229
63230 2011-04-20 Ulrich Drepper <drepper@gmail.com>
63231
63232 * sunrpc/Makefile: Move inclusion of Rules.
63233
63234 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63235
63236 * nss/nss_files/files-initgroups.c: New file.
63237 * nss/Makefile (libnss_files-routines): Add files-initgroups.
63238 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
63239 _nss_files_initgroups_dyn.
63240
63241 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
63242
63243 * elf/elf.h (R_ARM_IRELATIVE): Define.
63244
63245 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63246
63247 * po/ru.po: Update from translation team.
63248
63249 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63250
63251 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
63252 dependencies.
63253
63254 2011-02-06 Mike Frysinger <vapier@gentoo.org>
63255
63256 [BZ #12653]
63257 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
63258 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
63259 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
63260 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
63261 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
63262
63263 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
63264
63265 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
63266 differing bytes.
63267 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
63268 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
63269 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63270
63271 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63272
63273 [BZ #12420]
63274 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
63275 storing it.
63276 * stdlib/bug-getcontext.c: New file.
63277 * stdlib/Makefile: Add rules to build and run bug-getcontext.
63278
63279 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63280
63281 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
63282 instructions into .machine "z9-109".
63283 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
63284 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
63285
63286 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63287
63288 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
63289 between environment variables and auxiliary vector.
63290
63291 2011-04-16 Ulrich Drepper <drepper@gmail.com>
63292
63293 * Makefile: Add rules to build linkobj/libc.so.
63294 * include/libc-symbols.h: Define libc_hidden_nolink.
63295 * include/rpc/auth.h: Mark functions which are to be hidden.
63296 * include/rpc/auth_des.h: Likewise.
63297 * include/rpc/auth_unix.h: Likewise.
63298 * include/rpc/clnt.h: Likewise.
63299 * include/rpc/des_crypt.h: Likewise.
63300 * include/rpc/key_prot.h: Likewise.
63301 * include/rpc/pmap_clnt.h: Likewise.
63302 * include/rpc/pmap_prot.h: Likewise.
63303 * include/rpc/pmap_rmt.h: Likewise.
63304 * include/rpc/rpc_msg.h: Likewise.
63305 * include/rpc/svc.h: Likewise.
63306 * include/rpc/svc_auth.h: Likewise.
63307 * include/rpc/xdr.h: Likewise.
63308 * nis/Makefile: Link all DSOs against linkobj/libc.so.
63309 * nss/Makefile: Likewise.
63310 * sunrpc/Makefile: Don't install headers. Build library with normal
63311 entry points. Don't build rpcinfo. Link RPC tests appropriately.
63312 * sunrpc/auth_des.c: Hide exported symbols by default, export some
63313 for the compat linking library. Remove use of INTDEF/INTUSE.
63314 * sunrpc/auth_none.c: Likewise.
63315 * sunrpc/auth_unix.c: Likewise.
63316 * sunrpc/authdes_prot.c: Likewise.
63317 * sunrpc/authuxprot.c: Likewise.
63318 * sunrpc/clnt_gen.c: Likewise.
63319 * sunrpc/clnt_perr.c: Likewise.
63320 * sunrpc/clnt_raw.c: Likewise.
63321 * sunrpc/clnt_simp.c: Likewise.
63322 * sunrpc/clnt_tcp.c: Likewise.
63323 * sunrpc/clnt_udp.c: Likewise.
63324 * sunrpc/clnt_unix.c: Likewise.
63325 * sunrpc/des_crypt.c: Likewise.
63326 * sunrpc/des_soft.c: Likewise.
63327 * sunrpc/get_myaddr.c: Likewise.
63328 * sunrpc/key_call.c: Likewise.
63329 * sunrpc/key_prot.c: Likewise.
63330 * sunrpc/netname.c: Likewise.
63331 * sunrpc/pm_getmaps.c: Likewise.
63332 * sunrpc/pm_getport.c: Likewise.
63333 * sunrpc/pmap_clnt.c: Likewise.
63334 * sunrpc/pmap_prot.c: Likewise.
63335 * sunrpc/pmap_prot2.c: Likewise.
63336 * sunrpc/pmap_rmt.c: Likewise.
63337 * sunrpc/publickey.c: Likewise.
63338 * sunrpc/rpc_cmsg.c: Likewise.
63339 * sunrpc/rpc_common.c: Likewise.
63340 * sunrpc/rpc_dtable.c: Likewise.
63341 * sunrpc/rpc_prot.c: Likewise.
63342 * sunrpc/rpc_thread.c: Likewise.
63343 * sunrpc/rtime.c: Likewise.
63344 * sunrpc/svc.c: Likewise.
63345 * sunrpc/svc_auth.c: Likewise.
63346 * sunrpc/svc_authux.c: Likewise.
63347 * sunrpc/svc_raw.c: Likewise.
63348 * sunrpc/svc_run.c: Likewise.
63349 * sunrpc/svc_simple.c: Likewise.
63350 * sunrpc/svc_tcp.c: Likewise.
63351 * sunrpc/svc_udp.c: Likewise.
63352 * sunrpc/svc_unix.c: Likewise.
63353 * sunrpc/svcauth_des.c: Likewise.
63354 * sunrpc/xcrypt.c: Likewise.
63355 * sunrpc/xdr.c: Likewise.
63356 * sunrpc/xdr_array.c: Likewise.
63357 * sunrpc/xdr_float.c: Likewise.
63358 * sunrpc/xdr_intXX_t.c: Likewise.
63359 * sunrpc/xdr_mem.c: Likewise.
63360 * sunrpc/xdr_rec.c: Likewise.
63361 * sunrpc/xdr_ref.c: Likewise.
63362 * sunrpc/xdr_sizeof.c: Likewise.
63363 * sunrpc/xdr_stdio.c: Likewise.
63364
63365 2011-04-10 Ulrich Drepper <drepper@gmail.com>
63366
63367 [BZ #12650]
63368 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
63369 * sysdeps/ia64/dl-tls.h: Likewise.
63370 * sysdeps/powerpc/dl-tls.h: Likewise.
63371 * sysdeps/s390/dl-tls.h: Likewise.
63372 * sysdeps/sh/dl-tls.h: Likewise.
63373 * sysdeps/sparc/dl-tls.h: Likewise.
63374 * sysdeps/x86_64/dl-tls.h: Likewise.
63375 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
63376
63377 2011-03-14 Andreas Schwab <schwab@redhat.com>
63378
63379 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
63380 rpath element also skip the following colon.
63381 (expand_dynamic_string_token): Add is_path parameter and pass
63382 down to DL_DST_REQUIRED and _dl_dst_substitute.
63383 (decompose_rpath): Call expand_dynamic_string_token with
63384 non-zero is_path. Ignore empty rpaths.
63385 (_dl_map_object_from_fd): Call expand_dynamic_string_token
63386 with zero is_path.
63387
63388 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
63389
63390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63391 Make cancelable.
63392
63393 2011-04-09 Ulrich Drepper <drepper@gmail.com>
63394
63395 [BZ #12655]
63396 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
63397 Patch by Filipe David Manana <fdmanana@apache.org>.
63398
63399 2011-04-07 Andreas Schwab <schwab@redhat.com>
63400
63401 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
63402 Maintain aligned stack.
63403 (CHECK_RSP): Remove unused macro.
63404
63405 2011-04-03 Ulrich Drepper <drepper@gmail.com>
63406
63407 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
63408 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
63409
63410 2011-04-02 Ulrich Drepper <drepper@gmail.com>
63411
63412 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
63413
63414 * include/features.h: Mention __USE_XOPEN2K8 in comment.
63415
63416 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
63417
63418 [BZ #12518]
63419 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
63420 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
63421 * sysdeps/x86_64/memmove.c: New file.
63422 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
63423 (memcpy): Renamed to ...
63424 (__new_memcpy): This.
63425 (memcpy): Provide GLIBC_2_14 memcpy.
63426 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
63427 (memcpy): Provide GLIBC_2_2_5 memcpy.
63428
63429 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63430
63431 [BZ #12631]
63432 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
63433
63434 2011-03-30 Andreas Schwab <schwab@redhat.com>
63435
63436 * misc/syncfs.c: New file.
63437 * misc/Makefile (routines): Add syncfs.
63438 * posix/unistd.h: Declare syncfs.
63439 * sysdeps/unix/syscalls.list: Add syncfs.
63440
63441 2011-04-01 Andreas Schwab <schwab@redhat.com>
63442
63443 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
63444 open_by_handle_at.
63445 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63446 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63447 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63448 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63449 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63450 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
63451 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63452
63453 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63454
63455 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
63456 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63457 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
63458 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63459 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63460 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63461 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63462
63463 * io/Makefile: Compile fallocate.c, fallocate64.c, and
63464 sync_file_range.c with -fexceptions.
63465 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
63466 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
63467 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
63468 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
63469 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
63470 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
63471 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
63472 sync_file_range as cancellation point
63473 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
63474 now a wrapper around __call_sync_file_range with cancellation handling.
63475 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
63476 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
63477 function name to __call_sync_file_range.
63478 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
63479 Add call_sync_file_range.
63480
63481 2011-04-01 Andreas Schwab <schwab@redhat.com>
63482
63483 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63484 bits/timex.h.
63485
63486 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63487
63488 * iconv/iconv.h: Fix typo in comment.
63489 * io/fcntl.h: Likewise.
63490 * libio/stdio.h: Likewise.
63491 * posix/spawn.h: Likewise.
63492 * posix/unistd.h: Likewise.
63493 * stdlib/stdlib.h: Likewise.
63494 * time/time.h: Likewise.
63495 * wcsmbs/wchar.h: Likewise.
63496
63497 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
63498 open_by_handle): Add.
63499 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
63500 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
63501 Augment a few comments.
63502 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63503 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63504 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63505 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63506 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63507 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
63508 open_by_handle.
63509
63510 * io/fcntl.h (AT_EMPTY_PATH): Define.
63511
63512 2011-03-30 Ulrich Drepper <drepper@gmail.com>
63513
63514 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
63515 * sysdeps/unix/sysv/linux/bits/time.h: New file.
63516 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
63517 to...
63518 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
63519 * Versions.def: Add GLIBC_2.14.
63520 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
63521 Export.
63522
63523 2011-03-22 Ulrich Drepper <drepper@gmail.com>
63524
63525 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
63526 round counter.
63527 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63528
63529 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
63530
63531 [BZ #12597]
63532 * string/test-strncmp.c (do_page_test): New function.
63533 (check2): Likewise.
63534 (test_main): Call check2.
63535 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
63536
63537 2011-03-20 Ulrich Drepper <drepper@gmail.com>
63538
63539 [BZ #12587]
63540 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
63541 Handle cache information in CPU leaf 4.
63542 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63543
63544 2011-03-18 Ulrich Drepper <drepper@gmail.com>
63545
63546 [BZ #12583]
63547 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
63548 character representation.
63549 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
63550
63551 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
63552
63553 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
63554 END(__isnan) to END(__isnanf) to match function entry point/label
63555 EALIGN(__isnanf,...).
63556
63557 2011-03-10 Jakub Jelinek <jakub@redhat.com>
63558
63559 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
63560
63561 2011-03-10 Ulrich Drepper <drepper@gmail.com>
63562
63563 [BZ #12510]
63564 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
63565 copy from the symbol referenced in the relocation to initialize the
63566 used variable.
63567 Patch by Piotr Bury <pbury@goahead.com>.
63568 * elf/Makefile: Add rules to build and tst-unique3.
63569 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
63570 * elf/tst-unique3.cc: New file.
63571 * elf/tst-unique3.h: New file.
63572 * elf/tst-unique3lib.cc: New file.
63573 * elf/tst-unique3lib2.cc: New file.
63574
63575 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
63576
63577 2011-03-10 Mike Frysinger <vapier@gentoo.org>
63578
63579 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
63580 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
63581 to _start.
63582
63583 2011-03-06 Ulrich Drepper <drepper@gmail.com>
63584
63585 * elf/dl-load.c (_dl_map_object): If we are looking for the first
63586 to-be-loaded object along a path to loader is ld.so.
63587
63588 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63589 Ulrich Drepper <drepper@gmail.com>
63590
63591 * sysdeps/x86_64/memset.S: After aligning destination, code
63592 branches to different locations depending on the value of
63593 misalignment, when multiarch is enabled. Fix this.
63594
63595 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63596
63597 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
63598 Set _x86_64_preferred_memory_instruction for AMD processsors.
63599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63600 Set bit_Prefer_SSE_for_memop for AMD processors.
63601
63602 2011-03-04 Ulrich Drepper <drepper@gmail.com>
63603
63604 * libio/fmemopen.c (fmemopen): Optimize a bit.
63605
63606 2011-03-03 Andreas Schwab <schwab@redhat.com>
63607
63608 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
63609
63610 2011-03-03 Roland McGrath <roland@redhat.com>
63611
63612 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
63613
63614 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
63615
63616 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
63617 __bzero_ultra1 instead of __memset_ultra1.
63618
63619 2011-02-23 Andreas Schwab <schwab@redhat.com>
63620 Ulrich Drepper <drepper@gmail.com>
63621
63622 [BZ #12509]
63623 * include/link.h (struct link_map): Add l_orig_initfini.
63624 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
63625 returning unsuccessfully.
63626 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
63627 close of a file loaded at startup, restore the original l_initfini
63628 list.
63629 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
63630 list, store the pointer.
63631 * elf/Makefile ($(objpfx)noload-mem): New rule.
63632 (noload-ENV): Define.
63633 (tests): Add $(objpfx)noload-mem.
63634 * elf/noload.c: Include <memcheck.h>.
63635 (main): Call mtrace. Close all opened handles.
63636
63637 2011-02-17 Andreas Schwab <schwab@redhat.com>
63638
63639 [BZ #12454]
63640 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
63641 dependencies are missing.
63642
63643 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
63644
63645 Fix __if_freereq crash: Unlike the generic version which uses free,
63646 Hurd needs munmap.
63647 * sysdeps/mach/hurd/ifreq.h: New file.
63648
63649 2011-01-27 Petr Baudis <pasky@suse.cz>
63650 Ulrich Drepper <drepper@gmail.com>
63651
63652 [BZ 12445]#
63653 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
63654 to extend_alloca().
63655 * stdio-common/bug23.c: New file.
63656 * stdio-common/Makefile (tests): Add bug23.
63657
63658 2010-09-28 Andreas Schwab <schwab@redhat.com>
63659 Ulrich Drepper <drepper@gmail.com>
63660
63661 [BZ #12489]
63662 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
63663 before performing relro protection. At old place add assertion
63664 to make sure nothing changed.
63665
63666 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
63667 Glauber de Oliveira Costa <glommer@gmail.com>
63668
63669 * elf/elf.h: Add new ARM TLS relocs.
63670
63671 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
63672
63673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63674 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
63675 cast from r3.
63676 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
63677 'tests' variable.
63678 * sysdeps/wordsize-64/tst-writev.c: New file.
63679
63680 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
63681
63682 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
63683 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
63684 insns in _dl_start to prevent a TOC reference before relocs are
63685 resolved.
63686
63687 2011-02-15 Ulrich Drepper <drepper@gmail.com>
63688
63689 [BZ #12469]
63690 * Makeconfig: Remove RANLIB definition.
63691 * Makerules: Don't use RANLIB.
63692 * aclocal.m4: Remove ranlib test.
63693 * configure.in: No need to check for ranlib.
63694 * elf/rtld-Rules: Don't use RANLIB.
63695
63696 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
63697
63698 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
63699 protection macro.
63700 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
63701 inclusion protection macro.
63702
63703 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
63704 SIGRTMIN and SIGRTMAX and print information in that case only when
63705 SIGRTMIN is defined.
63706
63707 2011-02-11 Jakub Jelinek <jakub@redhat.com>
63708
63709 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
63710 arginfo fn returning -1.
63711
63712 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
63713 and thousands string is zero terminated.
63714
63715 2011-02-03 Andreas Schwab <schwab@redhat.com>
63716
63717 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
63718 sysdeps/unix/sysv/linux/bits/socket.h.
63719
63720 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
63721
63722 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
63723 (__CPU_COUNT): Remove old macros.
63724 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
63725 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
63726 (__CPU_ALLOC, __CPU_FREE): Add macros.
63727 (__sched_cpualloc, __sched_cpufree): Add declarations.
63728
63729 2011-02-05 Ulrich Drepper <drepper@gmail.com>
63730
63731 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
63732 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
63733 * nscd/aicache.c (addhstaiX): Return timeout of added value.
63734 (readdhstai): Return value of addhstaiX call.
63735 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
63736 (addgrbyX): Return value returned by cache_addgr.
63737 (readdgrbyname): Return value returned by addgrbyX.
63738 (readdgrbygid): Likewise.
63739 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
63740 (addpwbyX): Return value returned by cache_addpw.
63741 (readdpwbyname): Return value returned by addhstbyX.
63742 (readdpwbyuid): Likewise.
63743 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
63744 (addservbyX): Return value returned by cache_addserv.
63745 (readdservbyname): Return value returned by addservbyX:
63746 (readdservbyport): Likewise.
63747 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
63748 (addhstbyX): Return value returned by cache_addhst.
63749 (readdhstbyname): Return value returned by addhstbyX.
63750 (readdhstbyaddr): Likewise.
63751 (readdhstbynamev6): Likewise.
63752 (readdhstbyaddrv6): Likewise.
63753 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
63754 (readdinitgroups): Return value returned by addinitgroupsX.
63755 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
63756 (prune_cache): Keep track of timeout value of re-added entries.
63757 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
63758 * nscd/nscd.h: Adjust prototypes of readd* functions.
63759
63760 2011-02-04 Roland McGrath <roland@redhat.com>
63761
63762 * nis/nis_server.c (nis_servstate): Use the right name for 0.
63763 (nis_stats): Likewise.
63764 * nis/nis_modify.c (nis_modify): Likewise.
63765 * nis/nis_remove.c (nis_remove): Likewise.
63766 * nis/nis_add.c (nis_add): Likewise.
63767
63768 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
63769
63770 * posix/fnmatch_loop.c: Add some consts.
63771
63772 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
63773
63774 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
63775
63776 [BZ #12460]
63777 * config.make.in (config-cflags-novzeroupper): Define.
63778 * configure.in: Substitute libc_cv_cc_novzeroupper.
63779 * elf/Makefile (AVX-CFLAGS): Define.
63780 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
63781 (CFLAGS-tst-auditmod4a.c): Likewise.
63782 (CFLAGS-tst-auditmod4b.c): Likewise.
63783 (CFLAGS-tst-auditmod6b.c): Likewise.
63784 (CFLAGS-tst-auditmod6c.c): Likewise.
63785 (CFLAGS-tst-auditmod7b.c): Likewise.
63786 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
63787
63788 2011-02-02 Ulrich Drepper <drepper@gmail.com>
63789
63790 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
63791 function to the callback.
63792 Patch partly by Jiri Olsa <jolsa@redhat.com>.
63793
63794 2011-02-02 Andreas Schwab <schwab@redhat.com>
63795
63796 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
63797 of errno.
63798
63799 2011-01-19 Ulrich Drepper <drepper@gmail.com>
63800
63801 [BZ #11724]
63802 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
63803 of constructors.
63804 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
63805 of destructors.
63806 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
63807
63808 [BZ #11724]
63809 * elf/Makefile: Add rules to build and run new test.
63810 * elf/tst-initorder.c: New file.
63811 * elf/tst-initorder.exp: New file.
63812 * elf/tst-initordera1.c: New file.
63813 * elf/tst-initordera2.c: New file.
63814 * elf/tst-initordera3.c: New file.
63815 * elf/tst-initordera4.c: New file.
63816 * elf/tst-initorderb1.c: New file.
63817 * elf/tst-initorderb2.c: New file.
63818 * elf/tst-order-a1.c: New file.
63819 * elf/tst-order-a2.c: New file.
63820 * elf/tst-order-a3.c: New file.
63821 * elf/tst-order-a4.c: New file.
63822 * elf/tst-order-b1.c: New file.
63823 * elf/tst-order-b2.c: New file.
63824 * elf/tst-order-main.c: New file.
63825 New test case by George Gensure <werkt0@gmail.com>.
63826
63827 2010-10-01 Andreas Schwab <schwab@redhat.com>
63828
63829 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
63830 decoding ACE if AI_CANONIDN.
63831
63832 2011-01-18 Ulrich Drepper <drepper@gmail.com>
63833
63834 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
63835
63836 2011-01-17 Ulrich Drepper <drepper@gmail.com>
63837
63838 * version.h (RELEASE): Bump for 2.13 release.
63839 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
63840
63841 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
63842
63843 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
63844 MADV_NOHUGEPAGE.
63845 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
63846 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63847 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63848 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
63849 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63850 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63851
63852 * posix/getconf.c: Update copyright year.
63853 * catgets/gencat.c: Likewise.
63854 * csu/version.c: Likewise.
63855 * debug/catchsegv.sh: Likewise.
63856 * debug/xtrace.sh: Likewise.
63857 * elf/ldconfig.c: Likewise.
63858 * elf/ldd.bash.in: Likewise.
63859 * elf/sprof.c (print_version): Likewise.
63860 * iconv/iconv_prog.c: Likewise.
63861 * iconv/iconvconfig.c: Likewise.
63862 * locale/programs/locale.c: Likewise.
63863 * locale/programs/localedef.c: Likewise.
63864 * malloc/memusage.sh: Likewise.
63865 * malloc/mtrace.pl: Likewise.
63866 * nscd/nscd.c (print_version): Likewise.
63867 * nss/getent.c: Likewise.
63868
63869 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
63870 PF_CAIF, and PF_ALG.
63871 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63872
63873 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
63874
63875 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
63876 (modules-names): Use them.
63877 (ifunc-test-modules, ifunc-pie-tests): Define.
63878 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
63879 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
63880 (test-extras): Likewise.
63881 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
63882 $(compile-command.c).
63883 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
63884 (all-built-dso): Define.
63885 (check-textrel.out, check-execstack.out): Depend on it.
63886
63887 * configure.in: Don't override --enable-multi-arch.
63888
63889 2011-01-15 Ulrich Drepper <drepper@gmail.com>
63890
63891 [BZ #6812]
63892 * nscd/hstcache.c (tryagain): Define.
63893 (cache_addhst): Return tryagain not notfound for temporary errors.
63894 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
63895 failed.
63896
63897 2011-01-14 Ulrich Drepper <drepper@gmail.com>
63898
63899 [BZ #10563]
63900 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
63901 to make the syscall.
63902 * sysdeps/unix/sysv/linux/setgroups.c: New file.
63903
63904 [BZ #12378]
63905 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
63906 and fall back to matching as normal character if the string ends before
63907 the matching ']' is found. This is what POSIX requires.
63908 * posix/testfnm.c: Adjust test result.
63909 * posix/globtest.sh: Adjust test result. Add new test.
63910 * posix/tst-fnmatch.input: Likewise.
63911 * posix/tst-fnmatch2.c: Add new test.
63912
63913 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
63914
63915 * elf/Makefile (check-execstack): Revert last change. Depend on
63916 check-execstack.h.
63917 (check-execstack.h): New target.
63918 (generated): Add check-execstack.h.
63919 * elf/check-execstack.c: Include "check-execstack.h".
63920 (main): Revert last change.
63921 (handle_file): Return zero if GNU_STACK is absent and
63922 DEFAULT_STACK_PERMS doesn't include PF_X.
63923
63924 2011-01-13 Ulrich Drepper <drepper@gmail.com>
63925
63926 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
63927 in child fails because the descriptor is already closed.
63928 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
63929 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
63930 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
63931
63932 [BZ #12397]
63933 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
63934 syscall.
63935
63936 [BZ #10484]
63937 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
63938 temporary buffer used to handle multi lookups locally.
63939 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
63940
63941 2011-01-12 Ulrich Drepper <drepper@gmail.com>
63942
63943 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
63944 loader is ld.so.
63945
63946 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
63947
63948 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
63949 alignment for SSE2.
63950
63951 2011-01-12 Ulrich Drepper <drepper@gmail.com>
63952
63953 [BZ #12394]
63954 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
63955 characters. When rounding increased number of integer digits recompute
63956 number of groups.
63957 * stdio-common/tst-grouping.c: New file.
63958 * stdio-common/Makefile: Add rules to build and run tst-grouping.
63959
63960 2011-01-09 Ulrich Drepper <drepper@gmail.com>
63961
63962 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
63963 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
63964
63965 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
63966 void.
63967 * bits/select.h: Likewise.
63968
63969 2011-01-08 Ulrich Drepper <drepper@gmail.com>
63970
63971 * po/ja.po: Update from translation team.
63972
63973 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
63974
63975 [BZ #11155]
63976 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
63977 implementation just like for lxstat, fxstatat, et al.
63978
63979 2010-12-27 Jim Meyering <meyering@redhat.com>
63980
63981 [BZ #12348]
63982 * posix/regexec.c (build_trtable): Return failure indication upon
63983 calloc failure. Otherwise, re_search_internal could infloop on OOM.
63984
63985 2010-12-25 Ulrich Drepper <drepper@gmail.com>
63986
63987 [BZ #12201]
63988 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
63989 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
63990 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
63991 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
63992
63993 [BZ #12207]
63994 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
63995
63996 [BZ #12204]
63997 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
63998 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
63999
64000 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
64001
64002 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
64003 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
64004 script has SORT_BY_INIT_PRIORITY.
64005 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
64006 NO_CTORS_DTORS_SECTIONS is defined.
64007 * elf/soinit.c: Likewise.
64008 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
64009 NO_CTORS_DTORS_SECTIONS is defined.
64010 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
64011 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
64012 * sysdeps/sh/init-first.c: Likewise.
64013 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
64014
64015 2010-12-24 Ulrich Drepper <drepper@gmail.com>
64016
64017 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
64018 always use the slow path.
64019
64020 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
64021
64022 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
64023 similar rule which adds the sysdep directories to the header search in
64024 order to pick up the correct platform stackinfo.h.
64025 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
64026 perform test if it is, otherwise return successfully without testing.
64027 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
64028 DEFAULT_STACK_PERMS define in stackinfo.h.
64029 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
64030 defined in stackinfo.h.
64031 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
64032 DEFAULT_STACK_PERMS defined in stackinfo.h.
64033 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
64034 * sysdeps/ia64/stackinfo.h: Likewise.
64035 * sysdeps/s390/stackinfo.h: Likewise.
64036 * sysdeps/sh/stackinfo.h: Likewise.
64037 * sysdeps/sparc/stackinfo.h: Likewise.
64038 * sysdeps/x86_64/stackinfo.h: Likewise.
64039 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
64040 PF_X for powerpc64. Retain PF_X for powerpc32.
64041
64042 2010-12-19 Ulrich Drepper <drepper@gmail.com>
64043
64044 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
64045 accurately.
64046 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
64047 GETDENTS_64BIT_ALIGNED.
64048
64049 2010-12-14 Ulrich Drepper <dreper@gmail.com>
64050
64051 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
64052
64053 2010-12-10 Andreas Schwab <schwab@redhat.com>
64054
64055 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
64056 _GNU_SOURCE.
64057
64058 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
64059 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
64060 Remove __restrict.
64061 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
64062 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
64063
64064 2010-12-09 Ulrich Drepper <drepper@gmail.com>
64065
64066 [BZ #11655]
64067 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
64068 are initialized.
64069
64070 2010-12-09 Jakub Jelinek <jakub@redhat.com>
64071
64072 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
64073
64074 2010-12-03 Ulrich Drepper <drepper@gmail.com>
64075
64076 * po/it.po: Update from translation team.
64077
64078 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
64079
64080 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
64081 unused codes.
64082
64083 2010-11-30 Ulrich Drepper <drepper@gmail.com>
64084
64085 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
64086
64087 2010-11-24 Andreas Schwab <schwab@redhat.com>
64088
64089 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
64090 specially.
64091 (gaih_getanswer_slice): Likewise.
64092
64093 2010-10-20 Jakub Jelinek <jakub@redhat.com>
64094
64095 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
64096
64097 2010-05-31 Petr Baudis <pasky@suse.cz>
64098
64099 [BZ #11149]
64100 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
64101 silently even in the chroot mode.
64102
64103 2010-11-22 Ulrich Drepper <drepper@gmail.com>
64104
64105 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
64106 last patch a bit. Pretty printing
64107
64108 2010-05-31 Petr Baudis <pasky@suse.cz>
64109
64110 [BZ #10085]
64111 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
64112 initialization of skip_initgroups_dyn.
64113
64114 2010-11-19 Ulrich Drepper <drepper@gmail.com>
64115
64116 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
64117 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64118
64119 2010-11-16 Ulrich Drepper <drepper@gmail.com>
64120
64121 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
64122
64123 2010-11-11 Andreas Schwab <schwab@redhat.com>
64124
64125 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
64126 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
64127 (tst-fnmatch-ENV): Set MALLOC_TRACE.
64128 ($(objpfx)tst-fnmatch-mem): New rule.
64129 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
64130 * posix/tst-fnmatch.c (main): Call mtrace.
64131
64132 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
64133
64134 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64135 Support Intel processor model 6 and model 0x2c.
64136
64137 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
64138
64139 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
64140 signed comparison.
64141
64142 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
64143
64144 [BZ #12205]
64145 * string/test-strncasecmp.c (check_result): New function.
64146 (do_one_test): Use it.
64147 (check1): New function.
64148 (test_main): Use it.
64149 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
64150 Support strcasecmp and strncasecmp.
64151
64152 2010-11-08 Ulrich Drepper <drepper@gmail.com>
64153
64154 [BZ #12194]
64155 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
64156 * sysdeps/x86_64/bits/byteswap.h: Likewise.
64157
64158 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
64159
64160 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
64161 IFUNC support.
64162 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64163 memset-x86-64.
64164 * sysdeps/x86_64/multiarch/bzero.S: New file.
64165 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
64166 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
64167 * sysdeps/x86_64/multiarch/memset.S: New file.
64168 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
64169 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64170 Set bit_Prefer_SSE_for_memop for Intel processors.
64171 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
64172 Define.
64173 (index_Prefer_SSE_for_memop): Define.
64174 (HAS_PREFER_SSE_FOR_MEMOP): Define.
64175
64176 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
64177
64178 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
64179 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
64180
64181 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
64182
64183 [BZ #12191]
64184 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64185 (__x86_64_raw_data_cache_size_half): Likewise.
64186 (__x86_64_raw_shared_cache_size): Likewise.
64187 (__x86_64_raw_shared_cache_size_half): Likewise.
64188
64189 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64190 (__x86_64_raw_data_cache_size_half): Likewise.
64191 (__x86_64_raw_shared_cache_size): Likewise.
64192 (__x86_64_raw_shared_cache_size_half): Likewise.
64193 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
64194 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
64195 and __x86_64_raw_shared_cache_size_half. Round
64196 __x86_64_data_cache_size_half, __x86_64_data_cache_size
64197 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
64198 to multiple of 256 bytes.
64199
64200 2010-11-03 Ulrich Drepper <drepper@gmail.com>
64201
64202 [BZ #12167]
64203 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
64204 of inacessible symlinks. Verify result of symlink before returning it.
64205 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
64206 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
64207
64208 2010-10-28 Erich Ritz <erichritz@gmail.com>
64209
64210 * math/math.h (isinf): Fix typo in comment.
64211
64212 2010-11-01 Ulrich Drepper <drepper@gmail.com>
64213
64214 * po/da.po: Update from translation team.
64215
64216 2010-10-26 Ulrich Drepper <drepper@gmail.com>
64217
64218 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
64219 is added to the list.
64220
64221 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64222 Ulrich Drepper <drepper@gmail.com>
64223
64224 * elf/dl-object.c (_dl_new_object): Don't append the new object to
64225 the global list here. Move code to...
64226 (_dl_add_to_namespace_list): ...here. New function.
64227 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
64228 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
64229 * elf/dl-load.c (lose): Don't remove the element from the list.
64230 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
64231 (_dl_map_object): Likewise.
64232
64233 2010-10-25 Ulrich Drepper <drepper@gmail.com>
64234
64235 [BZ #12159]
64236 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
64237 into all bytes of SSE register.
64238 Patch by Richard Li <richardpku@gmail.com>.
64239
64240 2010-10-24 Ulrich Drepper <drepper@gmail.com>
64241
64242 [BZ #12140]
64243 * malloc/malloc.c (_int_free): Fill correct number of bytes when
64244 perturbing.
64245
64246 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
64247
64248 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
64249 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
64250 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
64251 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
64253 submachine.
64254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
64255
64256 2010-10-22 Andreas Schwab <schwab@redhat.com>
64257
64258 * include/dlfcn.h (__RTLD_SECURE): Define.
64259 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
64260 mode & __RTLD_SECURE instead.
64261 (open_path): Rename preloaded parameter to secure.
64262 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
64263 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
64264 * elf/dl-deps.c (openaux): Likewise.
64265 * elf/rtld.c (struct map_args): Remove is_preloaded.
64266 (map_doit): Don't use it.
64267 (dl_main): Likewise.
64268 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
64269 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
64270
64271 2010-09-09 Andreas Schwab <schwab@redhat.com>
64272
64273 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
64274 (sysd-rules-targets): Remove duplicates.
64275 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
64276 rtld-%.$o dependency.
64277
64278 2010-10-18 Andreas Schwab <schwab@redhat.com>
64279
64280 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
64281 _dl_map_object do it.
64282
64283 2010-10-19 Ulrich Drepper <drepper@gmail.com>
64284
64285 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
64286 fast fma builtins, define the macros in the C99 standard.
64287 (FP_FAST_FMAF): Likewise.
64288 (FP_FAST_FMAL): Likewise.
64289 * sysdeps/x86_64/bits/mathdef.h: Likewise.
64290
64291 * bits/mathdef.h: Update copyright year.
64292 * sysdeps/powerpc/bits/mathdef.h: Likewise.
64293
64294 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
64295
64296 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
64297 builtins, define the macros in the C99 standard.
64298 (FP_FAST_FMAF): Likewise.
64299 (FP_FAST_FMAL): Likewise.
64300 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
64301 multiply/add.
64302 (FP_FAST_FMAF): Likewise.
64303
64304 2010-10-15 Jakub Jelinek <jakub@redhat.com>
64305
64306 [BZ #3268]
64307 * math/libm-test.inc (fma_test): Some new testcases.
64308 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
64309 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
64310 y and infinite z. Do multiplication by C already in long double.
64311 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
64312 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
64313 y and infinite z. Do bitwise or of inexact bit into u.d.
64314 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
64315 * sysdeps/i386/fpu/s_fmaf.S: Removed.
64316 * sysdeps/i386/fpu/s_fma.S: Removed.
64317 * sysdeps/i386/fpu/s_fmal.S: Removed.
64318
64319 2010-10-16 Jakub Jelinek <jakub@redhat.com>
64320
64321 [BZ #3268]
64322 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
64323 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
64324 computation is not scheduled after fetestexcept. Fix value
64325 of minimum denormal long double.
64326
64327 2010-10-14 Jakub Jelinek <jakub@redhat.com>
64328
64329 [BZ #3268]
64330 * math/libm-test.inc (fma_test): Add some more tests.
64331 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
64332 correctly.
64333
64334 2010-10-15 Andreas Schwab <schwab@redhat.com>
64335
64336 * scripts/data/localplt-s390-linux-gnu.data: New file.
64337 * scripts/data/localplt-s390x-linux-gnu.data: New file.
64338
64339 2010-10-13 Jakub Jelinek <jakub@redhat.com>
64340
64341 [BZ #3268]
64342 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
64343 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
64344 instead of dbl-64.
64345 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
64346 inlines.
64347 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
64348 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
64349 if one of x and y is very large and the other is subnormal.
64350 * sysdeps/s390/fpu/s_fmaf.c: New file.
64351 * sysdeps/s390/fpu/s_fma.c: New file.
64352 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
64353 * sysdeps/powerpc/fpu/s_fma.S: New file.
64354 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
64355 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
64356 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
64357
64358 2010-10-12 Jakub Jelinek <jakub@redhat.com>
64359
64360 [BZ #3268]
64361 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
64362 fma tests.
64363 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
64364 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
64365 * sysdeps/i386/i686/multiarch/s_fma.c: Include
64366 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
64367 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
64368 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
64369 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
64370
64371 2010-10-12 Ulrich Drepper <drepper@redhat.com>
64372
64373 [BZ #12078]
64374 * posix/regcomp.c (parse_branch): One more memory leak plugged.
64375 * posix/bug-regex31.input: Add test case.
64376
64377 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64378
64379 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
64380 * posix/bug-regex31.input: New file.
64381
64382 [BZ #12078]
64383 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
64384 (parse_sub_exp): Fix last change, use postorder.
64385
64386 * posix/bug-regex31.c: New file.
64387 * posix/Makefile: Add rules to build and run bug-regex31.
64388
64389 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
64390
64391 [BZ #12078]
64392 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
64393
64394 [BZ #12108]
64395 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
64396 to have entries in sys_siglist.
64397
64398 [BZ #12093]
64399 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
64400 be NULL.
64401
64402 2010-10-07 Jakub Jelinek <jakub@redhat.com>
64403
64404 [BZ #3268]
64405 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
64406 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
64407 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
64408 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
64409 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
64410 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
64411 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
64412 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
64413 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
64414 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
64415 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
64416 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
64417 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
64418 * math/ftestexcept.c (fetestexcept): Likewise.
64419 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
64420 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
64421 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
64422 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
64423 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
64424 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
64425 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64426
64427 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64428
64429 [BZ #12107]
64430 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
64431 newline.
64432
64433 2010-10-06 Ulrich Drepper <drepper@gmail.com>
64434
64435 * string/bug-strstr1.c: New file.
64436 * string/Makefile: Add rules to build and run bug-strstr1.
64437
64438 2010-10-05 Eric Blake <eblake@redhat.com>
64439
64440 [BZ #12092]
64441 * string/str-two-way.h (two_way_long_needle): Always clear memory
64442 when skipping input due to the shift table.
64443
64444 2010-10-03 Ulrich Drepper <drepper@gmail.com>
64445
64446 [BZ #12005]
64447 * malloc/mcheck.c: Handle large requests.
64448
64449 [BZ #12077]
64450 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
64451 for strncmp and strncasecmp.
64452 * string/stratcliff.c: Add tests for strcmp and strncmp.
64453 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
64454
64455 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
64456
64457 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
64458 __set_fpscr.
64459
64460 2010-09-30 Andreas Jaeger <aj@suse.de>
64461
64462 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
64463 (CGROUP_SUPER_MAGIC): Define.
64464 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64465 Handle btrfs and cgroup file systems.
64466 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
64467 Likewise.
64468
64469 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
64470
64471 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
64472 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
64473
64474 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64475
64476 [BZ #12067]
64477 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
64478 trying to locate the ELF header.
64479
64480 2010-09-27 Andreas Schwab <schwab@redhat.com>
64481
64482 [BZ #11611]
64483 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
64484 Mask out sign-bit copies when constructing f_fsid.
64485
64486 2010-09-24 Petr Baudis <pasky@suse.cz>
64487
64488 * debug/stack_chk_fail_local.c: Add missing licence exception.
64489 * debug/warning-nop.c: Likewise.
64490
64491 2010-09-15 Joseph Myers <joseph@codesourcery.com>
64492
64493 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
64494 implementing getdents64 using getdents syscall, set d_type if
64495 __ASSUME_GETDENTS32_D_TYPE.
64496
64497 2010-09-16 Andreas Schwab <schwab@redhat.com>
64498
64499 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
64500 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
64501
64502 2010-09-21 Ulrich Drepper <drepper@redhat.com>
64503
64504 [BZ #12037]
64505 * posix/unistd.h: Undo change of feature selection for ftruncate from
64506 2010-01-11.
64507
64508 2010-09-20 Ulrich Drepper <drepper@redhat.com>
64509
64510 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
64511 detection.
64512
64513 2010-09-20 Andreas Schwab <schwab@redhat.com>
64514
64515 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
64516 fanotify_mark.
64517 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64518
64519 2010-09-14 Andreas Schwab <schwab@redhat.com>
64520
64521 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
64522 variables after CHECK_SP call.
64523 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
64524
64525 2010-09-13 Andreas Schwab <schwab@redhat.com>
64526 Ulrich Drepper <drepper@redhat.com>
64527
64528 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
64529 re-relocationg ld.so.
64530 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
64531 _dl_init_paths call.
64532 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
64533 here anymore.
64534
64535 2010-09-14 Ulrich Drepper <drepper@redhat.com>
64536
64537 * resolv/res_init.c (__res_vinit): Count the default server we added.
64538
64539 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
64540 Ulrich Drepper <drepper@redhat.com>
64541
64542 [BZ #11968]
64543 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
64544 (____longjmp_chk): Use %ebx for saving value across system call.
64545 Add unwind info.
64546
64547 2010-09-06 Andreas Schwab <schwab@redhat.com>
64548
64549 * manual/Makefile: Don't mix pattern rules with normal rules.
64550
64551 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
64552
64553 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
64554 operation.
64555 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
64556 * libio/iofopncook.c (_IO_cookie_init): Likewise.
64557 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
64558 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
64559 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64560 Likewise.
64561
64562 2010-09-04 Ulrich Drepper <drepper@redhat.com>
64563
64564 [BZ #11979]
64565 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
64566 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
64567
64568 2010-09-02 Ulrich Drepper <drepper@redhat.com>
64569
64570 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
64571 * sysdeps/x86_64/addmul_1.S: Likewise.
64572 * sysdeps/x86_64/lshift.S: Likewise.
64573 * sysdeps/x86_64/mul_1.S: Likewise.
64574 * sysdeps/x86_64/rshift.S: Likewise.
64575 * sysdeps/x86_64/sub_n.S: Likewise.
64576 * sysdeps/x86_64/submul_1.S: Likewise.
64577
64578 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
64579
64580 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
64581 Define __sched_param instead of SCHED_* and sched_param when
64582 <bits/sched.h> is included with __need_schedparam defined.
64583 * bits/sched.h [__need_schedparam]
64584 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
64585 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
64586 (__defined_schedparam): Define to 1.
64587 (__sched_param): New structure, identical to sched_param.
64588 (__need_schedparam): Undefine.
64589
64590 2010-08-31 Mike Frysinger <vapier@gentoo.org>
64591
64592 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
64593 (epoll_create1): Declare.
64594
64595 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
64596
64597 2010-08-31 Andreas Schwab <schwab@redhat.com>
64598
64599 [BZ #7066]
64600 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
64601 shifting retval into place.
64602
64603 2010-09-01 Ulrich Drepper <drepper@redhat.com>
64604
64605 * nis/rpcsvc/nis.h: Update copyright notice.
64606 * nis/rpcsvc/nis.x: Likewise.
64607 * nis/rpcsvc/nis_callback.h: Likewise.
64608 * nis/rpcsvc/nis_callback.x: Likewise.
64609 * nis/rpcsvc/nis_object.x: Likewise.
64610 * nis/rpcsvc/nis_tags.h: Likewise.
64611 * nis/rpcsvc/yp.h: Likewise.
64612 * nis/rpcsvc/yp.x: Likewise.
64613 * nis/rpcsvc/ypupd.h: Likewise.
64614 * nis/yp_xdr.c: Likewise.
64615 * nis/ypupdate_xdr.c: Likewise.
64616
64617 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
64618 mainly the body of pmap_getport. Add parameters to specify timeouts.
64619 (pmap_getport): Use __libc_rpc_getport.
64620 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
64621 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
64622 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
64623
64624 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
64625
64626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
64627 fanotify_mark.
64628
64629 2010-08-27 Roland McGrath <roland@redhat.com>
64630
64631 * sysdeps/i386/i686/multiarch/Makefile
64632 (CFLAGS-varshift.c): New variable.
64633
64634 2010-08-27 Ulrich Drepper <drepper@redhat.com>
64635
64636 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
64637 * sysdeps/i386/i686/multiarch/varshift.c: New file.
64638
64639 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
64640
64641 * sysdeps/x86_64/strlen.S: Minimal code improvement.
64642
64643 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
64644
64645 * sysdeps/x86_64/strlen.S: Unroll the loop.
64646 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64647 strlen-sse2 strlen-sse2-bsf.
64648 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
64649 __strlen_no_bsf if bit_Slow_BSF is set.
64650 (__strlen_sse42): Removed.
64651 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
64652 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
64653
64654 2010-08-25 Roland McGrath <roland@redhat.com>
64655
64656 * sysdeps/x86_64/multiarch/varshift.S: File removed.
64657 * sysdeps/x86_64/multiarch/varshift.c: New file.
64658 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
64659 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
64660 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
64661 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
64662
64663 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
64664
64665 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64666 strlen-sse2 strlen-sse2-bsf.
64667 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
64668 __strlen_sse2_bsf if bit_Slow_BSF is unset.
64669 (__strlen_sse2): Removed.
64670 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
64671 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
64672 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64673 bit_Slow_BSF for Atom.
64674 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
64675 (index_Slow_BSF): Define.
64676 (HAS_SLOW_BSF): Define.
64677
64678 2010-08-25 Ulrich Drepper <drepper@redhat.com>
64679
64680 [BZ #10851]
64681 * resolv/res_init.c (__res_vinit): When no server address at all
64682 is given default to loopback.
64683
64684 2010-08-24 Roland McGrath <roland@redhat.com>
64685
64686 * configure.in: Remove config-name.h generation.
64687 * configure: Regenerated.
64688 * config-name.in: File removed.
64689 * scripts/config-uname.sh: New file.
64690 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
64691 ($(objdir)config-name.h): New target.
64692
64693 * sunrpc/rpc_parse.h: Avoid nested comment.
64694
64695 2010-08-24 Richard Henderson <rth@redhat.com>
64696 Ulrich Drepper <drepper@redhat.com>
64697 H.J. Lu <hongjiu.lu@intel.com>
64698
64699 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
64700 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
64701 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
64702 Replace _mm_srli_si128 with __m128i_shift_right. Replace
64703 _mm_alignr_epi8 with _mm_loadu_si128.
64704 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
64705 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
64706 (__m128i_shift_right): Removed.
64707 * sysdeps/i386/i686/multiarch/varshift.h: New file.
64708 * sysdeps/i386/i686/multiarch/varshift.S: New file.
64709 * sysdeps/x86_64/multiarch/varshift.h: New file.
64710 * sysdeps/x86_64/multiarch/varshift.S: New file.
64711
64712 2010-08-21 Mike Frysinger <vapier@gentoo.org>
64713
64714 * configure.in: Move assembler checks to before sysdep dir checking.
64715
64716 2010-08-20 Petr Baudis <pasky@suse.cz>
64717
64718 * LICENSES: Sync the sunrpc license.
64719
64720 2010-08-19 Ulrich Drepper <drepper@redhat.com>
64721
64722 * sunrpc/auth_des.c: Update copyright notice once again.
64723 * sunrpc/auth_none.c: Likewise.
64724 * sunrpc/auth_unix.c: Likewise.
64725 * sunrpc/authdes_prot.c: Likewise.
64726 * sunrpc/authuxprot.c: Likewise.
64727 * sunrpc/bindrsvprt.c: Likewise.
64728 * sunrpc/clnt_gen.c: Likewise.
64729 * sunrpc/clnt_perr.c: Likewise.
64730 * sunrpc/clnt_raw.c: Likewise.
64731 * sunrpc/clnt_simp.c: Likewise.
64732 * sunrpc/clnt_tcp.c: Likewise.
64733 * sunrpc/clnt_udp.c: Likewise.
64734 * sunrpc/clnt_unix.c: Likewise.
64735 * sunrpc/des_crypt.c: Likewise.
64736 * sunrpc/des_soft.c: Likewise.
64737 * sunrpc/get_myaddr.c: Likewise.
64738 * sunrpc/getrpcport.c: Likewise.
64739 * sunrpc/key_call.c: Likewise.
64740 * sunrpc/key_prot.c: Likewise.
64741 * sunrpc/openchild.c: Likewise.
64742 * sunrpc/pm_getmaps.c: Likewise.
64743 * sunrpc/pm_getport.c: Likewise.
64744 * sunrpc/pmap_clnt.c: Likewise.
64745 * sunrpc/pmap_prot.c: Likewise.
64746 * sunrpc/pmap_prot2.c: Likewise.
64747 * sunrpc/pmap_rmt.c: Likewise.
64748 * sunrpc/rpc/auth.h: Likewise.
64749 * sunrpc/rpc/auth_unix.h: Likewise.
64750 * sunrpc/rpc/clnt.h: Likewise.
64751 * sunrpc/rpc/des_crypt.h: Likewise.
64752 * sunrpc/rpc/key_prot.h: Likewise.
64753 * sunrpc/rpc/netdb.h: Likewise.
64754 * sunrpc/rpc/pmap_clnt.h: Likewise.
64755 * sunrpc/rpc/pmap_prot.h: Likewise.
64756 * sunrpc/rpc/pmap_rmt.h: Likewise.
64757 * sunrpc/rpc/rpc.h: Likewise.
64758 * sunrpc/rpc/rpc_des.h: Likewise.
64759 * sunrpc/rpc/rpc_msg.h: Likewise.
64760 * sunrpc/rpc/svc.h: Likewise.
64761 * sunrpc/rpc/svc_auth.h: Likewise.
64762 * sunrpc/rpc/types.h: Likewise.
64763 * sunrpc/rpc/xdr.h: Likewise.
64764 * sunrpc/rpc_clntout.c: Likewise.
64765 * sunrpc/rpc_cmsg.c: Likewise.
64766 * sunrpc/rpc_common.c: Likewise.
64767 * sunrpc/rpc_cout.c: Likewise.
64768 * sunrpc/rpc_dtable.c: Likewise.
64769 * sunrpc/rpc_hout.c: Likewise.
64770 * sunrpc/rpc_main.c: Likewise.
64771 * sunrpc/rpc_parse.c: Likewise.
64772 * sunrpc/rpc_parse.h: Likewise.
64773 * sunrpc/rpc_prot.c: Likewise.
64774 * sunrpc/rpc_sample.c: Likewise.
64775 * sunrpc/rpc_scan.c: Likewise.
64776 * sunrpc/rpc_scan.h: Likewise.
64777 * sunrpc/rpc_svcout.c: Likewise.
64778 * sunrpc/rpc_tblout.c: Likewise.
64779 * sunrpc/rpc_util.c: Likewise.
64780 * sunrpc/rpc_util.h: Likewise.
64781 * sunrpc/rpcinfo.c: Likewise.
64782 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
64783 * sunrpc/rpcsvc/key_prot.x: Likewise.
64784 * sunrpc/rpcsvc/klm_prot.x: Likewise.
64785 * sunrpc/rpcsvc/mount.x: Likewise.
64786 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
64787 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
64788 * sunrpc/rpcsvc/rex.x: Likewise.
64789 * sunrpc/rpcsvc/rstat.x: Likewise.
64790 * sunrpc/rpcsvc/rusers.x: Likewise.
64791 * sunrpc/rpcsvc/sm_inter.x: Likewise.
64792 * sunrpc/rpcsvc/spray.x: Likewise.
64793 * sunrpc/rpcsvc/yppasswd.x: Likewise.
64794 * sunrpc/rtime.c: Likewise.
64795 * sunrpc/svc.c: Likewise.
64796 * sunrpc/svc_auth.c: Likewise.
64797 * sunrpc/svc_authux.c: Likewise.
64798 * sunrpc/svc_raw.c: Likewise.
64799 * sunrpc/svc_run.c: Likewise.
64800 * sunrpc/svc_simple.c: Likewise.
64801 * sunrpc/svc_tcp.c: Likewise.
64802 * sunrpc/svc_udp.c: Likewise.
64803 * sunrpc/svc_unix.c: Likewise.
64804 * sunrpc/svcauth_des.c: Likewise.
64805 * sunrpc/xcrypt.c: Likewise.
64806 * sunrpc/xdr.c: Likewise.
64807 * sunrpc/xdr_array.c: Likewise.
64808 * sunrpc/xdr_float.c: Likewise.
64809 * sunrpc/xdr_mem.c: Likewise.
64810 * sunrpc/xdr_rec.c: Likewise.
64811 * sunrpc/xdr_ref.c: Likewise.
64812 * sunrpc/xdr_sizeof.c: Likewise.
64813 * sunrpc/xdr_stdio.c: Likewise.
64814
64815 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
64816 handling.
64817
64818 2010-08-19 Andreas Schwab <schwab@redhat.com>
64819
64820 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
64821
64822 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
64823
64824 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
64825 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
64826 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
64827 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
64828 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
64829 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
64830 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
64831 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
64832 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
64833 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
64834 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
64835 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
64836 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
64837 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
64838
64839 2010-07-26 Anton Blanchard <anton@samba.org>
64840
64841 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
64842 * malloc/arena.c (heap_trim): Likewise.
64843
64844 2010-08-16 Ulrich Drepper <drepper@redhat.com>
64845
64846 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
64847 here. Not...
64848 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
64849 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
64850
64851 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
64852
64853 * sysdeps/i386/elf/Makefile: New file.
64854
64855 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
64856
64857 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
64858 from fanotify_init.
64859 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
64860 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64861
64862 2010-08-15 Ulrich Drepper <drepper@redhat.com>
64863
64864 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
64865 of strncasecmp_l.
64866 * sysdeps/multiarch/strcmp.S: Likewise.
64867
64868 2010-08-14 Ulrich Drepper <drepper@redhat.com>
64869
64870 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64871 strncase_l-nonascii.
64872 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64873 Add strncase_l-ssse3.
64874 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
64875 * sysdeps/x86_64/strcmp.S: Likewise.
64876 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
64877 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
64878 * sysdeps/x86_64/strncase.S: New file.
64879 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
64880 * sysdeps/x86_64/strncase_l.S: New file.
64881 * string/Makefile (strop-tests): Add strncasecmp.
64882 * string/test-strncasecmp.c: New file.
64883
64884 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
64885 warning.
64886
64887 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
64888 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
64889
64890 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
64891
64892 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
64893
64894 2010-08-12 Ulrich Drepper <drepper@redhat.com>
64895
64896 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
64897 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
64898 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
64899
64900 2010-05-01 Alan Modra <amodra@gmail.com>
64901
64902 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
64903 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
64904 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
64905 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
64906 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
64907 tidying. Don't tail-call __sigjmp_save for static lib.
64908 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
64909 save location.
64910 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
64911 (CALL_MCOUNT): Add eh info, and nop after bl.
64912 (TAIL_CALL_SYSCALL_ERROR): New macro.
64913 (PSEUDO_RET): Use it.
64914 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
64915 Correct save location of integer regs and cr.
64916 (_dl_profile_resolve): Correct cr save location. Delete nops
64917 after bl when SHARED. Reduce cfi size a little by better
64918 placement of cfi directives.
64919 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
64920 make a stack frame. Instead use parm save area as a temp.
64921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
64922 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
64923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
64924 Don't make a stack frame for parent, use parm save area.
64925 Increase child stack frame to 112 bytes. Don't save unused reg,
64926 and adjust reg usage. Set up cfi on error recovery and
64927 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
64928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
64929 (__makecontext): Add dummy nop after jump to exit.
64930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
64931 Use correct parm save area and cr save, reduce stack frame.
64932 Correct cfi for possible PSEUDO_RET frame setup.
64933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
64934 Branch to local label emitted by PSEUDO_RET rather than
64935 __syscall_error.
64936
64937 2010-08-12 Andreas Schwab <schwab@redhat.com>
64938
64939 [BZ #11904]
64940 * locale/programs/locale.c (print_assignment): New function.
64941 (show_locale_vars): Use it.
64942
64943 2010-08-11 Ulrich Drepper <drepper@redhat.com>
64944
64945 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
64946 field.
64947 (struct statfs64): Likewise.
64948 (_STATFS_F_FLAGS): Define.
64949 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
64950 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64951 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
64952 (ST_VALID): Define locally.
64953 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
64954 __statvfs_getflags, use the provided value.
64955 * sysdeps/unix/sysv/linux/kernel-features.h: Define
64956 __ASSUME_STATFS_F_FLAGS.
64957
64958 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
64959
64960 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
64961 Add sys/fanotify.h.
64962 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
64963 fanotify_mask for GLIBC_2.13.
64964 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
64965 fanotify_init and fanotify_mark.
64966 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64967 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
64968
64969 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
64970 Add prlimit.
64971 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
64972 prlimit64 for GLIBC_2.13.
64973 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
64974 prlimit64.
64975 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
64976 syscall.
64977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
64978 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64979 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
64980 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
64981 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
64982 add prlimit alias.
64983 * sysdeps/unix/sysv/linux/prlimit.c: New file.
64984
64985 [BZ #11903]
64986 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
64987 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
64988
64989 * nss/Makefile: Add rules to build and run tst-nss-test1.
64990 * shlib-versions: Add entry for libnss_test1.
64991 * nss/nss_test1.c: New file.
64992 * nss/tst-nss-test1.c: New file.
64993
64994 * nss/nsswitch.c (__nss_database_custom): Define new variable.
64995 (__nss_configure_lookup): Set appropriate entry in
64996 __nss_configure_lookup to true.
64997 * nss/nsswitch.h: Define enum with indeces of databases in
64998 databases and __nss_database_custom arrays. Declare
64999 __nss_database_custom.
65000 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
65001 to avoid using nscd when custom rules are installed.
65002 * nss/getXXbyYY_r.c: Likewise.
65003 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
65004
65005 * nss/nss_files/files-parse.c: Whitespace fixes.
65006
65007 2010-08-09 Ulrich Drepper <drepper@redhat.com>
65008
65009 [BZ #11883]
65010 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
65011 * posix/fnmatch_loop.c: Likewise.
65012
65013 2010-07-17 Andi Kleen <ak@linux.intel.com>
65014
65015 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
65016 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
65017 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
65018 * Versions.def [GLIBC_2.13]: Add.
65019
65020 2010-08-06 Ulrich Drepper <drepper@redhat.com>
65021
65022 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65023 Also fail if tpwd after pwuid call is NULL.
65024
65025 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
65026
65027 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
65028 when converting to ms.
65029
65030 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
65031
65032 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
65033 EOPNOTSUPP errors with ENOTTY.
65034 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
65035 EOPNOTSUPP errors with ENOTTY.
65036
65037 2010-07-31 Ulrich Drepper <drepper@redhat.com>
65038
65039 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65040 Add strcasecmp_l-ssse3.
65041 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
65042 strcasecmp.
65043 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
65044 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
65045 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
65046
65047 2010-07-30 Ulrich Drepper <drepper@redhat.com>
65048
65049 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
65050
65051 * string/Makefile (strop-tests): Add strcasecmp.
65052 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65053 strcasecmp_l-nonascii.
65054 (gen-as-const-headers): Add locale-defines.sym.
65055 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
65056 * sysdeps/x86_64/strcasecmp.S: New file.
65057 * sysdeps/x86_64/strcasecmp_l.S: New file.
65058 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
65059 * sysdeps/x86_64/locale-defines.sym: New file.
65060 * string/test-strcasecmp.c: New file.
65061
65062 * string/test-strcasestr.c: Test both ends of the range of characters.
65063 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
65064
65065 2010-07-29 Roland McGrath <roland@redhat.com>
65066
65067 [BZ #11856]
65068 * manual/locale.texi (Yes-or-No Questions): Fix example code.
65069
65070 2010-07-27 Ulrich Drepper <drepper@redhat.com>
65071
65072 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
65073 for ld.so.
65074
65075 2010-07-27 Andreas Schwab <schwab@redhat.com>
65076
65077 * manual/memory.texi (Malloc Tunable Parameters): Document
65078 M_PERTURB.
65079
65080 2010-07-26 Roland McGrath <roland@redhat.com>
65081
65082 [BZ #11840]
65083 * configure.in (-fgnu89-inline check): Set and substitute
65084 gnu89_inline, not libc_cv_gnu89_inline.
65085 * configure: Regenerated.
65086 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
65087
65088 2010-07-26 Ulrich Drepper <drepper@redhat.com>
65089
65090 * string/test-strnlen.c: New file.
65091 * string/Makefile (strop-tests): Add strnlen.
65092 * string/tester.c (test_strnlen): Add a few more test cases.
65093 * string/tst-strlen.c: Better error reporting.
65094
65095 * sysdeps/x86_64/strnlen.S: New file.
65096
65097 2010-07-24 Ulrich Drepper <drepper@redhat.com>
65098
65099 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
65100 lower-latency instructions.
65101
65102 2010-07-23 Ulrich Drepper <drepper@redhat.com>
65103
65104 * string/test-strcasestr.c: New file.
65105 * string/test-strstr.c: New file.
65106 * string/Makefile (strop-tests): Add strstr and strcasestr.
65107 * string/str-two-way.h: Don't undefine MAX.
65108 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
65109
65110 2010-07-21 Andreas Schwab <schwab@redhat.com>
65111
65112 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65113 strcasestr-nonascii.
65114 (CFLAGS-strcasestr-nonascii.c): Define.
65115 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
65116 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
65117 Remove unused attribute.
65118
65119 2010-07-20 Roland McGrath <roland@redhat.com>
65120
65121 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
65122 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
65123 ld.so.cache was broken. With it, there is no way to disable dsocaps
65124 like LD_HWCAP_MASK can disable hwcaps.
65125
65126 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65127
65128 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
65129
65130 2010-07-16 Ulrich Drepper <drepper@redhat.com>
65131
65132 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
65133 call in strcasestr.
65134 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
65135 __strcasestr_sse42_nonascii.
65136 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
65137 strcasestr-nonascii.c.
65138 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
65139
65140 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
65141
65142 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
65143 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
65144 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
65145 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
65146
65147 2010-07-09 Ulrich Drepper <drepper@redhat.com>
65148
65149 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
65150 fcntl.
65151
65152 2010-07-06 Andreas Schwab <schwab@redhat.com>
65153
65154 [BZ #11577]
65155 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
65156 dl_signal_cerror.
65157
65158 2010-07-06 Ulrich Drepper <drepper@redhat.com>
65159
65160 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
65161 _PC_PIPE_BUF using F_GETPIPE_SZ.
65162
65163 2010-07-05 Roland McGrath <roland@redhat.com>
65164
65165 * manual/arith.texi (Rounding Functions): Fix rint description
65166 implicit in round description.
65167
65168 2010-07-02 Ulrich Drepper <drepper@redhat.com>
65169
65170 * elf/Makefile: Fix linking for a few tests to make recent linker
65171 happy.
65172
65173 2010-06-30 Andreas Schwab <schwab@redhat.com>
65174
65175 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
65176 $(common-objpfx)libc_nonshared.a.
65177
65178 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
65179
65180 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
65181 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
65182 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65183 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65184 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
65185 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
65186 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65187 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
65189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
65190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
65191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
65193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
65195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
65196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
65197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
65198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
65200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
65202 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
65203 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
65204 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
65205 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
65206 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
65207 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
65208 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
65209 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
65210 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
65211 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
65212 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
65213 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
65214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
65215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
65216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
65217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
65218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
65219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
65220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
65221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
65222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
65223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
65224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
65225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
65226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
65227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
65228
65229 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
65230
65231 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
65232 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
65233 * string/memmove.c (memmove): Renamed to ...
65234 (MEMMOVE): ...this. Default to memmove.
65235 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
65236 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
65237 (END_CHK): Define.
65238 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65239 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
65240 mempcpy-ssse3-back memmove-ssse3-back.
65241 * sysdeps/x86_64/multiarch/bcopy.S: New file .
65242 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
65243 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
65244 * sysdeps/x86_64/multiarch/memcpy.S: New file.
65245 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
65246 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
65247 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
65248 * sysdeps/x86_64/multiarch/memmove.c: New file.
65249 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
65250 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
65251 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
65252 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
65253 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
65254 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
65255 Define.
65256 (index_Fast_Copy_Backward): Define.
65257 (HAS_ARCH_FEATURE): Define.
65258 (HAS_FAST_REP_STRING): Define.
65259 (HAS_FAST_COPY_BACKWARD): Define.
65260
65261 2010-06-21 Andreas Schwab <schwab@redhat.com>
65262
65263 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65264 Restore proper fallback handling.
65265
65266 2010-06-19 Ulrich Drepper <drepper@redhat.com>
65267
65268 [BZ #11701]
65269 * posix/group_member.c (__group_member): Correct checking loop.
65270
65271 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
65272 OOM in getpwuid_r correctly. Return error number when the caller
65273 should return, otherwise -1.
65274 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
65275 call returning > 0 value.
65276 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
65277
65278 2010-06-07 Andreas Schwab <schwab@redhat.com>
65279
65280 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
65281 libc_nonshared.a from targets in modules-names.
65282
65283 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
65284
65285 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
65286 requires it.
65287
65288 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
65289
65290 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
65291 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
65292 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
65293 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
65294
65295 2010-06-02 Andreas Schwab <schwab@redhat.com>
65296
65297 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
65298
65299 2010-06-14 Ulrich Drepper <drepper@redhat.com>
65300
65301 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
65302 and F_GETPIPE_SZ.
65303 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
65304 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
65305 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65306 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65307 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
65308 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
65309
65310 2010-06-14 Roland McGrath <roland@redhat.com>
65311
65312 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
65313
65314 2010-06-07 Jakub Jelinek <jakub@redhat.com>
65315
65316 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
65317 __REDIRECT followed by __THROW.
65318 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
65319 * posix/getopt.h (getopt): Likewise.
65320
65321 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65322
65323 * hurd/lookup-at.c (__file_name_lookup_at): Accept
65324 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
65325 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
65326 in AT_FLAGS.
65327 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
65328 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
65329
65330 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
65331
65332 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
65333
65334 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
65335
65336 [BZ #11640]
65337 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65338 Properly check family and model.
65339
65340 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
65341
65342 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
65343
65344 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
65345
65346 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
65347
65348 2010-05-21 Ulrich Drepper <drepper@redhat.com>
65349
65350 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
65351 symbol reference.
65352
65353 2010-05-19 Andreas Schwab <schwab@redhat.com>
65354
65355 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
65356 symbol reference.
65357
65358 2010-05-21 Andreas Schwab <schwab@redhat.com>
65359
65360 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
65361 and internal_recvmmsg.
65362 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
65363 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
65364 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
65365 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
65366
65367 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
65368 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65369 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65370
65371 2010-05-20 Andreas Schwab <schwab@redhat.com>
65372
65373 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
65374
65375 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
65376
65377 POWER7 optimizations.
65378 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
65379 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
65380
65381 2010-05-19 Ulrich Drepper <drepper@redhat.com>
65382
65383 * version.h: Update for 2.13 development version.
65384
65385 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
65386
65387 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
65388 exceptions. Return 0.
65389
65390 2010-05-07 Roland McGrath <roland@redhat.com>
65391
65392 * elf/ldconfig.c (main): Add a const.
65393
65394 2010-05-06 Ulrich Drepper <drepper@redhat.com>
65395
65396 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
65397 (args_options): Add no-idn option.
65398 (ahosts_keys_int): Add idn_flags to ai_flags.
65399 (parse_option): Handle 'i' option to clear idn_flags.
65400
65401 * malloc/malloc.c (_int_free): Possible race in the most recently
65402 added check. Only act on the data if no current modification
65403 happened.
65404
65405 See ChangeLog.17 for earlier changes.