]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Add a new benchmark for isinf/isnan/isnormal/isfinite/fpclassify. The test uses 2...
[thirdparty/glibc.git] / ChangeLog
1 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
2
3 * benchtests/Makefile: Add bench-math-inlines, link with libm.
4 * benchtests/bench-math-inlines.c: New benchmark.
5 * benchtests/bench-util.h: New file.
6 * benchtests/bench-util.c: New file.
7 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
8
9 2015-09-18 Carlos O'Donell <carlos@redhat.com>
10
11 * elf/tst-dlmopen1.c: Define TEST_SO.
12 (do_test): Use TEST_SO.
13
14 * elf/dl-load.c: Include libc-internal.h.
15 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
16
17 2015-09-18 Vincent Bernat <vincent@bernat.im>
18
19 [BZ #17887]
20 * time/strptime_l.c (__strptime_internal): Make %z accept
21 [+-]HH:MM time zones.
22
23 2015-09-18 Vincent Bernat <vincent@bernat.im>
24
25 [BZ #17886]
26 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
27 valid time zone.
28
29 2015-09-17 Mike Frysinger <vapier@gentoo.org>
30
31 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
32 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
33 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34 (__ASSUME_FDATASYNC): Delete.
35
36 2015-09-17 Joseph Myers <joseph@codesourcery.com>
37
38 * conform/linknamespace.pl: Require weak undefined symbols to be
39 in the standard namespace.
40 (%strong_syms): Rename to %seen_syms.
41 (%strong_seen): Rename to %seen_where.
42
43 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
44
45 [BZ #18970]
46 * misc/error.c (error): Replace pthread_setcancelstate with
47 __pthread_setcancelstate.
48 (error_at_line): Likewise.
49 * posix/wordexp.c (parse_comm): Likewise.
50 * stdlib/fmtmsg.c (fmtmsg): Likewise.
51 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
52 (__pthread_setcancelstate): This.
53 (pthread_setcancelstate): Add an alias.
54 * nptl/nptl-init.c (pthread_functions): Replace
55 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
56 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
57 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
58 hidden_proto.
59 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
60 it with hidden_def.
61 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
62 (pthread_setcancelstate): Renamed to ...
63 (__pthread_setcancelstate): This.
64 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
65 __libc_ptf_call with __pthread_setcancelstate.
66
67 2015-09-17 Joseph Myers <joseph@codesourcery.com>
68 Andreas Schwab <schwab@suse.de>
69
70 [BZ #17118]
71 * math/s_ctan.c (__ctan): Determine sign of zero real part of
72 result when imaginary part of argument is infinite using sine and
73 cosine.
74 * math/s_ctanf.c (__ctanf): Likewise.
75 * math/s_ctanl.c (__ctanl): Likewise.
76 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
77 of result when real part of argument is infinite using sine and
78 cosine.
79 * math/s_ctanhf.c (__ctanhf): Likewise.
80 * math/s_ctanhl.c (__ctanhl): Likewise.
81 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
82 (ctanh_test_data): Add more tests of ctanh.
83
84 2015-09-17 Joseph Myers <joseph@codesourcery.com>
85
86 [BZ #15384]
87 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
88 bit-mask as in subtraction.
89 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
90 Likewise.
91 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
92 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
93 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
94
95 [BZ #18951]
96 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
97 underflow exception for small results.
98 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
99 Likewise.
100 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
101 Likewise.
102 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
103 Likewise.
104 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
105 Likewise.
106 * math/auto-libm-test-in: Add more tests of tgamma.
107 * math/auto-libm-test-out: Regenerated.
108
109 2015-09-17 Andreas Schwab <schwab@suse.de>
110
111 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
112
113 2015-09-16 Joseph Myers <joseph@codesourcery.com>
114
115 [BZ #18977]
116 * math/bits/mathcalls.h
117 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
118 not declare.
119 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
120 Likewise.
121 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
122 Likewise.
123 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
124 Likewise.
125 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
126 Likewise.
127 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
128 Likewise.
129 * conform/data/math.h-data
130 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
131 function.
132 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
133 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
134 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
135 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
136 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
137 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
138 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
139 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
140 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
141 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
142 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
143
144 [BZ #6803]
145 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
146 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
147 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
148 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
149 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
150 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
151 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
152 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
153 [NO_LONG_DOUBLE] (scalbnl): Likewise.
154 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
155 Likewise.
156 [NO_LONG_DOUBLE] (scalbnl): Likewise.
157 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
158 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
159 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
160 long_double_symbol calls.
161 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
162 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
163 strong alias of __ldexpl.
164 (scalbnl): Define using long_double_symbol.
165 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
166 Remove alias.
167 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
168 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
169 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
170 (scalbln_test_data): Add more errno expectations.
171
172 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
173
174 Cache the host port like we cache the task port. This way we do not
175 need to call the kernel just to get the port. Furthermore, we no
176 longer increase the reference count on every invocation of
177 `mach_host_self'.
178
179 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
180 Protect declarations against the macro expansion.
181 * mach/mach_init.c (__mach_host_self_): New variable.
182 (mach_init): Initialize `__mach_host_self_'.
183 * mach/mach_init.h (__mach_host_self_): New declaration.
184 (__mach_host_self, mach_host_self): New macros.
185 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
186 Release reference.
187
188 2015-09-16 Joseph Myers <joseph@codesourcery.com>
189
190 [BZ #4404]
191 * po/de.po: Update from Translation Project.
192
193 [BZ #16415]
194 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
195 (__expm1l): Remove code to handle positive infinity and overflow.
196 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
197 variable.
198 (__expm1l): Remove code to handle positive infinity and overflow.
199
200 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
201 Paul Pluzhnikov <ppluzhnikov@google.com>
202
203 [BZ #18872]
204 * stdio-common/Makefile (tst-printf-bz18872): New test.
205 (tst-printf-bz18872-mem.out): Likewise.
206 * stdio-common/tst-printf-bz18872.sh: Generate new test.
207 * stdio-common/vfprintf.c: Fix memory leaks.
208
209 2015-09-16 Andreas Schwab <schwab@suse.de>
210
211 [BZ #17244]
212 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
213 Remove extra va_start/va_end calls.
214
215 [BZ #17243]
216 * posix/execl.c (execl): Add missing va_end.
217 * posix/execle.c (execle): Likewise.
218 * posix/execlp.c (execlp): Likewise.
219
220 2015-09-15 Roland McGrath <roland@hack.frob.com>
221
222 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
223 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
224
225 2015-09-15 Joseph Myers <joseph@codesourcery.com>
226
227 [BZ #18967]
228 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
229 undefine around includes of <bits/mathcalls.h>.
230 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
231 not declare function.
232 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
233 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
234 (scalb): Likewise.
235 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
236 not define macro.
237 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
238 variable.
239 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
240 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
241 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
242
243 [BZ #18857]
244 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
245 return non-finite argument without doing ordered comparisons on
246 it.
247
248 [BZ #16296]
249 * math/fenv.h (fegetround): Use __attribute_pure__.
250 * include/fenv.h (__fegetround): Likewise.
251
252 [BZ #18595]
253 * math/s_ctan.c (__ctan): Force underflow exception for results
254 whose real or imaginary part has small absolute value.
255 * math/s_ctanf.c (__ctanf): Likewise.
256 * math/s_ctanh.c (__ctanh): Likewise.
257 * math/s_ctanhf.c (__ctanhf): Likewise.
258 * math/s_ctanhl.c (__ctanhl): Likewise.
259 * math/s_ctanl.c (__ctanl): Likewise.
260 * math/auto-libm-test-in: Do not allow missing underflow for ctan
261 and ctanh. Add more tests of ctan and ctanh.
262
263 [BZ #15918]
264 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
265 handling of cases where one argument is an infinity.
266
267 [BZ #18875]
268 [BZ #18966]
269 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
270 (MO): New macro.
271 (__ieee754_exp10): For small results, force underflow exception
272 and remove excess range and precision from return value.
273 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
274 (MO): New macro.
275 (__ieee754_exp10f): For small results, force underflow exception
276 and remove excess range and precision from return value.
277 * math/auto-libm-test-in: Add more tests of exp10.
278 * math/auto-libm-test-out: Regenerated.
279
280 2015-09-14 Joseph Myers <joseph@codesourcery.com>
281
282 [BZ #18875]
283 [BZ #18961]
284 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
285 (MO): New macro.
286 (__ieee754_exp): For small results, force underflow exception and
287 remove excess range and precision from return value.
288 (__exp_finite): Likewise.
289 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
290 (MO): New macro.
291 (__ieee754_expf): For small results, force underflow exception and
292 remove excess range and precision from return value.
293 (__expf_finite): Likewise.
294 * math/auto-libm-test-in: Add more tests of exp.
295 * math/auto-libm-test-out: Regenerated.
296
297 [BZ #16521]
298 [BZ #18875]
299 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
300 small results.
301 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
302 (MO): New macro.
303 (__ieee754_exp2): For small results, force underflow exception and
304 remove excess range and precision from return value.
305 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
306 (MO): New macro.
307 (__ieee754_exp2f): For small results, force underflow exception
308 and remove excess range and precision from return value.
309 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
310 (MO): New macro.
311 (__ieee754_exp2l): Force underflow exception for small results.
312 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
313 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
314 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
315 (MO): New macro.
316 (__ieee754_exp2l): Force underflow exception for small results.
317 * math/auto-libm-test-in: Add more tests or exp2.
318 * math/auto-libm-test-out: Regenerated.
319
320 2015-09-14 Carlos O'Donell <carlos@redhat.com>
321
322 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
323
324 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
325 /dev/null.
326
327 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
328
329 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
330 io fs process)): Drop spurious backslash.
331
332 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
333
334 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
335 Use sysinfo system call instead of parsing /proc/meminfo.
336 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
337 Likewise.
338
339 2015-09-11 Mike Frysinger <vapier@gentoo.org>
340
341 [BZ #16985]
342 * programs/localedef.c (main): Display argv[remaining] when
343 output_path is NULL.
344
345 2015-09-11 Joseph Myers <joseph@codesourcery.com>
346
347 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
348 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
349 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
350 tanh.
351 * math/auto-libm-test-out: Regenerated.
352 * sysdeps/i386/fpu/libm-test-ulps: Update.
353 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
354 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
356
357 2015-09-11 Roland McGrath <roland@hack.frob.com>
358
359 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
360 Use 'override' keyword to freeze the value here, preventing
361 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
362
363 2015-09-11 Joseph Myers <joseph@codesourcery.com>
364
365 [BZ #14912]
366 * sysdeps/aarch64/bits/atomic.h: Move to ...
367 * sysdeps/aarch64/atomic-machine.h: ...here.
368 (_AARCH64_BITS_ATOMIC_H): Rename macro to
369 _AARCH64_ATOMIC_MACHINE_H.
370 * sysdeps/alpha/bits/atomic.h: Move to ...
371 * sysdeps/alpha/atomic-machine.h: ...here.
372 * sysdeps/arm/bits/atomic.h: Move to ...
373 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
374 * bits/atomic.h: Move to ...
375 * sysdeps/generic/atomic-machine.h: ...here.
376 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
377 * sysdeps/i386/bits/atomic.h: Move to ...
378 * sysdeps/i386/atomic-machine.h: ...here.
379 * sysdeps/ia64/bits/atomic.h: Move to ...
380 * sysdeps/ia64/atomic-machine.h: ...here.
381 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
382 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
383 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
384 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
385 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
386 * sysdeps/microblaze/bits/atomic.h: Move to ...
387 * sysdeps/microblaze/atomic-machine.h: ...here.
388 * sysdeps/mips/bits/atomic.h: Move to ...
389 * sysdeps/mips/atomic-machine.h: ...here.
390 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
391 * sysdeps/powerpc/bits/atomic.h: Move to ...
392 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
393 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
394 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
395 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
396 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
397 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
398 <atomic-machine.h> instead of <bits/atomic.h>.
399 * sysdeps/s390/bits/atomic.h: Move to ...
400 * sysdeps/s390/atomic-machine.h: ...here.
401 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
402 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
403 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
404 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
405 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
406 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
407 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
408 * sysdeps/tile/bits/atomic.h: Move to ...
409 * sysdeps/tile/atomic-machine.h: ...here.
410 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
411 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
412 <sysdeps/tile/atomic-machine.h> instead of
413 <sysdeps/tile/bits/atomic.h>.
414 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
415 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
416 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
417 <sysdeps/tile/atomic-machine.h> instead of
418 <sysdeps/tile/bits/atomic.h>.
419 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
420 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
421 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
422 <sysdeps/arm/atomic-machine.h> instead of
423 <sysdeps/arm/bits/atomic.h>.
424 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
425 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
426 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
427 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
428 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
429 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
430 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
431 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
432 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
433 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
434 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
435 * sysdeps/x86_64/bits/atomic.h: Move to ...
436 * sysdeps/x86_64/atomic-machine.h: ...here.
437 * include/atomic.h: Include <atomic-machine.h> instead of
438 <bits/atomic.h>.
439
440 * sysdeps/mips/mips32/libm-test-ulps: Update.
441 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
442
443 [BZ #18952]
444 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
445 not convert non-integer negative arguments to int to determine the
446 value of signgam.
447 * math/auto-libm-test-in: Add more tests of lgamma.
448 * math/auto-libm-test-out: Regenerated.
449
450 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
451 cosh, csqrt, erfc, expm1 and lgamma.
452 * math/auto-libm-test-out: Regenerated.
453 * sysdeps/i386/fpu/libm-test-ulps: Update.
454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
455
456 2015-09-10 Joseph Myers <joseph@codesourcery.com>
457
458 [BZ #2542]
459 [BZ #2543]
460 [BZ #2558]
461 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
462 __lgamma_neg for arguments from -28.0 to -2.0.
463 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
464 __lgamma_negf for arguments from -15.0 to -2.0.
465 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
466 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
467 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
468 Call __lgamma_negl for arguments from -33.0 to -2.0.
469 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
470 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
471 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
472 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
473 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
474 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
475 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
476 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
477 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
478 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
479 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
480 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
481 (__lgamma_neg): Likewise.
482 (__lgamma_negl): Likewise.
483 (__lgamma_product): Likewise.
484 (__lgamma_productl): Likewise.
485 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
486 * math/auto-libm-test-in: Add more tests of lgamma.
487 * math/auto-libm-test-out: Regenerated.
488 * sysdeps/i386/fpu/libm-test-ulps: Update.
489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
490
491 2015-09-09 Justin Maggard <jmaggard@netgear.com>
492
493 [BZ #18675]
494 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
495
496 2015-09-08 Joseph Myers <joseph@codesourcery.com>
497
498 [BZ #14912]
499 * bits/libc-lock.h: Move to ...
500 * sysdeps/generic/libc-lock.h: ...here.
501 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
502 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
503 * sysdeps/mach/hurd/libc-lock.h: ...here.
504 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
505 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
506 * sysdeps/mach/bits/libc-lock.h: Move to ...
507 * sysdeps/mach/libc-lock.h: ...here.
508 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
509 * sysdeps/nptl/bits/libc-lock.h: Move to ...
510 * sysdeps/nptl/libc-lock.h: ...here.
511 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
512 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
513 * sysdeps/nptl/libc-lockP.h: ...here.
514 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
515 * crypt/crypt_util.c: Include <libc-lock.h> instead of
516 <bits/libc-lock.h>.
517 * dirent/scandir-tail.c: Likewise.
518 * dlfcn/dlerror.c: Likewise.
519 * elf/dl-close.c: Likewise.
520 * elf/dl-iteratephdr.c: Likewise.
521 * elf/dl-lookup.c: Likewise.
522 * elf/dl-open.c: Likewise.
523 * elf/dl-support.c: Likewise.
524 * elf/dl-writev.h: Likewise.
525 * elf/rtld.c: Likewise.
526 * grp/fgetgrent.c: Likewise.
527 * gshadow/fgetsgent.c: Likewise.
528 * gshadow/sgetsgent.c: Likewise.
529 * iconv/gconv_conf.c: Likewise.
530 * iconv/gconv_db.c: Likewise.
531 * iconv/gconv_dl.c: Likewise.
532 * iconv/gconv_int.h: Likewise.
533 * iconv/gconv_trans.c: Likewise.
534 * include/link.h: Likewise.
535 * inet/getnameinfo.c: Likewise.
536 * inet/getnetgrent.c: Likewise.
537 * inet/getnetgrent_r.c: Likewise.
538 * intl/bindtextdom.c: Likewise.
539 * intl/dcigettext.c: Likewise.
540 * intl/finddomain.c: Likewise.
541 * intl/gettextP.h: Likewise.
542 * intl/loadmsgcat.c: Likewise.
543 * intl/localealias.c: Likewise.
544 * intl/textdomain.c: Likewise.
545 * libidn/idn-stub.c: Likewise.
546 * libio/libioP.h: Likewise.
547 * locale/duplocale.c: Likewise.
548 * locale/freelocale.c: Likewise.
549 * locale/newlocale.c: Likewise.
550 * locale/setlocale.c: Likewise.
551 * login/getutent_r.c: Likewise.
552 * login/getutid_r.c: Likewise.
553 * login/getutline_r.c: Likewise.
554 * login/utmp-private.h: Likewise.
555 * login/utmpname.c: Likewise.
556 * malloc/mtrace.c: Likewise.
557 * misc/efgcvt.c: Likewise.
558 * misc/error.c: Likewise.
559 * misc/fstab.c: Likewise.
560 * misc/getpass.c: Likewise.
561 * misc/mntent.c: Likewise.
562 * misc/syslog.c: Likewise.
563 * nis/nis_call.c: Likewise.
564 * nis/nis_callback.c: Likewise.
565 * nis/nss-default.c: Likewise.
566 * nis/nss_compat/compat-grp.c: Likewise.
567 * nis/nss_compat/compat-initgroups.c: Likewise.
568 * nis/nss_compat/compat-pwd.c: Likewise.
569 * nis/nss_compat/compat-spwd.c: Likewise.
570 * nis/nss_nis/nis-alias.c: Likewise.
571 * nis/nss_nis/nis-ethers.c: Likewise.
572 * nis/nss_nis/nis-grp.c: Likewise.
573 * nis/nss_nis/nis-hosts.c: Likewise.
574 * nis/nss_nis/nis-network.c: Likewise.
575 * nis/nss_nis/nis-proto.c: Likewise.
576 * nis/nss_nis/nis-pwd.c: Likewise.
577 * nis/nss_nis/nis-rpc.c: Likewise.
578 * nis/nss_nis/nis-service.c: Likewise.
579 * nis/nss_nis/nis-spwd.c: Likewise.
580 * nis/nss_nisplus/nisplus-alias.c: Likewise.
581 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
582 * nis/nss_nisplus/nisplus-grp.c: Likewise.
583 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
584 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
585 * nis/nss_nisplus/nisplus-network.c: Likewise.
586 * nis/nss_nisplus/nisplus-proto.c: Likewise.
587 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
588 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
589 * nis/nss_nisplus/nisplus-service.c: Likewise.
590 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
591 * nis/ypclnt.c: Likewise.
592 * nptl/libc_pthread_init.c: Likewise.
593 * nss/getXXbyYY.c: Likewise.
594 * nss/getXXent.c: Likewise.
595 * nss/getXXent_r.c: Likewise.
596 * nss/nss_db/db-XXX.c: Likewise.
597 * nss/nss_db/db-netgrp.c: Likewise.
598 * nss/nss_db/nss_db.h: Likewise.
599 * nss/nss_files/files-XXX.c: Likewise.
600 * nss/nss_files/files-alias.c: Likewise.
601 * nss/nsswitch.c: Likewise.
602 * posix/regex_internal.h: Likewise.
603 * posix/wordexp.c: Likewise.
604 * pwd/fgetpwent.c: Likewise.
605 * resolv/res_hconf.c: Likewise.
606 * resolv/res_libc.c: Likewise.
607 * shadow/fgetspent.c: Likewise.
608 * shadow/lckpwdf.c: Likewise.
609 * shadow/sgetspent.c: Likewise.
610 * socket/opensock.c: Likewise.
611 * stdio-common/reg-modifier.c: Likewise.
612 * stdio-common/reg-printf.c: Likewise.
613 * stdio-common/reg-type.c: Likewise.
614 * stdio-common/vfprintf.c: Likewise.
615 * stdio-common/vfscanf.c: Likewise.
616 * stdlib/abort.c: Likewise.
617 * stdlib/cxa_atexit.c: Likewise.
618 * stdlib/fmtmsg.c: Likewise.
619 * stdlib/random.c: Likewise.
620 * stdlib/setenv.c: Likewise.
621 * string/strsignal.c: Likewise.
622 * sunrpc/auth_none.c: Likewise.
623 * sunrpc/bindrsvprt.c: Likewise.
624 * sunrpc/create_xid.c: Likewise.
625 * sunrpc/key_call.c: Likewise.
626 * sunrpc/rpc_thread.c: Likewise.
627 * sysdeps/arm/backtrace.c: Likewise.
628 * sysdeps/generic/ldsodefs.h: Likewise.
629 * sysdeps/generic/stdio-lock.h: Likewise.
630 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
631 * sysdeps/i386/backtrace.c: Likewise.
632 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
633 * sysdeps/m68k/backtrace.c: Likewise.
634 * sysdeps/mach/hurd/cthreads.c: Likewise.
635 * sysdeps/mach/hurd/dirstream.h: Likewise.
636 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
637 * sysdeps/nptl/malloc-machine.h: Likewise.
638 * sysdeps/nptl/stdio-lock.h: Likewise.
639 * sysdeps/posix/dirstream.h: Likewise.
640 * sysdeps/posix/getaddrinfo.c: Likewise.
641 * sysdeps/posix/system.c: Likewise.
642 * sysdeps/pthread/aio_suspend.c: Likewise.
643 * sysdeps/s390/s390-32/backtrace.c: Likewise.
644 * sysdeps/s390/s390-64/backtrace.c: Likewise.
645 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
646 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
647 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
648 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
649 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
650 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
651 * sysdeps/unix/sysv/linux/system.c: Likewise.
652 * sysdeps/x86_64/backtrace.c: Likewise.
653 * time/alt_digit.c: Likewise.
654 * time/era.c: Likewise.
655 * time/tzset.c: Likewise.
656 * wcsmbs/wcsmbsload.c: Likewise.
657 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
658 instead of <bits/libc-lock.h> in comment.
659
660 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
661
662 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
663 Only use .set mips2 if the current ISA is below mips2.
664 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
665 Likewise.
666 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
667 mips32r2 if the current ISA is below mips32r2.
668 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
669 (TLS_IE): Updated to use the TLD_RDHWR macro.
670 (TLS_LE): Likewise.
671 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
672 __ASSEMBLER__ condition.
673
674 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
675
676 Fix parallel build of before-compile targets.
677
678 * sysdeps/mach/Makefile ($(patsubst
679 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
680 mach-before-compile target.
681 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
682 io fs process)): Move rule to dedicated hurd-before-compile target.
683
684 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
685
686 Fix rules generating headers in hurd/ and mach/ when initial make call
687 has subdir= explicitly set.
688
689 * sysdeps/mach/Makefile ($(patsubst
690 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
691 calling $(MAKE).
692 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
693 io fs process)): Force subdir to hurd when calling $(MAKE).
694 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
695 subdir to mach when calling $(MAKE).
696
697 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
698
699 Check sysheaders when looking for Mach and Hurd headers
700
701 * sysdeps/mach/configure.ac: Add sysheaders check.
702 * sysdeps/mach/configure: Regenerate.
703 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
704 * sysdeps/mach/hurd/configure: Regenerate.
705
706 2015-09-04 Roland McGrath <roland@hack.frob.com>
707
708 [BZ #18921]
709 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
710 Fix inverted sense of test of 'o_directory_works' value.
711 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
712 Bernhard Voelker <mail@bernhard-voelker.de>.
713
714 2015-09-04 Joseph Myers <joseph@codesourcery.com>
715
716 [BZ #14912]
717 * bits/linkmap.h: Move to ...
718 * sysdeps/generic/linkmap.h: ...here.
719 * sysdeps/aarch64/bits/linkmap.h: Move to ...
720 * sysdeps/aarch64/linkmap.h: ...here.
721 * sysdeps/arm/bits/linkmap.h: Move to ...
722 * sysdeps/arm/linkmap.h: ...here.
723 * sysdeps/hppa/bits/linkmap.h: Move to ...
724 * sysdeps/hppa/linkmap.h: ...here.
725 * sysdeps/ia64/bits/linkmap.h: Move to ...
726 * sysdeps/ia64/linkmap.h: ...here.
727 * sysdeps/mips/bits/linkmap.h: Move to ...
728 * sysdeps/mips/linkmap.h: ...here.
729 * sysdeps/s390/bits/linkmap.h: Move to ...
730 * sysdeps/s390/linkmap.h: ...here.
731 * sysdeps/sh/bits/linkmap.h: Move to ...
732 * sysdeps/sh/linkmap.h: ...here.
733 * sysdeps/x86/bits/linkmap.h: Move to ...
734 * sysdeps/x86/linkmap.h: ...here.
735 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
736
737 2015-09-04 Andreas Schwab <schwab@suse.de>
738
739 [BZ #18635]
740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
741 (__makecontext): Terminate FDE before return label.
742 (__novec_makecontext): Likewise.
743
744 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
745
746 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
747 first member of struct sv in syscall macro.
748
749 2015-09-04 Joseph Myers <joseph@codesourcery.com>
750
751 [BZ #14912]
752 * bits/stdio-lock.h: Move to ...
753 * sysdeps/generic/stdio-lock.h: ...here.
754 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
755 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
756 * sysdeps/nptl/stdio-lock.h: ...here.
757 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
758 * include/libio.h: Include <stdio-lock.h> instead of
759 <bits/stdio-lock.h>.
760 * sysdeps/nptl/fork.c: Likewise.
761 * sysdeps/pthread/flockfile.c: Likewise.
762 * sysdeps/pthread/ftrylockfile.c: Likewise.
763 * sysdeps/pthread/funlockfile.c: Likewise.
764
765 [BZ #14912]
766 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
767 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
768 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
769 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
770 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
771 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
772 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
773
774 2015-09-03 Roland McGrath <roland@hack.frob.com>
775
776 * elf/Makefile (test-xfail-tst-protected1a): New variable.
777 (test-xfail-tst-protected1b): New variable.
778
779 2015-09-03 Joseph Myers <joseph@codesourcery.com>
780
781 [BZ #14912]
782 * bits/libc-tsd.h: Move to ...
783 * sysdeps/generic/libc-tsd.h: ...here.
784 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
785 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
786 * sysdeps/mach/hurd/libc-tsd.h: ...here.
787 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
788 * include/ctype.h: Include <libc-tsd.h> instead of
789 <bits/libc-tsd.h>.
790 * include/rpc/rpc.h: Likewise.
791 * locale/localeinfo.h: Likewise.
792 * sunrpc/rpc_thread.c: Likewise.
793 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
794 * sysdeps/nptl/malloc-machine.h: Likewise.
795
796 * Makefile (headers): Remove bits/libc-lock.h.
797 * libio/Makefile (headers): Remove bits/stdio-lock.h.
798
799 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
800 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
801 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
802 <bits/stdio-lock.h>.
803 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
804 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
805
806 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
807
808 [BZ #18757]
809 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
810 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
811 BZ #18757.
812
813 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
814
815 * malloc/mtrace.pl: Filter out NULL entries.
816
817 2015-09-01 Joseph Myers <joseph@codesourcery.com>
818
819 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
820 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
821 macro.
822
823 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
824 (TCP_CC_INFO): Likewise.
825 (TCP_SAVE_SYN): Likewise.
826 (TCP_SAVED_SYN): Likewise.
827
828 2015-08-31 Brett Neumeier <brett@neumeier.us>
829
830 [BZ #18870]
831 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
832
833 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
834
835 [BZ #18873]
836 Fix broken overflow check in posix_fallocate
837 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
838 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
839 Fix parenthesization typo.
840
841 2015-08-28 Mike Frysinger <vapier@gentoo.org>
842
843 [BZ #18887]
844 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
845 tst-mntent-blank-passno.
846 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
847 * misc/tst-mntent-blank-corrupt.c: New test.
848 * misc/tst-mntent-blank-passno.c: New test ripped from ...
849 * misc/tst-mntent.c (do_test): ... here.
850
851 2015-08-29 Mike Frysinger <vapier@gentoo.org>
852
853 [BZ #4404]
854 * po/de.po: Fix SIGALRM typo.
855
856 2015-08-28 James Perkins <james@loowit.net>
857
858 * time/tst-strptime2.c (tests): Replace short list of test
859 strings for strptime %z specifier with code which exhaustively
860 tests every combination of sign and 0 to 5 digits. Tests for
861 rejection of invalid strings.
862
863 2015-08-28 James Perkins <james@loowit.net>
864
865 [BZ #16141]
866 * time/strptime_l.c (__strptime_internal): Fix %z minutes
867 calculation, removing incorrect decimal time rounding, so that
868 all minute values result in a valid seconds value.
869 * time/strptime_l.c (__strptime_internal): Extend %z time zone
870 offset range limits to UTC-99:59 through UTC+99:59 to parse
871 current and historical use cases.
872 * time/tst-strptime2.c (tests): Modify and add tests for the
873 strptime %z input field descriptor, specifically conversion of
874 minutes to seconds and validating an offset range of -9959 to
875 +9959.
876
877 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
878 Dmitry V. Levin <ldv@altlinux.org>
879
880 [BZ #18877]
881 * posix/Makefile (tests): Add tst-mmap-offset.
882 * posix/tst-mmap.c: New file.
883 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
884 offset calculation for negative values.
885
886 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
887
888 * sysdeps/i386/init-arch.h: New file.
889 * sysdeps/i386/i586/init-arch.h: Likewise.
890 * sysdeps/i386/i686/init-arch.h: Likewise.
891 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
892 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
893 * sysdeps/x86/cpu-features.h (bit_I586): New.
894 (bit_I686): Likewise.
895 (bit_CX8): Likewise.
896 (bit_CMOV): Likewise.
897 (index_CX8): Likewise.
898 (index_CMOV): Likewise.
899 (index_I586): Likewise.
900 (index_I686): Likewise.
901 (reg_CX8): Likewise.
902 (reg_CMOV): Likewise.
903 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
904 available at compile-time.
905 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
906 available at compile-time.
907 * sysdeps/x86/init-arch.h (USE_I586): New macro.
908 (USE_I686): Likewise.
909
910 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
911
912 * sysdeps/i386/bcopy.S: New file.
913 * sysdeps/i386/bzero.S: Likewise.
914 * sysdeps/i386/memcpy.S: Likewise.
915 * sysdeps/i386/memmove.S: Likewise.
916 * sysdeps/i386/mempcpy.S: Likewise.
917 * sysdeps/i386/memset.S: Likewise.
918 * sysdeps/i386/bzero.c: Removed.
919 * sysdeps/i386/memset.c: Likewise.
920 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
921 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
922 * sysdeps/i386/i586/memset_chk.S: Likewise.
923 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
924 * sysdeps/i386/memcpy_chk.S: Here.
925 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
926 * sysdeps/i386/memmove_chk.S: Here.
927 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
928 * sysdeps/i386/mempcpy_chk.S: Likewise.
929 * sysdeps/i386/i686/memset_chk.S: Moved to ...
930 * sysdeps/i386/memset_chk.S: Likewise.
931
932 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
933
934 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
935 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
936 file, move DIAG_POP_NEEDS_COMMENT to end of file.
937 * soft-fp/fmadf4.c: Ditto.
938 * soft-fp/fmatf4.c: Ditto.
939
940 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
941
942 * sysdeps/i386/i586/Implies: Removed.
943 * sysdeps/i386/i686/Implies: Likewise.
944
945 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
946
947 * sysdeps/i386/i486/strlen.S: Moved to ...
948 * sysdeps/i386/strlen.S: Here.
949
950 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
951
952 * sysdeps/i386/i486/strcat.S: Moved to ...
953 * sysdeps/i386/strcat.S: Here.
954
955 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
956
957 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
958 * sysdeps/i386/pthread_spin_trylock.S: Here.
959 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
960 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
961
962 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
963
964 * sysdeps/i386/i486/string-inlines.c: Moved to ...
965 * sysdeps/i386/string-inlines.c: Here.
966
967 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
968
969 * sysdeps/i386/i486/htonl.S: Moved ...
970 * sysdeps/i386/htonl.S: here.
971
972 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
973
974 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
975 * sysdeps/i386/bits/atomic.h: Here.
976
977 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
978
979 * sysdeps/i386/i486/Versions: Removed.
980
981 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
982
983 [BZ #2898]
984 * misc/mktemp.c: Add mkdtemp to the link_warning message.
985 Based on patch by Aurelien Jarno.
986
987 2015-08-26 Stan Shebs <stanshebs@google.com>
988
989 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
990 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
991
992 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
993
994 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
995 * sysdeps/powerpc/dl-procinfo.c:
996 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
997 feature so it shows when LD_SHOW_AUXV=1.
998
999 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1000
1001 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1002 (__arch_compare_and_exchange_val_32_acq): Remove and use common
1003 definition. ISA 2.07B no longer requires full sync.
1004
1005 2015-08-26 Mike Frysinger <vapier@gentoo.org>
1006
1007 [BZ #18863]
1008 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
1009 (si_call_addr): Define.
1010 (si_syscall): Define.
1011 (si_arch): Define.
1012
1013 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
1014
1015 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
1016 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
1017 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
1018 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1019 (__memset_zero_constant_len_parameter): New.
1020 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
1021 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1022 (__memset_zero_constant_len_parameter): Don't define if
1023 __memset_chk or USE_AS_BZERO are defined.
1024
1025 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
1026 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
1027 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
1028
1029 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
1030 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
1031 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
1032 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
1033 comments.
1034 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
1035 -mno-mmx for $(all-rtld-routines).
1036 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
1037 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
1038 i386.
1039
1040 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1041
1042 * sysdeps/generic/unwind.h
1043 (_Unwind_Word): Use __mode__(__unwind_word__)
1044 instead of __mode__(__word__).
1045 (_Unwind_Sword): Likewise.
1046
1047 * sysdeps/s390/s390-64/utf8-utf16-z9.c
1048 (MAX_NEEDED_INPUT): New define.
1049 (MAX_NEEDED_OUTPUT): New define.
1050
1051 * NEWS: New item for IBM z13 string optimizations.
1052
1053 * sysdeps/s390/multiarch/memrchr-c.c: New File.
1054 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
1055 * sysdeps/s390/multiarch/memrchr.c: Likewise.
1056 * sysdeps/s390/multiarch/Makefile
1057 (sysdep_routines): Add memrchr functions.
1058 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1059 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
1060
1061 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
1062 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
1063 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
1064 * sysdeps/s390/multiarch/Makefile
1065 (sysdep_routines): Add wmemcmp functions.
1066 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1067 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
1068 * benchtests/bench-wmemcmp.c: New File.
1069 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
1070
1071 * sysdeps/s390/multiarch/wmemset-c.c: New File.
1072 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
1073 * sysdeps/s390/multiarch/wmemset.c: Likewise.
1074 * sysdeps/s390/multiarch/Makefile
1075 (sysdep_routines): Add wmemset functions.
1076 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1077 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
1078 * wcsmbs/wmemset.c: Use WMEMSET if defined.
1079 * string/test-memset.c: Add wmemset support.
1080 * wcsmbs/test-wmemset.c: New File.
1081 * wcsmbs/Makefile (strop-tests): Add wmemset.
1082 * benchtests/bench-memset.c: Add wmemset support.
1083 * benchtests/bench-wmemset.c: New File.
1084 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
1085
1086 * sysdeps/s390/multiarch/memccpy-c.c: New File.
1087 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
1088 * sysdeps/s390/multiarch/memccpy.c: Likewise.
1089 * sysdeps/s390/multiarch/Makefile
1090 (sysdep_routines): Add memccpy functions.
1091 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1092 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
1093 * string/memccpy.c: Use MEMCCPY if defined.
1094
1095 * sysdeps/s390/multiarch/memchr-vx.S: New File.
1096 * sysdeps/s390/multiarch/memchr.c: Likewise.
1097 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
1098 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
1099 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
1100 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
1101 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
1102 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
1103 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
1104 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
1105 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
1106 and rawmemchr functions.
1107 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1108 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
1109 and wmemchr.
1110 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
1111 * string/test-memchr.c: Add wmemchr support.
1112 * wcsmbs/test-wmemchr.c: New File.
1113 * wcsmbs/Makefile (strop-tests): Add wmemchr.
1114 * benchtests/bench-memchr.c: Add wmemchr support.
1115 * benchtests/bench-wmemchr.c: New File.
1116 * benchtests/Makefile (wcsmbs-bench): wmemchr.
1117
1118 * sysdeps/s390/multiarch/strcspn-c.c: New File.
1119 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
1120 * sysdeps/s390/multiarch/strcspn.c: Likewise.
1121 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
1122 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
1123 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
1124 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
1125 wcscspn functions.
1126 * sysdeps/s390/multiarch/ifunc-impl-list.c
1127 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
1128 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
1129 * string/test-strcspn.c: Add wcscspn support.
1130 * wcsmbs/test-wcscspn.c: New File.
1131 * wcsmbs/Makefile (strop-tests): Add wcscspn.
1132 * benchtests/bench-strcspn.c: Add wcscspn support.
1133 * benchtests/bench-wcscspn.c: New File.
1134 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
1135
1136 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
1137 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
1138 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
1139 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
1140 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
1141 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
1142 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
1143 wcspbrk functions.
1144 * sysdeps/s390/multiarch/ifunc-impl-list.c
1145 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
1146 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
1147 * string/test-strpbrk.c: Add wcspbrk support.
1148 * wcsmbs/test-wcspbrk.c: New File.
1149 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
1150 * benchtests/bench-strpbrk.c: Add wcspbrk support.
1151 * benchtests/bench-wcspbrk.c: New File.
1152 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
1153
1154 * sysdeps/s390/multiarch/strspn-c.c: New File.
1155 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
1156 * sysdeps/s390/multiarch/strspn.c: Likewise.
1157 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
1158 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
1159 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
1160 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
1161 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
1162 wcsspn functions.
1163 * sysdeps/s390/multiarch/ifunc-impl-list.c
1164 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
1165 * string/test-strspn.c: Add wcsspn support.
1166 * wcsmbs/test-wcsspn.c: New File.
1167 * wcsmbs/Makefile (strop-tests): Add wcsspn.
1168 * benchtests/bench-strspn.c: Add wcsspn support.
1169 * benchtests/bench-wcsspn.c: New File.
1170 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
1171
1172 * sysdeps/s390/multiarch/strrchr-c.c: New File.
1173 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
1174 * sysdeps/s390/multiarch/strrchr.c: Likewise.
1175 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
1176 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
1177 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
1178 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
1179 wcsrchr functions.
1180 * sysdeps/s390/multiarch/ifunc-impl-list.c
1181 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
1182 * benchtests/bench-wcsrchr.c: New File.
1183 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
1184
1185 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
1186 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
1187 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
1188 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
1189 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
1190 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
1191 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
1192 wcschrnul functions.
1193 * sysdeps/s390/multiarch/ifunc-impl-list.c
1194 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
1195 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
1196 * string/test-strchr.c: Add wcschrnul support.
1197 * wcsmbs/test-wcschrnul.c: New File.
1198 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
1199 * benchtests/bench-strchr.c: Add wcschrnul support.
1200 * benchtests/bench-wcschrnul.c: New File.
1201 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
1202
1203 * sysdeps/s390/multiarch/strchr-c.c: New File.
1204 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
1205 * sysdeps/s390/multiarch/strchr.c: Likewise.
1206 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
1207 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
1208 * sysdeps/s390/multiarch/wcschr.c: Likewise.
1209 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
1210 wcschr functions.
1211 * sysdeps/s390/multiarch/ifunc-impl-list.c
1212 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
1213 * string/strchr.c (STRCHR): Define and use macro.
1214 * benchtests/bench-wcschr.c: New File.
1215 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
1216
1217 * sysdeps/s390/multiarch/strncmp-c.c: New File.
1218 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
1219 * sysdeps/s390/multiarch/strncmp.c: Likewise.
1220 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
1221 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
1222 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
1223 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
1224 wcsncmp functions.
1225 * sysdeps/s390/multiarch/ifunc-impl-list.c
1226 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
1227 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
1228 * benchtests/bench-strncmp.c: Add wcsncmp support.
1229 * benchtests/bench-wcsncmp.c: New File.
1230 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
1231
1232 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
1233 * sysdeps/s390/multiarch/strcmp.c: Likewise.
1234 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
1235 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
1236 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
1237 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
1238 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
1239 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
1240 wcscmp functions.
1241 * sysdeps/s390/multiarch/ifunc-impl-list.c
1242 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
1243 * string/strcmp.c (STRCMP): Define and use macro.
1244 * benchtests/bench-wcscmp.c: New File.
1245 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
1246 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
1247 instead of _HAVE_STRING_ARCH_memchr.
1248
1249 * sysdeps/s390/multiarch/strncat-c.c: New File.
1250 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
1251 * sysdeps/s390/multiarch/strncat.c: Likewise.
1252 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
1253 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
1254 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
1255 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
1256 wcsncat functions.
1257 * sysdeps/s390/multiarch/ifunc-impl-list.c
1258 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
1259 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
1260 * string/test-strncat.c: Add wcsncat support.
1261 * wcsmbs/test-wcsncat.c: New File.
1262 * wcsmbs/Makefile (strop-tests): Add wcsncat.
1263 * benchtests/bench-strncat.c: Add wcsncat support.
1264 * benchtests/bench-wcsncat.c: New File.
1265 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
1266
1267 * sysdeps/s390/multiarch/strcat-c.c: New File.
1268 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
1269 * sysdeps/s390/multiarch/strcat.c: Likewise.
1270 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
1271 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
1272 * sysdeps/s390/multiarch/wcscat.c: Likewise.
1273 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
1274 wcscat functions.
1275 * sysdeps/s390/multiarch/ifunc-impl-list.c
1276 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
1277 * string/strcat.c (STRCAT): Define and use macro.
1278 * wcsmbs/wcscat.c: Use WCSCAT if defined.
1279 * string/test-strcat.c: Add wcscat support.
1280 * wcsmbs/test-wcscat.c: New File.
1281 * wcsmbs/Makefile (strop-tests): Add wcscat.
1282 * benchtests/bench-strcat.c: Add wcscat support.
1283 * benchtests/bench-wcscat.c: New File.
1284 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
1285
1286 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
1287 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
1288 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
1289 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
1290 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
1291 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
1292 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
1293 wcpncpy functions.
1294 * sysdeps/s390/multiarch/ifunc-impl-list.c
1295 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
1296 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
1297 * string/test-stpncpy.c: Add wcpncpy support.
1298 * wcsmbs/test-wcpncpy.c: New File.
1299 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
1300 * benchtests/bench-stpncpy.c: Add wcpncpy support.
1301 * benchtests/bench-wcpncpy.c: New File.
1302 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
1303
1304 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
1305 * sysdeps/s390/multiarch/strncpy.c: Likewise.
1306 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
1307 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
1308 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
1309 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
1310 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
1311 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
1312 wcsncpy functions.
1313 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
1314 * sysdeps/s390/multiarch/ifunc-impl-list.c
1315 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
1316 * string/test-strncpy.c: Add wcsncpy support.
1317 * wcsmbs/test-wcsncpy.c: New File.
1318 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
1319 * benchtests/bench-strncpy.c: Add wcsncpy support.
1320 * benchtests/bench-wcsncpy.c: New File.
1321 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
1322
1323 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
1324 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
1325 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
1326 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
1327 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
1328 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
1329 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
1330 wcpcpy functions.
1331 * string/stpcpy.c: Use STPCPY if defined.
1332 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
1333 * sysdeps/s390/multiarch/ifunc-impl-list.c
1334 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
1335 * string/test-stpcpy.c: Add wcpcpy support.
1336 * wcsmbs/test-wcpcpy.c: New File.
1337 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
1338 * benchtests/bench-stpcpy.c: Add wcpcpy support.
1339 * benchtests/bench-wcpcpy.c: New File.
1340 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
1341
1342 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
1343 * sysdeps/s390/multiarch/strcpy.c: Likewise.
1344 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
1345 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
1346 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
1347 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
1348 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
1349 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
1350 wcscpy functions.
1351 * sysdeps/s390/multiarch/ifunc-impl-list.c
1352 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
1353 * benchtests/bench-wcscpy.c: New File.
1354 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
1355
1356 * sysdeps/s390/multiarch/strnlen-c.c: New File.
1357 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
1358 * sysdeps/s390/multiarch/strnlen.c: Likewise.
1359 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
1360 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
1361 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
1362 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
1363 wcsnlen functions.
1364 * sysdeps/s390/multiarch/ifunc-impl-list.c
1365 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
1366 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
1367 * string/test-strnlen.c: Add wcsnlen support.
1368 * wcsmbs/test-wcsnlen.c: New File.
1369 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
1370 * benchtests/bench-strnlen.c: Add wcsnlen support.
1371 * benchtests/bench-wcsnlen.c: New File.
1372 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
1373
1374 * sysdeps/s390/multiarch/Makefile: New File.
1375 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
1376 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
1377 * sysdeps/s390/multiarch/strlen.c: Likewise.
1378 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
1379 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
1380 * sysdeps/s390/multiarch/wcslen.c: Likewise.
1381 * string/strlen.c (STRLEN): Define and use macro.
1382 * sysdeps/s390/multiarch/ifunc-impl-list.c
1383 (IFUNC_VX_IMPL): New macro function.
1384 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
1385 * benchtests/Makefile (wcsmbs-bench): New variable.
1386 (string-bench-all): Added wcsmbs-bench.
1387 * benchtests/bench-wcslen.c: New File.
1388
1389 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
1390 s390_vx_libc_ifunc2): New macro function.
1391
1392 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
1393 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
1394 assembler support.
1395 * sysdeps/s390/configure: Regenerated.
1396
1397 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
1398 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
1399
1400 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
1401 * sysdeps/s390/dl-procinfo.h: Add vector capability.
1402 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
1403
1404 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1405 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
1406 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
1407 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
1408 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
1409 (memcmp, bcmp): Use __memcmp_default as alias source.
1410 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
1411 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
1412 Rename to __memcmp_default.
1413 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
1414 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
1415 (memcpy): Use __memcpy_default as alias source.
1416 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
1417 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
1418 Rename to __memcpy_default.
1419 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
1420 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
1421 (memset): Use __memset_default as alias source.
1422 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
1423 * sysdeps/s390/s390-32/memset.S (__memset_g5):
1424 Rename to __memset_default.
1425 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
1426 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
1427 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
1428 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
1429 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
1430 (memcmp, bcmp): Use __memcmp_default as alias source.
1431 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
1432 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
1433 Rename to __memcmp_default.
1434 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
1435 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
1436 (memcpy): Use __memcpy_default as alias source.
1437 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
1438 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
1439 Rename to __memcpy_default.
1440 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
1441 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
1442 (memset): Use __memset_default as alias source.
1443 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
1444 * sysdeps/s390/s390-64/memset.S (__memset_z900):
1445 Rename to __memset_default.
1446 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
1447 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
1448
1449 [BZ #18610]
1450 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
1451 __ieee_instruction_pointer to __unused.
1452 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
1453 __ieee_instruction_pointer.
1454 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
1455 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
1456 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1457 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
1458 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
1459 Mark dxc-field as reserved.
1460
1461 2015-08-25 Roland McGrath <roland@hack.frob.com>
1462
1463 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
1464 if the weak reference is not null.
1465
1466 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1467
1468 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
1469
1470 [BZ #11214]
1471 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
1472
1473 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1474
1475 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
1476 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
1477 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
1478 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
1479 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
1480 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
1481 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
1482 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
1483 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
1484 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
1485 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
1486 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
1487 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
1488 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
1489 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
1490 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
1491 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
1492 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
1493
1494 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1495
1496 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
1497 register other than r0 for tabort, it has special meaning.
1498 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
1499 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
1500 transaction before starting syscall.
1501
1502 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1503
1504 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
1505
1506 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1507
1508 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
1509
1510 * sysdeps/x86_64/rtld-memcmp.c: Removed.
1511 * sysdeps/x86_64/rtld-memset.S: Likewise.
1512 * sysdeps/x86_64/rtld-strchr.S: Likewise.
1513 * sysdeps/x86_64/rtld-strlen.S: Likewise.
1514 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
1515 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1516
1517 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
1518
1519 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
1520
1521 * debug/strcpy_chk.c: Improve performance.
1522 * debug/stpcpy_chk.c: Likewise.
1523 * sysdeps/x86_64/strcpy_chk.S: Remove.
1524 * sysdeps/x86_64/stpcpy_chk.S: Remove.
1525
1526 [BZ #18240]
1527 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
1528
1529 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1530
1531 [BZ #15128]
1532 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
1533 ifuncmain8.
1534 (modules-names): Add ifuncmod8.
1535 ($(objpfx)ifuncmain8): New rule.
1536 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
1537 <cpuid.h>.
1538 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
1539 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
1540 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
1541 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
1542 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
1543 * sysdeps/x86_64/dl-trampoline.h: Likewise.
1544 * sysdeps/x86_64/ifuncmain8.c: New file.
1545 * sysdeps/x86_64/ifuncmod8.c: Likewise.
1546 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
1547 Removed.
1548 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
1549 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
1550 Change rtld_savespace_sse to __glibc_unused2.
1551 (RTLD_CHECK_FOREIGN_CALL): Removed.
1552 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
1553 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
1554 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
1555
1556 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1557
1558 * sysdeps/aarch64/bzero.S (__bzero): Remove.
1559
1560 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1561
1562 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
1563 Unconditionally set __fpcr to avoid uninialized warning.
1564 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
1565
1566 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1567
1568 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
1569 is corrupt.
1570
1571 * malloc/arena.c (arena_get2): Drop unused argument.
1572 (arena_lock): Adjust.
1573 (arena_get_retry): Likewise.
1574
1575 2015-08-24 Andreas Schwab <schwab@suse.de>
1576
1577 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
1578 Don't define.
1579 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1580 (__ASSUME_IPC64): Don't undef.
1581 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
1582 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1583 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1584 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
1585 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
1586 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
1587 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
1588 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
1589 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
1590 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
1591 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
1592 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
1593 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
1594 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
1595 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
1596 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
1597 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
1598 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
1599 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
1600 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
1601 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
1602
1603 2015-08-21 Mike Frysinger <vapier@gentoo.org>
1604
1605 * manual/Makefile (install): Only build manual when perl is available.
1606
1607 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1608
1609 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
1610 '#undef memcpy' by '#undef memchr'.
1611
1612 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1613
1614 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
1615 memchr not point to the internal __GI_memchr implementation.
1616
1617 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1618
1619 * timezone/Makefile (CFLAGS-zdump.c): Remove
1620 -Wno-strict-prototypes.
1621 (CFLAGS-zic.c): Likewise.
1622 (CFLAGS-ialloc.c): Likewise.
1623 (CFLAGS-scheck.c): Likewise.
1624
1625 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
1626 -Wno-error=undef.
1627
1628 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1629
1630 * i386/i686/multiarch/strcasestr-c.c: Removed.
1631 * x86_64/multiarch/strcasestr.c: Likewise.
1632 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1633 Remove strcasestr.
1634
1635 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1636
1637 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
1638
1639 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
1640 variables for high and low parts before possibly modifying them.
1641
1642 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1643
1644 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
1645 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
1646 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
1647 of "multiarch/init-arch.h".
1648 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
1649 * sysdeps/x86/init-arch.h: This.
1650
1651 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1652
1653 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
1654 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
1655
1656 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
1657
1658 [BZ #17787]
1659 * manual/macros.texi: Add twoexp macro.
1660 * manual/filesys.texi: Fix exponents.
1661 * manual/llio.texi: Likewise.
1662 * manual/stdio.texi: Likewise.
1663
1664 2015-08-20 Florian Weimer <fweimer@redhat.com>
1665
1666 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
1667 incorrect use.
1668
1669 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1670
1671 [BZ #18370]
1672 * math/s_csqrt.c (__csqrt): Force underflow exception for results
1673 whose real or imaginary part has small absolute value.
1674 * math/s_csqrtf.c (__csqrtf): Likewise.
1675 * math/s_csqrtl.c (__csqrtl): Likewise.
1676 * math/auto-libm-test-in: Add more tests of csqrt.
1677 * math/auto-libm-test-out: Regenerated.
1678 * sysdeps/i386/fpu/libm-test-ulps: Update.
1679
1680 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1681
1682 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
1683 __ppc_set_ppr_very_low): New functions.
1684 * manual/platform.texi: Add documentation about
1685 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
1686
1687 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
1688
1689 * string/stpncpy.c (stpncpy): Improve performance using
1690 __strnlen/memcpy/memset.
1691
1692 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
1693
1694 [BZ #18796]
1695 * scripts/test-installation.pl: Don't add -lmvec to build options if
1696 libmvec wasn't built.
1697
1698 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1699
1700 [BZ #14341]
1701 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
1702 case when there is a gap between DT_REL and DT_JMPREL sections.
1703 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
1704 (LDFLAGS-tst-split-dynreloc): New.
1705 (tst-split-dynreloc-ENV): Likewise.
1706 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
1707 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
1708
1709 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1710
1711 [BZ #18822]
1712 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
1713 attribute_hidden.
1714 (__xstat64_conv): Likewise.
1715 (__xstat32_conv): Likewise.
1716
1717 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1718
1719 [BZ #18822]
1720 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
1721 Don't load %ebx when calling __setcontext. Call __setcontext
1722 with HIDDEN_JUMPTARGET.
1723 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
1724 libc_hidden_def.
1725
1726 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1727
1728 * sysdeps/i386/i686/Makefile
1729 [$(subdir) == string] (sysdep_routines): Moved to ...
1730 * sysdeps/i386/Makefile: Here.
1731 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
1732 * sysdeps/i386/cacheinfo.c: Here.
1733 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
1734 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
1735 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
1736 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
1737
1738 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1739
1740 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
1741 __i586__ is defined.
1742 (HAS_I686): Defined to 1 if __i686__ is defined.
1743
1744 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1745
1746 * elf/Makefile [$(have-z-execstack) = yes]
1747 (CPPFLAGS-tst-execstack.c): New variable.
1748
1749 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
1750 conditional to [defined UTMPX || _HAVE_UT_TYPE].
1751 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
1752 UTMPX || _HAVE_UT_TV].
1753 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
1754 UTMPX || _HAVE_UT_TV - 0].
1755
1756 2015-08-18 Joseph Myers <joseph@codesourcery.com>
1757
1758 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
1759 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
1760 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
1761
1762 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1763
1764 * sysdeps/powerpc/dl-procinfo.c:
1765 (_dl_powerpc_cap_flags): Added missing strings for some
1766 hwcap features.
1767 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
1768
1769 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
1770
1771 Port the 0x7efe...feff pattern to GCC 6.
1772 See Steve Ellcey's bug report in:
1773 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
1774 * string/memrchr.c (MEMRCHR):
1775 * string/rawmemchr.c (RAWMEMCHR):
1776 * string/strchr.c (strchr):
1777 * string/strchrnul.c (STRCHRNUL):
1778 Rewrite code to avoid issues with signed shift overflow.
1779
1780 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
1781
1782 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
1783 whether cpuid is available only if HAS_CPUID is 0.
1784 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
1785 (HAS_I586): Likewise.
1786 (HAS_I686): Likewise.
1787
1788 2015-08-18 Zack Weinberg <zackw@panix.com>
1789
1790 * misc/Versions (libc): Add GLIBC_2.23.
1791
1792 2015-08-18 Alan Modra <amodra@gmail.com>
1793
1794 [BZ #18421]
1795 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
1796 .Lp__global.
1797 (_start): Load %dp via .Lp__global.
1798 [!SHARED]: Use .section .rodata.
1799
1800 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1801
1802 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
1803 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
1804
1805 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1806
1807 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
1808 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
1809
1810 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1811
1812 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
1813 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
1814
1815 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1816
1817 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
1818 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
1819
1820 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1821
1822 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
1823 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
1824
1825 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1826
1827 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
1828 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
1829
1830 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1831
1832 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
1833
1834 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1835
1836 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
1837 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
1838 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1839 (__ASSUME_LWS_CAS): Delete.
1840
1841 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1842
1843 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
1844 * sysdeps/hppa/configure: Regenerated.
1845 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
1846 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
1847 * sysdeps/hppa/nptl/tls.h: Likewise.
1848
1849 2015-08-17 Joseph Myers <joseph@codesourcery.com>
1850
1851 [BZ #18823]
1852 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
1853 for scaling up small arguments.
1854 * math/s_csqrtf.c (__csqrtf): Likewise.
1855 * math/s_csqrtl.c (__csqrtl): Likewise.
1856 * math/auto-libm-test-in: Add more tests of csqrt.
1857 * math/auto-libm-test-out: Regenerated.
1858
1859 2015-08-17 Andreas Schwab <schwab@suse.de>
1860
1861 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
1862 version set GLIBC_2.19.
1863
1864 2015-08-16 Zack Weinberg <zackw@panix.com>
1865
1866 [BZ #18681]
1867 * misc/regexp.h: This interface is no longer supported.
1868 Remove all contents, leaving only an #error directive.
1869 * misc/regexp.c (loc1, loc2, locs, step, advance):
1870 Demote to compatibility symbols.
1871
1872 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
1873
1874 [BZ #18084]
1875 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
1876 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
1877 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
1878 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
1879 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
1880 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
1881 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
1882 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
1883 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
1884
1885 2015-08-15 Zack Weinberg <zackw@panix.com>
1886
1887 [BZ #18795]
1888 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
1889 buffer length is known to be too large, not if it's known to be
1890 small enough.
1891 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
1892 overflow at runtime, involving a length parameter, twice: once
1893 with a compile-time constant length parameter, once without.
1894
1895 2015-08-14 Joseph Myers <joseph@codesourcery.com>
1896
1897 [BZ #18824]
1898 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
1899 scaling x * y up instead of down.
1900 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1901 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1902 * math/auto-libm-test-in: Add more tests of fma.
1903 * math/auto-libm-test-out: Regenerated.
1904
1905 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1906
1907 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1908
1909 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1910
1911 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
1912 unnecessary movq.
1913 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
1914 Likewise.
1915
1916 2015-08-13 Joseph Myers <joseph@codesourcery.com>
1917
1918 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1919 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
1920 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
1921 and tgamma.
1922 * math/auto-libm-test-out: Regenerated.
1923 * sysdeps/i386/fpu/libm-test-ulps: Update.
1924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1925
1926 [BZ #16520]
1927 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
1928 (__tanh): Force underflow exception for arguments with small
1929 absolute value.
1930 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
1931 (__tanhf): Force underflow exception for arguments with small
1932 absolute value.
1933 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
1934 (__tanhl): Force underflow exception for arguments with small
1935 absolute value.
1936 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
1937 (__tanhl): Force underflow exception for arguments with small
1938 absolute value.
1939 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
1940 (__tanhl): Force underflow exception for arguments with small
1941 absolute value.
1942 * math/auto-libm-test-in: Add more tests of tanh.
1943 * math/auto-libm-test-out: Regenerated.
1944 * sysdeps/i386/fpu/libm-test-ulps: Update.
1945
1946 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1947
1948 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
1949 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
1950
1951 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1952
1953 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
1954 <cpuid.h>.
1955
1956 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1957
1958 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
1959 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
1960
1961 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1962
1963 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
1964 Remove $(objpfx)init-arch.o.
1965 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
1966 init-arch.
1967 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
1968 (INIT_ARCH_EXT): Defined as empty.
1969 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
1970 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
1971 __init_cpu_features call. Replace HAS_XXX with
1972 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1973 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
1974 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
1975 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
1976 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
1977 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1978 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
1979 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
1980 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1981 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
1982 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
1983 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1984 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
1985 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
1986 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1987 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
1988 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
1989 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1990 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1991 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
1992 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
1993 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1994 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
1995 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
1996 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1997 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
1998 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
1999 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2000 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
2001 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
2002 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2003 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
2004 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
2005 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2006 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
2007 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
2008
2009 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2010
2011 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
2012 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2013 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2014 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2015 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
2016 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
2017 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
2018 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
2019 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
2020 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
2021 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
2022 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
2023 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2024 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2025 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2026 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2027 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2028 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2029 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2030 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2031 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2032 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2033 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2034 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2035 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2036 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2037 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2038 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2039 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2040 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2041 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2042 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2043 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2044 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2045 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2046 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2047 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2048 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2049 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2050 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2051 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2052 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2053 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2054
2055 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2056
2057 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
2058 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2059 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
2060 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2061 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2062 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
2063 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2064 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
2065 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
2066 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2067 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2068 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
2069 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
2070 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
2071 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
2072 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
2073 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
2074 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
2075 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
2076 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
2077 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2078 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
2079 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
2080 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2081 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2082 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
2083 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
2084 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
2085 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2086 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2087 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2088 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2089 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2090 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2091 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2092 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2093 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2094 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2095 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2096 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2097 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2098 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2099 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2100
2101 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2102
2103 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
2104 (dl_platform_init): Call init_cpu_features.
2105 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
2106 * sysdeps/i386/i686/cacheinfo.c
2107 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
2108 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
2109 * sysdeps/i386/i686/multiarch/Versions: Removed.
2110 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
2111 Removed.
2112 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
2113 * sysdeps/unix/sysv/linux/x86/Makefile
2114 (libpthread-sysdep_routines): Remove init-arch.
2115 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
2116 <sysdeps/x86_64/dl-procinfo.c> instead of
2117 sysdeps/generic/dl-procinfo.c>.
2118 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
2119 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
2120 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
2121 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
2122 [$(subdir) == elf] (tests-static): Add
2123 tst-get-cpu-features-static.
2124 * sysdeps/x86/Versions: New file.
2125 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
2126 * sysdeps/x86/cpu-features.c: Likewise.
2127 * sysdeps/x86/cpu-features.h: Likewise.
2128 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
2129 * sysdeps/x86/libc-start.c: Likewise.
2130 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2131 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
2132 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
2133 * sysdeps/x86_64/dl-procinfo.c: Likewise.
2134 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
2135 Assume USE_MULTIARCH is defined and don't check it.
2136 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
2137 (is_amd): Likewise.
2138 (max_cpuid): Likewise.
2139 (intel_check_word): Likewise.
2140 (__cache_sysconf): Don't call __init_cpu_features.
2141 (__x86_preferred_memory_instruction): Removed.
2142 (init_cacheinfo): Don't call __init_cpu_features. Replace
2143 __cpu_features with GLRO(dl_x86_cpu_features).
2144 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
2145 (dl_platform_init): Call init_cpu_features.
2146 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
2147 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
2148 * sysdeps/x86_64/multiarch/Versions: Removed.
2149 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
2150 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
2151 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
2152 Removed.
2153 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
2154
2155 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2156
2157 [BZ #18820]
2158 * libio/Makefile (test-fmemopen-mem): New test.
2159 * libio/test-fmemopen.c (do_bz18820): New test.
2160 * libio/fmemopen.c (__fmemopen): Fix memory leak.
2161 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
2162
2163 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2164
2165 [BZ #16734]
2166 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
2167 (FREE_BUF): Delete.
2168 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
2169 * libio/genops.c (_IO_setb): Use malloc and free directly.
2170 (_IO_default_doallocate, _IO_default_finish): Likewise.
2171 ( _IO_unbuffer_all): Likewise.
2172 ( libc_freeres_fn): Likewise.
2173 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2174 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
2175 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
2176 (_IO_wdefault_doallocate): Likewise.
2177
2178 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2179
2180 [BZ #18086]
2181 * sysdeps/posix/nice.c (nice): Restore old errno.
2182 * posix/tst-nice.c (do_test): Add test for BZ #18086.
2183
2184 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
2185
2186 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
2187
2188 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2189
2190 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
2191 __bcopy and add a weak_alias to bcopy.
2192 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
2193 for static build.
2194
2195 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
2196 cleanup macro usage.
2197 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
2198 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
2199 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2200 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
2201 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2202 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
2203 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
2204 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2205 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2206 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
2207 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2208 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
2209 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2210 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
2211 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2212 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
2213 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
2214 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
2215 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2216
2217 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
2218 libc_hidden_def.
2219 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
2220
2221 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
2222 (sysdep_routines): Add strstr-ppc64.
2223 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
2224
2225 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
2226
2227 [BZ #18778]
2228 * elf/Makefile (tests): Add Add tst-nodelete2.
2229 (modules-names): Add tst-nodelete2mod.
2230 (tst-nodelete2mod.so-no-z-defs): New.
2231 ($(objpfx)tst-nodelete2): Likewise.
2232 ($(objpfx)tst-nodelete2.out): Likewise.
2233 (LDFLAGS-tst-nodelete2): Likewise.
2234 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
2235 out of loop through all loaded libraries.
2236 * elf/tst-nodelete2.c: New file.
2237 * elf/tst-nodelete2mod.c: Likewise.
2238 * elf/tst-znodelete-zlib.cc: Delete.
2239
2240 2015-08-11 Andreas Schwab <schwab@suse.de>
2241
2242 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
2243 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
2244 (__openat64_nocancel): Likewise.
2245
2246 2015-08-11 Joseph Myers <joseph@codesourcery.com>
2247
2248 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
2249 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
2250 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
2251 * math/auto-libm-test-out: Regenerated.
2252 * sysdeps/i386/fpu/libm-test-ulps: Update.
2253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2254
2255 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2256
2257 [BZ #18790]
2258 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
2259 threshold for returning +/- 1.
2260 * math/auto-libm-test-in: Add more tests of tanh.
2261 * math/auto-libm-test-out: Regenerated.
2262 * sysdeps/i386/fpu/libm-test-ulps: Update.
2263
2264 2015-08-10 Andreas Schwab <schwab@suse.de>
2265
2266 [BZ #18781]
2267 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
2268 MORE_OFLAGS to oflag.
2269 * io/test-lfs.c (do_test): Test openat64.
2270
2271 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2272
2273 [BZ #18789]
2274 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
2275 smaller threshold for returning the argument.
2276 * math/auto-libm-test-in: Add more tests of sinh.
2277 * math/auto-libm-test-out: Regenerated.
2278 * sysdeps/i386/fpu/libm-test-ulps: Update.
2279
2280 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
2281
2282 [BZ #18674]
2283 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
2284 break.
2285
2286 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
2287
2288 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
2289 (generated): Don't add $(addprefix z.,$(tzfiles)).
2290
2291 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2292
2293 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
2294 * scripts/sysd-rules.awk: Likewise.
2295
2296 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2297
2298 * iconvdata/tst-tables.sh: Change echo -n to printf.
2299 * nss/db-Makefile: Likewise.
2300 * posix/tst-getconf.sh: Likewise.
2301 * stdio-common/tst-unbputc.sh: Likewise.
2302
2303 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2304
2305 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
2306 MADV_*_PAGES defines behind this feature check.
2307
2308 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
2309
2310 [BZ #18480]
2311 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
2312 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
2313 Define.
2314 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
2315 LOAD_REGS_5, LOAD_REGS_6): Update.
2316 (INTERNAL_SYSCALL): Update using new LOAD defines.
2317 (INTERNAL_SYSCALL_NCS): Likewise.
2318 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
2319
2320 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2321
2322 [BZ #16734]
2323 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
2324
2325 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2326
2327 [BZ #17905]
2328 * catgets/Makefile (tst-catgets-mem): New test.
2329 * catgets/catgets.c (catopen): Don't use unbounded alloca.
2330 * catgets/open_catalog.c (__open_catalog): Likewise.
2331 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
2332
2333 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
2334
2335 [BZ #18787]
2336 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
2337 clobber registers.
2338 (atomic_compare_and_exchange_val_acq): Use register asms to assign
2339 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
2340 Cast return to __typeof (oldval).
2341
2342 2015-08-08 Mike Frysinger <vapier@gentoo.org>
2343
2344 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
2345 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
2346 and delete sys/syscall.h include.
2347
2348 2015-08-07 Joseph Myers <joseph@codesourcery.com>
2349
2350 [BZ #16517]
2351 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
2352 (tan): Force underflow exception for arguments with small absolute
2353 value.
2354 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
2355 (__kernel_tanf): Force underflow exception for arguments with
2356 small absolute value.
2357 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
2358 (__kernel_tanl): Force underflow exception for arguments with
2359 small absolute value.
2360 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
2361 (__kernel_tanl): Force underflow exception for arguments with
2362 small absolute value.
2363 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
2364 (__kernel_tanl): Force underflow exception for arguments with
2365 small absolute value.
2366 * math/auto-libm-test-in: Add more tests of tan.
2367 * math/auto-libm-test-out: Regenerated.
2368
2369 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2370
2371 Fix sysdeps/i386/fpu/s_scalbn.S build
2372
2373 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
2374
2375 2015-08-07 Mike Frysinger <vapier@gentoo.org>
2376
2377 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2378
2379 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2380
2381 Fix gcrt0.o compilation
2382
2383 When static-start-installed-name is different from
2384 start-installed-name, we must not use the shared objects.
2385
2386 * csu/Makefile
2387 (extra-objs): Add gmon-start.o when building shared library and
2388 $(static-start-installed-name) is different from
2389 $(start-installed-name).
2390 $(objpfx)g$(static-start-installed-name): When building shared
2391 library and $(static-start-installed-name) is different from
2392 $(static-start-installed-name), revert to non-shared rule,
2393 i.e. using $(objpfx)% and gmon-start.o.
2394
2395 2015-08-06 Joseph Myers <joseph@codesourcery.com>
2396
2397 [BZ #16519]
2398 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
2399 (__ieee754_sinh): Force underflow exception for arguments with
2400 small absolute value.
2401 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
2402 (__ieee754_sinhf): Force underflow exception for arguments with
2403 small absolute value.
2404 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
2405 (__ieee754_sinhl): Force underflow exception for arguments with
2406 small absolute value.
2407 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
2408 (__ieee754_sinhl): Force underflow exception for arguments with
2409 small absolute value.
2410 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
2411 (__ieee754_sinhl): Force underflow exception for arguments with
2412 small absolute value.
2413 * math/auto-libm-test-in: Add more tests of sinh.
2414 * math/auto-libm-test-out: Regenerated.
2415 * sysdeps/i386/fpu/libm-test-ulps: Update.
2416
2417 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2418
2419 * libio/oldfileops.c: Include unistd.h.
2420
2421 2015-08-06 Mike Frysinger <vapier@gentoo.org>
2422
2423 * stdlib/isomac.c: Include ctype.h.
2424
2425 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
2426
2427 * dirent/tst-seekdir.c (main): Converted to ...
2428 (do_test): ... this.
2429 (TEST_FUNCTION): New macro.
2430 Include test-skeleton.c.
2431 * elf/tst-dlmodcount.c (main): Converted to ...
2432 (do_test): ... this.
2433 (TEST_FUNCTION): New macro.
2434 Include test-skeleton.c.
2435 * elf/tst-order-main.c (main): Converted to ...
2436 (do_test): ... this.
2437 (TEST_FUNCTION): New macro.
2438 Include test-skeleton.c.
2439 * elf/tst-pie2.c (main): Converted to ...
2440 (do_test): ... this.
2441 (TEST_FUNCTION): New macro.
2442 Include test-skeleton.c.
2443 * inet/tst-ether_aton.c (main): Converted to ...
2444 (do_test): ... this.
2445 (TEST_FUNCTION): New macro.
2446 Include test-skeleton.c.
2447 * misc/tst-mntent.c (main): Converted to ...
2448 (do_test): ... this.
2449 (TEST_FUNCTION): New macro.
2450 Include test-skeleton.c.
2451 * misc/tst-tsearch.c (main): Converted to ...
2452 (do_test): ... this.
2453 (TEST_FUNCTION): New macro.
2454 Include test-skeleton.c.
2455 * posix/tst-regexloc.c (main): Converted to ...
2456 (do_test): ... this.
2457 (TEST_FUNCTION): New macro.
2458 Include test-skeleton.c.
2459 * resolv/tst-aton.c (main): Converted to ...
2460 (do_test): ... this.
2461 (TEST_FUNCTION): New macro.
2462 Include test-skeleton.c.
2463 * stdio-common/test-fwrite.c (main): Converted to ...
2464 (do_test): ... this.
2465 (TEST_FUNCTION): New macro.
2466 Include test-skeleton.c.
2467 * stdio-common/tst-ferror.c (main): Converted to ...
2468 (do_test): ... this.
2469 (TEST_FUNCTION): New macro.
2470 Include test-skeleton.c.
2471 * stdio-common/tst-printf.c (main): Converted to ...
2472 (do_test): ... this.
2473 (TEST_FUNCTION): New macro.
2474 Include test-skeleton.c.
2475 * stdio-common/tst-printfsz.c (main): Converted to ...
2476 (do_test): ... this.
2477 (TEST_FUNCTION): New macro.
2478 Include test-skeleton.c.
2479 * stdlib/tst-strtod.c (main): Converted to ...
2480 (do_test): ... this.
2481 (TEST_FUNCTION): New macro.
2482 Include test-skeleton.c.
2483 * string/tst-strlen.c (main): Converted to ...
2484 (do_test): ... this.
2485 (TEST_FUNCTION): New macro.
2486 Include test-skeleton.c.
2487 * string/tst-svc.c (main): Converted to ...
2488 (do_test): ... this.
2489 (TEST_FUNCTION): New macro.
2490 Include test-skeleton.c.
2491 * time/tst-strptime.c (main): Converted to ...
2492 (do_test): ... this.
2493 (TEST_FUNCTION): New macro.
2494 Include test-skeleton.c.
2495 * timezone/tst-timezone.c (main): Converted to ...
2496 (do_test): ... this.
2497 (TEST_FUNCTION): New macro.
2498 Include test-skeleton.c.
2499
2500 2015-08-05 Zack Weinberg <zackw@panix.com>
2501
2502 * misc/regexp.h: Update comments.
2503
2504 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
2505
2506 [BZ #18635]
2507 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
2508 before return label.
2509
2510 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2511
2512 [BZ #18661]
2513 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
2514 when calling __errno_location.
2515 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
2516 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
2517
2518 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2519
2520 [BZ #18661]
2521 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
2522 (__lll_timedwait_tid): Align stack to 16 bytes when calling
2523 __gettimeofday.
2524
2525 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2526
2527 [BZ #18661]
2528 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2529 (__start_context): Don't use pop to restore %rdi so that stack
2530 is aligned to 16 bytes when calling __setcontext.
2531
2532 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2533
2534 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
2535 only for libc.
2536 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2537
2538 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2539
2540 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
2541 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
2542 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
2543
2544 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2545
2546 * string/memccpy.c (memccpy):
2547 Improve performance by using memchr/memcpy/__mempcpy.
2548
2549 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2550
2551 * string/strncpy.c (strncpy):
2552 Improve performance by using __strnlen/memcpy.
2553
2554 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2555
2556 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2557 Optimize to avoid an unnecessary FPCR read.
2558
2559 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2560
2561 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2562 Optimize to reduce FPCR/FPSR accesses.
2563
2564 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2565
2566 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
2567 dead->data[category] != NULL.
2568
2569 2015-08-05 Joseph Myers <joseph@codesourcery.com>
2570
2571 [BZ #18647]
2572 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
2573 and |x| close to 1, use absolute value of x when computing log.
2574 * math/auto-libm-test-in: Add more tests of pow.
2575 * math/auto-libm-test-out: Regenerated.
2576
2577 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2578
2579 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
2580 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
2581 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
2582
2583 2015-08-05 Marko Myllynen <myllynen@redhat.com>
2584
2585 [BZ #18525]
2586 * locales/km_KH: Remove timezone definition.
2587 * locales/lo_LA: Likewise.
2588 * locales/my_MM: Likewise.
2589 * locales/nan_TW@latin: Likewise.
2590 * locales/th_TH: Likewise.
2591 * locales/uk_UA: Likewise.
2592
2593 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
2594
2595 [BZ #18265]
2596 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
2597 (wcsncat): Likewise.
2598 (wcscmp): Likewise.
2599 (wcsncmp): Likewise.
2600
2601 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2602
2603 * test-skeleton.c (usage): New function.
2604 (main): Call usage when opt is '?'.
2605
2606 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2607
2608 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
2609 before first use.
2610
2611 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2612
2613 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
2614 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
2615 in there too.
2616
2617 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
2618
2619 * version.h (RELEASE): Set to "development".
2620 (VERSION): Set to "2.22.90"
2621
2622 * version.h (RELEASE): Set to "stable".
2623 (VERSION): Set to "2.22"
2624 * include/features.h (__GLIBC_MINOR__): Set to 22.
2625
2626 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
2627
2628 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
2629 Restructure macro to avoid "value computed is not used" warning.
2630 (atomic_compare_and_exchange_val_acq): Likewise.
2631
2632 2015-08-04 Andreas Schwab <schwab@suse.de>
2633
2634 [BZ #18635]
2635 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
2636 ret.
2637 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
2638
2639 2015-08-01 Carlos O'Donell <carlos@redhat.com>
2640
2641 * po/pl.po: Updated translation.
2642 * po/uk.po: Likewise.
2643 * po/fi.po: Likewise.
2644 * po/ko.po: Likewise.
2645 * po/ru.po: Likewise.
2646 * po/vi.po: Likewise.
2647
2648 2015-07-31 Zack Weinberg <zackw@panix.com>
2649
2650 [BZ #18681]
2651 * regexp.h: Add unconditional #warning stating that this header
2652 will be removed soon. Revise banner comment to match.
2653 (compile): Consistently use ERROR instead of RETURN to report
2654 errors (partial fix for bz#18681).
2655 * regexp.c: Don't include regexp.h. Remove some unnecessary
2656 declarations.
2657
2658 2015-07-31 Carlos O'Donell <carlos@redhat.com>
2659
2660 * po/libc.pot: Regenerated.
2661
2662 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
2663
2664 [BZ #18740]
2665 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
2666 float-vlen4-arch-ext-cflags): Removed.
2667 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
2668 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
2669
2670 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2671
2672 [BZ #14113]
2673 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
2674 aligned to __aligned__.
2675 (pthread_cond_t, pthread_rwlock_t): Likewise.
2676
2677 2015-07-30 Torvald Riegel <triegel@redhat.com>
2678
2679 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
2680
2681 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2682
2683 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
2684 (struct sigaction): Change sa_flags from a long to an int, and add
2685 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
2686
2687 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2688
2689 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
2690 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
2691 sysdeps/generic/sysdep.h include.
2692 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
2693 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
2694 sysdeps/hppa/sysdep.h.
2695 (ENTRY, PSEUDO): Undefine before defining.
2696
2697 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2698
2699 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
2700 from scratch to use INTERNAL_SYSCALL.
2701
2702 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
2703
2704 [BZ #18078]
2705 * scripts/check-localplt.awk: Support alternate relocations.
2706 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
2707 sections.
2708 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
2709 malloc entries with + REL R_386_GLOB_DAT.
2710 * sysdeps/x86_64/localplt.data: New file.
2711
2712 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
2713
2714 [BZ #18731]
2715 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
2716 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2717 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2718
2719 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2720
2721 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
2722
2723 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2724
2725 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
2726 directly in terms of __sync_fetch_and_add and delete (int) cast.
2727
2728 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2729
2730 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
2731 the -D_ASM_IA64_CURRENT_H flag.
2732
2733 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2734
2735 [BZ #18641]
2736 * pwd/pwd.h (putpwent): Delete __nonnull markings.
2737
2738 2015-07-27 Andreas Schwab <schwab@suse.de>
2739
2740 * conform/conformtest.pl (checknamespace): Filter out string
2741 literals while tokenizing.
2742
2743 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2744
2745 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2746 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
2747 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2748
2749 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2750
2751 * nptl/tst-join7mod.c: Add #include <string.h>.
2752
2753 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2754
2755 * sysdeps/nios2/libm-test-ulps: Update.
2756
2757 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2758
2759 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
2760 Fix order of arguments to the rt_sigprocmask syscall.
2761 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
2762 Likewise.
2763
2764 2015-07-24 Roland McGrath <roland@hack.frob.com>
2765
2766 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
2767
2768 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2769
2770 [BZ #18457]
2771 * nptl/Makefile (tests): New test case tst-join7.
2772 (modules-names): New test case module tst-join7mod.
2773 * nptl/tst-join7.c: New file.
2774 * nptl/tst-join7mod.c: New file.
2775 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
2776 all translation units in libc.so, libpthread.so and rtld.
2777
2778 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2779
2780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2781
2782 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
2783
2784 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
2785 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2786 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2787 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2788 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2789 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2790 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2791 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2792 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2793 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2794 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2795 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2796 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
2797 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
2798 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
2799 implementation.
2800
2801 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2802
2803 [BZ #17711]
2804 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2805 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
2806 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2807 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2808 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
2809 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2810
2811 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2812
2813 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
2814 instead of just saying load lock in the comments.
2815
2816 2015-07-23 Roland McGrath <roland@hack.frob.com>
2817
2818 * sysdeps/unix/Subdirs: Moved ...
2819 * sysdeps/posix/Subdirs: ... here.
2820 * login/pty.h (struct termios, struct winsize): Add forward decls.
2821 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
2822 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
2823 * sysdeps/arm/nacl/libc.abilist: Updated.
2824 * sysdeps/nacl/libutil.abilist: New file.
2825
2826 * bits/signum.h: Update comments to mention 1003.1-2013 too.
2827 (SIGWINCH): New macro.
2828
2829 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
2830 * sysdeps/arm/nacl/libc.abilist: Add it.
2831
2832 2015-07-23 Mike Frysinger <vapier@gentoo.org>
2833
2834 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
2835
2836 2015-07-23 Mike Frysinger <vapier@gentoo.org>
2837
2838 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2839 Swap __glibc_reserved0 and sa_flags order.
2840
2841 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2842
2843 [BZ #18657]
2844 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
2845 are pending TLS destructor calls.
2846 * include/link.h (struct link_map): Add concurrency note for
2847 L_TLS_DTOR_COUNT.
2848 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
2849 Don't touch the link map flag. Atomically increment
2850 l_tls_dtor_count.
2851 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
2852 Avoid taking the load lock and don't touch the link map flag.
2853 * stdlib/tst-tls-atexit-nodelete.c: New test case.
2854 * stdlib/Makefile (tests): Use it.
2855 * stdlib/tst-tls-atexit.c (do_test): dlopen
2856 tst-tls-atexit-lib.so again before dlclose. Add conditionals
2857 to allow tst-tls-atexit-nodelete test case to use it.
2858
2859 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2860
2861 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
2862 to bits/types.h.
2863 (msgqnum_t): New typedef.
2864 (msglen_t): Likewise.
2865 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
2866 and msg_qbytes type to msglen_t.
2867
2868 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2869
2870 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
2871 pad0 to __glibc_reserved0.
2872 (struct stat64): Likewise.
2873
2874 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2875
2876 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2877 Change sa_flags from a long to an int and add __glibc_reserved0 before
2878 it for padding.
2879
2880 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2881
2882 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
2883 anonymous by deleting "siginfo" name.
2884
2885 2015-07-21 Roland McGrath <roland@hack.frob.com>
2886
2887 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
2888 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
2889 rather than __nacl_irt_filename.
2890 * sysdeps/nacl/xstat.c (__xstat): Likewise.
2891
2892 * NEWS: New item for arm-nacl port.
2893 * sysdeps/arm/nacl/libc.abilist: New file.
2894 * sysdeps/nacl/ld.abilist: New file.
2895 * sysdeps/nacl/libBrokenLocale.abilist: New file.
2896 * sysdeps/nacl/libanl.abilist: New file.
2897 * sysdeps/nacl/libcrypt.abilist: New file.
2898 * sysdeps/nacl/libdl.abilist: New file.
2899 * sysdeps/nacl/libm.abilist: New file.
2900 * sysdeps/nacl/libpthread.abilist: New file.
2901 * sysdeps/nacl/libresolv.abilist: New file.
2902 * sysdeps/nacl/librt.abilist: New file.
2903
2904 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
2905
2906 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
2907 __startcontext to initialize the new context.
2908 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
2909 up CFI directive to forbid further backtracing.
2910
2911 2015-07-21 Marko Myllynen <myllynen@redhat.com>
2912
2913 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
2914 reference.
2915 * charmaps/ANSI_X3.4-1968: Likewise.
2916 * charmaps/BS_4730: Likewise.
2917 * charmaps/BS_VIEWDATA: Likewise.
2918 * charmaps/CP1250: Likewise.
2919 * charmaps/CP1251: Likewise.
2920 * charmaps/CP1252: Likewise.
2921 * charmaps/CP1253: Likewise.
2922 * charmaps/CP1254: Likewise.
2923 * charmaps/CP1255: Likewise.
2924 * charmaps/CP1256: Likewise.
2925 * charmaps/CSN_369103: Likewise.
2926 * charmaps/EBCDIC-DK-NO: Likewise.
2927 * charmaps/GB_1988-80: Likewise.
2928 * charmaps/GREEK-CCITT: Likewise.
2929 * charmaps/GREEK7: Likewise.
2930 * charmaps/INIS-8: Likewise.
2931 * charmaps/ISIRI-3342: Likewise.
2932 * charmaps/ISO_2033-1983: Likewise.
2933 * charmaps/ISO_5427-EXT: Likewise.
2934 * locales/POSIX: Likewise.
2935 * locales/ar_SA: Likewise.
2936 * locales/be_BY: Likewise.
2937 * locales/be_BY@latin: Likewise.
2938 * locales/ca_ES: Likewise.
2939 * locales/cs_CZ: Likewise.
2940 * locales/da_DK: Likewise.
2941 * locales/de_BE: Likewise.
2942 * locales/de_CH: Likewise.
2943 * locales/de_LU: Likewise.
2944 * locales/en_AU: Likewise.
2945 * locales/en_BW: Likewise.
2946 * locales/en_CA: Likewise.
2947 * locales/en_DK: Likewise.
2948 * locales/en_GB: Likewise.
2949 * locales/en_IE: Likewise.
2950 * locales/en_NZ: Likewise.
2951 * locales/en_ZA: Likewise.
2952 * locales/en_ZW: Likewise.
2953 * locales/es_AR: Likewise.
2954 * locales/es_BO: Likewise.
2955 * locales/es_CL: Likewise.
2956 * locales/es_CO: Likewise.
2957 * locales/es_DO: Likewise.
2958 * locales/es_EC: Likewise.
2959 * locales/es_ES: Likewise.
2960 * locales/es_HN: Likewise.
2961 * locales/es_MX: Likewise.
2962 * locales/es_PA: Likewise.
2963 * locales/es_PE: Likewise.
2964 * locales/es_PY: Likewise.
2965 * locales/es_SV: Likewise.
2966 * locales/es_US: Likewise.
2967 * locales/es_UY: Likewise.
2968 * locales/es_VE: Likewise.
2969 * locales/et_EE: Likewise.
2970 * locales/fa_IR: Likewise.
2971 * locales/fo_FO: Likewise.
2972 * locales/fr_CA: Likewise.
2973 * locales/fr_CH: Likewise.
2974 * locales/gv_GB: Likewise.
2975 * locales/he_IL: Likewise.
2976 * locales/hr_HR: Likewise.
2977 * locales/id_ID: Likewise.
2978 * locales/is_IS: Likewise.
2979 * locales/it_CH: Likewise.
2980 * locales/iw_IL: Likewise.
2981 * locales/kl_GL: Likewise.
2982 * locales/ko_KR: Likewise.
2983 * locales/kw_GB: Likewise.
2984 * locales/lg_UG: Likewise.
2985 * locales/lt_LT: Likewise.
2986 * locales/lv_LV: Likewise.
2987 * locales/mi_NZ: Likewise.
2988 * locales/nhn_MX: Likewise.
2989 * locales/nl_BE: Likewise.
2990 * locales/pl_PL: Likewise.
2991 * locales/sk_SK: Likewise.
2992 * locales/sl_SI: Likewise.
2993 * locales/sv_FI: Likewise.
2994 * locales/tl_PH: Likewise.
2995 * locales/tr_TR: Likewise.
2996 * locales/vi_VN: Likewise.
2997
2998 2015-07-21 Khem Raj <raj.khem@gmail.com>
2999
3000 [BZ #17475]
3001 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
3002 of tu_IN and bh_IN.
3003
3004 2015-07-21 Mike Frysinger <vapier@gentoo.org>
3005
3006 [BZ #18694]
3007 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
3008 bits/wordsize.h.
3009 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
3010
3011 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3012
3013 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
3014 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
3015 (spawn_thread): New function.
3016 (load): Rename to reg_dtor_and_close. Move dlopen to...
3017 (do_test): ... here. Use IS_LOADED to test for its
3018 availability.
3019
3020 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
3021
3022 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3023
3024 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
3025
3026 [BZ #18696]
3027 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
3028 si_addr_bnd.
3029 (si_lower): New.
3030 (si_upper): Likewise.
3031
3032 2015-07-16 David S. Miller <davem@davemloft.net>
3033
3034 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
3035
3036 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3037
3038 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
3039 buffer.
3040 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
3041 fail output information.
3042
3043 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3044
3045 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
3046 and strstr-ppc64..
3047 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3048 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
3049 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
3050 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
3051 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
3052
3053 2015-07-16 Mike Frysinger <vapier@gentoo.org>
3054
3055 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3056 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3057 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3058 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3059
3060 2015-07-16 Mike Frysinger <vapier@gentoo.org>
3061
3062 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3063 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
3064 rtld_hidden_proto.
3065 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
3066
3067 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3068
3069 * tst-nodelete-opened.c (do_test): Add comment to clarify how
3070 the test can fail.
3071
3072 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
3073
3074 [BZ #18676]
3075 * elf/tst-nodelete-opened.c: New test case.
3076 * elf/tst-nodelete-opened-lib.c: New test case module.
3077 * elf/Makefile (tests, modules-names): Use them.
3078 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
3079 early.
3080
3081 2015-07-15 David S. Miller <davem@davemloft.net>
3082
3083 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
3084 futex-intenal.h
3085 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
3086 * sysdeps/sparc/sparc64/Makefile: Likewise.
3087 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3088 Remove space from macro define.
3089 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
3090
3091 2015-07-15 Pravin Satpute <psatpute@redhat.com>
3092
3093 [BZ #17475]
3094 * locale/iso-639.def: Update Bhili and Tulu language codes as
3095 per iso639-3.
3096
3097 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
3098
3099 * elf/tst-leaks1.c (main): Converted to ...
3100 (do_test): ... this.
3101 (TEST_FUNCTION): New macro.
3102 Include test-skeleton.c.
3103 * localedata/tst-langinfo.c (main): Converted to ...
3104 (do_test): ... this.
3105 (TEST_FUNCTION): New macro.
3106 Include test-skeleton.c.
3107 * math/test-fpucw.c (main): Converted to ...
3108 (do_test): ... this.
3109 (TEST_FUNCTION): New macro.
3110 Include test-skeleton.c.
3111 * math/test-tgmath.c (main): Converted to ...
3112 (do_test): ... this.
3113 (TEST_FUNCTION): New macro.
3114 Include test-skeleton.c.
3115 * math/test-tgmath2.c (main): Converted to ...
3116 (do_test): ... this.
3117 (TEST_FUNCTION): New macro.
3118 Include test-skeleton.c.
3119 * setjmp/tst-setjmp.c (main): Converted to ...
3120 (do_test): ... this.
3121 (TEST_FUNCTION): New macro.
3122 Include test-skeleton.c.
3123 * stdio-common/tst-sscanf.c (main): Converted to ...
3124 (do_test): ... this.
3125 (TEST_FUNCTION): New macro.
3126 Include test-skeleton.c.
3127 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
3128 (do_test): ... this.
3129 (TEST_FUNCTION): New macro.
3130 Include test-skeleton.c.
3131
3132 * elf/tst-audit9.c (main): Converted to ...
3133 (do_test): ... this.
3134 (TEST_FUNCTION): New macro.
3135 Include test-skeleton.c.
3136
3137 2015-07-15 Mike Frysinger <vapier@gentoo.org>
3138
3139 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
3140
3141 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3142
3143 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
3144 New variable.
3145
3146 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3147
3148 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3149
3150 2015-07-14 Roland McGrath <roland@hack.frob.com>
3151
3152 * sysdeps/generic/dl-fileid.h: New file.
3153 * sysdeps/posix/dl-fileid.h: New file.
3154 * sysdeps/nacl/dl-fileid.h: New file.
3155 * include/link.h: Include <dl-fileid.h>.
3156 (struct link_map): Replace l_dev and l_ino with l_file_id.
3157 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
3158 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
3159 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
3160
3161 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3162
3163 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
3164
3165 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3166
3167 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
3168 Add iff $CXX is set.
3169 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
3170 Likewise.
3171 (tst-nodelete-zmodiff): Likewise.
3172 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
3173
3174 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3175
3176 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
3177
3178 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
3179
3180 * sysdeps/aarch64/fpu/math_private.h
3181 (define math_opt_barrier): Add AArch64 version.
3182 (math_force_eval): Likewise.
3183
3184 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
3185
3186 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
3187
3188 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
3189
3190 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
3191 %ld with %jd and cast to intmax_t.
3192 (do_test_length_zero): Likewise.
3193
3194 2015-07-10 Roland McGrath <roland@hack.frob.com>
3195
3196 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
3197
3198 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
3199
3200 * sysdeps/tile/libm-test-ulps: Regenerated.
3201
3202 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
3203 Comment out the whole function, not just its body.
3204
3205 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3206
3207 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
3208 locks.
3209
3210 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
3211
3212 2015-07-10 Torvald Riegel <triegel@redhat.com>
3213
3214 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
3215 (sem_assume_only_signals_cause_futex_EINTR): Remove.
3216
3217 2015-07-10 Torvald Riegel <triegel@redhat.com>
3218
3219 * sysdeps/nptl/futex-internal.h: New file.
3220 * sysdeps/nacl/futex-internal.h: New file.
3221 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
3222 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
3223 error checking.
3224 (setxid_unmark_thread): Likewise.
3225 (__nptl_setxid): Likewise.
3226 (__wait_lookup_done): Likewise.
3227 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
3228 * nptl/nptl-init.c (sighandler_setxid): Likewise.
3229 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3230 * nptl/pthread_once.c (clear_once_control): Likewise.
3231 (__pthread_once_slow): Likewise.
3232 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
3233 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
3234 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
3235 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3236 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
3237 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
3238 Likewise.
3239 (__pthread_rwlock_rdlock): Likewise.
3240 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3241 Likewise.
3242 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3243 Likewise.
3244 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3245 Likewise.
3246 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
3247 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
3248 Likewise.
3249 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
3250 __ASSUME_PRIVATE_FUTEX check.
3251 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
3252 Check that shared futexes are supported.
3253 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
3254 wrappers with error checking.
3255 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
3256 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
3257 * nptl/pthread_barrierattr_setpshared.c
3258 (pthread_barrierattr_setpshared): Check that shared futexes are
3259 supported.
3260 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
3261 Likewise.
3262 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
3263 Likewise.
3264 * nptl/sem_init.c (futex_private_if_supported): Remove.
3265 (__new_sem_init): Adapt and check that shared futexes are supported.
3266 * nptl/sem_open.c (sem_open): Likewise.
3267 * nptl/sem_post.c (futex_wake): Remove.
3268 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
3269 (do_futex_wait): Use futex wrappers with error checking.
3270 * nptl/sem_wait.c: Include lowlevellock.h.
3271 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
3272 Use futex_supports_pshared.
3273 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
3274 Use futex wrappers with error checking.
3275 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
3276 Likewise.
3277 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
3278 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
3279 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
3280 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
3281 (futex_wake): Likewise.
3282 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
3283 (do_futex_wait): Use futex wrappers with error checking.
3284 (__new_sem_wait_slow): Update EINTR handling.
3285 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
3286
3287 2015-07-09 Martin Sebor <msebor@redhat.com>
3288
3289 [BZ #18435]
3290 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3291 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
3292 * nptl/Makefile (test-xfail-tst-once5): Define.
3293
3294 2015-07-09 Roland McGrath <roland@hack.frob.com>
3295
3296 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
3297 * elf/dl-minimal.c: For readability, reorder some definitions and
3298 introduce more page breaks. Include <stdio.h>.
3299 (__libc_fatal): New function.
3300
3301 * include/unistd.h: Add rtld_hidden_proto for _exit.
3302 * posix/_exit.c: Add rtld_hidden_def.
3303 * sysdeps/mach/hurd/_exit.c: Likewise.
3304 * sysdeps/nacl/_exit.c: Likewise.
3305 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
3306 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
3307
3308 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
3309
3310 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
3311 bndmov encoding with zero displacement.
3312
3313 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
3314 H.J. Lu <hongjiu.lu@intel.com>
3315
3316 [BZ #18134]
3317 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
3318 * sysdeps/i386/configure: Regenerated.
3319 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3320 (_dl_runtime_profile): Save and restore Intel MPX return bound
3321 registers when calling _dl_call_pltexit. Add
3322 PRESERVE_BND_REGS_PREFIX before return.
3323 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
3324 (LRV_BND1_OFFSET): Likewise.
3325 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
3326 lrv_bnd1.
3327 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
3328 typo in bndmov encoding.
3329 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
3330 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
3331 branch instructions to preserve bounds.
3332
3333 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3334
3335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3336 [GLIBC_2.22]: Add fmemopen.
3337
3338 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
3339
3340 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
3341 returns an error, also try to use host port from __mach_host_self for
3342 the __vm_wire call.
3343 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
3344
3345 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3346
3347 [BZ #18400]
3348 [BZ #18648]
3349 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
3350 Fix pr_uid and pr_gid members.
3351 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
3352 definition to elf_greg_t.
3353
3354 2015-07-08 Roland McGrath <roland@hack.frob.com>
3355
3356 [BZ #18383]
3357 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
3358 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
3359 * sysdeps/arm/configure: Regenerated.
3360 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
3361 (test-xfail-tst-tlsalign-static): Variable removed.
3362
3363 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
3364 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
3365 rather than explicit 'ln -s'.
3366
3367 * resolv/rpc/netdb.h: New file.
3368 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
3369
3370 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3371
3372 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
3373 length buffers.
3374 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3375 test-skeleton.c.
3376
3377 [BZ #6544]
3378 [BZ #11216]
3379 [BZ #12836]
3380 [BZ #13151]
3381 [BZ #13152]
3382 [BZ #14292]
3383 * include/stdio.h (fmemopen): Remove hidden prototype.
3384 (__fmemopen): Add new hidden prototype.
3385 * libio/Makefile: Add oldfmemopen object.
3386 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
3387 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
3388 compliance.
3389 * libio/oldfmemopen.c: New file: old fmemopen implementation for
3390 symbol compatibility.
3391 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
3392 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
3393 fmemopen.
3394 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
3395 on append and read mode.
3396 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
3397 fmemopen.
3398 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
3399 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
3400 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
3401 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
3402 Likewise.
3403 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3404 [GLIBC_2.22]: Likewise.
3405 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
3406 Likewise.
3407 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
3408 Likewise.
3409 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3410 [GLIBC_2.22]: Likewise.
3411 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3412 [GLIBC_2.22]: Likewise.
3413 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3414 [GLIBC_2.22]: Likewise.
3415 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3416 [GLIBC_2.22]: Likewise.
3417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3418 [GLIBC_2.22]: Likewise.
3419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3420 [GLIBC_2.22]: Likewise.
3421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3422 [GLIBC_2.22]: Likewise.
3423 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
3424 Likewise.
3425 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
3426 Likewise.
3427 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
3428 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3429 [GLIBC_2.22]: Likewise.
3430 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3431 [GLIBC_2.22]: Likewise.
3432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3433 [GLIBC_2.22]: Likewise.
3434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3435 [GLIBC_2.22]: Likewise.
3436 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
3437 Likewise.
3438 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
3439 Likewise.
3440 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
3441 Likewise.
3442 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
3443 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
3444
3445 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3446
3447 [BZ #18643]
3448 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
3449 IPV6_PATHMTU, and IPV6_DONTFRAG.
3450
3451 2015-07-08 Feng Gao <gfree.wind@gmail.com>
3452
3453 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
3454 and _IO_UNBUFFERED.
3455 * libio/oldfileops.c: Likewise.
3456 * libio/wfileops.c: Likewise.
3457
3458 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3459
3460 * nscd/selinux.c: Delete selinux/flask.h include.
3461
3462 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3463
3464 [BZ #18641]
3465 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
3466 (putpwent): Likewise.
3467 (getpwnam): Likewise.
3468 (getpwent_r): Likewise.
3469 (getpwuid_r): Likewise.
3470 (getpwnam_r): Likewise.
3471 (fgetpwent_r): Likewise.
3472
3473 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3474
3475 [BZ #18557]
3476 * inet/rcmd.c (__validuser2_sa): Check user first to
3477 short-circuit host check.
3478
3479 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
3480 Mikhail Ilin <m.ilin@samsung.com>
3481
3482 [BZ #17833]
3483 * elf/Makefile (tests): Add tst-nodelete.
3484 (modules-names): Add tst-nodelete-uniquemod.
3485 (tst-nodelete-uniquemod.so-no-z-defs): New.
3486 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
3487 (tst-nodelete-zmod.so-no-z-defs): Likewise.
3488 ($(objpfx)tst-nodelete): Likewise.
3489 ($(objpfx)tst-nodelete.out): Likewise.
3490 (LDFLAGS-tst-nodelete): Likewise.
3491 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
3492 * elf/dl-close.c (_dl_close_worker): Add a parameter to
3493 implement forced object deletion.
3494 (_dl_close): Pass false to _dl_close_worker.
3495 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
3496 * elf/tst-nodelete.cc: New file.
3497 * elf/tst-nodeletelib.cc: Likewise.
3498 * elf/tst-znodeletelib.cc: Likewise.
3499 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
3500
3501 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3502
3503 [BZ #18508]
3504 * stdlib/Makefile ($(objpfx)tst-makecontext3):
3505 Depend on $(libdl).
3506 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
3507 is not called infinitely times.
3508 (backtrace_helper): New function.
3509 (trace_arg): New struct.
3510 (st1): Enlarge stack size.
3511 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3512 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
3513 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3514 Likewise.
3515
3516 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3517
3518 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3519
3520 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3521
3522 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
3523 Include sys/types.h instead of bits/types.h.
3524 Remove inclusion of bits/wordsize.h.
3525
3526 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3527
3528 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
3529 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
3530 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
3531 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
3532 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
3533 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
3534
3535 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3536
3537 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
3538 link-defines.sym.
3539 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
3540 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
3541 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
3542 and LR_SIZE.
3543 * sysdeps/i386/link-defines.sym: New file.
3544
3545 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3546
3547 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
3548 (modules-names): Add tst-auditmod3a tst-auditmod3b.
3549 ($(objpfx)tst-audit3): New rule.
3550 ($(objpfx)tst-audit3.out): Likewise.
3551 * sysdeps/i386/tst-audit3.c: New file.
3552 * sysdeps/i386/tst-audit3.h: Likewise.
3553 * sysdeps/i386/tst-auditmod3a.c: Likewise.
3554 * sysdeps/i386/tst-auditmod3b.c: Likewise.
3555
3556 2015-07-07 Torvald Riegel <triegel@redhat.com>
3557
3558 [BZ #18633]
3559 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
3560 pointer in C code.
3561 (__strcat_c): Likewise.
3562 (__strcat_g): Likewise.
3563
3564 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
3565
3566 [BZ #18592]
3567 * misc/sbrk.c: Set errno to ENOMEM on overflow.
3568
3569 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3570
3571 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
3572 New function. (__ieee754_sqrtf): New function.
3573 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
3574 New function.
3575 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
3576 New function.
3577
3578 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3579
3580 * sysdeps/ieee754/support.c: Remove unused file.
3581
3582 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
3583
3584 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
3585 registers instead of d ones so the layout is kernel abi compatible.
3586 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
3587 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
3588 Likewise.
3589
3590 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3591
3592 * sysdeps/aarch64/libm-test-ulps: Regenerated.
3593
3594 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3595
3596 [BZ #18619]
3597 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
3598 and return argument in case of subnormal argument.
3599
3600 2015-07-01 Martin Sebor <msebor@redhat.com>
3601
3602 [BZ #18435]
3603 * nptl/Makefile: Add tst-once5.cc.
3604 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3605 Remove macro redefinitions.
3606 * nptl/tst-once5.cc: New test.
3607
3608 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3609
3610 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3611
3612 * sysdeps/arm/libm-test-ulps: Regenerated.
3613
3614 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3615 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3616
3617 2015-06-30 Torvald Riegel <triegel@redhat.com>
3618
3619 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
3620 lll_lock_wait_private and lll_futex_wake probes.
3621
3622 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3623 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
3624 Likewise.
3625 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
3626 atomic_spin_nop.
3627 * sysdeps/x86_64/bits/atomic.h: Likewise.
3628 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
3629 to atomic_spin_nop and move ...
3630 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3631 ... here and ...
3632 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
3633 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3634 atomic_spin_nop instead of BUSY_WAIT_NOP.
3635 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
3636 Likewise.
3637 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
3638 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3639 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
3640 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
3641 instead of atomic_delay.
3642
3643 2015-06-29 Joseph Myers <joseph@codesourcery.com>
3644
3645 [BZ #18613]
3646 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
3647 X_ADJ not X when adjusting exponent.
3648 (__ieee754_gamma_r): Do intermediate computations in
3649 round-to-nearest then adjust overflowing and underflowing results
3650 as needed.
3651 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
3652 of X_ADJ not X when adjusting exponent.
3653 (__ieee754_gammaf_r): Do intermediate computations in
3654 round-to-nearest then adjust overflowing and underflowing results
3655 as needed.
3656 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
3657 log of X_ADJ not X when adjusting exponent.
3658 (__ieee754_gammal_r): Do intermediate computations in
3659 round-to-nearest then adjust overflowing and underflowing results
3660 as needed. Use 1.0L not 1.0f as numerator of division.
3661 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
3662 log of X_ADJ not X when adjusting exponent.
3663 (__ieee754_gammal_r): Do intermediate computations in
3664 round-to-nearest then adjust overflowing and underflowing results
3665 as needed. Use 1.0L not 1.0f as numerator of division.
3666 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
3667 of X_ADJ not X when adjusting exponent.
3668 (__ieee754_gammal_r): Do intermediate computations in
3669 round-to-nearest then adjust overflowing and underflowing results
3670 as needed. Use 1.0L not 1.0f as numerator of division.
3671 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
3672 to auto-libm-test-in.
3673 (tgamma_test): Use ALL_RM_TEST.
3674 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
3675 tests of tgamma with spurious-overflow.
3676 * math/auto-libm-test-out: Regenerated.
3677 * math/gen-libm-have-vector-test.sh: Do not check for START.
3678 * sysdeps/i386/fpu/libm-test-ulps: Update.
3679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3680
3681 [BZ #18612]
3682 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
3683 arguments, just return 0.5 times the argument, with underflow
3684 forced as needed.
3685 * math/auto-libm-test-in: Add more tests of j1.
3686 * math/auto-libm-test-out: Regenerated.
3687
3688 [BZ #16559]
3689 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
3690 (__ieee754_j1): Force underflow exception for small results.
3691 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3692 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
3693 (__ieee754_j1f): Force underflow exception for small results.
3694 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3695 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3696 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3697 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
3698 (__ieee754_j1l): Force underflow exception for small results.
3699 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3700 * math/auto-libm-test-in: Add more tests of j1 and jn.
3701 * math/auto-libm-test-out: Regenerated.
3702
3703 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
3704 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
3705 (PF_MPLS): Likewise.
3706 (AF_IB): Likewise.
3707 (AF_MPLS): Likewise.
3708 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
3709 value and macro.
3710 (MS_RMT_MASK): Include MS_LAZYTIME.
3711
3712 2015-06-26 Mel Gorman <mgorman@suse.de>
3713
3714 [BZ #18502]
3715 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
3716 already minimal.
3717
3718 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
3719
3720 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
3721 (DT_MIPS_NUM): Update.
3722 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
3723 DT_MIPS_RLD_MAP_REL.
3724
3725 2015-06-25 Joseph Myers <joseph@codesourcery.com>
3726
3727 [BZ #16559]
3728 [BZ #18602]
3729 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
3730 round-to-nearest internally then recompute results that
3731 underflowed to zero in the original rounding mode.
3732 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3733 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3734 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3735 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
3736 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
3737 * sysdeps/i386/fpu/libm-test-ulps: Update.
3738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3739
3740 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
3741
3742 * NEWS: Fixed description of link with vector math library.
3743
3744 2015-06-25 Andreas Schwab <schwab@suse.de>
3745
3746 [BZ #18549]
3747 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
3748 * libio/test-fmemopen.c (do_test): Add test for it.
3749
3750 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
3751
3752 [BZ #17841]
3753 * Makeconfig (no-pie-ldflag): New.
3754 (+link): Set to $(+link-pie) if default to PIE.
3755 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
3756 * config.make.in (build-pie-default): New.
3757 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
3758 is default. AC_SUBST.
3759 * configure: Regenerated.
3760 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
3761
3762 2015-06-24 Roland McGrath <roland@hack.frob.com>
3763
3764 * nptl/descr.h (struct pthread): Change type of field setxid_futex
3765 to 'unsigned int'.
3766
3767 * resolv/gai_misc.h (struct waitlist): Change type of field
3768 counterp to 'volatile unsigned int *'.
3769 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
3770 FUTEXADDR and OLDVAL.
3771 * resolv/getaddrinfo_a.c (getaddrinfo_a):
3772 Give local variable TOTAL type 'volatile unsigned int'.
3773 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3774 * resolv/gai_suspend.c (gai_suspend):
3775 Give local variable CNTR type 'unsigned int'.
3776
3777 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
3778 counterp to 'volatile unsigned int *'.
3779 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
3780 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
3781 (aio_suspend): Give local variable CNTR type 'unsigned int'.
3782 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
3783 Give local variable TOTAL type 'volatile unsigned int'.
3784 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3785
3786 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
3787
3788 [BZ #18383]
3789 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
3790 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
3791 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
3792 comment for i386/x86-64.
3793 (test-xfail-tst-tlsalign-extern-static): Removed.
3794
3795 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3796
3797 * math/test-double.h: New file.
3798 * math/test-float.h: Likewise.
3799 * math/test-ldouble.h: Likewise.
3800 * math/test-math-inline.h: Likewise.
3801 * math/test-math-no-inline.h: Likewise.
3802 * math/test-math-scalar.h: Likewise.
3803 * math/test-math-vector.h: Likewise.
3804 * math/test-vec-loop.h: Remove file. Contents moved into
3805 test-math-vector.h.
3806 * math/libm-test.inc (MATHCONST): Do not document macro.
3807 * math/test-double.c: Include test-double.h, test-math-no-inline.h
3808 and test-math-scalar.h.
3809 (FUNC): Remove macro.
3810 (FUNC_TEST): Likewise.
3811 (FLOAT): Likewise.
3812 (MATHCONST): Likewise.
3813 (PRINTF_EXPR): Likewise.
3814 (PRINTF_XEXPR): Likewise.
3815 (PRINTF_NEXPR): Likewise.
3816 (TEST_DOUBLE): Likewise.
3817 (TEST_MATHVEC): Likewise.
3818 (__NO_MATH_INLINES): Likewise.
3819 * math/test-float.c: Include test-float.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_FLOAT): Likewise.
3829 (TEST_MATHVEC): Likewise.
3830 (__NO_MATH_INLINES): Likewise.
3831 * math/test-idouble.c: Include test-double.h, test-math-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_DOUBLE): Likewise.
3841 (TEST_MATHVEC): Likewise.
3842 (TEST_INLINE): Likewise.
3843 (__NO_MATH_INLINES): Likewise.
3844 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
3845 test-math-scalar.h.
3846 (FUNC): Remove macro.
3847 (FUNC_TEST): Likewise.
3848 (FLOAT): Likewise.
3849 (MATHCONST): Likewise.
3850 (PRINTF_EXPR): Likewise.
3851 (PRINTF_XEXPR): Likewise.
3852 (PRINTF_NEXPR): Likewise.
3853 (TEST_FLOAT): Likewise.
3854 (TEST_MATHVEC): Likewise.
3855 (TEST_INLINE): Likewise.
3856 (__NO_MATH_INLINES): Likewise.
3857 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
3858 and test-math-scalar.h.
3859 (FUNC): Remove macro.
3860 (FUNC_TEST): Likewise.
3861 (FLOAT): Likewise.
3862 (MATHCONST): Likewise.
3863 (PRINTF_EXPR): Likewise.
3864 (PRINTF_XEXPR): Likewise.
3865 (PRINTF_NEXPR): Likewise.
3866 (TEST_LDOUBLE): Likewise.
3867 (TEST_MATHVEC): Likewise.
3868 (TEST_INLINE): Likewise.
3869 (__NO_MATH_INLINES): Likewise.
3870 * math/test-ldouble.c: Include test-ldouble.h,
3871 test-math-no-inline.h and test-math-scalar.h.
3872 (FUNC): Remove macro.
3873 (FUNC_TEST): Likewise.
3874 (FLOAT): Likewise.
3875 (MATHCONST): Likewise.
3876 (PRINTF_EXPR): Likewise.
3877 (PRINTF_XEXPR): Likewise.
3878 (PRINTF_NEXPR): Likewise.
3879 (TEST_LDOUBLE): Likewise.
3880 (TEST_MATHVEC): Likewise.
3881 (__NO_MATH_INLINES): Likewise.
3882 * math/test-double-vlen2.h: Include test-double.h,
3883 test-math-no-inline.h and test-math-vector.h.
3884 (FLOAT): Remove macro.
3885 (FUNC): Likewise.
3886 (MATHCONST): Likewise.
3887 (PRINTF_EXPR): Likewise.
3888 (PRINTF_XEXPR): Likewise.
3889 (PRINTF_NEXPR): Likewise.
3890 (TEST_DOUBLE): Likewise.
3891 (TEST_MATHVEC): Likewise.
3892 (__NO_MATH_INLINES): Likewise.
3893 (CNCT): Likewise.
3894 (CONCAT): Likewise.
3895 (WRAPPER_NAME): Likewise.
3896 (WRAPPER_DECL): Likewise.
3897 (WRAPPER_DECL_ff): Likewise.
3898 (WRAPPER_DECL_fFF): Likewise.
3899 (VECTOR_WRAPPER): Likewise.
3900 (VECTOR_WRAPPER_ff): Likewise.
3901 (VECTOR_WRAPPER_fFF): Likewise.
3902 (VEC_LEN): New macro.
3903 * math/test-double-vlen4.h: Include test-double.h,
3904 test-math-no-inline.h and test-math-vector.h.
3905 (FLOAT): Remove macro.
3906 (FUNC): Likewise.
3907 (MATHCONST): Likewise.
3908 (PRINTF_EXPR): Likewise.
3909 (PRINTF_XEXPR): Likewise.
3910 (PRINTF_NEXPR): Likewise.
3911 (TEST_DOUBLE): Likewise.
3912 (TEST_MATHVEC): Likewise.
3913 (__NO_MATH_INLINES): Likewise.
3914 (CNCT): Likewise.
3915 (CONCAT): Likewise.
3916 (WRAPPER_NAME): Likewise.
3917 (WRAPPER_DECL): Likewise.
3918 (WRAPPER_DECL_ff): Likewise.
3919 (WRAPPER_DECL_fFF): Likewise.
3920 (VECTOR_WRAPPER): Likewise.
3921 (VECTOR_WRAPPER_ff): Likewise.
3922 (VECTOR_WRAPPER_fFF): Likewise.
3923 (VEC_LEN): New macro.
3924 * math/test-double-vlen8.h: Include test-double.h,
3925 test-math-no-inline.h and test-math-vector.h.
3926 (FLOAT): Remove macro.
3927 (FUNC): Likewise.
3928 (MATHCONST): Likewise.
3929 (PRINTF_EXPR): Likewise.
3930 (PRINTF_XEXPR): Likewise.
3931 (PRINTF_NEXPR): Likewise.
3932 (TEST_DOUBLE): Likewise.
3933 (TEST_MATHVEC): Likewise.
3934 (__NO_MATH_INLINES): Likewise.
3935 (CNCT): Likewise.
3936 (CONCAT): Likewise.
3937 (WRAPPER_NAME): Likewise.
3938 (WRAPPER_DECL): Likewise.
3939 (WRAPPER_DECL_ff): Likewise.
3940 (WRAPPER_DECL_fFF): Likewise.
3941 (VECTOR_WRAPPER): Likewise.
3942 (VECTOR_WRAPPER_ff): Likewise.
3943 (VECTOR_WRAPPER_fFF): Likewise.
3944 (VEC_LEN): New macro.
3945 * math/test-float-vlen4.h: Include test-float.h,
3946 test-math-no-inline.h and test-math-vector.h.
3947 (FLOAT): Remove macro.
3948 (FUNC): Likewise.
3949 (MATHCONST): Likewise.
3950 (PRINTF_EXPR): Likewise.
3951 (PRINTF_XEXPR): Likewise.
3952 (PRINTF_NEXPR): Likewise.
3953 (TEST_FLOAT): Likewise.
3954 (TEST_MATHVEC): Likewise.
3955 (__NO_MATH_INLINES): Likewise.
3956 (CNCT): Likewise.
3957 (CONCAT): Likewise.
3958 (WRAPPER_NAME): Likewise.
3959 (WRAPPER_DECL): Likewise.
3960 (WRAPPER_DECL_ff): Likewise.
3961 (WRAPPER_DECL_fFF): Likewise.
3962 (VECTOR_WRAPPER): Likewise.
3963 (VECTOR_WRAPPER_ff): Likewise.
3964 (VECTOR_WRAPPER_fFF): Likewise.
3965 (VEC_LEN): New macro.
3966 * math/test-float-vlen8.h: Include test-float.h,
3967 test-math-no-inline.h and test-math-vector.h.
3968 (FLOAT): Remove macro.
3969 (FUNC): Likewise.
3970 (MATHCONST): Likewise.
3971 (PRINTF_EXPR): Likewise.
3972 (PRINTF_XEXPR): Likewise.
3973 (PRINTF_NEXPR): Likewise.
3974 (TEST_FLOAT): Likewise.
3975 (TEST_MATHVEC): Likewise.
3976 (__NO_MATH_INLINES): Likewise.
3977 (CNCT): Likewise.
3978 (CONCAT): Likewise.
3979 (WRAPPER_NAME): Likewise.
3980 (WRAPPER_DECL): Likewise.
3981 (WRAPPER_DECL_ff): Likewise.
3982 (WRAPPER_DECL_fFF): Likewise.
3983 (VECTOR_WRAPPER): Likewise.
3984 (VECTOR_WRAPPER_ff): Likewise.
3985 (VECTOR_WRAPPER_fFF): Likewise.
3986 (VEC_LEN): New macro.
3987 * math/test-float-vlen16.h: Include test-float.h,
3988 test-math-no-inline.h and test-math-vector.h.
3989 (FLOAT): Remove macro.
3990 (FUNC): Likewise.
3991 (MATHCONST): Likewise.
3992 (PRINTF_EXPR): Likewise.
3993 (PRINTF_XEXPR): Likewise.
3994 (PRINTF_NEXPR): Likewise.
3995 (TEST_FLOAT): Likewise.
3996 (TEST_MATHVEC): Likewise.
3997 (__NO_MATH_INLINES): Likewise.
3998 (CNCT): Likewise.
3999 (CONCAT): Likewise.
4000 (WRAPPER_NAME): Likewise.
4001 (WRAPPER_DECL): Likewise.
4002 (WRAPPER_DECL_ff): Likewise.
4003 (WRAPPER_DECL_fFF): Likewise.
4004 (VECTOR_WRAPPER): Likewise.
4005 (VECTOR_WRAPPER_ff): Likewise.
4006 (VECTOR_WRAPPER_fFF): Likewise.
4007 (VEC_LEN): New macro.
4008 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
4009 test-vec-loop.h.
4010 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4011 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4012 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4013 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4014 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4015 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4016 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4017
4018 2015-06-24 Roland McGrath <roland@hack.frob.com>
4019
4020 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
4021 (__getlogin_r): ... this.
4022
4023 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4024
4025 [BZ #18594]
4026 * math/s_ccosh.c (__ccosh): Compare with least normal value
4027 instead of comparing class with FP_SUBNORMAL.
4028 * math/s_ccoshf.c (__ccoshf): Likewise.
4029 * math/s_ccoshl.c (__ccoshl): Likewise.
4030 * math/s_cexp.c (__cexp): Likewise.
4031 * math/s_cexpf.c (__cexpf): Likewise.
4032 * math/s_cexpl.c (__cexpl): Likewise.
4033 * math/s_csin.c (__csin): Likewise.
4034 * math/s_csinf.c (__csinf): Likewise.
4035 * math/s_csinh.c (__csinh): Likewise.
4036 * math/s_csinhf.c (__csinhf): Likewise.
4037 * math/s_csinhl.c (__csinhl): Likewise.
4038 * math/s_csinl.c (__csinl): Likewise.
4039 * math/s_ctan.c (__ctan): Likewise.
4040 * math/s_ctanf.c (__ctanf): Likewise.
4041 * math/s_ctanh.c (__ctanh): Likewise.
4042 * math/s_ctanhf.c (__ctanhf): Likewise.
4043 * math/s_ctanhl.c (__ctanhl): Likewise.
4044 * math/s_ctanl.c (__ctanl): Likewise.
4045 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
4046 csin, csinh, ctan and ctanh.
4047 * math/auto-libm-test-out: Regenerated.
4048 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
4049 * sysdeps/i386/fpu/libm-test-ulps: Update.
4050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4051
4052 2015-06-24 Roland McGrath <roland@hack.frob.com>
4053
4054 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
4055 return value is wrong, print the expected value too.
4056
4057 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
4058
4059 [BZ #18585]
4060 * elf/readlib.c (is_gdb_python_file): New.
4061 (process_file): Don't issue errors on filenames with -gdb.py
4062 suffix.
4063
4064 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4065
4066 * math/auto-libm-test-in: Add more tests of csin and csinh.
4067 * math/auto-libm-test-out: Regenerated.
4068 * math/libm-test.inc (csin_test_data): Remove tests moved to
4069 auto-libm-test-in.
4070 (csinh_test_data): Likewise.
4071
4072 [BZ #18593]
4073 * math/s_csin.c (__csin): Negate before rather than after possibly
4074 overflowing multiplication.
4075 * math/s_csinf.c (__csinf): Likewise.
4076 * math/s_csinh.c (__csinh): Likewise.
4077 * math/s_csinhf.c (__csinhf): Likewise.
4078 * math/s_csinhl.c (__csinhl): Likewise.
4079 * math/s_csinl.c (__csinl): Likewise.
4080 * math/auto-libm-test-in: Add some tests of csin and csinh.
4081 * math/auto-libm-test-out: Regenerated.
4082 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
4083 (csinh_test_data): Likewise.
4084 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4085
4086 [BZ #18586]
4087 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
4088 underflow exception for small results.
4089
4090 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
4091
4092 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4093 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
4094 variable and included header.
4095 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
4096 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
4097 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
4098 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
4099 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
4100 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
4101 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
4102 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
4103 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
4104 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
4105 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
4106 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
4107 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
4108 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
4109 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
4110 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
4111
4112 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4113
4114 [BZ #16526]
4115 [BZ #16538]
4116 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
4117 (__sin): Force underflow exception for arguments with small
4118 absolute value.
4119 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
4120 (__kernel_sinf): Force underflow exception for arguments with
4121 small absolute value.
4122 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
4123 (__kernel_sincosl): Force underflow exception for arguments with
4124 small absolute value.
4125 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
4126 (__kernel_sinl): Force underflow exception for arguments with
4127 small absolute value.
4128 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
4129 (__kernel_sincosl): Force underflow exception for arguments with
4130 small absolute value.
4131 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
4132 (__kernel_sinl): Force underflow exception for arguments with
4133 small absolute value.
4134 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
4135 (__kernel_sinl): Force underflow exception for arguments with
4136 small absolute value.
4137 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
4138 (__kernel_sinf): Force underflow exception for arguments with
4139 small absolute value.
4140 * math/auto-libm-test-in: Add more tests of sin and sincos.
4141 * math/auto-libm-test-out: Regenerated.
4142
4143 [BZ #18245]
4144 [BZ #18583]
4145 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
4146 (__kernel_standard_l): Use feholdexcept and fesetenv around
4147 conversion to double instead of special-casing overflow and
4148 underflow.
4149 * math/libm-test.inc (fmod_test_data): Add more tests.
4150 (remainder_test_data): Likewise.
4151 (sqrt_test_data): Likewise.
4152
4153 2015-06-23 Torvald Riegel <triegel@redhat.com>
4154
4155 [BZ #17403]
4156 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
4157 atomic_read_barrier, atomic_write_barrier): Define.
4158 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
4159 atomic_read_barrier, atomic_write_barrier): Define.
4160
4161 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4162
4163 * math/Makefile [$(PERL) != no]
4164 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
4165 dependency on libm-test.stmp below the inclusion of Rules.
4166
4167 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
4168
4169 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4170 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
4171 and included header.
4172 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
4173 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
4174 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
4175 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
4176 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
4177 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
4178 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
4179 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
4180 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
4181 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
4182 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
4183 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
4184 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
4185 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
4186 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
4187 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
4188 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
4189 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
4190 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
4191
4192 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4193
4194 [BZ #18371]
4195 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
4196 intermediate but not final result might underflow.
4197 * math/s_csqrtf.c (__csqrtf): Likewise.
4198 * math/s_csqrtl.c (__csqrtl): Likewise.
4199 * math/auto-libm-test-in: Add more tests of csqrt.
4200 * math/auto-libm-test-out: Regenerated.
4201 * sysdeps/i386/fpu/libm-test-ulps: Update.
4202
4203 [BZ #18219]
4204 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
4205 threshold on absolute value of exponent for which scaling is used.
4206 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4207 * math/auto-libm-test-in: Add more tests of exp2.
4208 * math/auto-libm-test-out: Regenerated.
4209
4210 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
4211
4212 [BZ #17977]
4213 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
4214 when initializing interface list, based on the bug analysis
4215 and the patch proposed by Eric Newton.
4216 * resolv/tst-res_hconf_reorder.c: New test.
4217 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
4218 tst-res_hconf_reorder.
4219 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
4220 and $(shared-thread-library).
4221 (tst-res_hconf_reorder-ENV): New variable.
4222
4223 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
4224 in comment.
4225
4226 2015-06-22 Joseph Myers <joseph@codesourcery.com>
4227
4228 [BZ #16353]
4229 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
4230 (__expm1): Force underflow exception for arguments with small
4231 absolute value.
4232 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
4233 (__expm1f): Force underflow exception for arguments with small
4234 absolute value.
4235 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
4236 (__expm1): Force underflow exception for arguments with small
4237 absolute value.
4238 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
4239 (__expm1f): Force underflow exception for arguments with small
4240 absolute value.
4241 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4242 Check for small arguments before calling __expm1.
4243 * math/auto-libm-test-in: Do not mark underflow exceptions as
4244 possibly missing for bug 16353.
4245 * math/auto-libm-test-out: Regenerated.
4246
4247 2015-06-22 Andreas Schwab <schwab@suse.de>
4248
4249 [BZ #18513]
4250 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
4251 PTR queries.
4252
4253 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
4254
4255 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
4256
4257 * string/strcoll_l.c: Remove unused struct element idxnow.
4258
4259 2015-06-21 Joseph Myers <joseph@codesourcery.com>
4260
4261 [BZ #18569]
4262 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
4263 underflow and return argument in case of subnormal argument.
4264 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4265 Likewise.
4266 * math/auto-libm-test-in: Add more tests of expm1.
4267 * math/auto-libm-test-out: Regenerated.
4268
4269 [BZ #16361]
4270 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4271 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4272 tiny results.
4273 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4274 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4275 tiny results.
4276 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
4277 mark underflow exceptions as possibly missing for bug 16361.
4278 * math/auto-libm-test-out: Regenerated.
4279
4280 2015-06-19 Joseph Myers <joseph@codesourcery.com>
4281
4282 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
4283 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
4284 Remove variable.
4285 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4286 (test-xfail-XOPEN2K8/utmpx.h/conform).
4287
4288 * conform/conformtest.pl ($xerrors): New variable.
4289 (note_error): New function.
4290 (compiletest): New argument $xfail. Use not_error.
4291 (runtest): Likewise.
4292 (top level): Handle xfail- lines. Update calls to compiletest and
4293 runtest. Handle xfail- and optional- in headers listed with
4294 allow-header.
4295 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
4296 (O_EXEC): Likewise.
4297 (O_SEARCH): Likewise.
4298 * conform/data/stropts.h-data (ioctl): Likewise.
4299 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
4300 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
4301 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
4302 (msghdr.msg_controllen): Likewise.
4303 (cmsghdr.cmsg_len): Likewise.
4304 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
4305 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
4306 variable.
4307 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4308 (test-xfail-XPG4/stropts.h/conform): Likewise.
4309 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4310 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4311 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4312 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4313 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4314 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4315 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4316 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4317 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4318 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4319 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4320 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4321 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4322 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4323 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4324 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4325 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4326 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4327 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4328
4329 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
4330
4331 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
4332 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
4333 definitions for proper unfolding of __MATHDECL_VEC.
4334
4335 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4336
4337 * benchtests/bench-strcoll.c:
4338 Include string.h.
4339 (main): Remove unused variable res.
4340
4341 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4342
4343 * timezone/Makefile (%/UTC %/Universal):
4344 Generate test-result files for UTC and Universal.
4345
4346 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4347
4348 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4349
4350 2015-06-18 Joseph Myers <joseph@codesourcery.com>
4351
4352 [BZ #16350]
4353 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
4354 for arguments with small absolute value.
4355 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
4356 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
4357 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
4358 (__asinh): Force underflow exception for arguments with small
4359 absolute value.
4360 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
4361 (__asinhf): Force underflow exception for arguments with small
4362 absolute value.
4363 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
4364 (__asinhl): Force underflow exception for arguments with small
4365 absolute value.
4366 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
4367 (__asinhl): Force underflow exception for arguments with small
4368 absolute value.
4369 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
4370 (__asinhl): Force underflow exception for arguments with small
4371 absolute value.
4372 * math/auto-libm-test-in: Do not mark underflow exceptions as
4373 possibly missing for bug 16350.
4374 * math/auto-libm-test-out: Regenerated.
4375
4376 * include/bits/ipc.h: Remove file.
4377 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
4378 variable.
4379 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4380 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4381 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4382 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4383 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4384 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4385 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4386 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4387 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4388
4389 * math/auto-libm-test-in: Remove spurious underflow allowance for
4390 tests of cexp.
4391 * math/auto-libm-test-out: Regenerated.
4392
4393 [BZ #18558]
4394 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
4395 unconditional definition.
4396 (MCAST_BLOCK_SOURCE): Likewise.
4397 (MCAST_UNBLOCK_SOURCE): Likewise.
4398 (MCAST_LEAVE_GROUP): Likewise.
4399 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4400 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4401 (MCAST_MSFILTER): Likewise.
4402 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
4403 Remove variable.
4404 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4405 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4406 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4407 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4408 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4409
4410 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
4411
4412 * NEWS: Mention addition of x86_64 vector sincosf.
4413 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
4414 * math/test-float-vlen4.h: Likewise.
4415 * math/test-float-vlen8.h: Likewise.
4416 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4417 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
4418 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4419 * sysdeps/x86_64/fpu/Versions: New versions added.
4420 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4421 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4422 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4423 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
4424 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4425 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
4426 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4427 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
4428 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4429 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
4430 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
4431 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
4432 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
4433 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
4434 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
4435 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
4436 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
4437 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4438 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4439 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4440 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4441 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4442 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4443 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4444
4445 * NEWS: Mention addition of x86_64 vector sincos.
4446 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
4447 * math/math.h (__MATHDECL_VEC): New macro.
4448 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
4449 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
4450 declaration under condition.
4451 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
4452 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
4453 TEST_VEC_LOOP change.
4454 * math/test-double-vlen4.h: Likewise.
4455 * math/test-double-vlen8.h: Likewise.
4456 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
4457 * math/test-float-vlen4.h: Likewise.
4458 * math/test-float-vlen8.h: Likewise.
4459 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4460 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
4461 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4462 * sysdeps/x86_64/fpu/Versions: New versions added.
4463 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4464 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4465 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4466 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
4467 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
4468 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
4469 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
4470 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
4471 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
4472 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
4473 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
4474 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
4475 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
4476 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
4477 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
4478 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
4479 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
4480 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4481 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4482 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4483 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4484 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4485 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4486 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4487
4488 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4489 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4490 redirections for powf.
4491 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4492 * sysdeps/x86_64/fpu/Versions: New versions added.
4493 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4494 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4495 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4496 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
4497 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
4498 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
4499 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
4500 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
4501 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
4502 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
4503 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
4504 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
4505 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
4506 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
4507 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
4508 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
4509 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
4510 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4511 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4512 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4513 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4514 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4515 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4516 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4517 * math/test-float-vlen16.h: Fixed 2 argument macro.
4518 * math/test-float-vlen4.h: Likewise.
4519 * math/test-float-vlen8.h: Likewise.
4520 * NEWS: Mention addition of x86_64 vector powf.
4521
4522 2015-06-17 Joseph Myers <joseph@codesourcery.com>
4523
4524 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4525 and redefine.
4526 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4527 and redefine.
4528 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
4529 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4530 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4531
4532 [BZ #18553]
4533 * resource/getpriority.c (getpriority): Rename to __getpriority
4534 and define as weak alias of __getpriority.
4535 * resource/setpriority.c (setpriority): Rename to __setpriority
4536 and define as weak alias of __setpriority.
4537 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
4538 __getpriority and define as weak alias of __getpriority.
4539 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
4540 __setpriority and define as weak alias of __setpriority.
4541 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
4542 strong name.
4543 (setpriority): Use __setpriority as strong name.
4544 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
4545 __getpriority and define as weak alias of __getpriority.
4546 * include/sys/resource.h (__getpriority): Declare. Use
4547 libc_hidden_proto.
4548 (__setpriority): Likewise.
4549 (getpriority): Don't use libc_hidden_proto.
4550 (setpriority): Likewise.
4551 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
4552 getpriority. Call __setpriority instead of setpriority.
4553 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
4554 Remove variable.
4555
4556 [BZ #18547]
4557 * misc/getttyent.c (getttynam): Rename to __getttynam and define
4558 as weak alias of __getttynam. Use prototype function definition.
4559 Call __setttyent, __getttyent and __endttyent instead of
4560 setttyent, getttyent and endttyent.
4561 (getttyent): Rename to __getttyent and define as weak alias of
4562 __getttyent. Call __setttyent instead of setttyent. Call
4563 __fgets_unlocked instead of fgets_unlocked.
4564 (setttyent): Rename to __setttyent and define as weak alias of
4565 __setttyent.
4566 (endttyent): Rename to __endttyent and define as weak alias of
4567 __endttyent.
4568 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
4569 (__setttyent): Likewise.
4570 (__endttyent): Likewise.
4571 (getttyent): Don't use libc_hidden_proto.
4572 (setttyent): Likewise.
4573 (endttyent): Likewise.
4574 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
4575 __endttyent instead of setttyent, getttyent and endttyent.
4576 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
4577 Remove variable.
4578
4579 [BZ #18546]
4580 * socket/recv.c (__recv): Use libc_hidden_def.
4581 * socket/socket.c (__socket): Likewise.
4582 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4583 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
4584 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
4585 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
4586 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
4587 libc_hidden_def.
4588 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
4589 libc_hidden_weak.
4590 * include/sys/socket.h (__socket): Do not use attribute_hidden.
4591 Use libc_hidden_proto.
4592 (__recv): Likewise.
4593 * socket/Versions (libc): Export __recv and __socket at version
4594 GLIBC_PRIVATE.
4595 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
4596 instead of recv.
4597 (init_mq_netlink): Call __socket instead of socket.
4598 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
4599 Remove variable.
4600
4601 [BZ #18545]
4602 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
4603 __mq_timedreceive and define as alias of __mq_timedreceive. Use
4604 hidden_weak.
4605 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
4606 define as alias of __mq_timedsend. Use hidden_weak.
4607 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
4608 __mq_timedsend as strong name.
4609 (mq_timedreceive): Use __mq_timedreceive as strong name.
4610 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
4611 (__mq_timedreceive): Likewise.
4612 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
4613 __mq_timedreceive instead of mq_timedreceive.
4614 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
4615 instead of mq_timedsend.
4616 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
4617 Remove variable.
4618
4619 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
4620 hidden_def and hidden_weak instead of libc_hidden_def and
4621 libc_hidden_weak.
4622 (top level): Refer to hidden_def in comment.
4623 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
4624 macro. Use it instead of libc_hidden_def.
4625 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
4626 specify __GI_* name explicitly.
4627 (mq_timedreceive): Likewise.
4628 (mq_setattr): Likewise.
4629
4630 [BZ #18544]
4631 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
4632 __pthread_barrier_init and define as weak alias of
4633 __pthread_barrier_init.
4634 * sysdeps/sparc/nptl/pthread_barrier_init.c
4635 (pthread_barrier_init): Likewise.
4636 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
4637 __pthread_barrier_wait and define as weak alias of
4638 __pthread_barrier_wait.
4639 * sysdeps/sparc/nptl/pthread_barrier_wait.c
4640 (pthread_barrier_wait): Likewise.
4641 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4642 (pthread_barrier_wait): Likewise.
4643 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
4644 (pthread_barrier_wait): Likewise.
4645 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
4646 (pthread_barrier_wait): Likewise.
4647 * nptl/Versions (libpthread): Export __pthread_barrier_init and
4648 __pthread_barrier_wait at version GLIBC_PRIVATE.
4649 * include/pthread.h (__pthread_barrier_init): Declare.
4650 (__pthread_barrier_wait): Likewise.
4651 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
4652 Call __pthread_barrier_wait instead of pthread_barrier_wait.
4653 (helper_thread): Likewise.
4654 (init_mq_netlink): Call __pthread_barrier_init instead of
4655 pthread_barrier_init.
4656
4657 [BZ #18542]
4658 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
4659 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
4660 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
4661 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
4662 vswscanf.
4663 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
4664 Remove variable.
4665
4666 [BZ #18540]
4667 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
4668 strong alias of _IO_fflush. Use libc_hidden_def.
4669 * libio/iofflush_u.c (fflush_unlocked): Rename to
4670 __fflush_unlocked and define as weak alias of __fflush_unlocked.
4671 Use libc_hidden_weak.
4672 * include/stdio.h (__fflush_unlocked): Declare. Use
4673 libc_hidden_proto.
4674 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
4675 fflush_unlocked.
4676 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
4677 Remove variable.
4678
4679 [BZ #18539]
4680 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
4681 define as weak alias of __addseverity.
4682 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
4683 Remove variable.
4684 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4685 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4686 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4687
4688 [BZ #18536]
4689 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
4690 (__tfind): Likewise.
4691 (__tdelete): Likewise.
4692 (__twalk): Likewise.
4693 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
4694 __twalk to GLIBC_PRIVATE.
4695 * include/search.h (__tsearch): Use libc_hidden_proto.
4696 (__tfind): Likewise.
4697 (__tdelete): Likewise.
4698 (__twalk): Likewise.
4699 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
4700 Call __tdelete instead of tdelete.
4701 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
4702 tfind. Call __tsearch instead of tsearch.
4703 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
4704 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
4705 Remove variable.
4706 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4707
4708 [BZ #18534]
4709 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
4710 (dprintf): Define as a weak alias of __dprintf, not a strong
4711 alias.
4712 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
4713 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
4714 dprintf.
4715 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
4716 Remove variable.
4717 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4718 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4719
4720 [BZ #18533]
4721 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
4722 not a strong alias.
4723 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
4724 Remove variable.
4725
4726 [BZ #18532]
4727 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
4728 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
4729 (in6addr_loopback): Rename to __in6addr_loopback and define as
4730 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
4731 * include/netinet/in.h (__in6addr_loopback): Declare. Use
4732 libc_hidden_proto.
4733 (__in6addr_any): Likewise.
4734 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
4735 in6addr_any.
4736 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
4737 variable.
4738 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4739
4740 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
4741
4742 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
4743 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
4744 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4745 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4746 redirections for pow.
4747 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4748 * sysdeps/x86_64/fpu/Versions: New versions added.
4749 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4750 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4751 build of SSE, AVX2 and AVX512 IFUNC versions.
4752 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
4753 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
4754 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
4755 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
4756 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
4757 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
4758 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
4759 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
4760 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
4761 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
4762 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
4763 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
4764 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
4765 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
4766 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4767 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4768 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4769 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4770 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4771 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4772 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4773 * NEWS: Mention addition of x86_64 vector pow.
4774
4775 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4776 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4777 redirections for expf.
4778 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4779 * sysdeps/x86_64/fpu/Versions: New versions added.
4780 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4781 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4782 build of SSE, AVX2 and AVX512 IFUNC versions.
4783 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
4784 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
4785 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
4786 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
4787 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
4788 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
4789 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
4790 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
4791 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
4792 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
4793 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
4794 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
4795 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
4796 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4797 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4798 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4799 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4800 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4801 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4802 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4803 * NEWS: Mention addition of x86_64 vector expf.
4804
4805 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
4806 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
4807 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4808 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4809 redirections for exp.
4810 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4811 * sysdeps/x86_64/fpu/Versions: New versions added.
4812 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4813 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4814 build of SSE, AVX2 and AVX512 IFUNC versions.
4815 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
4816 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
4817 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
4818 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
4819 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
4820 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
4821 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
4822 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
4823 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
4824 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
4825 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
4826 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
4827 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
4828 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4829 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4830 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4831 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4832 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4833 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4834 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4835 * NEWS: Mention addition of x86_64 vector exp.
4836
4837 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4838 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4839 redirections for logf.
4840 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4841 * sysdeps/x86_64/fpu/Versions: New versions added.
4842 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4843 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4844 build of SSE, AVX2 and AVX512 IFUNC versions.
4845 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
4846 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
4847 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
4848 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
4849 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
4850 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
4851 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
4852 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
4853 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
4854 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
4855 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
4856 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
4857 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
4858 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4859 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4860 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4861 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4862 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4863 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4864 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4865 * NEWS: Mention addition of x86_64 vector logf.
4866
4867 * bits/libm-simd-decl-stubs.h: Added stubs for log.
4868 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
4869 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4870 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4871 redirections for log.
4872 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4873 * sysdeps/x86_64/fpu/Versions: New versions added.
4874 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4875 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4876 build of SSE, AVX2 and AVX512 IFUNC versions.
4877 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
4878 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
4879 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
4880 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
4881 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
4882 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
4883 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
4884 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
4885 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
4886 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
4887 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
4888 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
4889 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
4890 test.
4891 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4892 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4893 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4894 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4895 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4896 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4897 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4898 * NEWS: Mention addition of x86_64 vector log.
4899
4900 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
4901
4902 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
4903 cfi_adjust_cfa_offset argument.
4904 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
4905 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
4906
4907 [BZ #18034]
4908 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
4909 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
4910 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
4911 ordering using ldar.
4912 (_dl_tlsdesc_dynamic): Likewise.
4913 (_dl_tlsdesc_return_lazy): Likewise.
4914 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
4915 relaxed atomics instead of volatile and synchronize with release store.
4916 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
4917 volatile.
4918 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4919
4920 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
4921
4922 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4923 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
4924 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4925 * sysdeps/x86_64/fpu/Versions: New versions added.
4926 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4927 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4928 build of SSE, AVX2 and AVX512 IFUNC versions.
4929 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
4930 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
4931 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
4932 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
4933 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
4934 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
4935 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
4936 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
4937 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
4938 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
4939 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
4940 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
4941 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
4942 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4943 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4944 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4945 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4946 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4947 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4948 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4949 * NEWS: Mention addition of x86_64 vector sinf.
4950
4951 2015-06-14 Joseph Myers <joseph@codesourcery.com>
4952
4953 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
4954 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
4955 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
4956 Remove variable.
4957 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4958 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4959
4960 2015-06-12 Joseph Myers <joseph@codesourcery.com>
4961
4962 [BZ #18530]
4963 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
4964 strong alias of _IO_fputs. Use libc_hidden_def.
4965 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
4966 and define as weak alias of __fputs_unlocked. Use
4967 libc_hidden_weak.
4968 * include/stdio.h (__fputs_unlocked): Declare. Use
4969 libc_hidden_proto.
4970 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
4971 fputs_unlocked.
4972
4973 [BZ #18529]
4974 * resolv/netdb.h [__USE_POSIX]: Change condition to
4975 [__USE_XOPEN2K].
4976 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
4977 not expect.
4978 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
4979 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
4980 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
4981 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
4982 [XPG4 || UNIX98] (AI_ALL): Likewise.
4983 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
4984 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
4985 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
4986 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
4987 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
4988 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
4989 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
4990 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
4991 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
4992 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
4993 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
4994 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
4995 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
4996 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
4997 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
4998 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4999 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
5000 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
5001 [XPG4 || UNIX98] (gai_strerror): Likewise.
5002 [XPG4 || UNIX98] (getaddrinfo): Likewise.
5003 [XPG4 || UNIX98] (getnameinfo): Likewise.
5004
5005 [BZ #18528]
5006 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
5007 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
5008 __USE_XOPEN2K8].
5009 (getgrent): Likewise.
5010 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
5011 expect.
5012 [XPG3 || POSIX2008] (endgrent): Likewise.
5013 [XPG3] (setgrent): Likewise.
5014 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
5015 variable.
5016 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5017
5018 [BZ #18527]
5019 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
5020 define as weak alias of __getlogin_r. Use libc_hidden_weak.
5021 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
5022 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
5023 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
5024 * include/unistd.h (__getlogin_r): Declare. Use
5025 libc_hidden_proto.
5026 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
5027 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
5028 variable.
5029 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5030 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5031 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5032
5033 2015-06-12 Martin Sebor <msebor@redhat.com>
5034
5035 [BZ #18512]
5036 * Makerules (check-install-supported): New target.
5037 (install): Add check-install-supported as a dependency.
5038 * manual/install.texi (Installing the C Library): Document
5039 that overriding prefix and exec_prefix is not supported.
5040 Mention DESTDIR.
5041 * INSTALL: Regenerate from the above.
5042
5043 2015-06-12 Joseph Myers <joseph@codesourcery.com>
5044
5045 [BZ #18519]
5046 * posix/Versions (libc): Export __libc_pread at version
5047 GLIBC_PRIVATE.
5048 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
5049 instead of pread.
5050 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
5051 variable.
5052
5053 [BZ #18522]
5054 * misc/efgcvt_r.c
5055 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
5056 (cvt_symbol): Use weak_alias instead of strong_alias.
5057 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
5058 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
5059 Remove variable.
5060 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5061 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5062
5063 [BZ #18520]
5064 * inet/herrno.c (h_errno): Rename to __h_errno.
5065 (__libc_h_errno): Define as alias of __h_errno not h_errno.
5066 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
5067 to __h_errno instead of h_errno.
5068 * nptl/herrno.c (h_errno): Rename to __h_errno.
5069 (__h_errno_location): Refer to __h_errno not h_errno.
5070 * resolv/Versions (h_errno): Rename to __h_errno.
5071 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
5072 Remove variable.
5073 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5074
5075 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
5076
5077 * configure.ac: More strict check for AVX512 assembler support.
5078 * configure: Regenerated.
5079
5080 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
5081 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
5082 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5083 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
5084 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5085 * sysdeps/x86_64/fpu/Versions: New versions added.
5086 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5087 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5088 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5089 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
5090 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
5091 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
5092 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
5093 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
5094 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
5095 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
5096 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
5097 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
5098 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
5099 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
5100 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
5101 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
5102 test.
5103 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5104 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5105 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5106 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5107 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5108 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5109 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5110 * NEWS: Mention addition of x86_64 vector sin.
5111
5112 2015-06-11 Florian Weimer <fweimer@redhat.com>
5113
5114 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
5115 comment.
5116
5117 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
5118
5119 [BZ #18479]
5120 * nptl/pt-interp.c: New file.
5121 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
5122 Add pt-interp.
5123 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
5124 $(common-objpfx)runtime-linker.h.
5125
5126 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
5127
5128 * Makeconfig (+interp): Remove unused variable.
5129 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
5130 only. Depend on $(common-objpfx)runtime-linker.h instead of
5131 $(elf-objpfx)runtime-linker.h.
5132 ($(elf-objpfx)runtime-linker.h): Rename to
5133 $(common-objpfx)runtime-linker.h and move ...
5134 * Makerules [$(build-shared) = yes]: ... here.
5135 * elf/interp.c: Include <runtime-linker.h> instead of
5136 <elf/runtime-linker.h>.
5137
5138 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5139
5140 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
5141 (__gettimeofday_syscall): Remove vsyscall fallback.
5142 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
5143 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
5144 Add syscall fallback function.
5145 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
5146 if vDSO is not present.
5147 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
5148 fallback function.
5149 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
5150 present.
5151 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
5152 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5153
5154 2015-06-09 Joseph Myers <joseph@codesourcery.com>
5155
5156 [BZ #18497]
5157 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
5158 of wcscmp.
5159 (wcscmp): Define as weak alias of WCSCMP.
5160 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
5161 wcscoll.
5162 (USE_HIDDEN_DEF): Define.
5163 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
5164 __wcscoll. Don't use libc_hidden_weak.
5165 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
5166 wcscmp.
5167 * sysdeps/i386/i686/multiarch/wcscmp-c.c
5168 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
5169 __GI_wcscmp.
5170 (weak_alias): Undefine and redefine.
5171 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
5172 __wcscmp and define as weak alias of __wcscmp.
5173 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
5174 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
5175 (__wcscoll): Likewise.
5176 (wcscmp): Don't use libc_hidden_proto.
5177 (wcscoll): Likewise.
5178 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
5179 wcscoll.
5180 * posix/regexec.c (check_node_accept_bytes): Likewise.
5181 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
5182 variable.
5183 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5184 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5185
5186 [BZ #18507]
5187 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
5188 __fstatvfs and define as weak alias of __fstatvfs. Use
5189 libc_hidden_weak.
5190 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
5191 and define as weak alias of __statvfs. Use libc_hidden_weak.
5192 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
5193 Define as alias of __fstatvfs, not fstatvfs.
5194 (fstatvfs64): Likewise.
5195 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
5196 Define as alias of __statvfs, not statvfs.
5197 (statvfs64): Likewise.
5198 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
5199 Remove variable.
5200
5201 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5202
5203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5204 (HAVE_GETCPU_VSYSCALL): Define.
5205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5206 (HAVE_GETCPU_VSYSCALL): Likewise.
5207 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
5208 * sysdeps/unix/sysv/linux/sched_getcpu.c
5209 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
5210 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
5211 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
5212 prototype.
5213 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5214 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
5215 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
5216 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
5217 Define.
5218 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
5219 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5220 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
5221 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5222
5223 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
5224
5225 * sysdeps/x86_64/fpu/Makefile: New file.
5226 * sysdeps/x86_64/fpu/Versions: New file.
5227 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
5228 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
5229 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
5230 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
5231 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
5232 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
5233 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
5234 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
5235 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
5236 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
5237 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
5238 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
5239 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
5240 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5241 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5242 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
5243 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
5244 * sysdeps/x86_64/configure.ac: Options for libmvec build.
5245 * sysdeps/x86_64/configure: Regenerated.
5246 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
5247 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
5248 * manual/install.texi (Configuring and compiling): Document
5249 --disable-mathvec.
5250 * INSTALL: Regenerated.
5251 * NEWS: Mention addition of libmvec and x86_64 vector cos.
5252
5253 * math/Makefile: Added rules for vector tests.
5254 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
5255 declaration under condition.
5256 * math/test-double-vlen2.h: New file.
5257 * math/test-double-vlen4.h: New file.
5258 * math/test-double-vlen8.h: New file.
5259 * math/test-vec-loop.h: Added initialization macro.
5260 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
5261 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
5262 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
5263 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
5264 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
5265 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
5266 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
5267 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
5268 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
5269 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
5270 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
5271
5272 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5273 * sysdeps/x86_64/fpu/Versions: New versions added.
5274 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
5275 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
5276 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
5277 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
5278 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
5279 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
5280 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
5281 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
5282 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
5283 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
5284 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
5285 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
5286 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
5287 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5288 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5289 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5290 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
5291 * NEWS: Mention addition of x86_64 vector cosf.
5292
5293 * math/Makefile: Added CFLAGS for new tests.
5294 * math/test-float-vlen16.h: New file.
5295 * math/test-float-vlen4.h: New file.
5296 * math/test-float-vlen8.h: New file.
5297 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
5298 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
5299 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5300 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
5301 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
5302 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
5303 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
5304 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
5305 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
5306 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
5307 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
5308
5309 2015-06-09 Marko Myllynen <myllynen@redhat.com>
5310
5311 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
5312 * locale/programs/ld-ctype.c: Likewise.
5313
5314 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
5315
5316 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
5317 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
5318 bit_ZMM16_31_state): New macro.
5319 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5320 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
5321
5322 2015-06-08 Joseph Myers <joseph@codesourcery.com>
5323
5324 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
5325
5326 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
5327
5328 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
5329
5330 2015-06-05 Joseph Myers <joseph@codesourcery.com>
5331
5332 [BZ #18498]
5333 * libio/memstream.c (open_memstream): Rename to __open_memstream
5334 and define as weak alias of __open_memstream.
5335 * include/stdio.h (__open_memstream): Declare. Use
5336 libc_hidden_proto.
5337 (open_memstream): Don't use libc_hidden_proto.
5338 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
5339 open_memstream.
5340 * posix/getopt.c (_getopt_internal_r): Likewise.
5341 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
5342 variable.
5343 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5344 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5345 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5346
5347 [BZ #18496]
5348 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
5349 instead of wcrtomb.
5350
5351 [BZ #18483]
5352 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
5353 [__USE_XOPEN2K8]. Remove redundant #endif.
5354 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
5355 Remove redundant #if.
5356 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
5357 Remove variable.
5358 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5359 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5360
5361 [BZ #18495]
5362 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
5363 (__iswlower): Likewise.
5364 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
5365 (__iswlower): Likewise.
5366 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
5367 instead of towlower.
5368 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
5369 instead of iswlower. Call __towupper instead of towupper.
5370 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
5371 instead of iswalnum.
5372
5373 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5374
5375 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
5376 errors to stderr.
5377
5378 2015-06-05 Florian Weimer <fweimer@redhat.com>
5379
5380 [BZ #15661]
5381 [BZ #17322]
5382 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
5383 Check for overflow properly. Check for O_APPEND. Ignore large
5384 file system block sizes. Add comments about problems.
5385 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
5386 * manual/filesys.texi (Storage Allocation): New node.
5387
5388 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5389
5390 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
5391 cancellable syscalls.
5392 (SYS_ify): Add guard to no redefine it.
5393 (INLINE_SYSCALL): Likewise.
5394 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
5395 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
5396 SYSCALL_CANCEL instead.
5397 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
5398 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5399 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5400 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5401 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5402 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
5403 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
5404 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
5405 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5406 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5407 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
5408 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
5409 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
5410 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
5411 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
5412 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5413 Likewise.
5414 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5415 (__libc_pread64): Likewise.
5416 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
5417 (__libc_preadv): Likewise.
5418 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
5419 (__libc_readv64): Likewise.
5420 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5421 (__libc_pwrite): Likewise.
5422 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5423 (__libc_pwrite64): Likewise.
5424 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
5425 (__libc_pwritev): Likewise.
5426 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
5427 (__libc_pwritev64): Likewise.
5428 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
5429 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
5430 (sync_file_range): Likewise.
5431 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
5432 Likewise.
5433 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
5434 Likewise.
5435 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5436 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5437 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5438 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5439 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5440 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5441 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5442 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
5443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5444 Likewise.
5445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5446 (__libc_read64): Likewise.
5447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
5448 Likewise.
5449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
5450 Likewise.
5451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
5452 Likewise.
5453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
5454 Likewise.
5455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5456 (__libc_pread64): Likewise.
5457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
5458 Likewise.
5459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5460 (__libc_pwrite64): Likewise.
5461 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
5462 (sync_file_range): Likewise.
5463 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
5464 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5465 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5466 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
5467 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
5468 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5469 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5470 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
5471 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
5472 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5473 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5474 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5475 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5476 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5477 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
5478 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5479 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5480 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5481 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5482 Likewise.
5483 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
5484 Likewise.
5485 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
5486 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
5487 Likewise.
5488 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
5489 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
5490 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
5491 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
5492 Likewise.
5493 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
5494 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
5495 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
5496 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
5497 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
5498
5499 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
5500
5501 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
5502 Include dl-vdso.
5503 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
5504 Use VDSO routines for gettimeofday, clock_gettime if
5505 available.
5506 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
5507 Declare VDSO symbols.
5508 * sysdeps/unix/sysv/linux/arm/sysdep.h:
5509 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
5510 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5511 * sysdeps/unix/sysv/linux/arm/Versions: Add
5512 __vdso_clock_gettime.
5513
5514 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5515
5516 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
5517 be an inline implementation regardless of library is built within.
5518 (open_not_cancel_2): Likewise.
5519 (__read_nocancel): Likewise.
5520 (__write_nocancel): Likewise.
5521 (openat_not_cancel): Likewise.
5522 (openat_not_cancel_3): Likewise.
5523 (openat64_not_cancel): Likewise.
5524 (openat64_not_cancel_3): Likewise.
5525 (__close_nocancel): Likewise.
5526 (pause_not_cancel): Likewise.
5527 (nanosleep_not_cancel): Likewise.
5528 (sigsuspend_not_cancel): Likewise.
5529
5530 2015-06-04 Torvald Riegel <triegel@redhat.com>
5531
5532 [BZ #14958]
5533 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
5534 wake-up.
5535 (__pthread_rwlock_rdlock_slow): Likewise.
5536 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5537 Likewise.
5538 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
5539 Likewise.
5540 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
5541 * nptl/tst-rwlock16.c: New file.
5542 * nptl/Makefile (tests): Add new test.
5543
5544 2015-06-04 Torvald Riegel <triegel@redhat.com>
5545
5546 [BZ #18324]
5547 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
5548 missing wake-up of readers.
5549 * nptl/tst-rwlock15.c: New file.
5550 * nptl/Makefile (tests): Add new test.
5551
5552 2015-06-03 Roland McGrath <roland@hack.frob.com>
5553
5554 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
5555 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
5556 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
5557 and __nacl_supply_interface_rtld.
5558 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
5559 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
5560 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
5561 Add __nacl_supply_interface_rtld.
5562 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
5563
5564 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5565
5566 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
5567 isfinite.
5568 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5569 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
5570
5571 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5572
5573 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
5574 __signbit* with standard C99 macros.
5575 * math/e_exp10l.c: Likewise.
5576 * math/e_exp2l.c: Likewise.
5577 * math/e_scalb.c: Likewise.
5578 * math/e_scalbf.c: Likewise.
5579 * math/e_scalbl.c: Likewise.
5580 * math/s_ldexp.c: Likewise.
5581 * math/s_ldexpf.c: Likewise.
5582 * math/s_ldexpl.c: Likewise.
5583 * math/w_atan2.c: Likewise.
5584 * math/w_atan2f.c: Likewise.
5585 * math/w_atan2l.c: Likewise.
5586 * math/w_cosh.c: Likewise.
5587 * math/w_coshf.c: Likewise.
5588 * math/w_coshl.c: Likewise.
5589 * math/w_exp10.c: Likewise.
5590 * math/w_exp10f.c: Likewise.
5591 * math/w_exp10l.c: Likewise.
5592 * math/w_exp2.c: Likewise.
5593 * math/w_exp2f.c: Likewise.
5594 * math/w_exp2l.c: Likewise.
5595 * math/w_fmod.c: Likewise.
5596 * math/w_fmodf.c: Likewise.
5597 * math/w_fmodl.c: Likewise.
5598 * math/w_hypot.c: Likewise.
5599 * math/w_hypotf.c: Likewise.
5600 * math/w_hypotl.c: Likewise.
5601 * math/w_jnl.c: Likewise.
5602 * math/w_lgamma.c: Likewise.
5603 * math/w_lgamma_r.c: Likewise.
5604 * math/w_lgammaf.c: Likewise.
5605 * math/w_lgammaf_r.c: Likewise.
5606 * math/w_lgammal.c: Likewise.
5607 * math/w_lgammal_r.c: Likewise.
5608 * math/w_pow.c: Likewise.
5609 * math/w_powf.c: Likewise.
5610 * math/w_powl.c: Likewise.
5611 * math/w_remainder.c: Likewise.
5612 * math/w_remainderf.c: Likewise.
5613 * math/w_remainderl.c: Likewise.
5614 * math/w_scalb.c: Likewise.
5615 * math/w_scalbf.c: Likewise.
5616 * math/w_scalbl.c: Likewise.
5617 * math/w_scalbln.c: Likewise.
5618 * math/w_scalblnf.c: Likewise.
5619 * math/w_scalblnl.c: Likewise.
5620 * math/w_sinh.c: Likewise.
5621 * math/w_sinhf.c: Likewise.
5622 * math/w_sinhl.c: Likewise.
5623 * math/w_tgamma.c: Likewise.
5624 * math/w_tgammaf.c: Likewise.
5625 * math/w_tgammal.c: Likewise.
5626 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5627 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
5628 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5629 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5630 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5631 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5632 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5633 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5634 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5635 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5636 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5637 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5638 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5639 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5640 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5641 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5642 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5643 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5644 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5645 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5646 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5647 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5648 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5649 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5650 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5651 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5652 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
5653 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5654 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5655 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5656 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
5657 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
5658 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
5659 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
5660 * stdio-common/printf_fp.c: Likewise.
5661 * stdio-common/printf_fphex.c: Likewise.
5662 * stdio-common/printf_size.c: Likewise.
5663
5664 2015-06-03 Joseph Myers <joseph@codesourcery.com>
5665
5666 [BZ #18470]
5667 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
5668 strnlen.
5669 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
5670 Remove variable.
5671 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5672 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5673 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5674 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5675 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5676 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5677 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5678 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5679 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5680 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5681
5682 [BZ #18468]
5683 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
5684 weak alias of __wmemchr. Use libc_hidden_weak.
5685 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
5686 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
5687 instead of wmemchr.
5688
5689 2015-06-02 Roland McGrath <roland@hack.frob.com>
5690
5691 [BZ #18383]
5692 * elf/tst-tlsalign-extern.c: New file.
5693 * elf/tst-tlsalign-extern-static.c: New file.
5694 * elf/tst-tlsalign-vars.c: New file.
5695 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
5696 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
5697 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
5698 ($(objpfx)tst-tlsalign-extern-static): Likewise.
5699 (test-xfail-tst-tlsalign-extern-static): New variable.
5700
5701 2015-06-02 Joseph Myers <joseph@codesourcery.com>
5702
5703 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
5704 Use variable name _sc_err instead of err.
5705 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
5706 instead of ret.
5707 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
5708 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
5709 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
5710 (INLINE_SYSCALL): Likewise.
5711
5712 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
5713 * include/string.h (__strnlen): Use libc_hidden_proto.
5714 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
5715 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
5716 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
5717 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
5718 (libc_hidden_def): Undefine and redefine.
5719 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
5720 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
5721 __GI_strnlen.
5722 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
5723 libc_hidden_def.
5724 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
5725
5726 [BZ #18469]
5727 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
5728 weak alias of __towlower. Use libc_hidden_weak.
5729 (towupper): Rename to __towupper and define as weak alias of
5730 __towupper. Use libc_hidden_weak.
5731 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
5732 (__towupper): Likewise.
5733 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
5734 __towlower instead of towlower.
5735
5736 2015-06-02 Roland McGrath <roland@hack.frob.com>
5737
5738 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
5739 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
5740
5741 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
5742
5743 * sysdeps/aarch64/libm-test-ulps: Update.
5744
5745 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5746
5747 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
5748 Define.
5749 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5750 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5751 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5752 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5753 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
5754 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
5755 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
5756
5757 2015-06-01 Martin Sebor <msebor@redhat.com>
5758
5759 [BZ #18116]
5760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5761 (__setcontext): Use extended four-operand version of mtsf whenever
5762 possible.
5763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5764 (__novec_swapcontext): Likewise.
5765
5766 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5767
5768 * benchtests/scripts/compare_bench.py: New file.
5769 * benchtests/scripts/import_bench.py (mean): New function.
5770 (split_list): Likewise.
5771 (do_for_all_timings): Likewise.
5772 (compress_timings): Likewise.
5773
5774 * benchtests/scripts/import_bench.py: New file.
5775 * benchtests/scripts/validate_benchout.py: Import import_bench
5776 instead of jsonschema.
5777 (validate_bench): Remove function.
5778 (main): Use import_bench.
5779
5780 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
5781
5782 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
5783 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
5784
5785 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5786
5787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5788
5789 2015-05-28 Roland McGrath <roland@hack.frob.com>
5790
5791 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
5792 set THREAD_SELF->tid to a magic value and futex-wake it.
5793 Pass its address to the thread_exit system call.
5794 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
5795 bit is clear.
5796 * sysdeps/nacl/lowlevellock.h: New file.
5797 * sysdeps/nacl/lll_timedwait_tid.c: New file.
5798
5799 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
5800 Add TIMEOUT to current time, don't subtract it.
5801
5802 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
5803
5804 [BZ #2981]
5805 [BZ #18422]
5806 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
5807 ($(objpfx)tst-audit2.out): Also depend on
5808 $(objpfx)tst-auditmod9b.so.
5809 * elf/tst-audit2.c: Include <dlfcn.h>.
5810 (calloc_called): New.
5811 (calloc): Allow to be called more than once.
5812 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
5813
5814 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
5815
5816 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
5817 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
5818
5819 2015-05-27 Marko Myllynen <myllynen@redhat.com>
5820
5821 * stdlib/monetary.h: Fix comment.
5822
5823 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
5824
5825 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
5826 Avoid using variables in #defines that might cause shadowing.
5827 (INTERNAL_VSYSCALL_CALL): Likewise.
5828
5829 2015-05-26 Roland McGrath <roland@hack.frob.com>
5830
5831 * sysdeps/nacl/lll_timedlock_wait.c: New file.
5832
5833 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
5834 * nptl/lll_timedlock_wait.c: ... to this new file.
5835 * nptl/Makefile (libpthread-routines): Add it.
5836 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
5837 * nptl/lll_timedwait_tid.c: ... to this new file.
5838 * nptl/Makefile (libpthread-routines): Add it.
5839 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
5840 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
5841 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
5842 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
5843 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
5844 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
5845 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
5846 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
5847 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
5848 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
5849
5850 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5851
5852 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
5853 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5854 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5855 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
5856 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5857 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5858 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5859 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5860 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5861 * sysdeps/unix/sysv/linux/tile/sysdep.h
5862 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5863 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
5864 using vDSO syscall macro.
5865
5866 2015-05-26 Andriy Rysin <arysin@gmail.com>
5867
5868 [BZ #17293]
5869 * uk_UA: Fix sorting order for Ukrainian locale
5870
5871 2015-05-26 Marko Myllynen <myllynen@redhat.com>
5872
5873 * stdlib/monetary.h: Fix comment.
5874
5875 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5876
5877 [BZ #18234]
5878 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
5879 st_mtim and st_ctim members.
5880 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
5881 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
5882 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
5883 (struct stat64): Likewise.
5884 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
5885 (struct stat64): Likewise.
5886 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
5887 (struct stat64): Likewise.
5888
5889 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5890
5891 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
5892 Define and include sysdep-vdso.h.
5893 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
5894 Likewise.
5895 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
5896 Likewise.
5897 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
5898 Define with VDSO_SYMBOL and use PTR_MANGLE.
5899 (__vdso_clock_gettime): Likewise.
5900 (__vdso_clock_getres): Likewise.
5901 (_libc_vdso_platform_setup): Likewise.
5902 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5903 Likewise.
5904 (_libc_vdso_platform_setup): Likewise.
5905 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
5906 Likewise.
5907 (__vdso_clock_gettime): Likewise.
5908 (__vdso_clock_getres): Likewise.
5909 (__vdso_get_tbfreq): Likewise.
5910 (__vdso_getcpu): Likewise.
5911 (__vdso_time): Likewise.
5912 (__vdso_sigtramp_rt64): Likewise.
5913 (__vdso_signtramp32): Likewise.
5914 (__vdso_sigtramp_rt32): Likewise.
5915 (_libc_vdso_platform_setup): Likewise.
5916 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
5917 Likewise.
5918 (__vdso_clock_gettime): Likewise.
5919 (__vdso_clock_getres): Likewise.
5920 (_libc_vdso_platform_setup): Likewise.
5921 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
5922 Likewise.
5923 (__vdso_clock_gettime): Likewise.
5924 (_libc_vdso_platform_setup): Likewise.
5925 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5926 Likewise.
5927 (__vdso_getcpu): Likewise.
5928 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
5929 Use VDSO_SYMBOL macro to define.
5930 (__vdso_clock_gettime): Likewise.
5931 (__vdso_clock_getres): Likewise.
5932 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
5933 Likewise.
5934 (__vdso_clock_gettime): Likewise.
5935 (__vdso_clock_getres): Likewise.
5936 (__vdso_get_tbfreq): Likewise.
5937 (__vdso_getcpu): Likewise.
5938 (__vdso_time): Likewise.
5939 (__vdso_sigtramp_rt64): Likewise.
5940 (__vdso_signtramp32): Likewise.
5941 (__vdso_sigtramp_rt32): Likewise.
5942 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
5943 Likewise.
5944 (__vdso_clock_gettime): Likewise.
5945 (__vdso_clock_getres): Likewise.
5946 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
5947 Likewise.
5948 (__vdso_clock_gettime): Likewise.
5949 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5950 Likewise.
5951 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
5952 macro.
5953 (INTERNAL_VSYSCALL): Likewise.
5954 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
5955 Remove macro.
5956 (INTERNAL_VSYSCALL): Likewise.
5957 (INTERNAL_VSYSCALL_NCS): Likewise.
5958 (INTERNAL_VSYSCALL_CALL): New macro.
5959 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5960 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
5961 Likewise.
5962 (INTERNAL_VSYSCALL): Likewise.
5963 (INTERNAL_VSYSCALL_NCS): Likewise.
5964 (INTERNAL_VSYSCALL_CALL): New macro.
5965 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5967 (INLINE_VSYSCALL): Remove macro.
5968 (INTERNAL_VSYSCALL): Remove macro.
5969 (INTERNAL_VSYSCALL_NCS): Remove macro.
5970 (INTERNAL_VSYSCALL_CALL): New macro.
5971 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
5972 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
5973 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5974 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
5975 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5977 (INLINE_VSYSCALL): Remove macro.
5978 (INTERNAL_VSYSCALL): Likewise.
5979 (INTERNAL_VSYSCALL_NCS): Likewise.
5980 (INTERNAL_VSYSCALL_CALL): New macro.
5981 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
5982 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
5983 PTR_DEMANGLE on vDSO pointer.
5984 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5985 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
5986 macro.
5987 (INTERNAL_SYSCALL): Likewise.
5988 (INTERNAL_VSYSCALL_NCS): Remove macro.
5989 (INTERNAL_VSYSCALL_CALL): New macro.
5990 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
5991 Remove macro.
5992 (INTERNAL_VSYSCALL): Likewise.
5993 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
5994 sysdep-vdso.h instead of libc-vdso.h.
5995 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
5996 definition.
5997 (INLINE_VSYSCALL): Likewise.
5998 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
5999 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
6000 definition.
6001 (INLINE_VSYSCALL): Likewise.
6002 (INTERNAL_VSYSCALL): Likewise.
6003 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6004 * sysdeps/unix/sysv/linux/timespec_get.c
6005 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6006 (timespec_get): Use ANSI prototype.
6007 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
6008 and definition for Linux.
6009
6010 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
6011
6012 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
6013 * include/libc-symbols.h: libmvec_hidden_* macro series added.
6014
6015 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
6016
6017 [BZ #2981]
6018 [BZ #18410]
6019 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
6020 for missing DT_PLTRELSZ.
6021
6022 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
6023
6024 Remove obsolete aliases that broke 'locale -a'
6025 [BZ #18412]
6026 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
6027 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
6028 breaking some applications that use 'locale -a' output.
6029 Change the encoding of this file from Latin-1 to ASCII to avoid
6030 other potential problems with people grepping this file.
6031
6032 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6033
6034 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
6035 -fasynchronous-unwind-tables.
6036 (CFLAGS-sendto.c): Likewise.
6037 (CFLAGS-sendmsg.c): Likewise.
6038 (CFLAGS-connect.c): Likewise.
6039 (CFLAGS-recvmsg.c): Likewise.
6040 (CFLAGS-recvfrom.c): Likewise.
6041 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
6042 (SOCKETCALL): New macro: non-cancellable socketcall.
6043 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
6044 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
6045 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
6046 * sysdeps/unix/sysv/linux/accept.c: New file.
6047 * sysdeps/unix/sysv/linux/bind.c: Likewise.
6048 * sysdeps/unix/sysv/linux/connect.c: Likewise.
6049 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
6050 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
6051 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
6052 * sysdeps/unix/sysv/linux/listen.c: Likewise.
6053 * sysdeps/unix/sysv/linux/recv.c: Likewise.
6054 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
6055 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
6056 * sysdeps/unix/sysv/linux/send.c: Likewise.
6057 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
6058 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
6059 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
6060 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
6061 * sysdeps/unix/sysv/linux/socket.c: Likewise.
6062 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
6063 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
6064 prototype.
6065 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
6066 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6067 instead of __internal_xxx function.
6068 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
6069 prototype.
6070 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
6071 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6072 instead of __internal_xxx function.
6073 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
6074 prototype.
6075 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
6076 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6077 instead of __internal_xxx function.
6078 * sysdeps/unix/sysv/linux/accept.S: Remove file.
6079 * sysdeps/unix/sysv/linux/bind.S: Likewise.
6080 * sysdeps/unix/sysv/linux/connect.S: Likewise.
6081 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
6082 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
6083 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
6084 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
6085 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
6086 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
6087 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
6088 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
6089 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6090 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
6091 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
6092 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
6093 * sysdeps/unix/sysv/linux/listen.S: Likewise.
6094 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
6095 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
6096 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
6097 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
6098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
6099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
6100 * sysdeps/unix/sysv/linux/recv.S: Likewise.
6101 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
6102 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
6103 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
6104 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6105 * sysdeps/unix/sysv/linux/send.S: Likewise.
6106 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
6107 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
6108 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
6109 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
6110 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
6111 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
6112 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
6113 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
6114 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
6115 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
6116 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
6117 socketcall is implemented in GLIBC.
6118
6119 2015-05-22 Joseph Myers <joseph@codesourcery.com>
6120
6121 * soft-fp/fmadf4.c: Include <libc-internal.h>.
6122 (__fma): Ignore uninitialized warnings around packing.
6123 * soft-fp/fmasf4.c: Include <libc-internal.h>.
6124 (__fmaf): Ignore uninitialized warnings around packing.
6125 * soft-fp/fmatf4.c: Include <libc-internal.h>.
6126 (__fmal): Ignore uninitialized warnings around packing.
6127
6128 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
6129 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6130 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
6131 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6132
6133 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
6134 switch statement into default case.
6135 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
6136
6137 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
6138 a conditional in forcing "inexact".
6139 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6140 Likewise.
6141
6142 2015-05-22 Roland McGrath <roland@hack.frob.com>
6143
6144 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6145 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
6146 for each INTERNAL_SYSCALL use.
6147
6148 2015-05-22 Joseph Myers <joseph@codesourcery.com>
6149
6150 [BZ #438]
6151 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
6152 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
6153 variable.
6154
6155 [BZ #18444]
6156 * string/basename.c (basename): Rename to __basename and define as
6157 weak alias of __basename. Use libc_hidden_weak.
6158 * include/string.h (__basename): Declare. Use libc_hidden_proto.
6159 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
6160 __basename instead of basename.
6161 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
6162 Remove variable.
6163 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6164
6165 2015-05-18 Florian Weimer <fweimer@redhat.com>
6166
6167 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
6168 (_IO_JUMPS_FILE_plus): New.
6169 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
6170 _IO_CAST_FIELD_ACCESS.
6171 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
6172 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
6173 * libio/freopen.c (freopen): Likewise.
6174 * libio/freopen64.c (freopen64): Likewise.
6175 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
6176 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
6177 * libio/iofwide.c (_IO_fwide): Likewise.
6178 * libio/memstream.c (open_memstream): Likewise.
6179 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6180 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6181 * libio/oldiopopen.c (_IO_old_popen): Likewise.
6182
6183 2015-05-21 Joseph Myers <joseph@codesourcery.com>
6184
6185 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
6186 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
6187 NADJ.
6188 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
6189 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
6190 NADJ.
6191 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
6192 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
6193 NADJ.
6194
6195 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
6196 (p == 4) case.
6197
6198 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
6199 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
6200 Remove variable.
6201 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6202 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6203 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6204
6205 2015-05-21 Florian Weimer <fweimer@redhat.com>
6206
6207 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
6208 Adjust jump table label generation macros.
6209
6210 2015-05-21 Florian Weimer <fweimer@redhat.com>
6211
6212 * stdio-common/vfprintf.c (vfprintf): Move local variables
6213 args_malloced, specs, specs_malloced, and the code after
6214 do_positional to the printf_positional function.
6215 (printf_positional): New function.
6216
6217 2015-05-21 Florian Weimer <fweimer@redhat.com>
6218
6219 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
6220 function.
6221 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
6222 STEP4_TABLE, process_arg): Move macro definitions
6223 out of the vfprintf function. (Cosmetic change only.)
6224
6225 2015-05-21 Carlos O'Donell <carlos@redhat.com>
6226
6227 * benchtests/Makefile (stdio-common-bench): Define.
6228 (benchset): Add stdio-common-bench.
6229 * sprintf-inputs: New file.
6230 * sprintf-source.c: New file.
6231
6232 2015-05-21 Andreas Schwab <schwab@suse.de>
6233
6234 [BZ #13028]
6235 [BZ #17053]
6236 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
6237 of struct __res_state.
6238 * resolv/res_send.c (__libc_res_nsend): Likewise.
6239 (get_nsaddr): New function.
6240 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
6241 statp directly.
6242
6243 2015-05-20 Joseph Myers <joseph@codesourcery.com>
6244
6245 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
6246 -D_POSIX_C_SOURCE=199506L.
6247
6248 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
6249
6250 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
6251 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
6252 Do not mention otherwise.
6253 [POSIX] (_XOPEN_VERSION): Do not expect.
6254 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
6255 [POSIX] (_POSIX2_C_BIND): Likewise.
6256 [POSIX] (_POSIX2_VERSION): Likewise.
6257 [POSIX] (_XOPEN_XPG2): Likewise.
6258 [POSIX] (_XOPEN_XPG3): Likewise.
6259 [POSIX] (_XOPEN_XPG4): Likewise.
6260 [POSIX] (_XOPEN_UNIX): Likewise.
6261 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
6262 [POSIX] (_POSIX_BARRIERS): Likewise.
6263 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
6264 [POSIX] (_POSIX_CPUTIME): Likewise.
6265 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
6266 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
6267 [POSIX] (_POSIX_SHELL): Likewise.
6268 [POSIX] (_POSIX_SPAWN): Likewise.
6269 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
6270 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
6271 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
6272 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
6273 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
6274 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
6275 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
6276 [POSIX] (_XBS5_LP64_OFF64): Likewise.
6277 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
6278 [POSIX] (_POSIX_TIMEOUTS): Likewise.
6279 [POSIX] (_POSIX2_PBS): Likewise.
6280 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
6281 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
6282 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
6283 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
6284 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
6285 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
6286 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
6287 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
6288 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
6289 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
6290 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
6291 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
6292 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
6293 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
6294 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
6295 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
6296 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
6297 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
6298 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
6299 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
6300 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
6301 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
6302 [POSIX] (_SC_2_C_BIND): Likewise.
6303 [POSIX] (_SC_2_C_VERSION): Likewise.
6304 [POSIX] (_SC_2_PBS): Likewise.
6305 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
6306 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
6307 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
6308 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
6309 [POSIX] (_SC_2_PBS_TRACK): Likewise.
6310 [POSIX] (_SC_ATEXIT_MAX): Likewise.
6311 [POSIX] (_SC_BARRIERS): Likewise.
6312 [POSIX] (_SC_BASE): Likewise.
6313 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
6314 [POSIX] (_SC_DEVICE_IO): Likewise.
6315 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
6316 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
6317 [POSIX] (_SC_FD_MGMT): Likewise.
6318 [POSIX] (_SC_FIFO): Likewise.
6319 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
6320 [POSIX] (_SC_FILE_LOCKING): Likewise.
6321 [POSIX] (_SC_FILE_SYSTEM): Likewise.
6322 [POSIX] (_SC_IOV_MAX): Likewise.
6323 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
6324 [POSIX] (_SC_NETWORKING): Likewise.
6325 [POSIX] (_SC_PAGE_SIZE): Likewise.
6326 [POSIX] (_SC_PASS_MAX): Likewise.
6327 [POSIX] (_SC_PIPE): Likewise.
6328 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
6329 [POSIX] (_SC_REGEXP): Likewise.
6330 [POSIX] (_SC_SHELL): Likewise.
6331 [POSIX] (_SC_SIGNALS): Likewise.
6332 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
6333 [POSIX] (_SC_SPIN_LOCKS): Likewise.
6334 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
6335 [POSIX] (_SC_USER_GROUPS): Likewise.
6336 [POSIX] (_SC_USER_GROUPS_R): Likewise.
6337 [POSIX] (_SC_STREAMS): Likewise.
6338 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
6339 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
6340 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
6341 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
6342 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
6343 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
6344 [POSIX] (_PC_FILESIZEBITS): Likewise.
6345 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
6346 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
6347 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
6348 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
6349 [POSIX] (uid_t): Likewise.
6350 [POSIX] (gid_t): Likewise.
6351 [POSIX] (off_t): Likewise.
6352 [POSIX] (pid_t): Likewise.
6353 [POSIX] (cuserid): Allow.
6354 (_SC_2_CHAR_TERM): Require constant.
6355 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
6356 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
6357 variable.
6358
6359 2015-05-20 Roland McGrath <roland@hack.frob.com>
6360
6361 * sysdeps/nacl/pthread-pids.h: New file.
6362 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
6363 (create_thread): Use __nacl_get_tid to initialize PD->tid.
6364
6365 * nptl/pthread-pids.h: New file.
6366 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
6367 * nptl/nptl-init.c: Include <pthread-pids.h>.
6368 (__pthread_initialize_minimal_internal):
6369 Call __pthread_initialize_pids instead of set_tid_address syscall.
6370
6371 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
6372 * sysdeps/posix/usleep.c: ... here.
6373
6374 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6375
6376 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
6377 call_pselect6 object.
6378 [$(subdir) = io]: Remove call_sync_file_range object.
6379 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
6380 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
6381 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
6382 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
6383
6384 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
6385
6386 * math/s_cproj.c: Add include "math_private.h".
6387 * math/s_cprojf.c: Likewise.
6388 * math/s_cprojl.c: Likewise.
6389
6390 2015-05-19 Joseph Myers <joseph@codesourcery.com>
6391
6392 [BZ #18244]
6393 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
6394 high mantissa bit when testing whether P is a NaN.
6395 * math/libm-test.inc (remainder_test_data): Add more tests.
6396 (remquo_test_data): Likewise.
6397
6398 [BZ #18049]
6399 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
6400 below -32, return the argument, with underflow if subnormal.
6401 * math/auto-libm-test-in: Add more tests of atanh.
6402 * math/auto-libm-test-out: Regenerated.
6403
6404 2015-05-19 Roland McGrath <roland@hack.frob.com>
6405
6406 [BZ #18434]
6407 * nptl/tst-sem15.c: New file.
6408 * nptl/Makefile (tests): Add it.
6409 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
6410 s/<</>>/ to fix typo in EOVERFLOW check.
6411 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
6412
6413 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6414
6415 * manual/strings.texi (envz_remove): Fix typo in safety
6416 annotations.
6417
6418 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
6419 Steve Ellcey <sellcey@imgtec.com>
6420
6421 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
6422 in order to avoid strict alias warnings.
6423 (iruserok_af): Ditto for ra.
6424
6425 2015-05-19 James Lemke <jwlemke@codesourcery.com>
6426
6427 [BZ #17581]
6428 * malloc/hooks.c
6429 (magicbyte): Convert to a function and avoid returning 0x01.
6430 (mem2mem_check): Avoid using a length byte equal to the magic byte.
6431 (mem2chunk_check): Fix unsigned comparisons to zero.
6432 Hoist defs of sz and magic.
6433
6434 2015-05-19 Richard Henderson <rth@redhat.com>
6435
6436 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
6437
6438 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6439
6440 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6441
6442 [BZ #16159]
6443 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
6444 * malloc/arena.c (arena_lock): Check if arena is corrupt.
6445 (reused_arena): Find a non-corrupt arena.
6446 (heap_trim): Pass arena to unlink.
6447 * malloc/hooks.c (malloc_check_get_size): Pass arena to
6448 malloc_printerr.
6449 (top_check): Likewise.
6450 (free_check): Likewise.
6451 (realloc_check): Likewise.
6452 * malloc/malloc.c (malloc_printerr): Add arena argument.
6453 (unlink): Likewise.
6454 (munmap_chunk): Adjust.
6455 (ARENA_CORRUPTION_BIT): New macro.
6456 (arena_is_corrupt): Likewise.
6457 (set_arena_corrupt): Likewise.
6458 (sysmalloc): Use mmap if there are no usable arenas.
6459 (_int_malloc): Likewise.
6460 (__libc_malloc): Don't fail if arena_get returns NULL.
6461 (_mid_memalign): Likewise.
6462 (__libc_calloc): Likewise.
6463 (__libc_realloc): Adjust for additional argument to
6464 malloc_printerr.
6465 (_int_free): Likewise.
6466 (malloc_consolidate): Likewise.
6467 (_int_realloc): Likewise.
6468 (_int_memalign): Don't touch corrupt arenas.
6469 * malloc/tst-malloc-backtrace.c: New test case.
6470
6471 * Makefile (summarize-tests): Fix return value on success.
6472
6473 * manual/string.texi (Envz Functions): Add envz_remove.
6474
6475 2015-05-18 Roland McGrath <roland@hack.frob.com>
6476
6477 * sysdeps/posix/opendir.c: Include <stdbool.h>.
6478 (invalid_name): New function, broken out of ...
6479 (__opendirat): ... here. Call it.
6480 (need_isdir_precheck): New function, broken out of ...
6481 (__opendirat): ... here. Call it.
6482 Use __fxstatat64, not __xstatat64.
6483 (opendir_oflags): New function, broken out of ...
6484 (__opendirat): ... here. Call it.
6485 (opendir_tail): New function, broken out of ...
6486 (__opendirat): ... here. Call it.
6487 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
6488 opendir_tail, rather than punting to __opendirat.
6489 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
6490
6491 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6492
6493 * .gitignore: Ignore generated *.pyc.
6494
6495 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
6496
6497 * include/stdio.h: Define __need_wint_t.
6498 * test-skeleton.c: Avoid `for' loop initial declaration.
6499 * nptl/tst-initializers1.c: Use test-skeleton.c.
6500
6501 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6502
6503 [BZ #18418]
6504 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
6505
6506 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6507
6508 [BZ #16352]
6509 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
6510 (__ieee754_atanh): Force underflow exception for results with
6511 small absolute value.
6512 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
6513 (__ieee754_atanhf): Force underflow exception for results with
6514 small absolute value.
6515 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
6516 (__ieee754_atanh): Force underflow exception for results with
6517 small absolute value.
6518 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
6519 (__ieee754_atanhf): Force underflow exception for results with
6520 small absolute value.
6521 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
6522 (__ieee754_atanhl): Force underflow exception for results with
6523 small absolute value.
6524 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
6525 (__ieee754_atanhl): Force underflow exception for results with
6526 small absolute value.
6527 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
6528 (__ieee754_atanhl): Force underflow exception for results with
6529 small absolute value.
6530 * math/auto-libm-test-in: Do not allow missing underflow
6531 exceptions from atanh.
6532 * math/auto-libm-test-out: Regenerated.
6533
6534 [BZ #18221]
6535 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
6536 2**-28 as threshold for returning x or +/- 1/x.
6537 * math/auto-libm-test-in: Add more tests of tan.
6538 * math/auto-libm-test-out: Regenerated.
6539
6540 [BZ #18220]
6541 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6542 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
6543 * math/auto-libm-test-in: Add another test of lgamma.
6544 * math/auto-libm-test-out: Regenerated.
6545
6546 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
6547
6548 * stdio-common/printf_fp.c (___printf_fp): Use abs.
6549 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
6550 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
6551 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
6552 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
6553 (ADD2A): Use fabs. (SUB2A): Use fabs.
6554 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
6555 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
6556 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
6557 (log1): Use fabs. (my_log2): Use fabs.
6558 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
6559 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
6560 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
6561 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
6562 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
6563 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
6564 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
6565 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
6566 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
6567 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
6568 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
6569
6570 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6571
6572 [BZ #18217]
6573 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
6574 as threshold for returning 1 - x.
6575 * math/auto-libm-test-in: Add more tests of erfc.
6576 * math/auto-libm-test-out: Regenerated.
6577
6578 2015-05-14 Joseph Myers <joseph@codesourcery.com>
6579
6580 [BZ #18196]
6581 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
6582 threshold for large arguments.
6583 * math/auto-libm-test-in: Add another test of atan.
6584 * math/auto-libm-test-out: Regenerated.
6585
6586 [BZ #16339]
6587 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
6588 (__log1p): Force underflow exception for results with small
6589 absolute value.
6590 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
6591 (__log1pf): Force underflow exception for results with small
6592 absolute value.
6593 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
6594 (__log1p): Force underflow exception for results with small
6595 absolute value.
6596 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
6597 (__log1pf): Force underflow exception for results with small
6598 absolute value.
6599 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
6600 (__log1pl): Force underflow exception for results with small
6601 absolute value.
6602 * math/auto-libm-test-in: Do not allow missing underflow
6603 exceptions from log1p.
6604 * math/auto-libm-test-out: Regenerated.
6605
6606 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
6607 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6608
6609 [BZ #16704]
6610 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
6611
6612 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
6613
6614 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
6615 (libmvec): New variable.
6616 * configure.ac: Added option for mathvec build.
6617 * configure: Regenerated.
6618 * mathvec/Depend: New file.
6619 * mathvec/Makefile: New file.
6620 * shlib-versions: Added libmvec.
6621 * math/Makefile: Added rule for libm.so installation.
6622
6623 * bits/math-vector.h: New file.
6624 * bits/libm-simd-decl-stubs.h: New header.
6625 * math/Makefile (headers): Added new header
6626 libm-simd-decl-stubs.h.
6627 * math/math.h (__MATHCALL_VEC): New macro.
6628
6629 * math/gen-libm-have-vector-test.sh: Script generates series of macros
6630 for conditions in testing functions.
6631 * math/Makefile: Added call of libm-have-vector-test.sh.
6632 * math/libm-test.inc (HAVE_VECTOR): New macros.
6633
6634 * math/libm-test.inc: START refactored.
6635 * math/test-double.c (TEST_MATHVEC): Add define.
6636 * math/test-float.c: Likewise.
6637 * math/test-idouble.c: Likewise.
6638 * math/test-ifloat.c: Likewise.
6639 * math/test-ildoubl.c: Likewise.
6640 * math/test-ldouble.c: Likewise.
6641 * sysdeps/generic/math-tests-arch.h
6642 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
6643 architecture check.
6644
6645 * math/test-double.c (FUNC_TEST): New macro.
6646 * math/test-float.c: Likewise.
6647 * math/test-idouble.c: Likewise.
6648 * math/test-ifloat.c: Likewise.
6649 * math/test-ildoubl.c: Likewise.
6650 * math/test-ldouble.c: Likewise.
6651 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
6652
6653 2015-05-13 Roland McGrath <roland@hack.frob.com>
6654
6655 * sysdeps/nacl/fdopendir.c: New file.
6656
6657 * dirent/scandir-tail.c: New file.
6658 * dirent/scandir64-tail.c: New file.
6659 * dirent/Makefile (routines): Add them.
6660 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
6661 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
6662 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
6663 [!SCANDIR] (SCANDIR_TAIL): New macro.
6664 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
6665 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
6666 (SCANDIRAT): Macro removed.
6667 (SCANDIR_TAIL): New macro.
6668 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
6669 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
6670 (SCANDIRAT): Just call __opendirat and __scandir_tail.
6671 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
6672 (READDIR): Macro removed.
6673 (SCANDIR_TAIL): New macro.
6674 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
6675 (SCANDIR_TAIL): New macro.
6676
6677 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
6678 * dirent/scandir-cancel.c: ... to this new file.
6679 * dirent/Makefile (routines): Add it.
6680 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
6681 * sysdeps/unix/sysv/linux/i386/scandir64.c
6682 (SKIP_SCANDIR_CANCEL): Macro removed.
6683 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
6684
6685 * dirent/tst-scandir.c: New file.
6686 * dirent/tst-scandir64.c: New file.
6687 * dirent/Makefile (tests): Add them.
6688
6689 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
6690
6691 [BZ #18409]
6692 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
6693
6694 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
6695
6696 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
6697 list.
6698
6699 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
6700
6701 * benchtests/bench-strcoll.c: New benchmark.
6702 * benchtests/Makefile: Generate locales and run benchmark.
6703 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
6704 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6705 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
6706 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
6707 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
6708 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
6709 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
6710 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
6711 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
6712 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
6713 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
6714 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
6715 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
6716 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
6717 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
6718 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
6719 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
6720 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
6721 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
6722 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
6723 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
6724 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
6725 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
6726 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
6727
6728 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
6729
6730 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
6731 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6732
6733 2015-05-12 Roland McGrath <roland@hack.frob.com>
6734
6735 * posix/uname-values.h: New file.
6736 * posix/uname.c: Include that instead of <config-name.h>.
6737 * sysdeps/nacl/uname-values.h: New file.
6738 * sysdeps/arm/nacl/uname-values.h: New file.
6739
6740 2015-05-12 Joseph Myers <joseph@codesourcery.com>
6741
6742 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
6743 splitting into fields.
6744
6745 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
6746
6747 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
6748 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
6749 * locale/localeinfo.h: Add enum collation_encoding_type.
6750 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
6751 * programs/ld-collate.c (collate_output): Add encoding type info.
6752 * string/strcoll_l.c (STRDIFF): New function.
6753 * (STRCOLL): Use STRDIFF to skip over equal prefix.
6754 * wcsmbs/wcscoll_l.c: Define STRDIFF.
6755
6756 2015-05-11 Joseph Myers <joseph@codesourcery.com>
6757
6758 [BZ #18397]
6759 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
6760 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
6761 <fpu_control.h> instead of <math/fpu_control.c>.
6762 * sysdeps/mips/mips32/fpu/Makefile: New file.
6763
6764 2015-05-11 Andreas Schwab <schwab@suse.de>
6765
6766 [BZ #18007]
6767 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
6768 nss_endgrent.
6769 (_nss_compat_endgrent): Call nss_endgrent.
6770 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
6771 nss_endpwent.
6772 (_nss_compat_endpwent): Call nss_endpwent.
6773 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
6774 needent, call nss_setspent only if non-zero.
6775 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
6776 (internal_endspent): Don't call nss_endspent.
6777 (_nss_compat_endspent): Call nss_endspent.
6778 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
6779 Remove. All uses removed.
6780 (internal_setent): Remove parameter stayopen, add parameter
6781 stream. Use it instead of global variable.
6782 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
6783 (internal_endent, internal_getent): Add parameter stream. Use it
6784 instead of global variable.
6785 (CONCAT(_nss_files_end,ENTNAME))
6786 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
6787 (_nss_files_get##name##_r): Pass local stream. Remove locking.
6788 * nss/nss_files/files-alias.c (position, last_use): Remove. All
6789 uses removed.
6790 (internal_setent, internal_endent): Add parameter stream. Use it
6791 instead of global variable.
6792 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
6793 stream.
6794 (get_next_alias): Add parameter stream.
6795 (_nss_files_getaliasent_r): Pass global stream.
6796 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
6797 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
6798 (_nss_files_gethostbyname4_r): Pass local stream to
6799 internal_setent, internal_getent and internal_endent. Remove
6800 locking.
6801
6802 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6803
6804 * tst-strfmon1.c (tests): Update expected currency symbol.
6805
6806 2015-05-08 Roland McGrath <roland@hack.frob.com>
6807
6808 * sysdeps/nacl/gethostname.c: New file.
6809
6810 2015-05-08 Joseph Myers <joseph@codesourcery.com>
6811
6812 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
6813 and sinh.
6814 * math/auto-libm-test-out: Regenerated.
6815 * sysdeps/i386/fpu/libm-test-ulps: Update.
6816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6817
6818 2015-05-08 Carlos O'Donell <carlos@redhat.com>
6819
6820 [BZ #18125]
6821 * stdlib/tst-setcontext3.c: New file.
6822 * stdlib/tst-setcontext3.sh: New file.
6823 * stdlib/Makefile (tests): Add tst-setcontext3.
6824 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
6825 to verify test program created output file.
6826 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
6827 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
6828 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
6829 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
6830
6831 2015-05-06 Roland McGrath <roland@hack.frob.com>
6832
6833 [BZ #18383]
6834 * elf/tst-tlsalign.c: New file.
6835 * elf/tst-tlsalign-static.c: New file.
6836 * elf/tst-tlsalign-lib.c: New file.
6837 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
6838 (tests-static): Add tst-tlsalign-static.
6839 (modules-names): Add tst-tlsalign-lib.
6840 (test-xfail-tst-tlsalign): New variable.
6841 (test-xfail-tst-tlsalign-static): New variable.
6842
6843 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
6844 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
6845
6846 2015-05-06 Joseph Myers <joseph@codesourcery.com>
6847
6848 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
6849 csqrt, erfc, sin and sincos.
6850 * math/auto-libm-test-out: Regenerated.
6851 * sysdeps/i386/fpu/libm-test-ulps: Update.
6852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6853
6854 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
6855
6856 * sysdeps/aarch64/libm-test-ulps: Update.
6857
6858 2015-05-05 Joseph Myers <joseph@codesourcery.com>
6859
6860 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
6861 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
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-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
6867
6868 [BZ #18265]
6869 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
6870 (wcsncpy): Likewise.
6871
6872 2015-05-05 Florian Weimer <fweimer@redhat.com>
6873
6874 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6875 Assume __ASSUME_FALLOCATE is always true.
6876 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6877 (__posix_fallocate64_l64): Likweise.
6878 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
6879 (posix_fallocate): Likewise.
6880 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
6881 (__posix_fallocate64_l64): Likewise.
6882 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6883 [!__ASSUME_FALLOCATE]: Add comment.
6884
6885 2015-05-05 Florian Weimer <fweimer@redhat.com>
6886
6887 * sysdeps/unix/sysv/linux/i386/Makefile
6888 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
6889 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
6890 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
6891 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
6892 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
6893 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
6894 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
6895
6896 2015-05-02 Joseph Myers <joseph@codesourcery.com>
6897
6898 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
6899 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
6900 tgamma.
6901 * math/auto-libm-test-out: Regenerated.
6902 * sysdeps/i386/fpu/libm-test-ulps: Update.
6903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6904
6905 2015-05-01 Joseph Myers <joseph@codesourcery.com>
6906
6907 * math/auto-libm-test-in: Add more tests of tgamma.
6908 * math/auto-libm-test-out: Regenerated.
6909 * sysdeps/i386/fpu/libm-test-ulps: Update.
6910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6911
6912 * math/auto-libm-test-in: Add more tests of tanh.
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 * math/auto-libm-test-in: Add more tests of tan.
6918 * math/auto-libm-test-out: Regenerated.
6919 * sysdeps/i386/fpu/libm-test-ulps: Update.
6920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6921
6922 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
6923 * math/auto-libm-test-out: Regenerated.
6924 * sysdeps/i386/fpu/libm-test-ulps: Update.
6925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6926
6927 * math/auto-libm-test-in: Add another test of pow.
6928 * math/auto-libm-test-out: Regenerated.
6929 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6930
6931 * math/auto-libm-test-in: Add more tests of lgamma.
6932 * math/auto-libm-test-out: Regenerated.
6933 * sysdeps/i386/fpu/libm-test-ulps: Update.
6934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6935
6936 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
6937 log1p.
6938 * math/auto-libm-test-out: Regenerated.
6939 * sysdeps/i386/fpu/libm-test-ulps: Update.
6940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6941
6942 2015-05-01 Mark Wielaard <mjw@redhat.com>
6943
6944 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
6945 Elf64_Chdr structs and ELFCOMPRESS constants.
6946
6947 2015-05-01 Joseph Myers <joseph@codesourcery.com>
6948
6949 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
6950 expm1.
6951 * math/auto-libm-test-out: Regenerated.
6952 * sysdeps/i386/fpu/libm-test-ulps: Update.
6953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6954
6955 * math/auto-libm-test-in: Add more tests of erf and erfc.
6956 * math/auto-libm-test-out: Regenerated.
6957 * sysdeps/i386/fpu/libm-test-ulps: Update.
6958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6959
6960 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
6961
6962 * config.h.in (HAVE_AARCH64_BE): Add.
6963
6964 2015-04-30 Joseph Myers <joseph@codesourcery.com>
6965
6966 * math/auto-libm-test-in: Add more tests of csqrt.
6967 * math/auto-libm-test-out: Regenerated.
6968 * sysdeps/i386/fpu/libm-test-ulps: Update.
6969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6970
6971 * math/auto-libm-test-in: Add more tests of cosh and sinh.
6972 * math/auto-libm-test-out: Regenerated.
6973 * sysdeps/i386/fpu/libm-test-ulps: Update.
6974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6975
6976 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
6977
6978 2015-04-29 Roland McGrath <roland@hack.frob.com>
6979
6980 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
6981 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
6982
6983 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
6984 (euidaccess, eaccess): Define as weak aliases.
6985
6986 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
6987 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
6988 but __suseconds_t is often 'long int' so some sources assume that
6989 type is being used (e.g. they use %ld to print tv_usec).
6990
6991 2015-04-29 Florian Weimer <fweimer@redhat.com>
6992
6993 [BZ #18007]
6994 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
6995 (CVE-2014-8121)
6996 * nss/tst-nss-getpwent.c: New file.
6997 * nss/Makefile (tests): Add new test.
6998
6999 2015-04-28 Joseph Myers <joseph@codesourcery.com>
7000
7001 [BZ #18346]
7002 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
7003 exponents less than 48 as cases where high part of mantissa needs
7004 examining to determine whether argument is integral.
7005 * math/libm-test.inc (round_test_data): Add more tests.
7006
7007 2015-04-28 Mark Wielaard <mjw@redhat.com>
7008
7009 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
7010
7011 2015-04-27 David S. Miller <davem@davemloft.net>
7012
7013 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
7014 __tls_get_addr.
7015 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
7016
7017 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
7018
7019 [BZ#18333]
7020 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
7021
7022 2015-04-27 Florian Weimer <fweimer@redhat.com>
7023
7024 [BZ#18333]
7025 * time/tzset.c (parse_tzname): Return error on memory allocation
7026 failure.
7027 * test-skeleton.c (struct temp_name_list): Change type of name
7028 member to non-const.
7029 (add_temp_file): Create a copy of the file name.
7030 (delete_temp_files): Deallocate memory.
7031 (create_temp_file): Add comment.
7032
7033 2015-04-24 Florian Weimer <fweimer@redhat.com>
7034
7035 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
7036 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
7037
7038 2015-04-24 Roland McGrath <roland@hack.frob.com>
7039
7040 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
7041 * sysdeps/arm/configure: Regenerated.
7042
7043 2015-04-24 Florian Weimer <fweimer@redhat.com>
7044
7045 [BZ #17715]
7046 * time/tzfile.c (__tzfile_read): Check for large values of
7047 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
7048 * time/tzset.c (__tzstring_len): New function, based on the old
7049 __tzstring function.
7050 (__tzstring): Call __tzstring_len.
7051 (parse_tzname): New helper function extracted from
7052 __tzset_parse_tz. Call __tzstring_len, without making a copy of
7053 the input string.
7054 (parse_offset): New helper function extracted from
7055 __tzset_parse_tz. Replace switch with fallthrough with
7056 initialization before sscanf.
7057 (parse_rule): Likewise.
7058 (__tzset_parse_tz): Rewrite using the new helper functions. Use
7059 new-style function definition.
7060 * timezone/Makefile (tests): Add tst-tzset.
7061 (tst-tzset.out): Dependencies on time zone files.
7062 (tst-tzset-ENV): Set TZDIR.
7063 (testdata/XT%): Copy crafted time zone files.
7064 * timezone/README: Mention crafted time zone files.
7065 * timezone/testdata/XT1, timezone/testdata/XT2,
7066 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
7067 files.
7068 * timezone/tst-tzset.c: New test.
7069
7070 2015-04-24 Florian Weimer <fweimer@redhat.com>
7071
7072 * Makeconfig (+gccwarn): Remove -Winline.
7073
7074 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7075
7076 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
7077
7078 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7079
7080 * NEWS: Mention sysconf() cache information support for s390.
7081 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
7082
7083 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
7084
7085 * math/k_casinh.c (__kernel_casinh): Use __copysign.
7086 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
7087 (__nearbyint): Likewise.
7088 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
7089 (copysignl): Likewise.
7090
7091 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
7092
7093 [BZ #18287]
7094 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
7095 based on padding. (CVE-2015-1781)
7096
7097 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7098
7099 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
7100 libc-vdso.h.
7101 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
7102 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
7103 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
7104 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7105 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7106 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
7107 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
7108 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7109 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7110 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
7111 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7112 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7113 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
7114 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
7115 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7116 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
7117 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
7118 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
7119 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
7120 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
7121 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
7122 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
7123 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
7124
7125 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
7126
7127 * stdlib/setenv.c (__add_to_environ):
7128 Dump core quickly if setenv (..., NULL, ...) is called.
7129 This time, do it the right way, and pacify GCC with a pragma.
7130
7131 2015-04-17 Roland McGrath <roland@hack.frob.com>
7132
7133 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
7134 IMAP->l_prev cannot be null, and #if out the code for the contrary
7135 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
7136 believe that NS (&_dl_ns[NSID]) could point outside the array.
7137
7138 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
7139 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
7140 before using NSID as an index.
7141
7142 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
7143
7144 [BZ #17825]
7145 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
7146 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
7147 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7148
7149 2015-04-17 Roland McGrath <roland@hack.frob.com>
7150
7151 Add preliminary port to Google Native Client on ARM.
7152 * abi-tags (.*-.*-nacl.*): New entry.
7153 * sysdeps/arm/nacl: New directory.
7154 * sysdeps/nacl: New directory.
7155
7156 2015-04-16 David S. Miller <davem@davemloft.net>
7157
7158 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
7159 lowlevellock-futex.h
7160
7161 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
7162
7163 * sysdeps/tile/configure.ac: New file.
7164 * sysdeps/tile/configure: Regenerated.
7165
7166 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7167
7168 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
7169 conditionals for weak_alias and libc_hidden_weak.
7170 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
7171 libc_hidden_weak and weak_alias.
7172 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
7173 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
7174 and weak_alias for static one.
7175
7176 2015-04-15 David S. Miller <davem@davemloft.net>
7177
7178 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7179
7180 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7181
7182 [BZ #18206]
7183 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
7184 Use signed comparision instead of substraction to avoid
7185 overflow bug.
7186 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
7187 Take the sign of ret.
7188 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
7189 Do not expect precise return values. Only the sign matters.
7190 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
7191 * wcsmbs/test-wcsncmp.c: New File.
7192 * string/test-strncmp.c: Add wcsncmp support.
7193
7194 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7195
7196 [BZ #6792]
7197 * math/w_log1p.c: New file.
7198 * math/w_log1pf.c: Likewise.
7199 * math/w_log1pl.c: Likewise.
7200 * math/Makefile (libm-calls): Add w_log1p.
7201 * math/s_log1pl.c (log1pl): Remove weak_alias.
7202 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
7203 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
7204 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
7205 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
7206 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
7207 [NO_LONG_DOUBLE] (log1pl): Likewise.
7208 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
7209 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
7210 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
7211 (log1p): Remove long_double_symbol.
7212 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
7213 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
7214 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
7215 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
7216 remove weak_alias for corresponding log1p function.
7217 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
7218 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
7219 * sysdeps/ia64/fpu/w_log1p.c: New file.
7220 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
7221 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
7222 * math/libm-test.inc (log1p_test_data): Add errno expectations.
7223
7224 2015-04-10 Joseph Myers <joseph@codesourcery.com>
7225
7226 [BZ #18247]
7227 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
7228 decimal exponent by 1.
7229 * stdlib/tst-strtod-round-data: Add more tests.
7230 * stdlib/tst-strtod-round.c (tests): Regenerated.
7231
7232 2015-04-09 Joseph Myers <joseph@codesourcery.com>
7233
7234 * math/auto-libm-test-in: Add more tests of clog and clog10.
7235 * math/auto-libm-test-out: Regenerated.
7236 * sysdeps/i386/fpu/libm-test-ulps: Update.
7237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7238
7239 2015-04-09 Roland McGrath <roland@hack.frob.com>
7240
7241 * Makeconfig (module-cppflags): Exclude all .v.i files.
7242 (skip-module-cppflags): Variable removed.
7243
7244 * configure.ac (libc_config_ok): Initialize before reading
7245 preconfigure scripts, not after.
7246 * configure: Regenerated.
7247
7248 * test-skeleton.c (TIMEOUT): Move #define to top level.
7249 (main): Grok environment variable TEST_DIRECT. If set, print
7250 test expectation details into that file and then behave as if
7251 given --direct.
7252
7253 2015-04-09 Florian Weimer <fweimer@redhat.com>
7254
7255 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
7256 warning on 32-bit.
7257
7258 2015-04-08 David S. Miller <davem@davemloft.net>
7259
7260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7261
7262 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7263
7264 * math/auto-libm-test-in: Add more tests of atanh.
7265 * math/auto-libm-test-out: Regenerated.
7266 * sysdeps/i386/fpu/libm-test-ulps: Update.
7267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7268
7269 * math/auto-libm-test-in: Add more tests of atan.
7270 * math/auto-libm-test-out: Regenerated.
7271 * sysdeps/i386/fpu/libm-test-ulps: Update.
7272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7273
7274 2015-04-08 Florian Weimer <fweimer@redhat.com>
7275
7276 * elf/pldd.c (main): Rewrite to use struct
7277 scratch_buffer instead of extend_alloca.
7278 * elf/pldd-xx.c (find_maps): Likewise.
7279 * grp/initgroups.c: Include <scratch_buffer.h> instead of
7280 <alloca.h>.
7281 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
7282 scratch_buffer instead of extend_alloca.
7283 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
7284 grp/compat-initgroups.c.
7285 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
7286 Rewrite to use struct scratch_buffer instead of extend_alloca.
7287 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
7288 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7289
7290 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7291
7292 * math/auto-libm-test-in: Add more tests of cbrt.
7293 * math/auto-libm-test-out: Regenerated.
7294 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7295
7296 * math/auto-libm-test-in: Add more tests of cabs.
7297 * math/auto-libm-test-out: Regenerated.
7298 * sysdeps/i386/fpu/libm-test-ulps: Update.
7299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7300
7301 [BZ #18210]
7302 [BZ #18211]
7303 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
7304 (__ieee754_atan2): Set FE_TONEAREST mode for internal
7305 computations.
7306 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
7307 clog10.
7308 * math/auto-libm-test-out: Regenerated.
7309 * sysdeps/i386/fpu/libm-test-ulps: Update.
7310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7311
7312 [BZ #18197]
7313 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
7314 (atan): Set FE_TONEAREST mode for internal computations.
7315 * math/auto-libm-test-in: Add more tests of atan.
7316 * math/auto-libm-test-out: Regenerated.
7317
7318 2015-04-07 James Cowgill <james410@cowgill.org.uk>
7319
7320 [BZ #17930]
7321 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
7322
7323 2015-04-07 Florian Weimer <fweimer@redhat.com>
7324
7325 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
7326
7327 2015-04-07 Florian Weimer <fweimer@redhat.com>
7328
7329 * include/scratch_buffer.h: New file.
7330 * malloc/scratch_buffer_grow.c: Likewise.
7331 * malloc/scratch_buffer_grow_preserve.c: Likewise.
7332 * malloc/scratch_buffer_set_array_size.c: Likewise.
7333 * malloc/tst-scratch_buffer.c: Likewise.
7334 * malloc/Makefile (routines): Add scratch_buffer_grow.
7335 (tests): Add test case.
7336 * malloc/Versions (GLIBC_PRIVATE): Export
7337 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
7338 __libc_scratch_buffer_set_array_size.
7339
7340 2015-04-06 Richard Henderson <rth@redhat.com>
7341
7342 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
7343 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7344
7345 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
7346 unsigned int before printing.
7347
7348 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7349
7350 [BZ #17596]
7351 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
7352 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7353
7354 2015-04-02 Florian Weimer <fweimer@redhat.com>
7355
7356 * include/libc-internal.h (libc_max_align_t): Define.
7357
7358 2015-04-02 Andreas Schwab <schwab@suse.de>
7359
7360 [BZ #16850]
7361 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
7362
7363 2015-04-02 Mel Gorman <mgorman@suse.de>
7364
7365 [BZ #17195]
7366 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
7367 as well as the main arena.
7368
7369 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7370
7371 [BZ #18185]
7372 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
7373 sharing L2 cache to 2 for Silvermont/Knights Landing.
7374
7375 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7376
7377 [BZ #17711]
7378 * config.make.in (have-protected-data): New.
7379 * configure.ac: Check linker support for protected data symbol.
7380 * configure: Regenerated.
7381 * elf/Makefile (modules-names): Add tst-protected1moda and
7382 tst-protected1modb if $(have-protected-data) is yes.
7383 (tests): Add tst-protected1a and tst-protected1b if
7384 $(have-protected-data) is yes.
7385 ($(objpfx)tst-protected1a): New.
7386 ($(objpfx)tst-protected1b): Likewise.
7387 (tst-protected1modb.so-no-z-defs): Likewise.
7388 * elf/tst-protected1a.c: New file.
7389 * elf/tst-protected1b.c: Likewise.
7390 * elf/tst-protected1mod.h: Likewise.
7391 * elf/tst-protected1moda.c: Likewise.
7392 * elf/tst-protected1modb.c: Likewise.
7393
7394 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7395
7396 [BZ #17711]
7397 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
7398 indicates it is called from do_lookup_x on relocation against
7399 protected data, skip the data definion in the executable from
7400 copy reloc.
7401 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
7402 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
7403 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
7404 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
7405 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
7406 otherwise to 0.
7407 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7408 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
7409 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
7410 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7411 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
7412 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
7413
7414 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
7415
7416 * sysdeps/nptl/pthread.h: Remove duplicate definition of
7417 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
7418
7419 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
7420
7421 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
7422 THREAD_SETMEM_NC.
7423 * sysdeps/x86_64/nptl/tls.h: Ditto.
7424
7425 2015-03-27 Roland McGrath <roland@hack.frob.com>
7426
7427 * dlfcn/tststatic.c (main): Converted to ...
7428 (do_test): ... this.
7429 (TEST_FUNCTION): New macro.
7430 Include test-skeleton.c.
7431
7432 2015-03-26 Alan Modra <amodra@gmail.com>
7433
7434 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
7435 Don't segfault if ifunc resolver returns a NULL. Do set plt to
7436 zero for undefined weak.
7437 (elf_machine_plt_conflict): Similarly.
7438
7439 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7440
7441 * math/auto-libm-test-in: Add more tests of acosh, asinh and
7442 atanh.
7443 * math/auto-libm-test-out: Regenerated.
7444 * sysdeps/i386/fpu/libm-test-ulps: Update.
7445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7446
7447 * math/auto-libm-test-in: Add another test of asin.
7448 * math/auto-libm-test-out: Regenerated.
7449 * sysdeps/i386/fpu/libm-test-ulps: Update.
7450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7451
7452 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
7453 Remove macro.
7454 (LLL_EBX_REG): Likewise.
7455 (LLL_ENTER_KERNEL): Likewise.
7456
7457 * math/auto-libm-test-in: Add more tests of asin.
7458 * math/auto-libm-test-out: Regenerated.
7459 * sysdeps/i386/fpu/libm-test-ulps: Update.
7460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7461
7462 [BZ #18138]
7463 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
7464 libc_do_syscall_args): New structure.
7465 (INTERNAL_SYSCALL_MAIN_0): New macro.
7466 (INTERNAL_SYSCALL_MAIN_1): Likewise.
7467 (INTERNAL_SYSCALL_MAIN_2): Likewise.
7468 (INTERNAL_SYSCALL_MAIN_3): Likewise.
7469 (INTERNAL_SYSCALL_MAIN_4): Likewise.
7470 (INTERNAL_SYSCALL_MAIN_5): Likewise.
7471 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
7472 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
7473 Replace conditional definitions by conditional definitions of ....
7474 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
7475 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
7476 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
7477 (libpthread-sysdep_routines): Add libc-do-syscall.
7478 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
7479 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
7480 to __NR_futex not 240.
7481
7482 2015-03-25 Alan Modra <amodra@gmail.com>
7483
7484 * NEWS: Advertise TLS optimization.
7485 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
7486 (DT_PPC_NUM): Increment.
7487 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
7488 (CHECK_STATIC_TLS): Use here.
7489 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
7490 TLS descriptors.
7491 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7492 * sysdeps/powerpc/dl-tls.c: New file.
7493 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
7494 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
7495 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
7496 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
7497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
7498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
7499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
7500
7501 2015-03-25 Alan Modra <amodra@gmail.com>
7502
7503 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
7504 for overlapping .opd entries" to "support...".
7505 * sysdeps/powerpc/powerpc64/configure: Regenerate
7506
7507 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7508
7509 * math/auto-libm-test-in: Add more tests of acos.
7510 * math/auto-libm-test-out: Regenerated.
7511 * sysdeps/i386/fpu/libm-test-ulps: Update.
7512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7513
7514 * math/auto-libm-test-in: Add more tests of expm1.
7515 * math/auto-libm-test-out: Regenerated.
7516 * sysdeps/i386/fpu/libm-test-ulps: Update.
7517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7518
7519 2015-03-24 Joseph Myers <joseph@codesourcery.com>
7520
7521 * math/auto-libm-test-in: Add more tests of cosh and sinh.
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 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7528
7529 * math/auto-libm-test-in: Add more tests of log2.
7530 * math/auto-libm-test-out: Regenerated.
7531 * sysdeps/i386/fpu/libm-test-ulps: Update.
7532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7533
7534 2015-03-23 Roland McGrath <roland@hack.frob.com>
7535
7536 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
7537 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
7538 _IO_IS_APPENDING bit in READ_WRITE instead.
7539
7540 2015-03-23 Florian Weimer <fweimer@redhat.com>
7541
7542 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7543 (__determine_cpumask_size): Replace extend_alloca with a
7544 variable-length array. Do not treat res == 0 as an error.
7545
7546 2015-03-23 Florian Weimer <fweimer@redhat.com>
7547
7548 [BZ #18100]
7549 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
7550 and integer overflow.
7551 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
7552 (main): Add integer overflow tests.
7553 * manual/pattern.texi (Calling Wordexp): Document additional use
7554 for WRDE_SYNTAX.
7555
7556 2015-03-23 Alan Modra <amodra@gmail.com>
7557
7558 * config.h.in: Remove HAVE_ASM_PPC_REL16.
7559 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
7560 and false branch of conditional.
7561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7562 Likewise.
7563
7564 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
7565
7566 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
7567 libc-modules.h
7568 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
7569 unused declaration of _hurd_intr_rpc_msg_in_trap.
7570 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
7571 defined instead of whether it is non-zero.
7572 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
7573 input constraint instead of both input and output constraint. Use ecx
7574 clobber instead of %ecx.
7575 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
7576 mutex_unlock): Use a statement expression instead of an expression list.
7577 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
7578 type to vm_size_t instead of vm_address_t.
7579 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
7580 defined instead of whether it is non-zero.
7581 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
7582 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
7583 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
7584 comparisons with mapaddr.
7585 * nscd/nscd-client.h: Include <time.h>.
7586 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
7587 9th parameter to __vm_region instead of int.
7588 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
7589 * scripts/check-local-headers.sh (exclude): Add device/,
7590 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
7591 cthreads.h.
7592
7593 2015-03-19 Roland McGrath <roland@hack.frob.com>
7594
7595 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
7596 to account for alignment padding.
7597 * sysdeps/arm/memmove.S: Likewise.
7598
7599 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
7600
7601 * sysdeps/unix/sysv/linux/generic/README: New file.
7602
7603 2015-03-18 Joseph Myers <joseph@codesourcery.com>
7604
7605 [BZ #18138]
7606 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
7607 (futex_abstimed_wait)
7608 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
7609 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
7610 of lll_futex_timed_wait.
7611
7612 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
7613
7614 [BZ #17542]
7615 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
7616
7617 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
7618
7619 [BZ #17090]
7620 [BZ #17620]
7621 [BZ #17621]
7622 [BZ #17628]
7623 * NEWS: Update.
7624 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
7625 entries with Static TLS too. Skip entries past the end of the
7626 allocated DTV, from Alan Modra.
7627 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
7628 Static TLS DTV entry set up from...
7629 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
7630 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
7631 * nptl/allocatestack.c (init_one_static_tls): ... and here...
7632 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
7633 for Static TLS.
7634 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
7635 that the slot we find is associated with the given map before
7636 using its generation count.
7637 * nptl_db/db_info.c: Include ldsodefs.h.
7638 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
7639 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
7640 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
7641 (link_map::l_tls_offset): New struct field.
7642 (dtv_t::counter): Likewise.
7643 (rtld_global): New struct.
7644 (_rtld_global): New rtld variable.
7645 (dl_tls_dtv_slotinfo_list): New rtld global field.
7646 (dtv_slotinfo_list): New struct.
7647 (dtv_slotinfo): Likewise.
7648 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
7649 (td_lookup): Rename to...
7650 (td_mod_lookup): ... this. Use new mod parameter instead of
7651 LIBPTHREAD_SO.
7652 * nptl_db/td_thr_tlsbase.c: Include link.h.
7653 (dtv_slotinfo_list, dtv_slotinfo): New functions.
7654 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
7655 addresses even if the DTV is out of date or missing them.
7656 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
7657 index zero-length arrays.
7658 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
7659 (td_lookup): Make it a macro implemented in terms of...
7660 (td_mod_lookup): ... this declaration.
7661 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
7662 (DB_MAIN_VARIABLE): Likewise.
7663
7664 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
7665
7666 [BZ #18134]
7667 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
7668
7669 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
7670
7671 * stdlib/setenv.c (__add_to_environ): Revert previous change.
7672
7673 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
7674
7675 [BZ #18128]
7676 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
7677 (atomic_add, atomic_increment_and_test)
7678 (atomic_decrement_and_test): Fix 64-bit arithmetic.
7679
7680 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
7681
7682 * stdlib/setenv.c (__add_to_environ):
7683 Dump core quickly if setenv (..., NULL, ...) is called.
7684
7685 2015-03-13 Roland McGrath <roland@hack.frob.com>
7686
7687 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
7688 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
7689 all the necessary asm magic in one place.
7690 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
7691 using those.
7692
7693 2015-03-13 Carlos O'Donell <carlos@redhat.com>
7694
7695 [BZ #14906]
7696 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
7697 traced file mtime. Use consistent log message.
7698 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
7699 (register_traced_file): Call install_watches. Always set mtime.
7700 (invalidate_cache): Iterate over all trace files. Call install_watches.
7701 (inotify_check_files): Don't inline. Handle watching parent
7702 directories and configuration file movement in and out.
7703 (handle_inotify_events): New function.
7704 (main_loop_poll): Call handle_inotify_events.
7705 (main_loop_epoll): Likewise.
7706 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
7707 (struct traced_file): Use array of inotify fds. Add parent directory,
7708 and basename.
7709 (struct database_dyn): Remove unused file_mtime.
7710 (init_traced_file): New inline function.
7711 (define_traced_file): New macro.
7712 * nss/nss_db/db-init.c: Use define_traced_file.
7713 (_nss_db_init): Use init_traced_file.
7714 * nss/nss_files/files-init.c: Use define_traced_file.
7715 (_nss_files_init): Use init_traced_file.
7716
7717 2015-03-12 Joseph Myers <joseph@codesourcery.com>
7718
7719 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
7720 [_LIBC]: Do not include <stdlib.h>.
7721 [!_LIBC] (abort): Remove declaration.
7722 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
7723 _FP_STATIC_ASSERT instead of conditionally calling abort.
7724 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
7725 (_FP_EXTEND_CNAN): Likewise.
7726 (FP_TRUNC): Likewise.
7727 (__FP_CLZ): Likewise.
7728 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
7729
7730 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
7731
7732 * manual/string.texi (XPG basename): Fix prototype.
7733
7734 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7735
7736 [BZ #18080]
7737 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
7738 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7739 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
7740 (__setcontext): Likewise.
7741 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
7742 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7743 Call rt_sigprocmask syscall one time to set new signal mask
7744 and retrieve the current signal mask instead of two calls.
7745 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
7746 (__swapcontext): Likewise.
7747 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
7748 * stdlib/tst-setcontext2.c: New file.
7749
7750 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7751
7752 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7753
7754 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
7755
7756 [BZ #18093]
7757 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
7758 the wrong size.
7759
7760 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7761
7762 [BZ #18043]
7763 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
7764
7765 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7766
7767 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
7768 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
7769 Remove define.
7770 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
7771 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
7772 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
7773 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
7774 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
7775 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
7776 define.
7777 * nptl_db/td_symbol_list.c (td_lookup): Remove
7778 HAVE_ASM_GLOBAL_DOT_NAME code.
7779 * sysdeps/powerpc/powerpc64/configure.ac: Remove
7780 HAVE_ASM_GLOBAL_DOT_NAME check.
7781 * sysdeps/powerpc/powerpc64/configure: Regenerate.
7782 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
7783 (DOT_LABEL): Remove define.
7784 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
7785 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
7786 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
7787 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
7788 (__TLS_GET_ADDR): Likewise.
7789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
7790 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
7791
7792 2015-03-11 Carlos O'Donell <carlos@redhat.com>
7793
7794 [BZ #18111]
7795 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
7796 (_FPU_SETCW): Initialize cw from fpsr before storing.
7797 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
7798 (fesetexceptflag): Rewrite using fpu_control.h.
7799 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
7800
7801 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
7802
7803 [BZ #18110]
7804 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
7805 asms.
7806 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7807
7808 2015-03-11 Joseph Myers <joseph@codesourcery.com>
7809
7810 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
7811 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
7812 abort.
7813 (_FP_FMA): Likewise.
7814 (_FP_DIV): Likewise.
7815
7816 2015-03-10 Roland McGrath <roland@hack.frob.com>
7817
7818 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
7819 with 0 in that case.
7820 * Makefile (summarize-tests): New canned sequence, factored out of
7821 commands for targets tests and xtests. Display summary lines that
7822 don't start with PASS: or XFAIL: rather than ones that do start with
7823 ERROR: or FAIL:. Make the commands fail if any summary lines fail
7824 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
7825 do start with ERROR: or FAIL:.
7826 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
7827 (except for [$(build-shared) = yes]).
7828 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
7829 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
7830 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
7831 * nptl/Makefile: Revert 2015-03-04 changes.
7832 [$(CXX) empty] (tests-unsupported): New variable.
7833 * debug/Makefile: Likewise.
7834
7835 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
7836 gnulib file. Replace __attribute with __attribute__ throughout.
7837
7838 2015-03-10 Carlos O'Donell <carlos@redhat.com>
7839
7840 * sysdeps/hppa/fpu/libm-test-ulps: Update.
7841
7842 2015-03-10 Joseph Myers <joseph@codesourcery.com>
7843
7844 [BZ #18104]
7845 * math/auto-libm-test-in: Add another test of pow.
7846 * math/auto-libm-test-out: Regenerated.
7847
7848 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7849
7850 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
7851 $(config-cflags-nofma).
7852
7853 2015-03-10 Joseph Myers <joseph@codesourcery.com>
7854
7855 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
7856 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
7857 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
7858 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
7859 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
7860 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
7861 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
7862 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
7863 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
7864 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
7865 Add comment on closing #endif.
7866
7867 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7868
7869 * posix/wordexp.c (CHAR_IN_SET): New macro.
7870 (parse_param): Use it.
7871
7872 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7873
7874 * sysdeps/powerpc/fpu/libm-test-ulps: update.
7875
7876 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7877
7878 [BZ #18043]
7879 * posix/wordexp.c (parse_param): Fix buffer overflow.
7880 * posix/wordexp-test.c (test_case): Add test case.
7881
7882 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7883
7884 [BZ #18042]
7885 * posix/wordexp.c (parse_backtick): Fix off-by-one.
7886 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
7887
7888 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7889
7890 [BZ #18043]
7891 * posix/wordexp-test.c (test_case): Add test for BZ #18043
7892 (do_bz18043): Delete.
7893 (at_page_end): New.
7894 (testit): Refactor to have words at the edge of unreadable page.
7895
7896 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7897
7898 [BZ #16734]
7899 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
7900 Cleanup read-only streams as well.
7901 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
7902
7903 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7904
7905 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
7906 <bits/libc-lockP.h>
7907
7908 2015-03-07 Joseph Myers <joseph@codesourcery.com>
7909
7910 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
7911 on [__KERNEL__].
7912 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
7913 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
7914 * soft-fp/op-common.h (_FP_DECL): Likewise.
7915
7916 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
7917
7918 * elf/ifuncdep2.c (global): Replace
7919 __attribute__((visibility("protected"))) with
7920 asm (".protected global").
7921 * elf/ifuncmod1.c (global): Likewise.
7922 * elf/ifuncmod5.c (global): Likewise.
7923
7924 2015-03-06 Joseph Myers <joseph@codesourcery.com>
7925
7926 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
7927 <asm/sfp-machine.h> instead of <sfp-machine.h>.
7928
7929 2015-03-06 Roland McGrath <roland@hack.frob.com>
7930
7931 * manual/install.texi (Configuring and compiling):
7932 Document test-wrapper-env-only.
7933 * INSTALL: Regenerated.
7934
7935 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7936
7937 [BZ #18043]
7938 * posix/wordexp.c (parse_param): Fix buffer overflow.
7939 * posix/wordexp-test.c (do_bz18043): Add test case.
7940
7941 2015-03-06 Vincent Bernat <vincent@bernat.im>
7942
7943 * time/tst-strptime2.c (do_test): Ensure failing tests are
7944 reported correctly.
7945 * time/tst-strptime3.c (do_test): Likewise.
7946
7947 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
7948
7949 Fix aio_error thread-safety.
7950 * sysdeps/pthread/aio_error.c: New file
7951 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
7952 synchronization.
7953
7954 2015-03-06 Florian Weimer <fweimer@redhat.com>
7955
7956 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
7957 (group_number, vfprintf): Use it.
7958 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
7959 (JUMP, REF): Use it.
7960 (WORK_BUFFER_SIZE): New enum constant.
7961 (process_arg, vfprintf): Use it.
7962
7963 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
7964
7965 * manual/errno.texi (Error Messages): Complete example function
7966 by adding missing #define.
7967 (program_invocation_name): Add statement indicating GNU
7968 extension and reference which header file declares the variable.
7969 (program_invocation_short_name): Likewise.
7970
7971 2015-03-06 Mike Frysinger <vapier@gentoo.org>
7972
7973 * manual/errno.texi (Error Messages): Delete strerror ISO C89
7974 compatibility note.
7975
7976 2015-03-05 Roland McGrath <roland@hack.frob.com>
7977
7978 * Makeconfig (test-wrapper-env-only): New variable.
7979 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
7980 then use that with $(test-wrapper-env-only) rather than using
7981 $(test-wrapper-env) $(run-program-env) $($*-ENV).
7982
7983 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
7984
7985 [BZ #18082]
7986 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
7987 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
7988 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
7989 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
7990 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
7991 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
7992 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
7993 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
7994 Likewise.
7995 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
7996 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
7997 Likewise.
7998 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
7999 Likewise.
8000 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
8001 Likewise.
8002 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
8003 Likewise.
8004 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
8005 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
8006 Likewise.
8007 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
8008 Likewise.
8009 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
8010 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
8011
8012 2015-03-04 Roland McGrath <roland@hack.frob.com>
8013
8014 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
8015 (ETH_ALEN): New macro.
8016 (struct ether_addr): Use it for length of ether_addr_octet.
8017
8018 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
8019 (setdb): Don't call __nss_configure_lookup for "rpc".
8020 (do_test): Don't call test_rpc.
8021 (output_rpcent, test_rpc): Functions moved ...
8022 * sunrpc/test-rpcent.c: ... to this new file.
8023 * sunrpc/Makefile (tests): Add it.
8024
8025 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
8026 __xpg_sigpause.
8027 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
8028 * nptl/tst-signal6.c: Likewise.
8029 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
8030 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
8031
8032 * configure.ac (libc_cv_cxx_link_ok): New check.
8033 Reset CXX to empty if it fails to link.
8034 * configure: Regenerated.
8035 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
8036 bug-atexit3-lib only if $(CXX) is nonempty.
8037 * nptl/Makefile (tests): Likewise for tst-cancel24.
8038 (tests, tests-static): Likewise for tst-cancel24-static.
8039 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
8040 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
8041 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
8042 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
8043
8044 2015-03-04 Andreas Schwab <schwab@suse.de>
8045
8046 [BZ #17631]
8047 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
8048 for non-GCC compilers.
8049 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8050 Likewise.
8051
8052 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8053
8054 [BZ #17776]
8055 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
8056 integer before bitwise and assembly operations.
8057 (feclearexcept): Likewise.
8058 * math/test-fenvinline.c: New file.
8059 * math/Makefile: Add test-fenvinline test.
8060
8061 2015-03-03 Alan Modra <amodra@gmail.com>
8062
8063 [BZ #16512]
8064 * scripts/localplt.awk: Strip off symbol version.
8065 * NEWS: Mention bug fix.
8066
8067 2015-03-02 Roland McGrath <roland@hack.frob.com>
8068
8069 * sysdeps/pthread/timer_routines.c
8070 (timer_free_list, thread_free_list, thread_active_list): Make static.
8071
8072 2015-03-02 Joseph Myers <joseph@codesourcery.com>
8073
8074 [BZ #17779]
8075 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8076 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8077 Undefine.
8078 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8079 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8080 Likewise.
8081 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8082 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8083 Likewise.
8084
8085 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8086
8087 [BZ #18036]
8088 * posix/fnmatch_loop.c (END): Detect invalid pattern.
8089 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
8090
8091 2015-03-02 Andreas Schwab <schwab@suse.de>
8092
8093 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
8094 variable name.
8095
8096 2015-03-02 Florian Weimer <fweimer@redhat.com>
8097
8098 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
8099 Return error status.
8100
8101 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
8102
8103 [BZ #15969]
8104 * locale/findlocale.c (_nl_find_locale): Introduce const
8105 version of loc_name and drop unsafe type casts.
8106
8107 2015-02-27 Roland McGrath <roland@hack.frob.com>
8108
8109 * dlfcn/tststatic2.c (main): Converted to ...
8110 (do_test): ... this.
8111 (TEST_FUNCTION): New macro.
8112 Include test-skeleton.c.
8113
8114 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
8115
8116 [BZ #17711]
8117 * elf/Makefile (tests): Add vismain only if PIE is enabled.
8118 (tests-pie): Add vismain.
8119 (CFLAGS-vismain.c): New.
8120 * elf/vismain.c: Add comments for PIE requirement.
8121
8122 2015-02-27 Joseph Myers <joseph@codesourcery.com>
8123
8124 [BZ #18046]
8125 [BZ #18047]
8126 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
8127 0x1p-56L as threshold for just returning the argument.
8128 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
8129 0x1p-32L as threshold for just returning the argument.
8130 * math/auto-libm-test-in: Add more tests of atanh.
8131 * math/auto-libm-test-out: Regenerated.
8132 * sysdeps/i386/fpu/libm-test-ulps: Update.
8133 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
8134
8135 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
8136
8137 * string/bcopy.c (bcopy): Call memmove for performance.
8138
8139 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
8140
8141 * string/bzero.c (__bzero): Call memset for performance.
8142
8143 2015-02-27 John David Anglin <dave.anglin@bell.net>
8144
8145 [BZ #18068]
8146 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
8147 to 00100000.
8148
8149 2015-02-27 Joseph Myers <joseph@codesourcery.com>
8150
8151 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
8152
8153 2015-02-26 Joseph Myers <joseph@codesourcery.com>
8154
8155 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
8156 (__kernel_standard): Use CSTR macro when setting exc.name.
8157 * sysdeps/ieee754/Makefile [$(subdir) = math]
8158 (CFLAGS-k_standard.c): Remove variable.
8159
8160 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
8161 setting p and q from "else if" to "else".
8162 (qzero): Likewise.
8163 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
8164 (qone): Likewise.
8165 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
8166 (qzerof): Likewise.
8167 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
8168 (qonef): Likewise.
8169 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
8170 (qzero): Likewise.
8171 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
8172 (qone): Likewise.
8173
8174 [BZ #18038]
8175 [BZ #18039]
8176 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
8177 return pi/2 for arguments below 0x1p-113L.
8178 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
8179 return pi/2 for arguments below 0x1p-106L.
8180 * math/auto-libm-test-in: Add more tests of acos.
8181 * math/auto-libm-test-out: Regenerated.
8182
8183 [BZ #16351]
8184 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
8185 (MO): New macro.
8186 (__ieee754_asin): Force underflow exception for results with small
8187 absolute value.
8188 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
8189 (MO): New macro.
8190 (__ieee754_asinf): Force underflow exception for results with
8191 small absolute value.
8192 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
8193 (__ieee754_asin): Force underflow exception for results with small
8194 absolute value.
8195 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
8196 (__ieee754_asinf): Force underflow exception for results with
8197 small absolute value.
8198 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
8199 (__ieee754_asinl): Force underflow exception for results with
8200 small absolute value.
8201 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
8202 (__ieee754_asinl): Force underflow exception for results with
8203 small absolute value.
8204 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
8205 (__ieee754_asinl): Force underflow exception for results with
8206 small absolute value.
8207 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8208 Include <math.h>.
8209 * math/auto-libm-test-in: Do not mark underflow exceptions as
8210 possibly missing for bug 16351.
8211 * math/auto-libm-test-out: Regenerated.
8212
8213 [BZ #18030]
8214 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
8215 of power of 2 down when low part has opposite sign.
8216 * math/libm-test.inc (logb_test_data): Add more tests.
8217
8218 2015-02-26 Andreas Schwab <schwab@suse.de>
8219
8220 [BZ #18032]
8221 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
8222 over collating symbol inside a bracket expression. Minor cleanup.
8223 * posix/tst-fnmatch3.c (do_test): Add test case.
8224
8225 2015-02-26 Joseph Myers <joseph@codesourcery.com>
8226
8227 [BZ #18029]
8228 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
8229 Adjust exponent of power of 2 down when low part has opposite
8230 sign.
8231 * math/libm-test.inc (ilogb_test_data): Add more tests.
8232
8233 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
8234
8235 [BZ #15969]
8236 * locale/findlocale.c (_nl_find_locale): Fix constness error in
8237 the previous change.
8238
8239 [BZ #15969]
8240 * locale/findlocale.c (_nl_find_locale): Retry archive search
8241 after alias expansion.
8242
8243 2015-02-25 Roland McGrath <roland@hack.frob.com>
8244
8245 * iconv/tst-iconv3.c (main): Converted to ...
8246 (do_test): ... this.
8247 (TEST_FUNCTION): New macro.
8248 Include test-skeleton.c.
8249
8250 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
8251 (convert): Make function static.
8252 (test_unalign): Likewise. Add const to argument pointee types.
8253 (main): Replace with static function do_test.
8254 Print "Succeeded." only if RET is zero.
8255 (TEST_FUNCTION): New macro.
8256 Include test-skeleton.c.
8257
8258 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
8259 returns a null pointer.
8260
8261 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8262
8263 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
8264 to __memcpy_ppc only for static builds.
8265
8266 2015-02-25 Joseph Myers <joseph@codesourcery.com>
8267
8268 [BZ #18020]
8269 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
8270 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
8271 * math/auto-libm-test-in: Add more tests of asinh.
8272 * math/auto-libm-test-out: Regenerated.
8273 * sysdeps/i386/fpu/libm-test-ulps: Update.
8274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8275
8276 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
8277
8278 [BZ #15850]
8279 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
8280 and ip6_mtuinfo definitions here.
8281 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
8282 in this define too. Update comment.
8283
8284 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
8285
8286 * elf/sprof.c (load_shobj): Tweak error message to match others.
8287
8288 2015-02-24 Kevin Easton <kevin@guarana.org>
8289
8290 [BZ #16145] (partial fix)
8291 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
8292 to reduce lock contention.
8293
8294 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
8295
8296 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
8297 (struct timex): Update time comment.
8298 (ADJ_SETOFFSET): Define.
8299
8300 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8301
8302 [BZ #18019]
8303 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8304 2**56 not 2**28 as threshold for log (2x) formula.
8305 * math/auto-libm-test-in: Add more tests of acosh.
8306 * math/auto-libm-test-out: Regenerated.
8307 * sysdeps/i386/fpu/libm-test-ulps: Update.
8308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8309
8310 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8311
8312 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
8313 parenthesis around the buf assignment.
8314 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
8315
8316 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8317
8318 [BZ #16783]
8319 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
8320 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
8321 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
8322 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8323 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8324 * math/libm-test.inc (scalb_test_data): Add more tests.
8325
8326 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8327
8328 [BZ #17916]
8329 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
8330 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
8331
8332 2015-02-24 Eric Rannaud <e@nanocritical.com>
8333
8334 [BZ #17523]
8335 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
8336 * io/bits/fcntl2.h (open): Use it.
8337 (openat): Likewise.
8338 * io/open.c (__libc_open): Likewise.
8339 * io/open64.c (__libc_open64): Likewise.
8340 * io/open64_2.c (__open64_2): Likewise.
8341 * io/open_2.c (__open_2): Likewise.
8342 * io/openat.c (__openat): Likewise.
8343 * io/openat64.c (__openat64): Likewise.
8344 * io/openat64_2.c (__openat64_2): Likewise.
8345 * io/openat_2.c (__openat_2): Likewise.
8346 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
8347 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8348 * sysdeps/posix/open64.c (__libc_open64): Likewise.
8349 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8350 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
8351 (__open_nocancel): Likewise.
8352 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
8353 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
8354 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
8355
8356 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8357
8358 [BZ #14841]
8359 * resolv/gethnamaddr.c (getanswer): Skip logging if
8360 RES_USE_DNSSEC is set.
8361 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8362
8363 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8364
8365 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
8366
8367 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
8368
8369 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8370 201304L, for Unicode 7.
8371
8372 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
8373
8374 [BZ #17836]
8375 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
8376 shared library. Add gmon-start.os otherwise.
8377 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
8378 $(objpfx)gmon-start.os if builing shared library.
8379 ($(objpfx)g$(static-start-installed-name)): Likewise.
8380
8381 2015-02-23 Andreas Schwab <schwab@suse.de>
8382
8383 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
8384
8385 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8386
8387 [BZ #17269]
8388 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
8389 (enlarge_userbuf): Likewise.
8390
8391 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
8392
8393 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
8394 * math/atest-exp.c (TIMEOUT): Adjust to 200.
8395 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
8396 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
8397
8398 2015-02-20 Joseph Myers <joseph@codesourcery.com>
8399
8400 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
8401 expression inside statement expression.
8402
8403 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8404
8405 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
8406 <sysdeps/nptl/lowlevellock.h> and remove macros and
8407 functions that are now defined there.
8408 (SYS_futex): Remove.
8409 (lll_compare_and_swap): Remove.
8410 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
8411
8412 2015-02-19 Joseph Myers <joseph@codesourcery.com>
8413
8414 [BZ #17999]
8415 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
8416 instead of scandirat.
8417 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
8418 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
8419 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
8420 __scandirat.
8421 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
8422 (__scandirat): Declare. Use libc_hidden_proto.
8423 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
8424 Remove variable.
8425 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8426
8427 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8428
8429 [BZ #15319]
8430 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
8431 (MO): New macro.
8432 (__ieee754_atan2): For results with small absolute value, force
8433 underflow exception and remove excess range and precision from
8434 return value.
8435 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
8436 (MO): New macro.
8437 (__ieee754_atan2f): For results with small absolute value, force
8438 underflow exception and remove excess range and precision from
8439 return value.
8440 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
8441 (MO): New macro.
8442 (__atan): For results with small absolute value, force underflow
8443 exception and remove excess range and precision from return value.
8444 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
8445 (MO): New macro.
8446 (__atanf): For results with small absolute value, force underflow
8447 exception and remove excess range and precision from return value.
8448 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
8449 <math.h>.
8450 (__ieee754_atan2): Force underflow exception for results with
8451 small absolute value.
8452 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
8453 <math_private.h>.
8454 (atan): Force underflow exception for results with small absolute
8455 value.
8456 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
8457 (__atanf): Force underflow exception for results with small
8458 absolute value.
8459 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
8460 <math.h>.
8461 (__atanl): Force underflow exception for results with small
8462 absolute value.
8463 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
8464 (__atanl): Force underflow exception for results with small
8465 absolute value.
8466 * sysdeps/x86/fpu/bits/mathinline.h
8467 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
8468 (__ieee754_atan2): Only define inline for long double.
8469 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
8470 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
8471 * math/auto-libm-test-in: Do not mark underflow exceptions as
8472 possibly missing for bug 15319. Add more tests of atan2.
8473 * math/auto-libm-test-out: Regenerated.
8474 * math/libm-test.inc (casin_test_data): Do not mark underflow
8475 exceptions as possibly missing for bug 15319.
8476 (casinh_test_data): Likewise.
8477 * sysdeps/i386/fpu/libm-test-ulps: Update.
8478
8479 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
8480
8481 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
8482 * sysdeps/mips/bits/endian.h: Fix comments.
8483
8484 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8485
8486 [BZ #17996]
8487 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
8488 (hdestroy_r): Likewise.
8489 (hsearch_r): Likewise.
8490 (__hcreate_r): Declare and use libc_hidden_proto.
8491 (__hdestroy_r): Likewise.
8492 (__hsearch_r): Likewise.
8493 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
8494 (hcreate): Call __hcreate_r instead of hcreate_r.
8495 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
8496 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
8497 as weak alias of __hcreate_r.
8498 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
8499 __hdestroy_r.
8500 (hsearch_r): Rename to __hsearch_r and define as weak alias of
8501 __hsearch_r.
8502 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
8503 Remove variable.
8504 (test-xfail-XPG4/search.h/linknamespace): Likewise.
8505 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8506 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8507 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8508
8509 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8510
8511 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
8512 arena_lock into a single arena_get.
8513
8514 2015-02-17 Carlos O'Donell <carlos@redhat.com>
8515
8516 * dl-reloc.c: Inlucde libc-internal.h.
8517 (_dl_try_allocate_static_tls): Call ALIGN_UP.
8518 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
8519 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
8520 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
8521 (grow_heap): Likewise.
8522 * malloc/malloc.c: Include libc-internal.h.
8523 (do_check_malloc): Call powerof2.
8524 (sysmalloc): Use pagesize. Call ALIGN_UP.
8525 (systrim): Use pagesize.
8526 (mremap_chunk): Use pagesize. Call ALIGN_UP.
8527 (__libc_valloc): Use pagesize.
8528 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
8529
8530 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8531
8532 [BZ #17991]
8533 * include/sys/resource.h (__getrlimit64): Declare. Use
8534 libc_hidden_proto.
8535 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
8536 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
8537 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
8538 getrlimit64.
8539 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
8540 __getrlimit64.
8541 [!getrlimit64] (getrlimit64): Define as weak alias of
8542 __getrlimit64. Use libc_hidden_weak.
8543 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
8544 using __getrlimit64 not __new_getrlimit64.
8545 (__GI_getrlimit64): Likewise.
8546 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
8547 Likewise.
8548 (__GI_getrlimit64): Likewise.
8549 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
8550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
8551 (getrlimit): Add __getrlimit64 alias.
8552 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
8553 Likewise.
8554 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
8555 Remove variable.
8556 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8557 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8558
8559 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8560
8561 * libio/fileops.c: Add missing sys/mman.h
8562 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
8563
8564 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8565
8566 * manual/math.texi (Errors in Math Functions): Clarify goals
8567 regarding inexact and underflow exceptions.
8568
8569 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8570
8571 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
8572 * sysdeps/mips/memset.S: Ditto.
8573
8574 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8575
8576 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
8577
8578 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8579
8580 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
8581 (__v1longjmp): Remove versioned symbol.
8582 (__v1siglongjmp): Remove alias and versioned symbol.
8583 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
8584 (__v2siglongjmp): Likewise.
8585
8586 2015-02-16 Torvald Riegel <triegel@redhat.com>
8587
8588 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
8589
8590 2015-02-16 Mike Frysinger <vapier@gentoo.org>
8591
8592 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
8593
8594 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8595
8596 [BZ #17987]
8597 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
8598 zero result does not depend on the sign resulting from
8599 subtraction.
8600 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8601 Likewise.
8602 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8603 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8604 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8605 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8606 * math/libm-test.inc (remquo_test_data): Add more tests.
8607
8608 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
8609
8610 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
8611 Problem reported by J William Piggott.
8612
8613 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8614
8615 [BZ #17978]
8616 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
8617 products 4 * y and 2 * y where those would overflow.
8618 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8619 Likewise.
8620 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8621 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8622 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8623 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8624 * math/libm-test.inc (remquo_test_data): Add more tests.
8625
8626 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
8627
8628 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
8629 [defined _COMPILING_NEWLIB].
8630 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
8631 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
8632
8633 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
8634 [!defined __mips_isa_rev || __mips_isa_rev < 6].
8635
8636 2015-02-16 Torvald Riegel <triegel@redhat.com>
8637
8638 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
8639 acquired.
8640
8641 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
8642
8643 [BZ #17792]
8644 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
8645 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
8646 HOST_STACK_END_ADDR): Likewise.
8647
8648 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
8649
8650 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
8651 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
8652 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
8653
8654 2015-02-13 Roland McGrath <roland@hack.frob.com>
8655
8656 * sysdeps/generic/c++-types.data: New file.
8657 * sysdeps/generic/ld.abilist: New file.
8658 * sysdeps/generic/libBrokenLocale.abilist: New file.
8659 * sysdeps/generic/libanl.abilist: New file.
8660 * sysdeps/generic/libc.abilist: New file.
8661 * sysdeps/generic/libcrypt.abilist: New file.
8662 * sysdeps/generic/libdl.abilist: New file.
8663 * sysdeps/generic/libm.abilist: New file.
8664 * sysdeps/generic/libpthread.abilist: New file.
8665 * sysdeps/generic/libresolv.abilist: New file.
8666 * sysdeps/generic/librt.abilist: New file.
8667
8668 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8669
8670 [BZ #17569]
8671 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8672 Compute absolute value of x as modified by fmod, not original
8673 value of x.
8674 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
8675 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
8676 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
8677 RUN_TEST_ffI_f1_mod8.
8678 (remquo_test_data): Add more tests.
8679
8680 2015-02-13 Roland McGrath <roland@hack.frob.com>
8681
8682 * sysdeps/init_array/pt-crti.S: New file.
8683
8684 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8685
8686 [BZ #17967]
8687 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
8688 __builtin_fmaf instead of relying on contraction of a * b + c.
8689
8690 2015-02-12 J William Piggott <elseifthen@gmx.com>
8691
8692 [BZ #17969]
8693 * manual/time.texi: correct the zoneinfo path in the TZ Variable
8694 node.
8695
8696 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8697
8698 [BZ #17964]
8699 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
8700 __builtin_fma instead of relying on contraction of a * b + c.
8701
8702 2015-02-12 Roland McGrath <roland@hack.frob.com>
8703
8704 * Makeconfig (ASFLAGS): Add -Werror=undef.
8705 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
8706 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
8707 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
8708
8709 * Makeconfig (after-link): New variable.
8710 (+link-pie, +link-pie-tests): Use it.
8711 (+link-static, +link-static-tests): Likewise.
8712 (+link, +link-tests): Likewise.
8713 * Makerules (build-module, build-module-asneeded): Likewise.
8714 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
8715 Likewise.
8716 * elf/Makefile ($(objpfx)ld.so): Likewise.
8717
8718 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
8719
8720 [BZ #17965]
8721 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
8722 both struct timeval and struct timespec.
8723
8724 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8725
8726 [BZ #16560]
8727 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8728 and redefine.
8729 (__ieee754_exp2l): Do not multiply small fractional parts by
8730 M_LN2l.
8731 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
8732 small argument.
8733 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8734 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8735 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
8736 * math/auto-libm-test-in: Add more tests of exp2.
8737 * math/auto-libm-test-out: Regenerated.
8738
8739 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8740
8741 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
8742 unaligned path.
8743
8744 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8745
8746 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
8747 little endian.
8748
8749 2015-02-12 Andreas Schwab <schwab@suse.de>
8750
8751 [BZ #15790]
8752 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
8753 Filter out elision flags from value returned in kind.
8754 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
8755 * nptl/tst-pthread-mutexattr.c: New file.
8756
8757 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
8758
8759 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
8760 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
8761 into gnu-gnu, and update comment to refer to abi-tags.
8762
8763 2015-02-11 Joseph Myers <joseph@codesourcery.com>
8764
8765 [BZ #15467]
8766 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
8767 (__sincos): Set errno to EDOM for infinite argument.
8768 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
8769 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
8770 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
8771 (__sincosl): Set errno to EDOM for infinite argument.
8772 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
8773 (__sincosl): Set errno to EDOM for infinite argument.
8774 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
8775 (__sincosl): Set errno to EDOM for infinite argument.
8776 * math/libm-test.inc (sincos_test_data): Test errno setting.
8777
8778 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
8779
8780 * string/strxfrm_l.c: Remove #define STRCMP.
8781 * string/strcoll_l.c: Remove #define STRLEN.
8782 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
8783 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
8784
8785 2015-02-10 Joseph Myers <joseph@codesourcery.com>
8786
8787 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
8788 * sysdeps/mips/mips32/sfp-machine.h: ... here.
8789 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
8790 * sysdeps/mips/mips64/Makefile: ... here.
8791 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
8792 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
8793 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
8794 * sysdeps/mips/mips64/sfp-machine.h: ... here.
8795 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
8796 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
8797 * sysdeps/mips/mips64/n64/Implies: Likewise.
8798
8799 2015-02-10 Roland McGrath <roland@hack.frob.com>
8800
8801 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
8802 <sys/time.h>, <string.h>, and <errno.h>.
8803 (dest_offset, dest_address, value, zero): Remove unused variables.
8804 (ldouble): Remove typedef.
8805 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
8806 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
8807 1). Fix code style.
8808 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
8809 (check): Function removed.
8810 (CHECK): New macro.
8811 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
8812 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
8813 Don't call set_sigaction_FP and remove_sigaction_FP here.
8814 (ldouble_test): Just use 'long double' as macro argument, no need for
8815 the 'ldouble' typedef.
8816 (do_test): Set up SIGFPE handler at start, using plain signal rather
8817 than sigaction. Fix code style.
8818
8819 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
8820
8821 [BZ #17949]
8822 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
8823 jump label.
8824
8825 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8826
8827 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
8828 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8829
8830 * sysdeps/powerpc/configure.ac: Remove file.
8831 * sysdeps/powerpc/configure: Likewise.
8832
8833 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8834 [sysdep_routines]: Remove wordcopy-power6 object.
8835 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8836 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
8837 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
8838 (__memmove_ppc32): Likewise.
8839 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
8840 file.
8841 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
8842 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
8843 Remove preprocessor.
8844
8845 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8846 [sysdep_routines]: Remove wide chars objects.
8847 [wcsmbs]: New rule for wide char objects.
8848
8849 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8850 Remove wordcopy-power6 obejct.
8851 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
8852 Use local call for wordcopy and memcpy symbols.
8853 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
8854 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
8855 implementation for loader.
8856 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
8857
8858 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8859 Remove wordcopy-power7 object.
8860 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
8861 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
8862 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
8863 (_wordcopy_fwd_dest_aligned): Likewise.
8864 (_wordcopy_bwd_aligned): Likewise.
8865 (_wordcopy_bwd_dest_aligned): Likewise.
8866
8867 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
8868 Rewrite to call __memmove_ppc instead of include default
8869 implementation.
8870
8871 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8872 Remove wide chars objects.
8873 [wcsmbs]: New rule for wide char objects.
8874
8875 2015-02-09 Andreas Schwab <schwab@suse.de>
8876
8877 [BZ #17912]
8878 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
8879 in terms of __O_DIRECTORY.
8880
8881 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8882
8883 * time/getdate.c: Include <stdbool.h>.
8884 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
8885 call PTR_MANGLE.
8886 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
8887 PTR_DEMANGLE.
8888
8889 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
8890
8891 Add ersatz _Static_assert on older C hosts
8892 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
8893 pre-C11 C platform that is not known to support _Static_assert.
8894
8895 2015-02-07 Richard Braun <rbraun@sceen.net>
8896
8897 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
8898 sigstate.
8899 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
8900
8901 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
8902
8903 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
8904 priority against unexistent AIO_PRIO_DELTA_MAX.
8905 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
8906 instead of int.
8907 * misc/fchflags.c (fchflags): Likewise.
8908 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
8909 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
8910 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
8911 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
8912 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
8913 Declare macros.
8914 [__USE_MISC] (chflags, fchflags): Declare functions.
8915 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
8916 EINVAL when nfds is greater than FD_SETSIZE.
8917 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
8918 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
8919 45.
8920 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
8921 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
8922 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
8923 MACH_RCV_TIMED_OUT.
8924 * hurd/hurd/signal.h (_hurd_self_sigstate,
8925 _hurd_critical_section_lock, _hurd_critical_section_unlock):
8926 Explicit casts from void *.
8927 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
8928 * abi-tags: Rename gnu-gnu os into gnu.
8929
8930 [BZ #4719]
8931 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
8932 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
8933 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
8934 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
8935 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
8936 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
8937
8938 [BZ #17944]
8939 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
8940 duplicates ADDR->sun_path with sockaddr LEN limitation.
8941 * sysdeps/mach/hurd/connect.c: Include <string.h>
8942 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
8943 * sysdeps/mach/hurd/sendmsg.c: Likewise.
8944 * sysdeps/mach/hurd/sendto.c: Likewise.
8945 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
8946 implementing it by hand.
8947
8948 2015-02-06 Roland McGrath <roland@hack.frob.com>
8949
8950 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
8951 Use sfi_breg on ldr.
8952 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
8953 Likewise.
8954
8955 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
8956 it's defined.
8957 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
8958 Test SIGSETXID only if it's defined.
8959
8960 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
8961
8962 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
8963 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
8964
8965 * nptl/tst-align2.c: Moved ...
8966 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
8967 * nptl/Makefile (tests): Remove tst-align2.
8968 * sysdeps/unix/sysv/linux/Makefile
8969 [$(subdir) = nptl] (tests): Add tst-align-clone.
8970 * nptl/tst-getpid1.c: Moved ...
8971 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
8972 * nptl/tst-getpid2.c: Moved ...
8973 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
8974 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
8975 * sysdeps/unix/sysv/linux/Makefile
8976 [$(subdir) = nptl] (tests): ... here.
8977 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
8978 * sysdeps/unix/sysv/linux/Makefile
8979 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
8980
8981 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
8982 Drop trailing \n from perror argument. Use return rather than exit.
8983
8984 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
8985 on [SA_SIGINFO].
8986 * nptl/tst-cancel21.c (do_test): Likewise.
8987 * debug/tst-backtrace6.c: Include <signal.h> first thing.
8988 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
8989 [!SA_SIGINFO]: Make it a stub test.
8990
8991 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
8992 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
8993
8994 * posix/tst-getlogin.c: Move to ...
8995 * login/tst-getlogin.c: ... here.
8996 * posix/Makefile (tests): Move tst-getlogin to ...
8997 * login/Makefile (tests): ... here.
8998
8999 * libio/tst-atime.c (do_test): Move local variables SV and E
9000 inside [ST_NOATIME] conditional.
9001
9002 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
9003
9004 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
9005
9006 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
9007 (wait_code): New function replaces macro.
9008 Call nanosleep rather than syscall.
9009
9010 * nptl/pt-system.c: Rewritten. Put everything under
9011 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9012 Use IFUNC to redirect when possible.
9013
9014 * nptl/pt-longjmp.c: Rewritten. Put everything under
9015 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9016 Use IFUNC to redirect when possible.
9017
9018 * nptl/pt-fork.c: Rewritten. Put everything under
9019 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9020 Use IFUNC to redirect when possible.
9021 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
9022
9023 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
9024 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
9025 unconditionally nowadays. This included the only reference to
9026 __vdso_clock_gettime that appears outside libc proper.
9027 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
9028 Remove version set (containing only __vdso_clock_gettime).
9029 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
9030 Add attribute_hidden.
9031 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
9032 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
9033 libc_hidden_data_def.
9034 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9035 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9036
9037 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
9038 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
9039 setrpcent, and getrpcport to ...
9040 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
9041 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
9042 getrpcbynumber_r, and getrpcent_r to ...
9043 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
9044 * inet/getrpcbyname.c: Moved ...
9045 * sunrpc/getrpcbyname.c: ... here.
9046 * inet/getrpcbyname_r.c: Moved ...
9047 * sunrpc/getrpcbyname_r.c: ... here.
9048 * inet/getrpcbynumber.c: Moved ...
9049 * sunrpc/getrpcbynumber.c: ... here.
9050 * inet/getrpcbynumber_r.c: Moved ...
9051 * sunrpc/getrpcbynumber_r.c: ... here.
9052 * inet/getrpcent.c: Moved ...
9053 * sunrpc/getrpcent.c: ... here.
9054 * inet/getrpcent_r.c: Moved ...
9055 * sunrpc/getrpcent_r.c: ... here.
9056 * inet/Makefile (routines): Move those to ...
9057 * sunrpc/Makefile (routines): ... here.
9058 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
9059 the $(subdirs) list.
9060 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
9061 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
9062 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
9063 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
9064
9065 * elf/Makefile (routines): Include $(all-dl-routines), not just
9066 $(dl-routines).
9067 (rtld-routines): Likewise. Use = rather than :=.
9068 * sysdeps/aarch64/Makefile [$(subdir) = elf]
9069 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
9070 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
9071 * sysdeps/arm/Makefile: Likewise.
9072 * sysdeps/i386/Makefile: Likewise.
9073 * sysdeps/x86_64/Makefile: Likewise.
9074 * sysdeps/hppa/Makefile [$(subdir) = elf]
9075 (sysdep_routines, sysdep-rtld-routines): Don't add
9076 $(sysdep-dl-routines) to these.
9077 * sysdeps/ia64/Makefile: Likewise.
9078 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
9079 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
9080 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
9081 Don't add dl-static to these; sysdep-dl-routines alone is enough.
9082 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
9083 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
9084 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
9085 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
9086 * sysdeps/powerpc/Makefile [$(subdir) = elf]
9087 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
9088 these; sysdep-dl-routines alone is enough.
9089
9090 2015-02-06 Joseph Myers <joseph@codesourcery.com>
9091
9092 [BZ #17932]
9093 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
9094 where multiplication results in zero and third argument is finite
9095 and nonzero.
9096 * math/auto-libm-test-in: Add more tests of fma.
9097 * math/auto-libm-test-out: Regenerated.
9098
9099 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
9100 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
9101 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
9102 (_FP_CMP_EQ): Likewise.
9103 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
9104
9105 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
9106 extra argument CHECK_NAN. Redefine as wrapper around
9107 _FP_EXTEND_CNAN.
9108
9109 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
9110
9111 * version.h (RELEASE): Set to "stable".
9112 (VERSION): Set to "2.21"
9113 * include/features.h (__GLIBC_MINOR__): Set to 21.
9114
9115 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
9116
9117 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9118 Paul Eggert <eggert@cs.ucla.edu>
9119
9120 [BZ #16618]
9121 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
9122 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
9123 size in bytes. Store needed elements in wpmax. Use needed size
9124 in bytes for extend_alloca.
9125
9126 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
9127
9128 * manual/install.texi: Latest tested versions are GCC 4.9.2,
9129 binutls 2.25, and texinfo 5.2.
9130 * INSTALL: Regenerate.
9131 * sysdeps/nios2/configure: Regenerate.
9132 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
9133 * manual/contrib.texi: Update.
9134 * po/be.po: Update.
9135 * po/bg.po: Update.
9136 * po/ca.po: Update.
9137 * po/cs.po: Update.
9138 * po/da.po: Update.
9139 * po/de.po: Update.
9140 * po/el.po: Update.
9141 * po/eo.po: Update.
9142 * po/es.po: Update.
9143 * po/fi.po: Update.
9144 * po/fr.po: Update.
9145 * po/gl.po: Update.
9146 * po/hr.po: Update.
9147 * po/hu.po: Update.
9148 * po/ia.po: Update.
9149 * po/id.po: Update.
9150 * po/it.po: Update.
9151 * po/ja.po: Update.
9152 * po/ko.po: Update.
9153 * po/lt.po: Update.
9154 * po/nb.po: Update.
9155 * po/nl.po: Update.
9156 * po/pl.po: Update.
9157 * po/pt_BR.po: Update.
9158 * po/ru.po: Update.
9159 * po/rw.po: Update.
9160 * po/sk.po: Update.
9161 * po/sl.po: Update.
9162 * po/sv.po: Update.
9163 * po/tr.po: Update.
9164 * po/uk.po: Update.
9165 * po/vi.po: Update.
9166 * po/zh_CN.po: Update.
9167 * po/zh_TW.po: Update.
9168
9169 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
9170 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
9171 * sysdeps/hppa/dl-irel.h: Remove #warning.
9172 * sysdeps/hppa/entry.h: Provide prototype for
9173 __canonicalize_funcptr_for_compare and cast argument.
9174 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
9175 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
9176 * sysdeps/hppa/sotruss-lib.c: New file.
9177 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
9178 (atomic_compare_and_exchange_val_acq): Use __typeof__.
9179 (atomic_compare_and_exchange_bool_acq): Likewise.
9180 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
9181 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
9182
9183 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
9184 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
9185 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
9186
9187 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9188
9189 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
9190 called function in non-PIC case.
9191
9192 2015-01-31 David S. Miller <davem@davemloft.net>
9193
9194 * sysdeps/sparc/sparc32/bits/atomic.h
9195 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
9196 unlock not after it.
9197 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
9198 volatile register usage warnings from the compiler.
9199
9200 * sysdeps/sparc/nptl/sem_init.c: Delete.
9201 * sysdeps/sparc/nptl/sem_post.c: Delete.
9202 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
9203 * sysdeps/sparc/nptl/sem_wait.c: Delete.
9204 * sysdeps/sparc/sparc32/sem_init.c: New file.
9205 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
9206 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
9207 padding explicitly initialized.
9208 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
9209 padding for in-semaphore spinlock.
9210 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
9211 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
9212 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
9213 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
9214 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
9215 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
9216 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
9217 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
9218 version.
9219 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
9220 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
9221
9222 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
9223
9224 [BZ #17801]
9225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9226 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
9227 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
9228 New.
9229 (index_AVX_Fast_Unaligned_Load): Likewise.
9230 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
9231 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
9232 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
9233 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
9234 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
9235 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
9236 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
9237 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
9238 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
9239
9240 2015-01-29 Andreas Schwab <schwab@suse.de>
9241
9242 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
9243
9244 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9245
9246 [BZ #17892]
9247 * nscd/nscd_stat.c (send_stats): Initialize DATA.
9248
9249 2015-01-28 Martin Sebor <msebor@redhat.com>
9250
9251 * math/README.libm-test: Clarify. Add "How to read the test output."
9252
9253 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
9254
9255 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
9256 Define to 0.
9257
9258 2015-01-28 Joseph Myers <joseph@codesourcery.com>
9259
9260 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
9261 (__HAVE_64B_ATOMICS): Define to 0.
9262
9263 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9264
9265 [BZ #17885]
9266 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
9267 value to set as new flag.
9268
9269 [BZ #16576]
9270 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
9271 and use _ARCH_PPCSQ instead.
9272 (__ieee754_sqrt): Likewise.
9273 (__ieee754_sqrtf): Likewise.
9274 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
9275 _ARCH_PPCSQ is defined.
9276 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
9277 fsqrt instruction.
9278 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
9279 _ARCH_PPCSQ is defined.
9280 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
9281 fsqrts instruction.
9282 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
9283
9284 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9285
9286 * iconv/loop.c: Suppress array out of bound warning caused by GCC
9287 bug (GCC BZ #64739).
9288
9289 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
9290
9291 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
9292 Mark _retval as used.
9293 (lll_futex_wake_unlock): Likewise.
9294 (lll_futex_timed_wait_requeue_pi): Likewise.
9295
9296 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9297 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
9298 register variables.
9299
9300 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
9301 libm_hidden_def.
9302
9303 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
9304 (__bswap_64): Mark as __always_inline.
9305
9306 2015-01-25 Bram <bug_rh@spam.wizbit.be>
9307
9308 [BZ #15378]
9309 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
9310 when none of the search directories exist.
9311
9312 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9313
9314 [BZ #17869]
9315 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
9316 power8 in .machine directive.
9317
9318 [BZ #17868]
9319 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
9320 set dependency from opd value.
9321
9322 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9323
9324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9325 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
9326 architecture.
9327
9328 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9329
9330 [BZ #17870]
9331 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
9332 with uint64_t.
9333 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
9334 (uint64_t) 1.
9335 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
9336 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
9337 Replace 1UL with (uint64_t) 1.
9338 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
9339 int with uint64_t.
9340
9341 2015-01-23 Roland McGrath <roland@hack.frob.com>
9342
9343 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
9344 (if_freenameindex): Likewise.
9345
9346 * resource/getrlimit64.c: Add missing libc_hidden_def.
9347
9348 2015-01-22 Joseph Myers <joseph@codesourcery.com>
9349
9350 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
9351 __label__.
9352 (_FP_FMA): Likewise.
9353 (_FP_TO_INT_ROUND): Likewise.
9354 (_FP_FROM_INT): Likewise.
9355
9356 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9357
9358 [BZ #16418]
9359 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
9360 Make code racy and cancel safe.
9361
9362 2015-01-21 Carlos O'Donell <carlos@redhat.com>
9363
9364 * sysdeps/arm/unwind-resume.h: Fix copyright year.
9365 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
9366 attribution.
9367
9368 * pwd/tst-getpw.c: Rewrite.
9369
9370 [BZ #17702]
9371 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
9372 (modules-names): Add moddummy1 and moddummy2.
9373 ($(objpfx)tst-rec-dlopen): Define.
9374 * dlfcn/moddummy1.c: New file.
9375 * dlfcn/moddummy2.c: New file.
9376 * dlfcn/tst-rec-dlopen.c: New file.
9377 * elf/dl-cache.c (_dl_load_cache_lookup):
9378 Return char*. Copy result with alloca/strcpy/strdup.
9379 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
9380 returns char*. Free cached. If not saving realname
9381 free cached.
9382 * elf/dl-open.c (dl_open_worker): Do not assert that
9383 _r_debug->r_state is RT_CONSISTENT.
9384 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
9385 returns char*.
9386
9387 2015-01-21 Torvald Riegel <triegel@redhat.com>
9388 Carlos O'Donell <carlos@redhat.com>
9389
9390 [BZ #12674]
9391 * nptl/sem_waitcommon.c: New file.
9392 * nptl/sem_wait.c: Include sem_waitcommon.c.
9393 (__sem_wait_cleanup, do_futex_wait): Remove.
9394 (__new_sem_wait): Adapt.
9395 (__new_sem_trywait): New function.
9396 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
9397 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
9398 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
9399 (sem_timedwait): Adapt.
9400 * nptl/sem_post.c (__new_sem_post): Adapt.
9401 (futex_wake): New function.
9402 (__old_sem_post): Add release MO fence.
9403 * nptl/sem_open.c (sem_open): Adapt.
9404 * nptl/sem_init.c (__new_sem_init): Adapt.
9405 (futex_private_if_supported): New function.
9406 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
9407 (__old_sem_getvalue): Add using previous code.
9408 * sysdeps/nptl/internaltypes.h: Adapt.
9409 * nptl/tst-sem13.c (do_test): Adapt.
9410 * nptl/tst-sem11.c (main): Adapt.
9411 * nptl/sem_trywait.c: Remove.
9412 * nptl/DESIGN-sem.txt: Remove.
9413 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
9414 (gen-as-const-headers): Remove structsem.sym.
9415 * nptl/structsem.sym: Remove.
9416 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
9417 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
9418 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
9419 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
9420 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
9421 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
9422 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
9423 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
9424 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
9425 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
9426 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
9427 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
9428 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
9429 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
9430 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
9431 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
9432 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
9433 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
9434 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
9435 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
9436 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
9437 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
9438
9439 2015-01-20 Carlos O'Donell <carlos@redhat.com>
9440
9441 * INSTALL: Regenerated.
9442
9443 * po/libc.pot: Regenerated.
9444
9445 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
9446 Sandra Loosemore <sandra@codesourcery.com>
9447 Andrew Jenner <andrew@codesourcery.com>
9448 Joseph Myers <joseph@codesourcery.com>
9449 Nathan Sidwell <nathan@codesourcery.com>
9450
9451 * NEWS: Mention new Nios II port.
9452 * sysdeps/nios2/Implies: New file.
9453 * sysdeps/nios2/Makefile: New file.
9454 * sysdeps/nios2/Subdirs: New file.
9455 * sysdeps/nios2/Versions: New file.
9456 * sysdeps/nios2/__longjmp.S: New file.
9457 * sysdeps/nios2/abort-instr.h: New file.
9458 * sysdeps/nios2/backtrace.c: New file.
9459 * sysdeps/nios2/bits/endian.h: New file.
9460 * sysdeps/nios2/bits/fenv.h: New file.
9461 * sysdeps/nios2/bits/link.h: New file.
9462 * sysdeps/nios2/bits/setjmp.h: New file.
9463 * sysdeps/nios2/bsd-_setjmp.S: New file.
9464 * sysdeps/nios2/bsd-setjmp.S: New file.
9465 * sysdeps/nios2/configure: New generated file.
9466 * sysdeps/nios2/configure.ac: New file.
9467 * sysdeps/nios2/crti.S: New file.
9468 * sysdeps/nios2/crtn.S: New file.
9469 * sysdeps/nios2/dl-init.c: New file.
9470 * sysdeps/nios2/dl-machine.h: New file.
9471 * sysdeps/nios2/dl-sysdep.h: New file.
9472 * sysdeps/nios2/dl-tls.h: New file.
9473 * sysdeps/nios2/dl-trampoline.S: New file.
9474 * sysdeps/nios2/gccframe.h: New file.
9475 * sysdeps/nios2/gmp-mparam.h: New file.
9476 * sysdeps/nios2/jmpbuf-offsets.h: New file.
9477 * sysdeps/nios2/jmpbuf-unwind.h: New file.
9478 * sysdeps/nios2/ldsodefs.h: New file.
9479 * sysdeps/nios2/libc-tls.c: New file.
9480 * sysdeps/nios2/libm-test-ulps: New file.
9481 * sysdeps/nios2/machine-gmon.h: New file.
9482 * sysdeps/nios2/math-tests.h: New file.
9483 * sysdeps/nios2/math_private.h: New file.
9484 * sysdeps/nios2/memusage.h: New file.
9485 * sysdeps/nios2/nptl/Makefile: New file.
9486 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
9487 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
9488 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
9489 * sysdeps/nios2/nptl/pthreaddef.h: New file.
9490 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
9491 * sysdeps/nios2/nptl/tls.h: New file.
9492 * sysdeps/nios2/preconfigure: New file.
9493 * sysdeps/nios2/s_fma.c: New file.
9494 * sysdeps/nios2/s_fmaf.c: New file.
9495 * sysdeps/nios2/setjmp.S: New file.
9496 * sysdeps/nios2/sfp-machine.h: New file.
9497 * sysdeps/nios2/sotruss-lib.c: New file.
9498 * sysdeps/nios2/stackguard-macros.h: New file.
9499 * sysdeps/nios2/stackinfo.h: New file.
9500 * sysdeps/nios2/start.S: New file.
9501 * sysdeps/nios2/sysdep.h: New file.
9502 * sysdeps/nios2/tls-macros.h: New file.
9503 * sysdeps/nios2/tst-audit.h: New file.
9504 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
9505 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
9506 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
9507 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
9508 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
9509 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
9510 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
9511 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
9512 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
9513 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
9514 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
9515 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
9516 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
9517 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
9518 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
9519 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
9520 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
9521 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
9522 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
9523 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
9524 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
9525 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
9526 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
9527 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
9528 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
9529 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
9530 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
9531 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
9532 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
9533 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
9534 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
9535 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
9536 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
9537 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
9538 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
9539 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
9540 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
9541 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
9542 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
9543 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
9544 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
9545 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
9546 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
9547 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
9548
9549 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9550
9551 [BZ #17844]
9552 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
9553 (getutent): Use weak_alias in non SHARED case
9554 and default_symbol_version in SHARED case.
9555 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
9556 (getutent_r, pututline): Likewise.
9557 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
9558 (getutid): Likewise.
9559 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
9560 (getutid_r): Likewise.
9561 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
9562 (getutline): Likewise.
9563 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
9564 (getutline_r): Likewise.
9565 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
9566 (updwtmp): Likewise.
9567
9568 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9569
9570 [BZ #17848]
9571 * sysdeps/s390/s390-32/memcmp.S
9572 (memcmp_g5): Rename to __memcmp_g5.
9573 * sysdeps/s390/s390-32/memcpy.S
9574 (memcpy_g5): Rename to __memcpy_g5.
9575 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9576 (memcpy_mvcle) Rename to __memcpy_mvcle.
9577 * sysdeps/s390/s390-32/memset.S
9578 (memset_g5): Rename to __memset_g5.
9579 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9580 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9581 and use prefixed functions.
9582 * sysdeps/s390/s390-32/multiarch/memcmp.S
9583 (memcmp_z196): Rename to __memcmp_z196.
9584 (memcmp_z10): Rename to __memcmp_z10.
9585 (memcmp): Set alias to __memcmp_g5.
9586 (bcmp): Set alias to __memcmp_g5.
9587 * sysdeps/s390/s390-32/multiarch/memcpy.S
9588 (memcpy_z196): Rename to __memcpy_z196.
9589 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9590 (memcpy_z10): Rename to __memcpy_z10.
9591 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9592 (memcpy): Set alias to __memcpy_g5.
9593 * sysdeps/s390/s390-32/multiarch/memset.S
9594 (memset_z196): Rename to __memset_z196.
9595 Jump to __memset_mvcle instead of memset_mvcle.
9596 (memset_z10): Rename to __memset_z10.
9597 Jump to __memset_mvcle instead of memset_mvcle.
9598 (memset_mvcle) Rename to __memset_mvcle.
9599 (memset): Set alias to __memset_g5.
9600 * sysdeps/s390/s390-64/memcmp.S
9601 (memcmp_z900): Rename to __memcmp_z900.
9602 * sysdeps/s390/s390-64/memcpy.S
9603 (memcpy_z900): Rename to __memcpy_z900.
9604 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9605 (memcpy_mvcle) Rename to __memcpy_mvcle.
9606 * sysdeps/s390/s390-64/memset.S
9607 (memset_z900): Rename to __memset_z900.
9608 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
9609 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9610 and use prefixed functions.
9611 * sysdeps/s390/s390-64/multiarch/memcmp.S
9612 (memcmp_z196): Rename to __memcmp_z196.
9613 (memcmp_z10): Rename to __memcmp_z10.
9614 (memcmp): Set alias to __memcmp_z900.
9615 (bcmp): Set alias to __memcmp_z900.
9616 * sysdeps/s390/s390-64/multiarch/memcpy.S
9617 (memcpy_z196): Rename to __memcpy_z196.
9618 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9619 (memcpy_z10): Rename to __memcpy_z10.
9620 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9621 (memcpy): Set alias to __memcpy_z900.
9622 * sysdeps/s390/s390-64/multiarch/memset.S
9623 (memset_z196): Rename to __memset_z196.
9624 Jump to __memset_mvcle instead of memset_mvcle.
9625 (memset_z10): Rename to __memset_z10.
9626 Jump to __memset_mvcle instead of memset_mvcle.
9627 (memset_mvcle) Rename to __memset_mvcle.
9628 (memset): Set alias to __memset_z900.
9629
9630 2015-01-14 Joseph Myers <joseph@codesourcery.com>
9631
9632 [BZ #17748]
9633 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
9634 __fesetenv instead of fesetenv.
9635
9636 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9637
9638 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
9639 macro.
9640
9641 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9642
9643 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
9644 regression on LE.
9645
9646 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
9647 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
9648 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9649 strncmp-power8 object.
9650 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9651 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
9652 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
9653 * NEWS: Update.
9654
9655 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9656 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9657
9658 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
9659 trailing byte check.
9660
9661 2015-01-13 David S. Miller <davem@davemloft.net>
9662
9663 * include/signal.h (__sigreturn): Guard with __USE_MISC.
9664
9665 2015-01-13 Roland McGrath <roland@hack.frob.com>
9666
9667 * login/logout.c (logout): Use memset rather than bzero.
9668 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
9669 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
9670 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
9671 (_gethtbyaddr): Likewise.
9672 * locale/programs/simple-hash.c (bcopy): Macro removed.
9673
9674 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9675
9676 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9677 Add strcmp-power8 object.
9678 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9679 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
9680 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
9681 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
9682 __strcmp_power8 implementation.
9683 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
9684 * NEWS: Update.
9685
9686 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9687 Add strncpy-power8 and stpncpy-power8 objects.
9688 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9689 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
9690 implementations.
9691 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
9692 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
9693 __stpncpy_power8 implementation.
9694 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
9695 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
9696 __strncpy_power8 implementation.
9697 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
9698 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
9699 * NEWS: Update.
9700
9701 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
9702 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
9703 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
9704
9705 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9706 strncat-power8 object.
9707 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
9708 __strcat_power8 implementation.
9709 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9710 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
9711 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
9712 optimized strcat for power8.
9713
9714 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9715 strcpy-power8 and stpcpy-power8 objects.
9716 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9717 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
9718 implementations.
9719 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
9720 multiarch stpcpy implementation for POWER8.
9721 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
9722 multiarch strcpy implementation for POWER8.
9723 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
9724 __strcpy_power8 function.
9725 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
9726 stpcpy for POWER8.
9727 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
9728 strcpy for POWER8.
9729 * NEWS: Update.
9730
9731 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
9732
9733 [BZ #16009]
9734 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
9735 weights and rules. Use do_xfrm_cached if data fits in cache,
9736 do_xfrm otherwise. Moved former main loop to...
9737 * (do_xfrm_cached): New function.
9738 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
9739 find_idx, find_position and stack_push.
9740 * (find_idx): New function.
9741 * (find_position): Likewise.
9742 * localedata/sort-test.sh: Added test run for do_xfrm.
9743 * localedata/xfrm-test.c (main): Added command line option
9744 -nocache to run the test with strings that are too large for
9745 the STRXFRM cache.
9746
9747 2015-01-13 Torvald Riegel <triegel@redhat.com>
9748
9749 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
9750 variable to lll_futex_wake call, not the value itself.
9751
9752 2015-01-12 Joseph Myers <joseph@codesourcery.com>
9753
9754 [BZ #17803]
9755 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
9756 twom64. Adjust value to 0x1p-64L.
9757 (__scalblnl): Only return standard underflowing result for K <=
9758 -64 not K <= -63; adjust exponent for underflowing result by 64
9759 not 63.
9760 * math/libm-test.inc (scalbn_test_data): Add more tests.
9761 (scalbln_test_data): Likewise.
9762
9763 [BZ #17834]
9764 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
9765 0x1p63L.
9766 (__scalblnl): Get new exponent of adjusted subnormal value from ES
9767 not HX.
9768 * math/libm-test.inc (scalbn_test_data): Add more tests.
9769 (scalbln_test_data): Likewise.
9770
9771 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9772 Stefani Seibold <stefani@seibold.net>
9773
9774 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
9775 (sysdep_routines): Add dl-vdso here, ...
9776 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
9777 (sysdep_routines): ... not here.
9778 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
9779 fallback when vDSO is not presented.
9780 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
9781 Define with libc_hidden_proto/libc_hidden_data_def definitions.
9782 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
9783 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
9784 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
9785 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
9786 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
9787 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
9788 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
9789 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
9790 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
9791 fallback configurable symbol when vDSO is not available.
9792 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
9793 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
9794 be able to redefine fallback symbol when vDSO is not available.
9795 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
9796 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
9797
9798 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9799
9800 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
9801 (TLS_INIT_TP): Add tm_capable initialization.
9802 (TLS_DEFINE_INIT_TP): Likewise.
9803 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
9804 TCB.
9805 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
9806 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
9807 calculation.
9808 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
9809 transactoion is lock elision is built and TCB tm_capable is set.
9810 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
9811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9812 (INTERNAL_SYSCALL_NCS): Likewise.
9813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9814 (INTERNAL_SYSCALL_NCS): Likewise.
9815 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
9816
9817 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
9818 for powerpc.
9819 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9820 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
9821 and remove it for 32 bits case.
9822 [pthread_rwlock_t] (__rwelision): New field for lock elision.
9823 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
9824 initialization.
9825 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
9826 Disable lock elision with rdlocks if elision is not available.
9827
9828 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
9829 (sysdep_routines): Add lock elision objects.
9830 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9831 [pthread_mutex_t] (__spins): Rework to add lock elision field.
9832 [pthread_mutex_t] (__elision): Add field.
9833 [__PTHREAD_SPINS]: Adjust to init lock elision field.
9834 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
9835 elision definitions for powerpc.
9836 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
9837 implementation of lock elision for powerpc.
9838 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
9839 implementation of timed lock elision for powerpc.
9840 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
9841 implementation of trylock with lock elision for powerpc.
9842 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
9843 implementaion of unlock for lock elision for powerpc.
9844 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
9845 automatic enable lock elision for mutexes.
9846 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
9847 transaction execution definitions for powerpc.
9848 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
9849 definitions.
9850 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
9851 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
9852 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
9853 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
9854 * NEWS: Update.
9855
9856 2015-01-09 Roland McGrath <roland@hack.frob.com>
9857
9858 * sysdeps/posix/shm-directory.c: Use <> rather than ""
9859 for #include of <shm-directory.h>.
9860
9861 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
9862
9863 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
9864 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
9865
9866 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
9867
9868 [BZ #17791]
9869 * NEWS: Mention bug fix.
9870 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
9871 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
9872 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
9873
9874 2015-01-09 Torvald Riegel <triegel@redhat.com>
9875
9876 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
9877
9878 2015-01-09 Torvald Riegel <triegel@redhat.com>
9879
9880 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
9881
9882 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9883
9884 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
9885 pointer and cast to uintptr_t.
9886
9887 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9888
9889 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
9890 removed.
9891 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
9892
9893 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9894
9895 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
9896 of 0.
9897
9898 2015-01-08 Roland McGrath <roland@hack.frob.com>
9899
9900 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
9901 <nptl/pthreadP.h> instead.
9902 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
9903
9904 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
9905 already defined.
9906 [__SIGRTMIN] (init): Function removed.
9907 [__SIGRTMIN] (initialized): Variable removed.
9908 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
9909 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
9910 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
9911 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
9912 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
9913 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
9914 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
9915 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
9916 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
9917 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
9918 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
9919 * sysdeps/nptl/allocrtsig.c: New file.
9920 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
9921 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
9922 * sysdeps/generic/testrtsig.h: File removed.
9923
9924 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
9925 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
9926
9927 * nptl/nptl-init.c (pthread_functions): Conditionalize
9928 .ptr__nptl_setxid initialization on [SIGSETXID].
9929
9930 * sysdeps/nptl/sys/procfs.h: New file.
9931 * nptl_db/Makefile (headers): Add it.
9932 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
9933
9934 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
9935 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
9936 * nptl/pthread_attr_setaffinity.c: Include it.
9937 * nptl/pthread_setattr_default_np.c: Likewise.
9938 * nptl/check-cpuset.h: New file.
9939
9940 2015-01-08 Richard Henderson <rth@redhat.com>
9941
9942 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
9943 (CFLAGS-tst-execstack-prog.c): Likewise.
9944 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
9945
9946 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
9947 Sandra Loosemore <sandra@codesourcery.com>
9948 Andrew Jenner <andrew@codesourcery.com>
9949 Joseph Myers <joseph@codesourcery.com>
9950 Nathan Sidwell <nathan@codesourcery.com>
9951
9952 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
9953 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
9954 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
9955 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
9956 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
9957 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
9958 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
9959 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
9960 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
9961 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
9962 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
9963 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
9964 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
9965 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
9966 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
9967 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
9968 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
9969
9970 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9971
9972 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
9973 timespec struct member in syscall macro.
9974 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9975 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
9976 first timeval struct member in syscall macro.
9977 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
9978
9979 2015-01-07 Joseph Myers <joseph@codesourcery.com>
9980
9981 [BZ #17748]
9982 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
9983 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
9984 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
9985 __feupdateenv and define as weak alias of __feupdateenv. Use
9986 libm_hidden_weak.
9987 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
9988 libm_hidden_def.
9989 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
9990 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
9991 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9992 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
9993 libm_hidden_def.
9994 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
9995 __feupdateenv and define as weak alias of __feupdateenv. Use
9996 libm_hidden_weak.
9997 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
9998 libm_hidden_def.
9999 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
10000 __feupdateenv and define as weak alias of __feupdateenv. Use
10001 libm_hidden_weak.
10002 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
10003 libm_hidden_def.
10004 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10005 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10006 (__feupdateenv): Likewise.
10007 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
10008 __feupdateenv and define as weak alias of __feupdateenv. Use
10009 libm_hidden_weak.
10010 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10011 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
10012 libm_hidden_def.
10013 * sysdeps/tile/math_private.h (__feupdateenv): New inline
10014 function.
10015 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
10016 libm_hidden_def.
10017 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
10018 __feupdateenv instead of feupdateenv.
10019 (default_libc_feupdateenv_test): Likewise.
10020 (libc_feresetround_ctx): Likewise.
10021
10022 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10023
10024 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
10025 prototype.
10026
10027 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
10028
10029 * posix/regcomp.c (parse_bracket_exp): Initialize type to
10030 COLL_SYM in a couple of places to avoid uninitialized variable
10031 wanings on tilegx gcc 4.8.2.
10032
10033 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
10034
10035 * sysdeps/aarch64/strcpy.S: New file.
10036 * sysdeps/aarch64/stpcpy.S: New file.
10037 * NEWS: Updated.
10038
10039 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
10040
10041 * sysdeps/aarch64/strrchr.S: New file.
10042 * NEWS: Updated.
10043
10044 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
10045
10046 [BZ #17658]
10047 * stdlib/setenv.c: Fix memory leak when setting large,
10048 duplicate string.
10049
10050 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
10051
10052 [BZ #17273]
10053 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
10054 and tabs from buffer before parsing fstab entry.
10055 * misc/tst-mntent.c (main): Add test for mount entry with
10056 trailing spaces and tabs.
10057
10058 2015-01-06 Joseph Myers <joseph@codesourcery.com>
10059
10060 [BZ #17748]
10061 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
10062 * math/fesetround.c (fesetround): Rename to __fesetround and
10063 define as weak alias of __fesetround. Use libm_hidden_weak.
10064 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
10065 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
10066 * sysdeps/arm/fesetround.c (fesetround): Likewise.
10067 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
10068 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
10069 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
10070 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
10071 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
10072 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
10073 __fesetround_inline.
10074 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
10075 __fesetround_inline instead of __fesetround.
10076 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
10077 __fesetround and define as weak alias of __fesetround. Use
10078 libm_hidden_weak. Call __fesetround_inline instead of
10079 __fesetround.
10080 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
10081 __fesetround and define as weak alias of __fesetround. Use
10082 libm_hidden_weak.
10083 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
10084 Likewise.
10085 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
10086 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10087 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
10088 * sysdeps/tile/math_private.h (__fesetround): New inline function.
10089 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
10090 __fesetround and define as weak alias of __fesetround. Use
10091 libm_hidden_weak.
10092 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
10093 __fesetround instead of fesetround.
10094 (default_libc_feholdexcept_setround): Likewise.
10095 (libc_feholdsetround_ctx): Likewise.
10096 (libc_feholdsetround_noex_ctx): Likewise.
10097
10098 [BZ #17748]
10099 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
10100 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
10101 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10102 and define as weak alias of __fesetenv. Use libm_hidden_weak.
10103 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10104 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
10105 define as weak alias of __fesetenv. Use libm_hidden_weak.
10106 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
10107 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10108 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10109 define as weak alias of __fesetenv. Use libm_hidden_weak.
10110 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10111 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10112 define as weak alias of __fesetenv. Use libm_hidden_weak.
10113 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
10114 libm_hidden_def.
10115 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
10116 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
10117 Likewise.
10118 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10119 define as weak alias of __fesetenv. Use libm_hidden_weak.
10120 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10121 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10122 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
10123 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10124 and define as weak alias of __fesetenv. Use libm_hidden_weak.
10125 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
10126 __fesetenv instead of fesetenv.
10127 (libc_feresetround_noex_ctx): Likewise.
10128 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10129 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
10130 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
10131 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10132 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10133 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10134 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10135 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10136 (__feupdateenv): Likewise.
10137 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10138 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10139 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10140 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
10141
10142 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
10143
10144 [BZ #17806]
10145 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
10146 addresses have been freed.
10147
10148 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
10149
10150 * resolv/res_init.c (__res_vinit): Improve comments about nserv
10151 and nservall.
10152
10153 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
10154
10155 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
10156 Clean up check_pf allocation pattern. addresses
10157
10158 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10159
10160 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
10161 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
10162 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
10163 * nptl/pthread_exit.c (__pthread_exit): Likewise.
10164 * nptl/pthread_join.c (pthread_join): Likewise.
10165 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
10166 * sysdeps/posix/waitid.c (__waitid): Likewise.
10167 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
10168 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
10169 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
10170 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
10171 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
10172 Likewise.
10173 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
10174 (__libc_pread64): Likewise.
10175 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
10176 (__libc_pwrite): Likewise.
10177 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
10178 (__libc_pwrite64): Likewsie.
10179 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
10180 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
10181 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
10182 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
10183 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
10184 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
10185 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
10187 Likewise.
10188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10189 (__libc_pread64): Likewise.
10190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
10191 Likewise.
10192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10193 (__libc_pwrite64): Likewise.
10194 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
10195 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
10196 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
10197 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
10198 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10199 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10200 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
10201 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
10202 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
10203 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
10204 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
10205 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
10206 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
10207 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
10208 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10209 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
10210 Likewise.
10211
10212 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
10213
10214 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
10215 (CFLAGS-test-double.c): Likewise.
10216 (CFLAGS-test-ldouble.c): Likewise.
10217 (CPPFLAGS-test-ifloat.c): Likewise.
10218 (CPPFLAGS-test-idouble.c): Likewise.
10219 (CPPFLAGS-test-ildoubl.c): Likewise.
10220 (CFLAGS-test-test-fenv.c): Remove variable.
10221 (CFLAGS-test-misc.c): Likewise.
10222
10223 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
10224
10225 [BZ #17797]
10226 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
10227 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
10228 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
10229 CLOCKS_PER_SEC == 1000000.
10230 * time/clocktest.c (main): Replace %ld with %jd and cast to
10231 intmax_t.
10232
10233 2015-01-05 Roland McGrath <roland@hack.frob.com>
10234
10235 * sysdeps/generic/unwind-resume.h: New file.
10236 * sysdeps/gnu/unwind-resume.c: Include it.
10237 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
10238 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
10239 argument list.
10240 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
10241 global rather than static.
10242 (_Unwind_Resume): Update user.
10243 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
10244 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
10245 rather than static. Add __attribute__ ((cold)).
10246 (_Unwind_Resume, __gcc_personality_v0): Update callers.
10247 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
10248 * sysdeps/arm/arm-unwind-resume.S: New file.
10249 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
10250 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
10251 * sysdeps/arm/Makefile [$(subdir) = csu]
10252 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
10253 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10254 Add rt-arm-unwind-resume.
10255 [$(subdir) = nptl]
10256 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10257 Add pt-arm-unwind-resume.
10258 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
10259 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
10260
10261 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10262
10263 [BZ #17748]
10264 * include/fenv.h (__feholdexcept): Declare. Use
10265 libm_hidden_proto.
10266 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
10267 define as weak alias of __feholdexcept. Use libm_hidden_weak.
10268 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10269 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
10270 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
10271 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
10272 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
10273 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10274 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
10275 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
10276 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10277 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
10278 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
10279 (feholdexcept): Likewise.
10280 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10281 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10282 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10283 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10284 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
10285 __feholdexcept instead of feholdexcept.
10286 (default_libc_feholdexcept_setround): Likewise.
10287
10288 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10289
10290 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
10291 to avoid using stl/str to align destination.
10292
10293 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10294
10295 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
10296
10297 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10298
10299 [BZ #17796]
10300 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
10301 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
10302 Define as weak alias not strong alias.
10303
10304 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10305
10306 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
10307 bltzal with addiupc.
10308 (RTLD_START): Ditto.
10309
10310 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
10311
10312 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
10313 for __vdso_* functions in declarations.
10314 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
10315 definitions.
10316 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
10317 INTERNAL_VSYSCALL): Use struct return types to check for error.
10318
10319 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
10320 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
10321 function with cast from llround().
10322 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
10323 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10324 Define.
10325
10326 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10327
10328 [BZ #17793]
10329 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
10330 Define as weak alias not strong alias.
10331
10332 [BZ #17635]
10333 * ctype/ctype-c99.c: New file. isblank implementation moved from
10334 ...
10335 * ctype/ctype-extn.c: ... here.
10336 (__isblank_l): Move to ...
10337 * ctype/ctype-c99_l.c: ... here. New file.
10338 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
10339 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
10340 Remove variable.
10341 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10342 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10343 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10344 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10345 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10346
10347 [BZ #17777]
10348 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
10349 (posix_fadvise64): Define as weak alias not strong alias.
10350 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10351 (posix_fallocate64): Likewise.
10352 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
10353 Remove variable.
10354 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10355 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10356 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10357 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10358 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10359
10360 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
10361
10362 [BZ #16191]
10363 * NEWS: Mention bug fix.
10364 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
10365 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
10366 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
10367 (HOST_STACK_END_ADDR): Likewise.
10368
10369 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10370
10371 [BZ #17748]
10372 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
10373 * math/fegetround.c (fegetround): Rename to __fegetround and
10374 define as weak alias of __fegetround. Use libm_hidden_weak.
10375 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
10376 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
10377 * sysdeps/arm/fegetround.c (fegetround): Likewise.
10378 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
10379 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10380 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
10381 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
10382 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
10383 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10384 Undefine after rather than before function definition; use
10385 parentheses around function name in definition.
10386 (__fegetround): Also undefine macro after function definition.
10387 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
10388 __fegetround and define as weak alias of __fegetround. Use
10389 libm_hidden_weak. Do not undefine as macro.
10390 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10391 Likewise.
10392 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
10393 __fegetround and define as weak alias of __fegetround. Use
10394 libm_hidden_weak.
10395 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10396 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10397 * sysdeps/tile/math_private.h (__fegetround): New inline function.
10398 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
10399 __fegetround and define as weak alias of __fegetround. Use
10400 libm_hidden_weak.
10401 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
10402 __fegetround instead of fegetround.
10403
10404 [BZ #17782]
10405 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
10406 Condition macro definition on [__USE_MISC].
10407
10408 [BZ #17781]
10409 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
10410 (struct sigaction): Change type of sa_flags field to int.
10411
10412 [BZ #17780]
10413 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
10414 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
10415 __glibc_reserved0.
10416
10417 * nptl/version.c (banner): Use single year in copyright notice.
10418
10419 * NEWS: Update copyright dates.
10420 * catgets/gencat.c (print_version): Likewise.
10421 * csu/version.c (banner): Likewise.
10422 * debug/catchsegv.sh: Likewise.
10423 * debug/pcprofiledump.c (print_version): Likewise.
10424 * debug/xtrace.sh (do_version): Likewise.
10425 * elf/ldconfig.c (print_version): Likewise.
10426 * elf/ldd.bash.in: Likewise.
10427 * elf/pldd.c (print_version): Likewise.
10428 * elf/sotruss.sh: Likewise.
10429 * elf/sprof.c (print_version): Likewise.
10430 * iconv/iconv_prog.c (print_version): Likewise.
10431 * iconv/iconvconfig.c (print_version): Likewise.
10432 * locale/programs/locale.c (print_version): Likewise.
10433 * locale/programs/localedef.c (print_version): Likewise.
10434 * login/programs/pt_chown.c (print_version): Likewise.
10435 * malloc/memusage.sh (do_version): Likewise.
10436 * malloc/memusagestat.c (print_version): Likewise.
10437 * malloc/mtrace.pl: Likewise.
10438 * manual/libc.texinfo: Likewise.
10439 * nptl/version.c (banner): Likewise.
10440 * nscd/nscd.c (print_version): Likewise.
10441 * nss/getent.c (print_version): Likewise.
10442 * nss/makedb.c (print_version): Likewise.
10443 * posix/getconf.c (main): Likewise.
10444 * scripts/test-installation.pl: Likewise.
10445 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10446
10447 2015-01-02 Will Newton <will.newton@linaro.org>
10448
10449 * sysdeps/arm/armv7/configure: Removed.
10450 * sysdeps/arm/armv7/configure.ac: Likewise.
10451
10452 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10453
10454 * All files with FSF copyright notices: Update copyright dates
10455 using scripts/update-copyrights.
10456 * intl/plural.c: Regenerated.
10457 * locale/programs/charmap-kw.h: Likewise.
10458 * locale/programs/locfile-kw.h: Likewise.
10459
10460 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10461
10462 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
10463
10464 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10465
10466 [BZ #17748]
10467 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
10468 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
10469 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10470 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10471 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10472 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
10473 define as weak alias of __fegetenv. Use libm_hidden_weak.
10474 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
10475 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10476 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10477 define as weak alias of __fegetenv. Use libm_hidden_weak.
10478 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10479 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10480 define as weak alias of __fegetenv. Use libm_hidden_weak.
10481 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
10482 libm_hidden_def.
10483 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
10484 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
10485 Likewise.
10486 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10487 define as weak alias of __fegetenv. Use libm_hidden_weak.
10488 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10489 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10490 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
10491 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10492 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10493 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
10494 __fegetenv instead of fegetenv.
10495 (libc_feholdsetround_noex_ctx): Likewise.
10496
10497 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
10498
10499 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
10500 (Elf_MIPS_ABIFlags_v0): New structure.
10501 (EF_MIPS_FP64): Define.
10502 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
10503 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
10504 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
10505 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
10506 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
10507 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
10508 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
10509 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
10510 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
10511 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
10512 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
10513 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
10514 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
10515 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
10516 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
10517 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
10518 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
10519 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
10520 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
10521 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
10522 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
10523 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
10524 field.
10525 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
10526 EF_MIPS_FP64.
10527 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
10528 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
10529 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
10530 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
10531 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
10532 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
10533 * sysdeps/mips/tst-abi-interlink.c: Likewise.
10534 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
10535 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
10536 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
10537 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
10538 record the current FP ABI extension.
10539 (mips-mode-switch): Define to show if kernel headers support mode
10540 switching.
10541 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10542 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
10543 supported SYSV ABI version to 3.
10544 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
10545 feature.
10546
10547 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10548 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10549
10550 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
10551 path.
10552 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
10553
10554 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10555
10556 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
10557 __fegetround and redefine to call __fegetround. Remove condition
10558 on [!__NO_MATH_INLINES].
10559 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
10560 function.
10561 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
10562 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10563 Remove macro.
10564 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
10565 instead of <fenv_libc.h>.
10566 (__llrintl): Call fegetround instead of __fegetround.
10567 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
10568 instead of <fenv_libc.h>.
10569 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10570 (__lrintl): Call fegetround instead of __fegetround.
10571 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
10572 instead of <fenv_libc.h>.
10573 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10574 (__rintl): Call fegetround instead of __fegetround.
10575
10576 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10577
10578 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
10579 arrays.
10580
10581 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10582
10583 [BZ #17775]
10584 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
10585 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
10586 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
10587
10588 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10589
10590 * sysdeps/i386/tls-macros.h: Include <features.h>.
10591 (TLS_LE): Use non-PIC version for GCC >= 5.0.
10592 (TLS_IE): Likewise.
10593 (TLS_LD): Likewise.
10594 (TLS_GD): Likewise.
10595 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
10596 define for GCC >= 5.0.
10597
10598 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
10599
10600 * math/test-fenv.c (test_single_exception, set_single_exc,
10601 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
10602 feexcp_mask_test, feenable_test, fe_single_test): Add
10603 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
10604 case where they are not used.
10605 * math/libm-test.inc: Likewise.
10606 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
10607 unused in the absence of FP rounding/exception support.
10608 * stdio-common/tst-printf-round.c: Likewise.
10609 * stdlib/tst-strtod-round.c: Likewise.
10610 * stdlib/tst-strtod-underflow.c: Likewise.
10611
10612 2014-12-30 Joseph Myers <joseph@codesourcery.com>
10613
10614 [BZ #17723]
10615 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
10616 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
10617 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10618 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10619 libm_hidden_weak.
10620 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
10621 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10622 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
10623 libm_hidden_def.
10624 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10625 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10626 libm_hidden_weak.
10627 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
10628 Likewise.
10629 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
10630 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10631 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10632 libm_hidden_weak.
10633 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10634 libm_hidden_def.
10635 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10636 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
10637 (__feraiseexcept): Likewise.
10638 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10639 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10640 libm_hidden_weak.
10641 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10642 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10643 libm_hidden_def.
10644 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
10645 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
10646 Use libm_hidden_def.
10647 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
10648 libm_hidden_def.
10649 (feraiseexcept): Define as weak not strong alias. Use
10650 libm_hidden_weak.
10651 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
10652 New inline function. Factored out of ...
10653 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
10654 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
10655 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
10656 feraiseexcept.
10657 * math/w_acos.c (__acos): Likewise.
10658 * math/w_asin.c (__asin): Likewise.
10659 * math/w_ilogb.c (__ilogb): Likewise.
10660 * math/w_j0.c (y0): Likewise.
10661 * math/w_j1.c (y1): Likewise.
10662 * math/w_jn.c (yn): Likewise.
10663 * math/w_log.c (__log): Likewise.
10664 * math/w_log10.c (__log10): Likewise.
10665 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
10666 * sysdeps/aarch64/fpu/math_private.h
10667 (libc_feupdateenv_test_aarch64): Likewise.
10668 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10669 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
10670 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
10671 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10672 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10673 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10674 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
10675 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10676 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10677 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10678
10679 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10680
10681 [BZ #17732]
10682 * io/test-utime.c (main): Replace %ld with %jd and cast to
10683 intmax_t.
10684 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
10685 * nptl/tst-mutex5.c: Include <stdint.h>.
10686 (do_test): Replace %ld with %jd and cast to intmax_t.
10687 * posix/tst-regex.c (run_test): Likewise.
10688 (run_test_backwards): Likewise.
10689 * rt/tst-clock.c: Include <stdint.h>.
10690 (clock_test): Replace %ld with %jd and cast to intmax_t.
10691 * rt/tst-cpuclock1.c: Include <stdint.h>.
10692 (do_test): Replace %lu with %ju and cast to uintmax_t.
10693 * rt/tst-cpuclock2.c: Include <stdint.h>.
10694 (do_test): Replace %lu with %ju and cast to uintmax_t.
10695 * rt/tst-mqueue1.c: Include <stdint.h>.
10696 (check_attrs): Replace %ld with %jd and cast to intmax_t.
10697 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
10698 intmax_t.
10699 * rt/tst-mqueue4.c (do_test): Likewise.
10700 * rt/tst-timer4.c: Include <stdint.h>.
10701 (check_ts): Replace %ld with %jd and cast to intmax_t.
10702 (do_test): Likewise.
10703 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
10704 and cast to intmax_t.
10705 * sysdeps/pthread/tst-timer.c (main): Likewise.
10706 * time/clocktest.c (main): Likewise.
10707 * time/tst-posixtz.c (do_test): Likewise.
10708 * timezone/tst-timezone.c (main): Likewise.
10709
10710 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10711 H.J. Lu <hongjiu.lu@intel.com>
10712
10713 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
10714 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
10715 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
10716 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
10717 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
10718 version if bit_Fast_Unaligned_Load is set.
10719 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10720 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10721 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10722 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10723 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10724 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10725 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10726 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
10727 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
10728 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
10729 to 4.
10730 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
10731 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
10732 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
10733 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
10734
10735 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
10736
10737 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
10738 instead of #if to avoid a Wundef warning.
10739 * stdlib/tst-limits.c (do_test): Likewise.
10740
10741 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
10742 parallel other exception macros.
10743 (fegetenv): Convert from macro to extern inline so that it applies
10744 retroactively to inline functions already seen by the compiler.
10745 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
10746
10747 * posix/Makefile (before-compile): Use $(objpfx) for
10748 posix-conf-vars-def.h.
10749
10750 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10751
10752 * posix/getconf.c (main): Use size_t for type of I.
10753 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
10754 NSPEC.
10755
10756 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
10757 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
10758 * posix/posix-envs.def: Likewise.
10759 * sysdeps/posix/sysconf.c: Likewise.
10760 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
10761 (specs): Remove array.
10762 * scripts/gen-posix-conf-vars.awk: Support generation of specs
10763 array.
10764
10765 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
10766 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
10767 (__sysconf): Use CONF_IS_* macros.
10768
10769 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
10770 ($(objpfx)posix-conf-vars-def.h): New target.
10771 * posix/posix-conf-vars.list: New file.
10772 * posix/posix-conf-vars.h: New file.
10773 * posix/confstr.c: Include posix-conf-vars.h.
10774 (confstr): Use CONF_IS_* macros.
10775 * posix/posix-envs.def: Include posix-conf-vars.h. Use
10776 CONF_IS_* macros.
10777 * scripts/gen-posix-conf-vars.awk: New file.
10778
10779 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
10780
10781 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
10782 fegetround): Add no-op macros to avoid linknamespace issues.
10783
10784 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
10785 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
10786
10787 * sysdeps/unix/sysv/linux/tile/sysdep.h
10788 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
10789 assembly-specific section to avoid a redefinition warning.
10790
10791 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
10792 long before casting to pointer to avoid a cast warning.
10793
10794 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
10795
10796 * sysdeps/tile/tilegx/Implies: New file.
10797
10798 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
10799
10800 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
10801
10802 2014-12-23 Florian Weimer <fweimer@redhat.com>
10803
10804 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
10805
10806 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10807
10808 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
10809 not define.
10810 * sysdeps/unix/sysv/linux/utimes.c: Do not include
10811 <kernel-features.h>.
10812 (__utimes) [__NR_utimes]: Make code unconditional.
10813 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
10814 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10815 (__ASSUME_UTIMES): Do not undefine.
10816 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10817 (__ASSUME_UTIMES): Likewise.
10818 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10819 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
10820 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
10821 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
10822
10823 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
10824
10825 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
10826
10827 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
10828
10829 [BZ #17747]
10830 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
10831 alias to weak alias for j0l, y0l.
10832 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
10833 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
10834
10835 [BZ #17746]
10836 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
10837 conversion.
10838
10839 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
10840
10841 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
10842 to zero if not already defined.
10843
10844 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10845
10846 [BZ #17724]
10847 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
10848 (__kernel_standard_f): Remove. Moved to k_standardf.c.
10849 (__kernel_standard_l): Remove. Moved to k_standardl.c with
10850 (char *) casts added.
10851 * sysdeps/ieee754/k_standardf.c: New file.
10852 * sysdeps/ieee754/k_standardl.c: Likewise.
10853 * math/Makefile (libm-support): Remove k_standard.
10854 (libm-calls): Add k_standard.
10855
10856 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10857
10858 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10859 Optimize to avoid an unnecessary FPCR read.
10860
10861 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10862
10863 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10864 Optimize to reduce FPCR/FPSR accesses.
10865
10866 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10867
10868 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
10869 Call libc_fetestexcept_aarch64.
10870
10871 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10872
10873 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
10874 Call libc_fesetround_aarch64.
10875
10876 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10877
10878 [BZ #17733]
10879 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
10880 (__bind): Do not define as weak alias.
10881 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
10882 define.
10883 (__getsockname): Do not define as weak alias.
10884
10885 2014-12-22 Will Newton <will.newton@linaro.org>
10886
10887 * manual/install.texi: Document that we require bison 2.7
10888 or above.
10889 * INSTALL: Regenerate.
10890 * configure.ac: Use AC_CHECK_PROG_VER instead of
10891 AC_PATH_PROG when checking for bison and check for
10892 version 2.7 or above.
10893 * configure: Regenerate.
10894
10895 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
10896
10897 [BZ #17745]
10898 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
10899 * sysdeps/tile/ffsll.c (ffsll): To here.
10900
10901 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
10902
10903 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
10904
10905 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
10906 if not defined.
10907 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
10908 definition.
10909 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10910 hidden ___tls_get_addr.
10911 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10912 hidden __tls_get_addr.
10913 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
10914 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
10915 Likewise.
10916
10917 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
10918
10919 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
10920 _dl_init call.
10921
10922 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
10923
10924 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
10925 from "call _dl_init@PLT".
10926 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
10927
10928 2014-12-21 Anders Kaseorg <andersk@mit.edu>
10929
10930 * manual/search.texi: (Array Sort Function): Clarify stable sorting
10931 guarantees.
10932
10933 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
10934
10935 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
10936
10937 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
10938
10939 [BZ #17744]
10940 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
10941 strnlen.
10942
10943 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
10944
10945 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
10946 of multu on MIPSr6.
10947 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
10948 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
10949 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
10950 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
10951 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
10952
10953 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
10954
10955 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
10956 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
10957 (PTR_SUBU): Use subu for mips32r6/mips64r6.
10958 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
10959 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
10960 mips32r6/mips64r6.
10961 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
10962
10963 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
10964
10965 * string/strncat.c (STRNCAT): Simplify implementation.
10966
10967 2014-12-19 David S. Miller <davem@davemloft.net>
10968
10969 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
10970 access the quad as both a long double and as a series of 4 words.
10971
10972 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
10973 link_map->l_info array access.
10974
10975 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
10976
10977 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
10978
10979 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
10980 * math/atest-exp2.c (TIMEOUT): Likewise.
10981 * math/atest-sincos.c (TIMEOUT): Likewise.
10982
10983 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
10984
10985 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
10986 -Wno-error with -fno-builtin-lround.
10987
10988 2014-12-19 Torvald Riegel <triegel@redhat.com>
10989
10990 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
10991 Contains futex constants and functions moved over from ...
10992 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
10993 <lowlevellock-futex.h>.
10994 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10995 (lll_timedwait_tid): Add comments and parentheses around macro
10996 arguments.
10997
10998 2014-12-19 Torvald Riegel <triegel@redhat.com>
10999
11000 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
11001 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
11002 (__lll_private_flag): Remove.
11003 (lll_futex_wait): Likewise.
11004 (lll_futex_timed_wait): Likewise.
11005 (lll_futex_wake): Likewise.
11006 (lll_futex_requeue): Likewise.
11007 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
11008 (__lll_timedwait_tid): Spell out argument names.
11009 (lll_timedwait_tid): Add comments and parentheses around macro
11010 arguments.
11011 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
11012 LLL_SHARED and LLL_PRIVATE usable from assembly code.
11013
11014 2014-12-19 Torvald Riegel <triegel@redhat.com>
11015
11016 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
11017 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11018 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11019 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
11020 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
11021 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
11022 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
11023 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
11024 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
11025 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
11026 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
11027 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
11028 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
11029 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
11030 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
11031 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
11032 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
11033 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
11034 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
11035
11036 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11037
11038 * sysdeps/x86_64/x32/Makefile: New file.
11039
11040 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11041
11042 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
11043 1L with (mp_limb_t) 1.
11044
11045 2014-12-17 Roland McGrath <roland@hack.frob.com>
11046
11047 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
11048 * nptl/libc_pthread_init.c: ... here.
11049 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
11050 * nptl/register-atfork.c: ... here.
11051
11052 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
11053 Use pthread_sigmask rather than INTERNAL_SYSCALL.
11054 Use assert_perror to check its return value.
11055 (__gai_create_helper_thread): Likewise.
11056
11057 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
11058
11059 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
11060
11061 2014-12-17 Joseph Myers <joseph@codesourcery.com>
11062
11063 [BZ #17725]
11064 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
11065 __profil_counter.
11066 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
11067 Likewise.
11068 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
11069 Likewise.
11070 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
11071 Likewise.
11072 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
11073 (profil_counter): Likewise.
11074 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
11075 (profil_counter): Likewise.
11076 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
11077 Likewise.
11078 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
11079 Likewise.
11080 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
11081 (profil_counter): Likewise.
11082 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
11083 Likewise.
11084 [!__profil_counter] (profil_counter): Define as weak alias of
11085 __profil_counter.
11086 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
11087 (profil_counter): Rename to __profil_counter.
11088 [!__profil_counter] (profil_counter): Define as weak alias of
11089 __profil_counter.
11090 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
11091 (profil_counter): Rename to __profil_counter.
11092 [!__profil_counter] (profil_counter): Define as weak alias of
11093 __profil_counter.
11094 * sysdeps/posix/profil.c: Update comment referring to
11095 profil_counter.
11096 (__profil): Use __profil_counter instead of profil_counter.
11097 * sysdeps/posix/sprofil.c (profil_counter): Rename to
11098 __profil_counter. Use __profil_counter_ushort and
11099 __profil_counter_uint in definitions.
11100 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
11101 instead of profil_counter_uint and profil_counter_ushort.
11102
11103 [BZ #17722]
11104 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
11105 define as weak alias of __inet_makeaddr.
11106 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
11107 as weak alias of __inet_addr.
11108 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
11109 as weak alias of __inet_pton. Use libc_hidden_weak.
11110 * include/arpa/inet.h (__inet_pton): Declare. Use
11111 libc_hidden_proto.
11112 (inet_makeaddr): Don't use libc_hidden_proto.
11113 (__inet_makeaddr): Declare. Use libc_hidden_proto.
11114 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
11115 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
11116 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
11117 Remove variable.
11118 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11119 (test-xfail-POSIX/time.h/linknamespace): Likewise.
11120
11121 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
11122
11123 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
11124
11125 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11126
11127 * stdio-common/bug-vfprintf-nargs.c (do_test):
11128 Cast value to intptr_t to avoid format warning
11129 for usage with PRIdPTR printing macro.
11130
11131 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11132
11133 * libio/tst-widetext.c (do_test):
11134 Use format type %td instead of %Zd for ptrdiff_t
11135 in order to avoid format warning.
11136
11137 2014-12-17 Andreas Schwab <schwab@suse.de>
11138
11139 * nscd/mem.c (gc): Add size_t cast to match printf format.
11140
11141 2014-12-16 Roland McGrath <roland@hack.frob.com>
11142
11143 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
11144 (init): Apply PTR_MANGLE to pointers before storing them.
11145 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
11146 before using them.
11147
11148 2014-12-16 Joseph Myers <joseph@codesourcery.com>
11149
11150 [BZ #17719]
11151 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
11152 define as weak alias of __memrchr.
11153 (__memrchr): Do not define as strong alias of memrchr.
11154 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
11155 Remove variable.
11156 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11157 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11158 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11159
11160 [BZ #17717]
11161 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
11162 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
11163 (if_indextoname): Rename to __if_indextoname and define as weak
11164 alias of __if_indextoname. Use libc_hidden_weak.
11165 (if_freenameindex): Rename to __if_freenameindex and define as
11166 weak alias of __if_freenameindex.
11167 (if_nameindex): Rename to __if_nameindex and define as weak alias
11168 of __if_nameindex.
11169 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
11170 __if_nametoindex and define as weak alias of __if_nametoindex.
11171 Use libc_hidden_weak.
11172 (if_freenameindex): Rename to __if_freenameindex and define as
11173 weak alias of __if_freenameindex.
11174 (if_nameindex): Rename to __if_nameindex and define as weak alias
11175 of __if_nameindex.
11176 (if_indextoname): Rename to __if_indextoname and define as weak
11177 alias of __if_indextoname. Use libc_hidden_weak.
11178 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
11179 __if_nametoindex and define as weak alias of __if_nametoindex.
11180 Use libc_hidden_weak.
11181 (if_freenameindex): Rename to __if_freenameindex and define as
11182 weak alias of __if_freenameindex. Use libc_hidden_weak.
11183 (if_nameindex_netlink): Use __if_freenameindex instead of
11184 if_freenameindex.
11185 (if_nameindex): Rename to __if_nameindex and define as weak alias
11186 of __if_nameindex. Use libc_hidden_weak.
11187 (if_indextoname): Rename to __if_indextoname and define as weak
11188 alias of __if_indextoname. Use libc_hidden_weak.
11189 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
11190 libc_hidden_proto.
11191 [!_ISOMAC] (__if_freenameindex): Likewise.
11192 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
11193 if_nametoindex.
11194 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
11195 variable.
11196 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11197 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11198 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11199 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11200 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11201 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11202 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11203
11204 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
11205 Remove variable.
11206 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11207 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11208
11209 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11210
11211 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
11212 subscript above bounds'
11213
11214 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
11215 bounds.
11216
11217 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
11218
11219 * libio/tst-fopenloc.c: Use test-skeleton.c.
11220
11221 * stdlib/tst-bsearch.c: Use test-skeleton.c.
11222 (entry): Rename to ITEM.
11223 (do_test, comp): Adjust.
11224
11225 * stdio-common/tst-fseek.c: Use test-skeleton.c.
11226
11227 2014-12-16 Torvald Riegel <triegel@redhat.com>
11228
11229 * string/tester.c: Include <libc-internal.h>.
11230 (test_memset): Ignore -Wmemset-transposed-args.
11231
11232 2014-12-16 Torvald Riegel <triegel@redhat.com>
11233
11234 * misc/tst-mntent2.c (do_test): Fix warning.
11235
11236 2014-12-16 Torvald Riegel <triegel@redhat.com>
11237
11238 * elf/tst-unique4lib.cc(a): Mark as used.
11239
11240 2014-12-16 Florian Weimer <fweimer@redhat.com>
11241
11242 [BZ #17630]
11243 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
11244 names.
11245
11246 2014-12-16 Allan McRae <allan@archlinux.org>
11247
11248 * stdio-common/Makefile (tests): Re-add bug26.
11249
11250 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
11251
11252 [BZ #17657]
11253 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
11254 static array.
11255
11256 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
11257
11258 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
11259 (__lll_lock_wait): Likewise.
11260 (__lll_timedlock_wait): Likewise.
11261 (__lll_timedwait_tid): Likewise.
11262 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
11263 (__lll_robust_timedlock_wait): Likewise.
11264 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
11265 (lll_cond_trylock): Likewise.
11266 (__lll_lock): Likewise.
11267 (__lll_robust_lock): Likewise.
11268 (__lll_cond_lock): Likewise.
11269 (lll_robust_cond_lock): Likewise.
11270 (__lll_timedlock): Likewise.
11271 (__lll_robust_timedlock): Likewise.
11272 (__lll_unlock): Likewise.
11273 (__lll_robust_unlock): Likewise.
11274 (lll_wait_tid): Likewise.
11275 (lll_timedwait_tid): Likewise.
11276
11277 2014-12-15 Torvald Riegel <triegel@redhat.com>
11278
11279 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
11280
11281 2014-12-15 Torvald Riegel <triegel@redhat.com>
11282
11283 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
11284
11285 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11286
11287 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
11288 * stdio-common/tst-sprintf.c: Likewise.
11289
11290 2014-12-15 Torvald Riegel <triegel@redhat.com>
11291
11292 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
11293
11294 2014-12-15 Jeff Law <law@redhat.com>
11295
11296 [BZ #16617]
11297 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
11298 on the heap. (CVE-2012-3406)
11299 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
11300 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
11301 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
11302
11303 2014-12-15 Will Newton <will.newton@linaro.org>
11304
11305 * manual/install.texi: Bump required version of texinfo
11306 to 4.7 from 4.5.
11307 * INSTALL: Regenerated.
11308 * configure.ac: Check for makeinfo version 4.7 and above.
11309 * configure: Regenerated.
11310
11311 2014-12-12 Roland McGrath <roland@hack.frob.com>
11312
11313 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
11314 PREFIX, string constant to insert between directory and name.
11315 * sysdeps/posix/shm_open.c: Update caller.
11316 * sysdeps/posix/shm_unlink.c: Likewise.
11317 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
11318 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
11319 (SEM_SHM_PREFIX): New macro.
11320 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
11321 [$(have-thread-library) = no].
11322 * nptl/Makefile (libpthread-routines): Add shm-directory.
11323 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
11324 * sysdeps/nptl/shm-directory.h: New file.
11325 * sysdeps/posix/shm-directory.c
11326 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
11327 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11328 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
11329 INTERNAL_SYSCALL.
11330 (__where_is_shmfs): Function removed.
11331 (mountpoint, defaultmount, defaultdir, __namedsem_once):
11332 Variables removed.
11333 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
11334 Use SHM_GET_NAME.
11335 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
11336
11337 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
11338 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
11339 unconditional for use inside libpthread.
11340 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
11341
11342 2014-12-12 Roland McGrath <roland@hack.frob.com>
11343
11344 * nptl/pthread_getaffinity.c: New file.
11345 * nptl/pthread_setaffinity.c: New file.
11346 * nptl/pthread_getname.c: New file.
11347 * nptl/pthread_setname.c: New file.
11348
11349 * nptl/pthread_create.c (START_THREAD_DEFN)
11350 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
11351
11352 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11353 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11354
11355 * resolv/res_send.c (send_vc): Disable warning resplen may
11356 be used uninitialized.
11357
11358 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11359
11360 * nptl/tst-mutex6.c
11361 (ATTR_NULL): New define checks ATTR against NULL.
11362 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
11363 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
11364
11365 2014-12-11 James Lemke <jwlemke@codesourcery.com>
11366
11367 [BZ #17581]
11368 * malloc/hooks.c
11369 (mem2mem_check): Revert my previous change.
11370 (malloc_check_get_size): Revert my previous change.
11371 (mem2chunk_check): Revert my previous change.
11372
11373 2014-12-11 Roland McGrath <roland@hack.frob.com>
11374
11375 * sysdeps/posix/shm-directory.c: New file.
11376 * sysdeps/posix/shm-directory.h: New file.
11377 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
11378 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
11379 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
11380 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
11381 Transmute EPERM to EACCES.
11382 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
11383 from ...
11384 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
11385 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
11386
11387 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11388
11389 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
11390 pointer and cast to uintptr_t.
11391 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
11392 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
11393 Add cast to avoid warning.
11394 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
11395
11396 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11397
11398 * nptl/semaphore.h: Move to ...
11399 * sysdeps/pthread/semaphore.h: ... here.
11400 * Makefile (installed-headers): Change nptl/semaphore.h to
11401 sysdeps/pthread/semaphore.h.
11402
11403 2014-12-11 Roland McGrath <roland@hack.frob.com>
11404
11405 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
11406 generated error format strings.
11407
11408 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
11409 -Wformat-extra-args warnings for scanf formats.
11410 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
11411 test of zero-length format (duh).
11412 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
11413 corner-case scanf format test.
11414 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
11415 generated fprintf format string.
11416 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
11417 corner-case sprintf format tests.
11418 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
11419 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
11420 -Wformat-extra-args warnings throughout.
11421 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
11422 (CFLAGS-scanf4.c): Likewise.
11423 (CFLAGS-scanf7.c): Likewise.
11424 (CFLAGS-tst-sprintf.c): Likewise.
11425 (CFLAGS-tst-printf.c): Likewise.
11426 (CFLAGS-tst-printfsz.c): Likewise.
11427
11428 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11429
11430 * include/cpio.h: New file.
11431 * include/fmtmsg.h: Likewise.
11432
11433 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
11434 corresponding format argument to size_t.
11435 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
11436 arguments.
11437 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
11438 corresponding format argument to size_t.
11439 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
11440 arguments.
11441 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
11442 corresponding format argument to size_t.
11443 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
11444 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
11445 (CFLAGS-tst-mbswcs2.c): Likewise.
11446 (CFLAGS-tst-mbswcs3.c): Likewise.
11447 (CFLAGS-tst-mbswcs4.c): Likewise.
11448 (CFLAGS-tst-mbswcs5.c): Likewise.
11449 (CFLAGS-tst-trans.c): Likewise
11450
11451 2014-12-11 Roland McGrath <roland@hack.frob.com>
11452
11453 * posix/regexbug1.c (main): Use "%s" format with regerror results,
11454 rather than assuming they won't contain any '%'s.
11455
11456 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
11457
11458 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
11459 inhibit_loop_to_libcall to avoid recursive calls.
11460 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
11461 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
11462
11463 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11464
11465 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
11466 prototype.
11467
11468 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11469
11470 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
11471 integer value instead of boolean.
11472
11473 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11474
11475 * malloc/malloc.c: Fix powerof2 check.
11476
11477 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11478
11479 * locale/programs/locfile.h (maybe_swap_uint32):
11480 Remove inline and add unused attribute.
11481
11482 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11483
11484 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11485 Truncating assembler expression to a .long expression.
11486
11487 2014-12-11 Andreas Schwab <schwab@suse.de>
11488
11489 * elf/rtld.c (struct map_args): Constify str member.
11490 (do_preload): Constify fname argument.
11491
11492 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11493
11494 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
11495 constants definition.
11496
11497 2014-12-11 Andreas Schwab <schwab@suse.de>
11498
11499 [BZ #16657]
11500 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
11501 FORCE_ELISION instead of DO_ELISION.
11502 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
11503 Remove.
11504 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
11505 Likewise.
11506
11507 * iconvdata/gconv-modules: Remove duplicate entry.
11508
11509 2014-12-11 Will Newton <will.newton@linaro.org>
11510
11511 Merge gettext 0.19.3 into intl/.
11512
11513 This involves a number of cosmetic changes to comments
11514 and ANSI function definitions and prototypes throughout
11515 all the files. The gettext copyright header is used but
11516 with the date ranges taken from the glibc copy.
11517
11518 * NEWS: Add gettext merge to 2.21.
11519 * intl/bindtextdom.c: Switch to gettext copyright.
11520 Use ANSI definitions and prototypes.
11521 Use gl_* locking primitives rather than __libc_* ones.
11522 Use __builtin_expect rather than __glibc_likely/unlikely.
11523 * intl/dcgettext.c: Switch to gettext copyright.
11524 Use ANSI definitions and prototypes.
11525 * intl/dcigettext.c: Switch to gettext copyright.
11526 Use ANSI definitions and prototypes.
11527 (INTDIV0_RAISES_SIGFPE): New define.
11528 Use gl_* locking primitives rather than __libc_* ones.
11529 Include eval-plural.h instead of plural-eval.c.
11530 Use __builtin_expect rather than __glibc_likely/unlikely.
11531 * intl/dcngettext.c: Switch to gettext copyright.
11532 Use ANSI definitions and prototypes.
11533 * intl/dgettext.c: Likewise.
11534 * intl/dngettext.c: Likewise.
11535 * intl/plural-eval.c: Renamed to...
11536 * intl/eval-plural.h: ...this.
11537 * intl/explodename.c: Switch to gettext copyright.
11538 Use ANSI definitions and prototypes.
11539 (_nl_explode_name): Use strchr instead of __rawmemchr.
11540 * intl/finddomain.c: Switch to gettext copyright.
11541 Use ANSI definitions and prototypes.
11542 Use gl_* locking primitives rather than __libc_* ones.
11543 (_nl_find_domain): Use malloc rather than alloca for
11544 allocation of temporary locale name.
11545 * intl/gettext.c: Switch to gettext copyright.
11546 Use ANSI definitions and prototypes.
11547 * intl/gettextP.h: Switch to gettext copyright.
11548 Use ANSI definitions and prototypes.
11549 Use gl_* locking primitives rather than __libc_* ones.
11550 * intl/gmo.h: Switch to gettext copyright.
11551 (struct sysdep_string): Move struct segment_pair outside of
11552 struct definition.
11553 * intl/hash-string.c: Use ANSI definitions and prototypes.
11554 * intl/hash-string.h: Switch to gettext copyright.
11555 Use ANSI definitions and prototypes.
11556 * intl/l10nflist.c: Switch to gettext copyright.
11557 Use ANSI definitions and prototypes.
11558 (_nl_normalize_codeset): Avoid integer overflow.
11559 * intl/loadinfo.h: Switch to gettext copyright.
11560 Use ANSI definitions and prototypes.
11561 (LIBINTL_DLL_EXPORTED): New define.
11562 (PATH_SEPARATOR): New define.
11563 * intl/loadmsgcat.c: Switch to gettext copyright.
11564 * intl/localealias.c: Switch to gettext copyright.
11565 Use ANSI definitions and prototypes.
11566 (_nl_expand_alias): Use PATH_SEPARATOR.
11567 * intl/ngettext.c: Switch to gettext copyright.
11568 Use ANSI definitions and prototypes.
11569 * intl/plural-exp.c: Likewise.
11570 * intl/plural-exp.h: Switch to gettext copyright.
11571 Use ANSI definitions and prototypes.
11572 (struct expression): Move definition of enum operator outside
11573 of struct definition.
11574 * intl/plural.c: Regenerate.
11575 * intl/plural.y: Switch to gettext copyright.
11576 Use ANSI definitions and prototypes.
11577 Port to bison 3.0.
11578 * intl/textdomain.c: Switch to gettext copyright.
11579 Use ANSI definitions and prototypes.
11580 Use gl_* locking primitives rather than __libc_* ones.
11581
11582 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
11583
11584 * debug/warning-nop.c: Add used atrribute.
11585
11586 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11587
11588 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
11589
11590 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
11591 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
11592 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
11593
11594 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11595 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11596
11597 [BZ #17634]
11598 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
11599 Undefine after defining function. Define as weak alias of
11600 __wcschr. Use libc_hidden_weak.
11601 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
11602 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
11603 (libc_hidden_def): Also define __GI___wcschr alias.
11604 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
11605 __wcschr and define as weak alias of __wcschr.
11606 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
11607 __wcschr.
11608 [!WCSCHR] (DEFAULT_WCSCHR): Define.
11609 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
11610 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
11611 libc_hidden_weak. Do not use libc_hidden_def.
11612 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
11613 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
11614 __GI___wcschr alias.
11615 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
11616 [IS_IN (libc)] (wcschr): Define as macro expanding to
11617 __redirect_wcschr.
11618 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
11619 [IS_IN (libc)] (__wcschr_power6): Likewise.
11620 [IS_IN (libc)] (__wcschr_power7): Likewise.
11621 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
11622 instead of wcschr.
11623 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
11624 __libc_wcschr.
11625 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
11626 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
11627 __wcschr and define as weak alias of __wcschr. Use
11628 libc_hidden_builtin_def.
11629 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
11630 as weak alias of __wcschr. Use libc_hidden_weak.
11631 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
11632 wcschr.
11633 * time/era.c (_nl_init_era_entries): Likewise.
11634 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
11635 variable.
11636 (test-xfail-XPG3/time.h/linknamespace): Likewise.
11637 (test-xfail-XPG4/time.h/linknamespace): Likewise.
11638
11639 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11640
11641 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
11642 format for long int variable.
11643
11644 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
11645
11646 [BZ #10672]
11647 * manual/search.texi: (Array Sort Function): Remove claim how to make
11648 qsort stable.
11649
11650 2014-12-10 Andreas Schwab <schwab@suse.de>
11651
11652 [BZ #12847]
11653 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
11654 user-controlled locks.
11655
11656 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
11657
11658 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
11659 register.
11660
11661 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11662
11663 * configure.ac (--disable-werror): New configure option.
11664 (enable_werror): New AC_SUBST.
11665 * configure: Regenerated.
11666 * config.make.in (enable-werror): New variable.
11667 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
11668 -Wno-error=undef.
11669 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
11670 * manual/install.texi (Configuring and compiling): Document
11671 --disable-werror.
11672 * INSTALL: Regenerated.
11673 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
11674 (CFLAGS-tst-chk2.c): Likewise.
11675 (CFLAGS-tst-chk3.c): Likewise.
11676 (CFLAGS-tst-chk4.cc): Likewise.
11677 (CFLAGS-tst-chk5.cc): Likewise.
11678 (CFLAGS-tst-chk6.cc): Likewise.
11679 (CFLAGS-tst-lfschk1.c): Likewise.
11680 (CFLAGS-tst-lfschk2.c): Likewise.
11681 (CFLAGS-tst-lfschk3.c): Likewise.
11682 (CFLAGS-tst-lfschk4.cc): Likewise.
11683 (CFLAGS-tst-lfschk5.cc): Likewise.
11684 (CFLAGS-tst-lfschk6.cc): Likewise.
11685
11686 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
11687 (main): Disable -Wdeprecated-declarations around calls to
11688 register_printf_function.
11689
11690 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
11691 (do_test): Disable -Wdiv-by-zero around some calls to
11692 fwrite_unlocked and fread_unlocked.
11693
11694 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
11695 (DIAG_POP_NEEDS_COMMENT): Likewise.
11696 (_DIAG_STR1): Likewise.
11697 (_DIAG_STR): Likewise.
11698 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
11699 * stdio-common/bug21.c: Include <libc-internal.h>.
11700 (do_test): Disable -Wformat around call to sscanf.
11701 * stdio-common/scanf14.c: Include <libc-internal.h>.
11702 (main): Disable -Wformat around some calls to scanf functions.
11703
11704 2014-12-09 Torvald Riegel <triegel@redhat.com>
11705
11706 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
11707
11708 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11709
11710 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
11711 stack variable alignment.
11712
11713 2014-12-06 Joseph Myers <joseph@codesourcery.com>
11714
11715 [BZ #17682]
11716 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
11717 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
11718 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
11719 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
11720 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
11721 __getrlimit instead of getrlimit.
11722 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
11723 __gettimeofday instead of gettimeofday.
11724 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11725 Likewise.
11726 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11727 Likewise.
11728 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11729 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
11730 Remove variable.
11731 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11732 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11733
11734 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11735
11736 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
11737 for wide-character tests.
11738
11739 2014-12-04 Roland McGrath <roland@hack.frob.com>
11740
11741 * io/openat64.c: #include <libc-internal.h>
11742 (__openat64): Prototypify. Use ignore_value on MODE.
11743 * io/openat.c: Likewise.
11744 * misc/reboot.c: #include <libc-internal.h>
11745 (reboot): Prototypify. Use ignore_value on HOWTO.
11746 * misc/ptrace.c: #include <libc-internal.h>
11747 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
11748
11749 2014-12-04 Joseph Myers <joseph@codesourcery.com>
11750
11751 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
11752 XPG4, UNIX98 and XOPEN2K.
11753 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
11754 Remove variable.
11755 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11756
11757 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11758
11759 * libio/fileops.c: Use ISO C style for function definitions.
11760 * libio/iofopen.c: Likewise.
11761 * libio/wfileops.c: Likewise.
11762
11763 [BZ #17653]
11764 * libio/fileops.c (_IO_new_file_underflow): Unset cached
11765 offset on EOF.
11766 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
11767 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
11768 (fgets_func): Function pointer to fgets and fgetws.
11769 (do_ftell_test): Add test to verify ftell value after read
11770 EOF.
11771 (do_test): Set fgets_func.
11772
11773 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
11774 O_TRUNC flag for w and w+ modes.
11775 (do_rewind_test): Likewise.
11776 (do_ftell_test): Likewise.
11777 (do_write_test): Likewise.
11778
11779 [BZ #17647]
11780 * libio/fileops.c (do_ftell): Seek only when there are
11781 unflushed writes.
11782 * libio/wfileops.c (do_ftell_wide): Likewise.
11783 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
11784 test case.
11785 (do_one_test): Call it.
11786
11787 2014-12-03 Joseph Myers <joseph@codesourcery.com>
11788
11789 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
11790 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
11791 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
11792 Remove variable.
11793 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11794 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11795 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11796
11797 2014-12-02 Joseph Myers <joseph@codesourcery.com>
11798
11799 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
11800 Remove variable.
11801 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11802
11803 [BZ #17668]
11804 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
11805 as weak alias of __getifaddrs. Use libc_hidden_weak.
11806 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11807 __freeifaddrs. Use libc_hidden_weak.
11808 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
11809 define as weak alias of __getifaddrs. Use libc_hidden_weak.
11810 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11811 __freeifaddrs. Use libc_hidden_weak.
11812 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
11813 __getifaddrs and define as weak alias of __getifaddrs. Use
11814 libc_hidden_weak.
11815 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11816 __freeifaddrs. Use libc_hidden_weak.
11817 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
11818 Remove variable.
11819 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11820 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11821
11822 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
11823
11824 [BZ #17601]
11825 * sysdeps/mips/start.S (__start): Use indirect jump to call
11826 __libc_start_main.
11827
11828 2014-12-02 Joseph Myers <joseph@codesourcery.com>
11829
11830 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
11831
11832 * nptl/tst-mutex1.c: Include <stdbool.h>.
11833 [!ATTR] (ATTR_NULL): New macro.
11834 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
11835 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
11836 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
11837
11838 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
11839 to char *.
11840
11841 [BZ #17665]
11842 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
11843 Change conditional to [__USE_MISC].
11844
11845 [BZ #17664]
11846 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
11847 fgets_unlocked.
11848 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
11849 __fgets_unlocked.
11850 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
11851 fgets_unlocked.
11852 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
11853 Remove variable.
11854 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11855 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11856 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11857 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11858 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11859 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11860 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11861 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11862 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11863
11864 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
11865
11866 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11867
11868 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11869 Remove strpbrk objects.
11870 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11871 (__libc_ifunc_impl_list): Remove strpbrk implementation.
11872 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
11873 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
11874 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
11875 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
11876
11877 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11878 Remove strcspn objects.
11879 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11880 (__libc_ifunc_impl_list): Remove strcspn implementation.
11881 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
11882 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
11883 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
11884 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
11885
11886 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11887 Remove strspn objetcs.
11888 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11889 (__libc_ifunc_impl_list): Remove strspn implementation.
11890 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
11891 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11892 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
11893 * sysdeps/powerpc/powerpc64/strspn.S: New file.
11894
11895 2014-12-01 James Lemke <jwlemke@codesourcery.com>
11896
11897 [BZ #17581]
11898 * malloc/hooks.c
11899 (mem2mem_check): Add a terminator to the chain of checking blocks.
11900 (malloc_check_get_size): Use it here.
11901 (mem2chunk_check): Ditto.
11902
11903 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11904
11905 * sysdeps/powerpc/powerpc64/strtok.S: New file.
11906 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
11907
11908 2014-11-29 Carlos O'Donell <carlos@redhat.com>
11909
11910 * bits/ioctl-types.h: Indent preprocessor directives correctly.
11911
11912 * nptl/nptl-init.c: Include libc-internal.h.
11913 (__pthread_initialize_minimal_internal): Use ROUND_UP.
11914
11915 * elf/ldconfig.c (search_dir): Expand comment.
11916
11917 2014-11-29 Joseph Myers <joseph@codesourcery.com>
11918
11919 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
11920 variable.
11921 (linknamespace-symlist-stdlibs-tests): Likewise.
11922 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
11923 instead of $(objpfx)symlist-stdlibs.
11924 (linknamespace-libs-isoc): New variable.
11925 (linknamespace-libs): Use $(linknamespace-libs-isoc).
11926 (linknamespace-libs-ISO): New variable.
11927 (linknamespace-libs-ISO99): Likewise.
11928 (linknamespace-libs-ISO11): Likewise.
11929 (linknamespace-libs-XPG3): Likewise.
11930 (linknamespace-libs-XPG4): Likewise.
11931 (linknamespace-libs-POSIX): Likewise.
11932 (linknamespace-libs-UNIX98): Likewise.
11933 (linknamespace-libs-XOPEN2K): Likewise.
11934 (linknamespace-libs-POSIX2008): Likewise.
11935 (linknamespace-libs-XOPEN2K8): Likewise.
11936 ($(objpfx)symlist-stdlibs): Replace by
11937 $(linknamespace-symlist-stdlibs-tests). Use
11938 $(linknamespace-libs-$*) as set of libraries.
11939 ($(linknamespace-header-tests)): Update dependencies. Use
11940 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
11941 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
11942 * conform/linknamespace.pl: Remove comment about considering
11943 definitions of symbols from irrelevant libraries.
11944
11945 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
11946
11947 [BZ #13862]
11948 * elf/dl-tls.c: Include <atomic.h>.
11949 (oom): Remove #ifdef SHARED/#endif.
11950 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
11951 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
11952 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
11953 big enough.
11954 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
11955 * nptl/Makefile (tests): Add tst-stack4.
11956 (modules-names): Add tst-stack4mod.
11957 ($(objpfx)tst-stack4): New.
11958 (tst-stack4mod.sos): Likewise.
11959 ($(objpfx)tst-stack4.out): Likewise.
11960 ($(tst-stack4mod.sos)): Likewise.
11961 (clean): Likewise.
11962 * nptl/tst-stack4.c: New file.
11963 * nptl/tst-stack4mod.c: Likewise.
11964
11965 2014-11-27 J. Brown <jb999@gmx.de>
11966
11967 * sysdeps/x86/bits/string.h: Add recent CPUs.
11968
11969 2014-11-27 Joseph Myers <joseph@codesourcery.com>
11970
11971 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
11972 sigblock.
11973
11974 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
11975 feof.
11976
11977 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
11978 variable.
11979
11980 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
11981
11982 * nscd/connections.c: Include libc-internal.h because of macro
11983 usage ignore_value.
11984
11985 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11986
11987 * string/bits/string3.h (__warn_memset_zero_len): Don't
11988 declare for gcc newer than 5.0.
11989 (memset): Don't test for zero-length __LEN for gcc newer than
11990 5.0.
11991
11992 2014-11-27 Joseph Myers <joseph@codesourcery.com>
11993
11994 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
11995 size_t for %zu format.
11996
11997 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
11998 difference, not %ju.
11999
12000 2014-11-26 Joseph Myers <joseph@codesourcery.com>
12001
12002 * include/libc-internal.h (ignore_value): New macro.
12003 * nscd/connections.c (restart): Wrap calls to setuid and setgid
12004 with ignore_value.
12005
12006 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
12007 definition.
12008
12009 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
12010 pthread_cleanup_push to void *.
12011
12012 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
12013 Undefine.
12014
12015 [BZ #16619]
12016 [BZ #16740]
12017 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
12018 instead of 1L << 52.
12019
12020 * libio/bug-rewind.c (do_test): Check fwscanf return values.
12021 * libio/bug-rewind2.c (do_test): Likewise.
12022
12023 * debug/test-stpcpy_chk-ifunc.c: Remove file.
12024 * debug/test-strcpy_chk-ifunc.c: Likewise.
12025 * wcsmbs/test-wcschr-ifunc.c: Likewise.
12026 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12027 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12028 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12029 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12030 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12031 * Rules [$(multi-arch) = no] (tests): Do not filter out
12032 $(tests-ifunc).
12033 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
12034 * debug/Makefile (tests-ifunc): Remove variable.
12035 (tests): Do not add $(tests-ifunc).
12036 * wcsmbs/Makefile (tests-ifunc): Remove variable.
12037 (tests): Do not add $(tests-ifunc).
12038 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
12039 [TEST_IFUNC]: Remove conditionals.
12040 * string/test-string.h (TEST_IFUNC): Remove macro.
12041 [TEST_IFUNC]: Remove conditionals.
12042
12043 * string/test-strchr.c [!WIDE] (L): New macro.
12044 [WIDE] (L): Likewise.
12045 (check1): Use CHAR instead of char. Use L on string and character
12046 constants.
12047
12048 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
12049
12050 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
12051 tests.
12052 * sysdeps/powerpc/bits/atomic.h
12053 (__arch_atomic_exchange_and_add_32_acq): Add definition.
12054 (__arch_atomic_exchange_and_add_32_rel): Likewise.
12055 (atomic_exchange_and_add_acq): Likewise.
12056 (atomic_exchange_and_add_rel): Likewise.
12057 * sysdeps/powerpc/powerpc32/bits/atomic.h
12058 (__arch_atomic_exchange_and_add_64_acq): Add definition.
12059 (__arch_atomic_exchange_and_add_64_rel): Likewise.
12060 * sysdeps/powerpc/powerpc64/bits/atomic.h
12061 (__arch_atomic_exchange_and_add_64_acq): Add definition.
12062 (__arch_atomic_exchange_and_add_64_rel): Likewise.
12063
12064 2014-11-26 Torvald Riegel <triegel@redhat.com>
12065
12066 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
12067 Change synchronization of __sched_fifo_min_prio and
12068 __sched_fifo_max_prio.
12069 * nptl/pthread_mutexattr_getprioceiling.c
12070 (pthread_mutexattr_getprioceiling): Likewise.
12071 * nptl/pthread_mutexattr_setprioceiling.c
12072 (pthread_mutexattr_setprioceiling): Likewise.
12073 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
12074 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
12075 Likewise.
12076
12077 2014-11-26 Joseph Myers <joseph@codesourcery.com>
12078
12079 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
12080 void.
12081
12082 2014-11-25 Joseph Myers <joseph@codesourcery.com>
12083
12084 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
12085 third argument const.
12086
12087 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
12088
12089 fnmatch: work around GCC compiler warning bug with uninit var
12090 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
12091 This works around a bug with x86-64 GCC 4.9.2 and earlier
12092 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
12093 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
12094 used uninitialized in this function [-Wmaybe-uninitialized]".
12095
12096 2014-11-25 Joseph Myers <joseph@codesourcery.com>
12097
12098 * posix/bug-regex31.c (main): Return RES not 0.
12099
12100 2014-11-25 Anton Blanchard <anton@samba.org>
12101
12102 * sysdeps/powerpc/bits/atomic.h
12103 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
12104
12105 2014-11-24 Sterling Augustine <saugustine@google.com>
12106
12107 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
12108
12109 2014-11-24 Ryan Cumming <etaoins@gmail.com>
12110
12111 [BZ #17608]
12112 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
12113
12114 2014-11-24 Joseph Myers <joseph@codesourcery.com>
12115
12116 [BZ #17633]
12117 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
12118 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
12119 variable.
12120 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12121 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12122
12123 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
12124
12125 * string/strncpy.c (strncpy): Improve performance by using memset.
12126
12127 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
12128
12129 * string/strcpy.c (strcpy):
12130 Improve performance by using strlen and memcpy.
12131
12132 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
12133
12134 * string/strcoll_l.c (get_next_seq): __always_inline.
12135 * string/strcoll_l.c (do_compare): __always_inline.
12136
12137 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12138
12139 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
12140 defined.
12141 * include/mqueue.h: Likewise.
12142 * include/stdlib.h: Likewise.
12143
12144 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
12145 (get_null_defines): Adjust.
12146 * sunrpc/Makefile: Adjust comment.
12147 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
12148 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
12149 (CFLAGS-interp.c): Likewise.
12150 (CFLAGS-ldconfig.c): Likewise.
12151 (CPPFLAGS-.os): Likewise.
12152 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12153 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12154 * extra-modules.mk (extra-modules.mk): Likewise.
12155 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
12156 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
12157 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
12158 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
12159 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
12160 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
12161 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
12162 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
12163 * iconvdata/Makefile (CPPFLAGS): Likewise.
12164 (cpp-srcs-left): Add libof for all iconvdata routines.
12165 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
12166 * include/assert.h: Likewise.
12167 * include/ctype.h: Likewise.
12168 * include/errno.h: Likewise.
12169 * include/libc-symbols.h: Likewise.
12170 * include/math.h: Likewise.
12171 * include/netdb.h: Likewise.
12172 * include/resolv.h: Likewise.
12173 * include/stdio.h: Likewise.
12174 * include/stdlib.h: Likewise.
12175 * include/string.h: Likewise.
12176 * include/sys/stat.h: Likewise.
12177 * include/wctype.h: Likewise.
12178 * intl/l10nflist.c: Likewise.
12179 * libidn/idn-stub.c: Likewise.
12180 * libio/libioP.h: Likewise.
12181 * nptl/libc_multiple_threads.c: Likewise.
12182 * nptl/pthreadP.h: Likewise.
12183 * posix/regex_internal.h: Likewise.
12184 * resolv/res_hconf.c: Likewise.
12185 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
12186 * sysdeps/arm/memmove.S: Likewise.
12187 * sysdeps/arm/sysdep.h: Likewise.
12188 * sysdeps/generic/_itoa.h: Likewise.
12189 * sysdeps/generic/symbol-hacks.h: Likewise.
12190 * sysdeps/gnu/errlist.awk: Likewise.
12191 * sysdeps/gnu/errlist.c: Likewise.
12192 * sysdeps/i386/i586/memcpy.S: Likewise.
12193 * sysdeps/i386/i586/memset.S: Likewise.
12194 * sysdeps/i386/i686/memcpy.S: Likewise.
12195 * sysdeps/i386/i686/memmove.S: Likewise.
12196 * sysdeps/i386/i686/mempcpy.S: Likewise.
12197 * sysdeps/i386/i686/memset.S: Likewise.
12198 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12199 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12200 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
12201 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
12202 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12203 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12204 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
12205 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12206 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12207 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12208 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12209 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12210 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12211 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12212 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12213 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12214 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
12215 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
12216 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
12217 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12218 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12219 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12220 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12221 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12222 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12223 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12224 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
12225 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12226 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
12227 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12228 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12229 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12230 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12231 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12232 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12233 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12234 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12235 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12236 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12237 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12238 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12239 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12240 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12241 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12242 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12243 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12244 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
12245 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
12246 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12247 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12248 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12249 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
12250 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
12251 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12252 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12253 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
12254 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12255 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
12256 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
12257 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12258 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12259 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12260 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
12261 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12262 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12263 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
12264 * sysdeps/posix/closedir.c: Likewise.
12265 * sysdeps/posix/opendir.c: Likewise.
12266 * sysdeps/posix/readdir.c: Likewise.
12267 * sysdeps/posix/rewinddir.c: Likewise.
12268 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
12269 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
12270 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12271 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12272 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12273 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
12274 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
12275 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
12276 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
12277 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
12278 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
12279 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
12280 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
12281 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
12282 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
12283 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
12284 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
12285 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
12286 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
12287 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
12288 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
12289 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
12290 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
12291 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
12292 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
12293 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
12294 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
12295 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
12296 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
12297 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
12298 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
12299 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
12300 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
12301 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
12302 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
12303 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
12304 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12305 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12306 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
12307 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
12308 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
12309 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
12310 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
12311 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
12312 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
12313 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
12314 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
12315 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
12316 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
12317 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
12318 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
12319 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
12320 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12321 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
12322 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
12323 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
12324 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
12325 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
12326 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
12327 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
12328 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
12329 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
12330 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12331 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
12332 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
12333 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
12334 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
12335 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
12336 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
12337 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
12338 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
12339 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
12340 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
12341 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
12342 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
12343 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
12344 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
12345 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
12346 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12347 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
12348 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
12349 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12350 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
12351 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
12352 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12353 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
12354 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
12355 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12356 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12357 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12358 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
12359 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
12360 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
12361 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12362 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12363 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
12364 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12365 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12366 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
12367 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
12368 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12369 * sysdeps/unix/alpha/sysdep.S: Likewise.
12370 * sysdeps/unix/alpha/sysdep.h: Likewise.
12371 * sysdeps/unix/make-syscalls.sh: Likewise.
12372 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12373 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12374 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12375 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
12376 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12377 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12378 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
12379 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12380 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12381 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
12382 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12383 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12384 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12385 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12386 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12387 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12388 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12389 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12390 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12391 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12392 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12393 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12394 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12395 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12396 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12397 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12398 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12401 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
12402 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12403 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12404 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12405 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12406 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12407 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12408 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12409 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12410 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12411 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12412 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12413 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12414 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12415 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12416 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12417 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12418 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12419 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12420 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12421 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12422 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12423 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12424 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12425 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12426 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12427 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12428 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12429 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12430 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
12431 * sysdeps/x86_64/memcpy.S: Likewise.
12432 * sysdeps/x86_64/memmove.c: Likewise.
12433 * sysdeps/x86_64/memset.S: Likewise.
12434 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
12435 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12436 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12437 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
12438 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
12439 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12440 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12441 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12442 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12443 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12444 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12445 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12446 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
12447 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12448 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12449 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
12450 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12451 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12452 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12453 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12454 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
12455 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12456 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12457 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12458 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12459 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12460 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12461 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
12462 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12463 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12464 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
12465 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12466 * sysdeps/x86_64/strcmp.S: Likewise.
12467
12468 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
12469
12470 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
12471 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
12472 * elf/rtld-Rules: Likewise.
12473 * elf/setup-vdso.h: Likewise.
12474 * include/assert.h: Likewise.
12475 * include/bits/stdlib-float.h: Likewise.
12476 * include/errno.h: Likewise.
12477 * include/sys/stat.h: Likewise.
12478 * include/unistd.h: Likewise.
12479 * sysdeps/aarch64/setjmp.S: Likewise.
12480 * sysdeps/alpha/setjmp.S: Likewise.
12481 * sysdeps/arm/__longjmp.S: Likewise.
12482 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
12483 * sysdeps/arm/setjmp.S: Likewise.
12484 * sysdeps/arm/sysdep.h: Likewise.
12485 * sysdeps/generic/_itoa.h: Likewise.
12486 * sysdeps/generic/dl-sysdep.h: Likewise.
12487 * sysdeps/generic/ldsodefs.h: Likewise.
12488 * sysdeps/i386/dl-tls.h: Likewise.
12489 * sysdeps/i386/setjmp.S: Likewise.
12490 * sysdeps/m68k/setjmp.c: Likewise.
12491 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
12492 * sysdeps/mach/hurd/opendir.c: Likewise.
12493 * sysdeps/posix/getcwd.c: Likewise.
12494 * sysdeps/posix/opendir.c: Likewise.
12495 * sysdeps/posix/profil.c: Likewise.
12496 * sysdeps/powerpc/dl-procinfo.h: Likewise.
12497 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12498 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12499 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12500 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12501 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
12502 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12503 * sysdeps/s390/dl-tls.h: Likewise.
12504 * sysdeps/s390/s390-32/setjmp.S: Likewise.
12505 * sysdeps/s390/s390-64/setjmp.S: Likewise.
12506 * sysdeps/sh/sh3/setjmp.S: Likewise.
12507 * sysdeps/sh/sh4/setjmp.S: Likewise.
12508 * sysdeps/unix/alpha/sysdep.h: Likewise.
12509 * sysdeps/unix/arm/sysdep.S: Likewise.
12510 * sysdeps/unix/i386/sysdep.S: Likewise.
12511 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12512 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12513 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12514 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12515 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12516 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12517 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12518 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12519 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12520 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12521 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12522 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12523 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12526 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12527 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12528 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12529 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12530 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12531 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12532 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12533 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12534 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12535 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12536 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12537 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12538 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12539 * sysdeps/x86_64/setjmp.S: Likewise.
12540
12541 * include/math.h: Use IS_IN instead of IS_IN_libm.
12542 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
12543 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12544 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12545 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12546 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12547 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12548 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12549 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12550 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12551 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12552 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
12553 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12554 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
12555 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12556 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12557 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
12558 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
12559 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12560 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
12561 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
12562 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
12563 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
12564 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
12565 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
12566 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
12567 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
12568 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
12569 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
12570 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
12571 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12572 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
12573 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12574 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12576 Likewise.
12577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
12578 Likewise.
12579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
12580 Likewise.
12581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
12582 Likewise.
12583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
12584 Likewise.
12585 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12586 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
12587 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12588 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12589 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12590 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
12593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
12594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
12595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
12596 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
12597 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
12598 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12599 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12600 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12601 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12602 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12603 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12604 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12605 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
12606 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
12607 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
12608 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
12609 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
12610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12611 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
12612
12613 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
12614 * nptl/pthreadP.h: Likewise.
12615 * nptl_db/structs.def: Likewise.
12616 * sysdeps/arm/sysdep.h: Likewise.
12617 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12618 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12619 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
12620 * sysdeps/unix/alpha/sysdep.h: Likewise.
12621 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12622 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12623 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12624 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12625 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12626 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12627 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12628 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12629 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12630 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12631 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12632 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12633 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12634 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12637 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12638 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12639 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12640 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12641 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12642 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12643 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12644 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12645 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12646 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12647
12648 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
12649 * nptl/pthreadP.h: Likewise.
12650 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12651 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12652 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12653 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12654 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12655 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12656 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12657 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12658 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12659 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12660 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12661 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12663 Likewise.
12664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12665 Likewise.
12666 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12667 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12668 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12669 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12670 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12671 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12672 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12673 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12674
12675 * dlfcn/dladdr.c: Use IS_IN.
12676 * dlfcn/dladdr1.c: Likewise.
12677 * dlfcn/dlclose.c: Likewise.
12678 * dlfcn/dlerror.c: Likewise.
12679 * dlfcn/dlinfo.c: Likewise.
12680 * dlfcn/dlmopen.c: Likewise.
12681 * dlfcn/dlopen.c: Likewise.
12682 * dlfcn/dlsym.c: Likewise.
12683 * dlfcn/dlvsym.c: Likewise.
12684
12685 * include/ifaddrs.h: Use IS_IN.
12686 * inet/check_pf.c: Likewise.
12687 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12688 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
12689
12690 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
12691 IS_IN_ldconfig.
12692 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
12693 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
12694
12695 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
12696 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
12697 IS_IN (libc).
12698
12699 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
12700
12701 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
12702 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12703 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12704 * include/libc-symbols.h (IS_IN_LIB): New macro.
12705 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
12706 * include/netdb.h: Likewise.
12707 * include/stap-probe.h: Remove all uses of IN_LIB.
12708
12709 * Makeconfig (module-cppflags-real): Define MODULE_NAME
12710 instead of IN_MODULE.
12711 * include/libc-symbols.h (IN_MODULE): Define using
12712 MODULE_NAME.
12713 (PASTE_NAME, PASTE_NAME1): New macros.
12714 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
12715 of IN_LIB.
12716 (STAP_PROBE_ASM): Likewise.
12717
12718 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
12719
12720 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
12721 __mach_init in dlopened libc.
12722
12723 2014-11-22 Mike Frysinger <vapier@gentoo.org>
12724
12725 * sysdeps/arm/preconfigure.ac: Delete EABI check.
12726 * sysdeps/arm/preconfigure: Regenerate.
12727
12728 2014-11-21 Roland McGrath <roland@hack.frob.com>
12729
12730 * nptl/pthread_create.c (__pthread_create_2_1): Set
12731 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
12732 when copying values from IATTR into PD.
12733
12734 2014-11-21 Will Newton <will.newton@linaro.org>
12735 Andrew Pinski <andrew.pinski@caviumnetworks.com>
12736
12737 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
12738 Refactor inline-asm. Also add comment.
12739
12740 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
12741 ElfW macro instead of hardcoded Elf64 types.
12742 (la_aarch64_gnu_pltenter): Likewise.
12743 * sysdeps/aarch64/dl-machine.h
12744 (elf_machine_runtime_setup): Use ElfW(Addr).
12745
12746 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
12747 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
12748 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
12749 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
12750 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
12751 (R_AARCH64_TLS_DTPMOD64): Rename to ..
12752 (R_AARCH64_TLS_DTPMOD): This.
12753 (R_AARCH64_TLS_DTPREL64): Rename to ...
12754 (R_AARCH64_TLS_DTPREL): This.
12755 (R_AARCH64_TLS_TPREL64): Rename to ...
12756 (R_AARCH64_TLS_TPREL): This.
12757 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
12758 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
12759 R_AARCH64_TLS_TPREL64.
12760 (elf_machine_rela): Likewise.
12761
12762 2014-11-21 Torvald Riegel <triegel@redhat.com>
12763
12764 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
12765 by setting it to 0. 64b atomics are not supported currently.
12766
12767 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12768
12769 [BZ #16469]
12770 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
12771 search domain names.
12772
12773 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12774
12775 [BZ #16469]
12776 * NEWS: Update.
12777 * resolv/res_query.c (__libc_res_nquerydomain): Retain
12778 trailing dot.
12779 * posix/tst-getaddrinfo5.c: New.
12780 * posix/Makefile (tests): Add it.
12781
12782 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12783
12784 [BZ #14498]
12785 * NEWS: Fixed.
12786 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
12787 after parsing line but before break_if_match.
12788 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
12789 if there is a protocol mismatch.
12790
12791 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
12792
12793 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
12794 because the potential race is on the user-supplied stream.
12795
12796 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12797
12798 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
12799 string literal if not passed a buffer.
12800 * manual/job.texi (ctermid): Update reasoning, note deviation
12801 from posix, suggest mtasurace when not passed a buffer, for
12802 future non-preliminary safety notes.
12803
12804 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12805
12806 * manual/users.texi (cuserid): Fix MT-Safety note for the case
12807 of not passing it a buffer.
12808 Reported by Peng Haitao.
12809
12810 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12811
12812 * manual/Makefile ($(objpfx)stamp-summary): Require
12813 check-safety.sh to pass.
12814 * manual/check-safety.sh: Wish for verification that every
12815 @deftypefn and @deftypefun is followed by a @safety remark.
12816
12817 2014-11-20 Roland McGrath <roland@hack.frob.com>
12818
12819 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
12820
12821 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
12822 PTHREAD_CANCEL_ASYNCHRONOUS.
12823 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
12824 send SIGCANCEL.
12825
12826 * nptl/default-sched.h: New file.
12827 * sysdeps/unix/sysv/linux/default-sched.h: New file.
12828 * nptl/pthread_create.c: Include it.
12829 (__pthread_create_2_1): Use collect_default_sched instead of making
12830 Linux syscalls here directly.
12831
12832 2014-11-20 Torvald Riegel <triegel@redhat.com>
12833
12834 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
12835 __pthread_once): Use C11 atomics.
12836
12837 2014-11-20 Torvald Riegel <triegel@redhat.com>
12838
12839 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
12840
12841 2014-11-20 Torvald Riegel <triegel@redhat.com>
12842
12843 * include/atomic.h (__atomic_link_error, __atomic_check_size,
12844 atomic_thread_fence_acquire, atomic_thread_fence_release,
12845 atomic_thread_fence_seq_cst, atomic_load_relaxed,
12846 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
12847 atomic_compare_exchange_weak_relaxed,
12848 atomic_compare_exchange_weak_acquire,
12849 atomic_compare_exchange_weak_release,
12850 atomic_exchange_acquire, atomic_exchange_release,
12851 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
12852 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
12853 atomic_fetch_and_acquire,
12854 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
12855
12856 2014-11-20 Torvald Riegel <triegel@redhat.com>
12857
12858 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
12859 USE_ATOMIC_COMPILER_BUILTINS): Define.
12860 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
12861 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12862 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
12863 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12864 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
12865 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12866 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
12867 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12868 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
12869 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12870 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
12871 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12872 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
12873 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12874 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
12875 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12876 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12877 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12878 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12879 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12880 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
12881 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12882 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12883 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12884 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
12885 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12886 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12887 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12888 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
12889 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12890 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
12891 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12892 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
12893 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12894 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
12895 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12896 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
12897 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12898 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
12899 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12900
12901 2014-11-19 Roland McGrath <roland@hack.frob.com>
12902
12903 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
12904 the sched_priority value here. It was already checked when the user
12905 called pthread_attr_setschedparam.
12906
12907 * nptl/tst-bad-schedattr.c: New file.
12908 * nptl/Makefile (tests): Add it.
12909
12910 2014-11-19 Carlos O'Donell <carlos@redhat.com>
12911 Florian Weimer <fweimer@redhat.com>
12912 Joseph Myers <joseph@codesourcery.com>
12913 Adam Conrad <adconrad@0c3.net>
12914 Andreas Schwab <schwab@suse.de>
12915 Brooks <bmoses@google.com>
12916
12917 [BZ #17625]
12918 * wordexp-test.c (__dso_handle): Add prototype.
12919 (__register_atfork): Likewise.
12920 (__app_register_atfork): New function.
12921 (registered_forks): New global.
12922 (register_fork): New function.
12923 (test_case): Add 3 new tests for WRDE_CMDSUB.
12924 (main): Call __app_register_atfork.
12925 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
12926 fork count is non-zero fail the test.
12927 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
12928 is set.
12929 (parse_dollars): Remove check for WRDE_NOCMD.
12930 (parse_dquote): Likewise.
12931
12932 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12933
12934 * Makeconfig (built-modules): List non-library modules to be
12935 built.
12936 (module-cppflags): Include libc-modules.h for
12937 everything except shlib-versions.v.i.
12938 (CPPFLAGS): Use it.
12939 (before-compile): Add libc-modules.h.
12940 ($(common-objpfx)libc-modules.h,
12941 $(common-objpfx)libc-modules.stmp): New targets.
12942 (common-generated): Add libc-modules.h and libc-modules.stmp.
12943 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
12944 * include/libc-symbols.h: Don't include libc-modules.h.
12945 * include/libc-modules.h: Remove file.
12946 * scripts/gen-libc-modules.awk: New script to generate
12947 libc-modules.h.
12948 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
12949 Depend on libc-modules.stmp.
12950
12951 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
12952
12953 * Makeconfig (in-module): Get value of libof set for the
12954 translation unit.
12955 (CPPFLAGS): Use $(in-module).
12956 * Makerules: Don't suffix routine names for nonlib.
12957 * include/libc-modules.h: New file.
12958 * include/libc-symbols.h: Include libc-modules.h
12959 (IS_IN): New macro to replace IS_IN_* macros.
12960 * elf/Makefile: Set libof-* for each routine.
12961 * elf/rtld-Rules: Likewise.
12962 * extra-modules.mk: Likewise.
12963 * iconv/Makefile: Likewise.
12964 * iconvdata/Makefile: Likewise.
12965 * locale/Makefile: Likewise.
12966 * malloc/Makefile: Likewise.
12967 * nss/Makefile: Likewise.
12968 * sysdeps/gnu/Makefile: Likewise.
12969 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
12970 * sysdeps/unix/sysv/linux/Makefile: Likewise.
12971 * sysdeps/s390/s390-64/Makefile: Likewise.
12972 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
12973 CPPFLAGS for nscd instead of nonlib.
12974
12975 2014-11-18 Roland McGrath <roland@hack.frob.com>
12976
12977 * nptl/createthread.c: New file.
12978
12979 * nptl/createthread.c: Moved ...
12980 * sysdeps/unix/sysv/linux/createthread.c: ... here.
12981
12982 * nptl/createthread.c: Add proper top-line comment.
12983 (do_clone): Folded into ...
12984 (create_thread): ... here. Take new arguments STOPPED_START and
12985 THREAD_RAN. Always set PD->stopped_start to something here. Don't
12986 increment __nptl_threads, do event-reporting logic, do
12987 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
12988 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
12989 resource cleanup if sched_setaffinity or sched_setscheduler fails,
12990 just send SIGCANCEL.
12991 * nptl/pthread_create.c: Forward-declare create_thread before
12992 including createthread.c.
12993 (start_thread): Use new macro START_THREAD_DEFN to replace defining
12994 declaration, and new macro START_THREAD_SELF to replace argument.
12995 Remove return statement.
12996 (report_thread_creation): New function.
12997 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
12998 synchronization logic, and __nptl_nthreads increment here, around
12999 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
13000 PD->parent_cancelhandling here, before create_thread. When
13001 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
13002 __deallocate_stack, and ENOMEM translation here.
13003
13004 2014-11-18 Joseph Myers <joseph@codesourcery.com>
13005
13006 [BZ #17616]
13007 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
13008 (mptwo): Rename to __mptwo.
13009 (__inv): Use __mptwo instead of mptwo.
13010 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
13011 (mptwo): Rename to __mptwo.
13012 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
13013 of mpone and __mptwo instead of mptwo.
13014 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
13015 instead of mpone.
13016 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13017 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
13018 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
13019 of mpone and __mptwo instead of mptwo.
13020 (__mpranred): Use __mpone instead of mpone.
13021 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
13022 variable.
13023 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13024 (test-xfail-ISO99/math.h/linknamespace): Likewise.
13025 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13026 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13027 (test-xfail-ISO11/math.h/linknamespace): Likewise.
13028 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13029 (test-xfail-XPG3/math.h/linknamespace): Likewise.
13030 (test-xfail-XPG4/math.h/linknamespace): Likewise.
13031 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13032 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13033 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13034 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13035 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13036 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13037 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13038 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13039 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13040 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13041 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13042
13043 2014-11-18 Tom de Vries <tom@codesoucery.com>
13044
13045 * manual/signal.texi (Primitives Interrupted by Signals): In section,
13046 replace BSD Handler xref with BSD Signal Handling.
13047
13048 2014-11-17 Richard Henderson <rth@redhat.com>
13049
13050 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
13051 (_FP_PACK_RAW_2): Remove.
13052 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
13053 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
13054 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
13055 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
13056 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
13057 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
13058 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
13059 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
13060 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
13061 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
13062 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
13063 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
13064 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
13065 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
13066 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
13067 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
13068
13069 2014-11-14 Roland McGrath <roland@hack.frob.com>
13070
13071 * signal/signal.h [__USE_MISC]
13072 (struct sigvec): Remove type.
13073 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
13074 (sigvec): Remove declaration.
13075 * sysdeps/posix/sigvec.c: Moved ...
13076 * signal/sigvec.c: ... here, replacing old file.
13077 (struct sigvec): New type, copied from old signal.h definition.
13078 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
13079 (__sigvec): Convert definition to prototype.
13080 (sigvec): Replace weak_alias with compat_symbol.
13081 * signal/Versions (libc: GLIBC_2.21): New version set.
13082 * include/signal.h: Remove __sigvec declaration.
13083 * sysdeps/unix/bsd/sigvec.c: Remove file.
13084 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
13085 * manual/signal.texi (BSD Handler): Remove subsection.
13086 Move siginterrupt up to ...
13087 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
13088 (Blocking in BSD): Fold subsection into its parent.
13089 * NEWS: Mention sigvec removal.
13090
13091 2014-11-14 Joseph Myers <joseph@codesourcery.com>
13092
13093 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
13094 (DLA_FMS): Make definition conditional only on [__FMA4__].
13095 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
13096 definition.
13097
13098 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
13099 Make definition conditional only on [PROF].
13100 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
13101 definition.
13102 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
13103 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
13104
13105 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
13106 !__GNUC__].
13107 * include/signal.h (__sigpause): Move declaration above call to
13108 libc_hidden_proto.
13109 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
13110 variable.
13111 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13112 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13113
13114 2014-11-14 David S. Miller <davem@davemloft.net>
13115
13116 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
13117 Define before including <string/memcpy.c> and <string/mempcpy.c>.
13118
13119 2014-11-14 Joseph Myers <joseph@codesourcery.com>
13120
13121 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
13122 * configure: Regenerated.
13123 * manual/install.texi (Tools for Compilation): Document a
13124 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
13125 compiler verified to work.
13126 * INSTALL: Regenerated.
13127
13128 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
13129 redeclare with asm name.
13130 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
13131 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
13132 including <string.h>.
13133 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13134 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
13135 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13136 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
13137 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13138 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13139 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13140
13141 2014-11-13 Joseph Myers <joseph@codesourcery.com>
13142
13143 * stdlib/strtol.c (__strtol): Use prototype definition.
13144
13145 [BZ #17594]
13146 * stdlib/strtol.c (SYM__): New macro.
13147 (SYM__1): Likewise.
13148 (__strtol): Likewise.
13149 (strtol): Rename to __strtol and define as weak alias of
13150 __strtol. Use libc_hidden_weak.
13151
13152 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13153
13154 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
13155 Use numbered labels in inline assembly.
13156
13157 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13158
13159 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
13160 Add setjmp LIBC_PROBE.
13161 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
13162 Likewise.
13163 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
13164 Add longjmp, longjmp_target LIBC_PROBE.
13165 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
13166 Likewise.
13167
13168 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13169
13170 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13171 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
13172 to get rid of unused variable warning.
13173
13174 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13175
13176 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
13177 Check for unwind_backtrace == NULL only in SHARED case.
13178 (__backchain_backtrace): Compile only in SHARED case.
13179 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
13180 Likewise.
13181 (__backchain_backtrace): Declare as static.
13182
13183 2014-11-12 Roland McGrath <roland@hack.frob.com>
13184
13185 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
13186 (__libc_multiple_threads_ptr): Variable moved ...
13187 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
13188
13189 2014-11-12 Joseph Myers <joseph@codesourcery.com>
13190
13191 * conform/GlibcConform.pm: New file.
13192 * conform/conformtest.pl: Use GlibcConform module.
13193 * conform/linknamespace.pl: New file.
13194 * conform/list-header-symbols.pl: Likewise.
13195 * conform/Makefile (linknamespace-symlists-base): New variable.
13196 (linknamespace-symlists-tests): Likewise.
13197 (linknamespace-header-base): Likewise.
13198 (linknamespace-header-tests): Likewise.
13199 (tests-special): Add new tests.
13200 ($(linknamespace-symlists-tests)): New rule.
13201 (linknamespace-libs): New variable.
13202 ($(objpfx)symlist-stdlibs): New rule.
13203 ($(linknamespace-header-tests)): Likewise.
13204 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
13205 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
13206 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
13207 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
13208 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
13209 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
13210 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
13211 (test-xfail-ISO/math.h/linknamespace): Likewise.
13212 (test-xfail-ISO/signal.h/linknamespace): Likewise.
13213 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
13214 (test-xfail-ISO/time.h/linknamespace): Likewise.
13215 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13216 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
13217 (test-xfail-ISO99/math.h/linknamespace): Likewise.
13218 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13219 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13220 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13221 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13222 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
13223 (test-xfail-ISO11/math.h/linknamespace): Likewise.
13224 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13225 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13226 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13227 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
13228 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
13229 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
13230 (test-xfail-XPG3/math.h/linknamespace): Likewise.
13231 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
13232 (test-xfail-XPG3/search.h/linknamespace): Likewise.
13233 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
13234 (test-xfail-XPG3/time.h/linknamespace): Likewise.
13235 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
13236 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13237 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
13238 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
13239 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13240 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13241 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
13242 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
13243 (test-xfail-XPG4/math.h/linknamespace): Likewise.
13244 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
13245 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
13246 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13247 (test-xfail-XPG4/search.h/linknamespace): Likewise.
13248 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13249 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
13250 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
13251 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
13252 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
13253 (test-xfail-XPG4/time.h/linknamespace): Likewise.
13254 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
13255 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13256 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
13257 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13258 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13259 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13260 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
13261 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
13262 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13263 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
13264 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
13265 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
13266 (test-xfail-POSIX/time.h/linknamespace): Likewise.
13267 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
13268 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13269 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
13270 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
13271 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
13272 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13273 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13274 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
13275 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
13276 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13277 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
13278 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
13279 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
13280 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
13281 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
13282 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
13283 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13284 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
13285 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13286 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13287 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
13288 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
13289 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
13290 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
13291 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
13292 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
13293 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13294 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
13295 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13296 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
13297 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
13298 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13299 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13300 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
13301 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
13302 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13303 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
13304 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
13305 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
13306 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
13307 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
13308 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13309 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13310 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
13311 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
13312 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
13313 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13314 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
13315 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
13316 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13317 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
13318 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13319 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
13320 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13321 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13322 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13323 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
13324 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13325 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
13326 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
13327 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
13328 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13329 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13330 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
13331 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
13332 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13333 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
13334 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13335 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
13336 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13337 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
13338 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
13339 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13340 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
13341 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
13342 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
13343 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13344 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13345 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
13346 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
13347 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
13348 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
13349 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13350 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
13351 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
13352 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13353 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
13354 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13355 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13356 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13357 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
13358 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13359 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
13360 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
13361 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
13362 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13363 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
13364 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13365
13366 [BZ #17589]
13367 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
13368 of fgets_unlocked.
13369
13370 [BZ #17585]
13371 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
13372 (memmem): Rename to __memmem and define as weak alias of
13373 __memmem. Use libc_hidden_weak.
13374 (__memmem): Use libc_hidden_def.
13375 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
13376 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
13377 memmem.
13378
13379 [BZ #17582]
13380 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
13381 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
13382 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
13383 and define as weak alias of __fgets_unlocked. Use
13384 libc_hidden_weak.
13385 (__fgets_unlocked): Use libc_hidden_def.
13386 * include/stdio.h (__fgets_unlocked): Declare. Use
13387 libc_hidden_proto.
13388 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
13389 __fgets_unlocked instead of fgets_unlocked.
13390 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
13391 (GET_NPROCS_CONF_PARSER): Likewise.
13392 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
13393 (GET_NPROCS_CONF_PARSER): Likewise.
13394
13395 [BZ #17574]
13396 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
13397 weak alias of __wmemset. Use libc_hidden_weak.
13398 (__wmemset): Use libc_hidden_def.
13399 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
13400 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
13401 of wmemset.
13402
13403 [BZ #17573]
13404 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
13405 with asm name __mempcpy.
13406 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
13407
13408 [BZ #17572]
13409 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
13410 and define as weak alias of __rawmemchr.
13411 (__rawmemchr): Do not define as strong alias of rawmemchr.
13412
13413 [BZ #17571]
13414 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
13415 alias of __qsort_r.
13416 (qsort): Call __qsort_r instead of qsort_r.
13417 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
13418 (__qsort_r): Declare. Call libc_hidden_proto.
13419 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
13420 instead of qsort_r.
13421 * nscd/gai.c (__qsort_r): Define to qsort_r.
13422 * posix/tst-rfc3484.c (__qsort_r): Likewise.
13423 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
13424 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
13425
13426 [BZ #17570]
13427 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
13428 define as weak alias of __malloc_info.
13429
13430 [BZ #17584]
13431 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
13432 as weak alias of __rewinddir. Don't use libc_hidden_def.
13433 (__rewinddir): Use libc_hidden_def.
13434 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
13435 as weak alias of __rewinddir. Don't use libc_hidden_def.
13436 (__rewinddir): Use libc_hidden_def.
13437 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
13438 weak alias of __rewinddir. Don't use libc_hidden_def.
13439 (__rewinddir): Use libc_hidden_def.
13440 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
13441 (__rewinddir): Use libc_hidden_proto.
13442 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
13443 rewinddir.
13444 (__getcwd): Use __rewinddir instead of rewinddir.
13445
13446 [BZ #17583]
13447 * libio/fileno.c (fileno): Rename to __fileno and define as weak
13448 alias of __fileno. Use libc_hidden_weak.
13449 (__fileno): Use libc_hidden_def.
13450 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
13451 * libio/ftello.c (ftello): Rename to __ftello and define as weak
13452 alias of __ftello.
13453 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
13454 __ftello.
13455 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
13456 (__fread_unlocked): Define as strong alias of _IO_fread. Use
13457 libc_hidden_def.
13458 (fread_unlocked): Don't use libc_hidden_ver.
13459 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
13460 and define as weak alias of __fread_unlocked. Don't use
13461 libc_hidden_def.
13462 (__fread_unlocked): Use libc_hidden_def.
13463 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
13464 (ftello): Don't use libc_hidden_proto.
13465 (__ftello): Declare. Use libc_hidden_proto.
13466 (fread_unlocked): Don't use libc_hidden_proto.
13467 (__fread_unlocked): Declare. Use libc_hidden_proto.
13468 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
13469 and __ftello instead of fileno, fread_unlocked and ftello.
13470
13471 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13472
13473 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
13474 GOT12.
13475 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
13476 Likewise.
13477 (_dl_start_user): Likewise.
13478 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
13479
13480 2014-11-12 Carlos O'Donell <carlos@redhat.com>
13481 Siddhesh Poyarekar <siddhesh@redhat.com>
13482
13483 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
13484 Move argv and envp down instead of moving argc up.
13485 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
13486
13487 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
13488
13489 [BZ #17506]
13490 * test-skeleton.c (main): Return successful if one of
13491 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
13492 * string/tst-strcoll-overflow.c: Define expected status.
13493
13494 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
13495
13496 [BZ #17475]
13497 * locale/iso-639.def: Define Bhili and Tulu language codes.
13498
13499 2014-11-11 Alan Hayward <alan.hayward@arm.com>
13500
13501 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
13502
13503 2014-11-10 Renlin Li <Renlin.Li@arm.com>
13504
13505 [BZ #17555]
13506 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
13507
13508 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
13509
13510 * configure.ac: Updated check of minimal required version to
13511 2.22.
13512 * manual/install.texi (Tools for Compilation): Updated version
13513 number.
13514 * configure: Regenerated.
13515 * INSTALL: Likewise.
13516
13517 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
13518
13519 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
13520 __tls_get_addr.
13521
13522 2014-11-07 Joseph Myers <joseph@codesourcery.com>
13523
13524 * include/sys/wait.h (__libc_waitpid): Remove declaration.
13525 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
13526 (__waitpid): Don't define as alias. Use libc_hidden_def not
13527 libc_hidden_weak.
13528 (waitpid): Define as alias of __waitpid.
13529 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
13530 __waitpid.
13531 (__waitpid): Don't define as alias. Use libc_hidden_def not
13532 libc_hidden_weak.
13533 (waitpid): Define as alias of __waitpid.
13534 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
13535 __libc_waitpid alias.
13536 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
13537 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
13538 Likewise.
13539 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
13540 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
13541 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
13542 alias.
13543 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
13544 __waitpid.
13545 (__waitpid): Don't define as alias. Use libc_hidden_def not
13546 libc_hidden_weak.
13547 (waitpid): Define as alias of __waitpid.
13548
13549 2014-11-06 Carlos O'Donell <carlos@redhat.com>
13550
13551 * manual/llio.texi: Add comment that write safety has been
13552 fixed in Linux.
13553
13554 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
13555 (localplt-build-dso): Add elf/ld.so.
13556 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
13557 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
13558 and free for ld.so.
13559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
13560 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
13561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
13562 Likewise.
13563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13564 Likewise.
13565 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
13566 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
13567 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
13568 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
13569 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13570 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
13571 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
13572 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
13573 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13574 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
13575 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13576
13577 2014-11-05 Joseph Myers <joseph@codesourcery.com>
13578
13579 [BZ #14132]
13580 * include/libc-symbols.h (INTUSE): Remove macro.
13581 (INTDEF): Likewise.
13582 (INTVARDEF): Likewise.
13583 (_INTVARDEF): Likewise.
13584 (INTDEF2): Likewise.
13585 (INTVARDEF2): Likewise.
13586 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
13587 rtld_hidden_def instead of INTVARDEF.
13588 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
13589 (_dl_starting_up_internal): Remove declaration.
13590 (_dl_starting_up): Use rtld_hidden_proto.
13591 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
13592 declaration.
13593 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
13594 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
13595 _dl_starting_up.
13596 * elf/dl-writev.h (_dl_writev): Likewise.
13597 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
13598 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
13599 _dl_starting_up_internal.
13600
13601 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13602
13603 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
13604 test-skeleton.c.
13605
13606 2014-11-05 Will Newton <will.newton@linaro.org>
13607
13608 * benchtests/Makefile: (bench-malloc): Add malloc thread
13609 scalability benchmark.
13610 * benchtests/bench-malloc-threads.c: New file.
13611
13612 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
13613
13614 * sysdeps/aarch64/strchrnul.S: New file.
13615
13616 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13617
13618 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
13619 definition.
13620 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13621 Likwise.
13622 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13623 Likewise.
13624 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13625 Likewise.
13626 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13627 Likewise.
13628 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13629 Likewise.
13630
13631 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
13632
13633 * catgets/test-gencat.c: Use test-skeleton.c.
13634 * catgets/tst-catgets.c: Likewise.
13635 * csu/tst-empty.c: Likewise.
13636 * elf/tst-audit2.c: Likewise.
13637 * elf/tst-global1.c: Likewise.
13638 * elf/tst-pathopt.c: Likewise.
13639 * elf/tst-piemod1.c: Likewise.
13640 * elf/tst-tls10.c: Likewise.
13641 * elf/tst-tls11.c: Likewise.
13642 * elf/tst-tls12.c: Likewise.
13643 * gnulib/tst-gcc.c: Likewise.
13644 * iconvdata/tst-e2big.c: Likewise.
13645 * iconvdata/tst-loading.c: Likewise.
13646 * iconv/tst-iconv1.c: Likewise.
13647 * iconv/tst-iconv2.c: Likewise.
13648 * inet/test-inet6_opt.c: Likewise.
13649 * inet/tst-gethnm.c: Likewise.
13650 * inet/tst-network.c: Likewise.
13651 * inet/tst-ntoa.c: Likewise.
13652 * intl/tst-codeset.c: Likewise.
13653 * intl/tst-gettext2.c: Likewise.
13654 * intl/tst-gettext3.c: Likewise.
13655 * intl/tst-ngettext.c: Likewise.
13656 * intl/tst-translit.c: Likewise.
13657 * io/test-stat.c: Likewise.
13658 * libio/test-fmemopen.c: Likewise.
13659 * libio/tst-freopen.c: Likewise.
13660 * libio/tst-sscanf.c: Likewise.
13661 * libio/tst-ungetwc1.c: Likewise.
13662 * libio/tst-ungetwc2.c: Likewise.
13663 * libio/tst-widetext.c: Likewise.
13664 * localedata/tst-ctype.c: Likewise.
13665 * localedata/tst-digits.c: Likewise.
13666 * localedata/tst-leaks.c: Likewise.
13667 * localedata/tst-mbswcs1.c: Likewise.
13668 * localedata/tst-mbswcs2.c: Likewise.
13669 * localedata/tst-mbswcs3.c: Likewise.
13670 * localedata/tst-mbswcs4.c: Likewise.
13671 * localedata/tst-mbswcs5.c: Likewise.
13672 * localedata/tst-setlocale.c: Likewise.
13673 * localedata/tst-trans.c: Likewise.
13674 * localedata/tst-wctype.c: Likewise.
13675 * localedata/tst-xlocale1.c: Likewise.
13676 * login/tst-grantpt.c: Likewise.
13677 * malloc/tst-calloc.c: Likewise.
13678 * malloc/tst-malloc.c: Likewise.
13679 * malloc/tst-mallocstate.c: Likewise.
13680 * malloc/tst-mcheck.c: Likewise.
13681 * malloc/tst-mtrace.c: Likewise.
13682 * malloc/tst-obstack.c: Likewise.
13683 * math/atest-exp2.c: Likewise.
13684 * math/atest-exp.c: Likewise.
13685 * math/atest-sincos.c: Likewise.
13686 * math/test-matherr.c: Likewise.
13687 * math/test-misc.c: Likewise.
13688 * math/test-powl.c: Likewise.
13689 * math/tst-definitions.c: Likewise.
13690 * misc/tst-dirname.c: Likewise.
13691 * misc/tst-efgcvt.c: Likewise.
13692 * misc/tst-fdset.c: Likewise.
13693 * misc/tst-hsearch.c: Likewise.
13694 * misc/tst-mntent2.c: Likewise.
13695 * nptl/tst-sem7.c: Likewise.
13696 * nptl/tst-sem8.c: Likewise.
13697 * nptl/tst-sem9.c: Likewise.
13698 * nss/test-netdb.c: Likewise.
13699 * posix/tst-fnmatch.c: Likewise.
13700 * posix/tst-getlogin.c: Likewise.
13701 * posix/tst-gnuglob.c: Likewise.
13702 * posix/tst-mmap.c: Likewise.
13703 * pwd/tst-getpw.c: Likewise.
13704 * resolv/tst-inet_ntop.c: Likewise.
13705 * rt/tst-timer.c: Likewise.
13706 * stdio-common/test-fseek.c: Likewise.
13707 * stdio-common/test-popen.c: Likewise.
13708 * stdio-common/test-vfprintf.c: Likewise.
13709 * stdio-common/tst-cookie.c: Likewise.
13710 * stdio-common/tst-fileno.c: Likewise.
13711 * stdio-common/tst-gets.c: Likewise.
13712 * stdio-common/tst-obprintf.c: Likewise.
13713 * stdio-common/tst-perror.c: Likewise.
13714 * stdio-common/tst-sprintf2.c: Likewise.
13715 * stdio-common/tst-sprintf3.c: Likewise.
13716 * stdio-common/tst-sprintf.c: Likewise.
13717 * stdio-common/tst-swprintf.c: Likewise.
13718 * stdio-common/tst-tmpnam.c: Likewise.
13719 * stdio-common/tst-unbputc.c: Likewise.
13720 * stdio-common/tst-wc-printf.c: Likewise.
13721 * stdlib/tst-environ.c: Likewise.
13722 * stdlib/tst-fmtmsg.c: Likewise.
13723 * stdlib/tst-limits.c: Likewise.
13724 * stdlib/tst-rand48-2.c: Likewise.
13725 * stdlib/tst-rand48.c: Likewise.
13726 * stdlib/tst-random2.c: Likewise.
13727 * stdlib/tst-random.c: Likewise.
13728 * stdlib/tst-strtol.c: Likewise.
13729 * stdlib/tst-strtoll.c: Likewise.
13730 * stdlib/tst-tls-atexit.c: Likewise.
13731 * stdlib/tst-xpg-basename.c: Likewise.
13732 * string/test-ffs.c: Likewise.
13733 * string/tst-bswap.c: Likewise.
13734 * string/tst-inlcall.c: Likewise.
13735 * string/tst-strtok.c: Likewise.
13736 * string/tst-strxfrm.c: Likewise.
13737 * sysdeps/x86_64/tst-audit10.c: Likewise.
13738 * sysdeps/x86_64/tst-audit3.c: Likewise.
13739 * sysdeps/x86_64/tst-audit4.c: Likewise.
13740 * sysdeps/x86_64/tst-audit5.c: Likewise.
13741 * time/tst-ftime_l.c: Likewise.
13742 * time/tst-getdate.c: Likewise.
13743 * time/tst-mktime3.c: Likewise.
13744 * time/tst-mktime.c: Likewise.
13745 * time/tst-posixtz.c: Likewise.
13746 * time/tst-strptime2.c: Likewise.
13747 * time/tst-strptime3.c: Likewise.
13748 * wcsmbs/tst-btowc.c: Likewise.
13749 * wcsmbs/tst-mbrtowc.c: Likewise.
13750 * wcsmbs/tst-mbsrtowcs.c: Likewise.
13751 * wcsmbs/tst-wchar-h.c: Likewise.
13752 * wcsmbs/tst-wcpncpy.c: Likewise.
13753 * wcsmbs/tst-wcrtomb.c: Likewise.
13754 * wcsmbs/tst-wcsnlen.c: Likewise.
13755 * wcsmbs/tst-wcstof.c: Likewise.
13756
13757 2014-11-04 Joseph Myers <joseph@codesourcery.com>
13758
13759 [BZ #14132]
13760 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
13761 INTDEF.
13762 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
13763 declaration.
13764 (_dl_mcount): Use rtld_hidden_proto.
13765 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
13766 _dl_mcount.
13767 * elf/rtld.c (_rtld_global_ro): Likewise.
13768
13769 [BZ #14132]
13770 * elf/dl-init.c (_dl_init): Don't use INTDEF.
13771 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
13772 of _dl_init_internal.
13773 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
13774 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
13775 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
13776 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
13777 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
13778 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
13779 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
13780 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
13781 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
13782 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
13783 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
13784 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
13785 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13786 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13787 * sysdeps/tile/dl-start.S (_start): Likewise.
13788 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
13789 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
13790
13791 [BZ #14132]
13792 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
13793 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
13794 (rtld_progname): Make macro definition unconditional.
13795 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
13796 INTDEF.
13797 (dlmopen_doit): Do not use INTUSE with _dl_argv.
13798 (dl_main): Likewise.
13799 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13800 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
13801 instead of _dl_argv_internal.
13802 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13803 __GI__dl_argv instead of INTUSE(_dl_argv).
13804 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
13805 __GI__dl_argv instead of _dl_argv_internal.
13806
13807 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
13808 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
13809 macro.
13810 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
13811 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
13812 New macro.
13813 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
13814 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
13815 macro.
13816 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
13817 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
13818
13819 2014-11-04 Andreas Schwab <schwab@suse.de>
13820
13821 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
13822
13823 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13824
13825 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
13826 mtvsrd instruction in binary form.
13827
13828 2014-11-03 Andreas Schwab <schwab@suse.de>
13829
13830 [BZ #17522]
13831 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
13832 for less than MB_LEN_MAX use a local buffer of that size.
13833 * libio/tst-fputws.c: New file.
13834 * libio/Makefile (tests): Add tst-fputws.
13835
13836 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
13837
13838 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
13839 the size of the fpu_fr.fpu_dregs[] array.
13840
13841 2014-11-01 Joseph Myers <joseph@codesourcery.com>
13842
13843 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
13844 (__nanosleep): Do not define as alias.
13845 (nanosleep): Define as alias of __nanosleep.
13846 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
13847 __libc_nanosleep name.
13848
13849 2014-10-31 Joseph Myers <joseph@codesourcery.com>
13850
13851 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
13852 install.texi in comment.
13853
13854 2014-10-31 Torvald Riegel <triegel@redhat.com>
13855
13856 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
13857 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
13858 ... add here and use lwsync or sync ...
13859 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
13860 ... and add here using lwsync.
13861
13862 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
13863
13864 * elf/dl-machine-reject-phdr.h: New file.
13865 * elf/dl-load.c: #include that.
13866 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
13867 if that returned true.
13868
13869 2014-10-31 Roland McGrath <roland@hack.frob.com>
13870
13871 [BZ #17496]
13872 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
13873 gen-as-const-headers chunk. Add a big scare comment after the last
13874 safe place to touch before-compile.
13875
13876 2014-10-31 Joseph Myers <joseph@codesourcery.com>
13877
13878 * manual/install.texi (Tools for Compilation): Update autoconf
13879 version requirements.
13880 * INSTALL: Regenerated.
13881
13882 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
13883 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
13884 (__libc_pselect): Likewise.
13885
13886 [BZ #14138]
13887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
13888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13891
13892 2014-10-31 Torvald Riegel <triegel@redhat.com>
13893
13894 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
13895 correct barrier instruction.
13896 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
13897 Likewise.
13898 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
13899 Likewise.
13900
13901 2014-10-30 Roland McGrath <roland@hack.frob.com>
13902
13903 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
13904 after defining inlines. Instead, just use parens to defeat macro
13905 expansion of __isctype in its declaration.
13906
13907 2014-10-30 Joseph Myers <joseph@codesourcery.com>
13908
13909 * include/sys/uio.h (__libc_readv): Remove declaration.
13910 (__libc_writev): Likewise.
13911 * misc/readv.c (__libc_readv): Rename to __readv.
13912 (__readv): Do not define as alias.
13913 (readv): Define as alias of __readv.
13914 * misc/writev.c (__libc_writev): Rename to __writev.
13915 (__writev): Do not define as alias.
13916 (writev): Define as alias of __writev.
13917 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
13918 (__readv): Do not define as alias.
13919 (readv): Define unconditionally as alias of __readv.
13920 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
13921 (__writev): Do not define as alias.
13922 (writev): Define unconditionally as alias of __writev.
13923 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
13924 name.
13925 (writev): Do not define __libc_writev name.
13926
13927 2014-10-30 Roland McGrath <roland@hack.frob.com>
13928
13929 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
13930 (convert_charseq): New function, broken out of ...
13931 (use_from_charmap): ... here. Call it.
13932 (use_to_charmap): Use convert_charseq and free instead of duplicating
13933 its code with a variable-length stack struct.
13934
13935 2014-10-30 Joseph Myers <joseph@codesourcery.com>
13936
13937 * include/fcntl.h (__libc_creat): Remove declaration.
13938 * io/creat.c (__libc_creat): Rename to creat.
13939 (creat): Do not define as alias.
13940 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
13941 of creat instead of __libc_creat.
13942 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
13943 to creat.
13944 (creat): Do not define as alias.
13945 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
13946 __libc_creat.
13947 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
13948 __libc_creat name.
13949 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
13950 Likewise.
13951
13952 2014-10-29 Carlos O'Donell <carlos@redhat.com>
13953
13954 * manual/llio.texi: Add comments discussing why write() may be
13955 considered MT-unsafe on Linux.
13956
13957 2014-10-28 Carlos O'Donell <carlos@redhat.com>
13958
13959 * dl-load.c (local_strdup): Remove.
13960 (expand_dynamic_string_token): Use __strdup.
13961 (decompose_rpath): Likewise.
13962 (_dl_map_object): Likewise.
13963
13964 2014-10-28 Joseph Myers <joseph@codesourcery.com>
13965
13966 [BZ #14132]
13967 * sysdeps/generic/unwind-dw2-fde.c
13968 (__register_frame_info_bases_internal): Do not declare.
13969 (__register_frame_info_table_bases_internal): Likewise.
13970 (__deregister_frame_info_bases_internal): Likewise.
13971 (__register_frame_info_bases): Declare and use hidden_proto before
13972 definition. Use hidden_def instead of INTDEF.
13973 (__register_frame_info_table_bases): Likewise.
13974 (__deregister_frame_info_bases): Likewise.
13975 (__register_frame_info): Do not use INTUSE.
13976 (__register_frame): Likewise.
13977 (__register_frame_info_table): Likewise.
13978 (__register_frame_table): Likewise.
13979 (__deregister_frame_info): Likewise.
13980 (__deregister_frame): Likewise.
13981
13982 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
13983
13984 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13985 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
13986 not undefine.
13987 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
13988 Likewise.
13989 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
13990 Likewise.
13991
13992 2014-10-27 Joseph Myers <joseph@codesourcery.com>
13993
13994 [BZ #14138]
13995 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
13996 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
13997 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
13998 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
13999 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
14000 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
14001 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
14002 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
14003 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
14004 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
14005 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
14006 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
14007 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
14008 syscall.
14009 (setfsuid): Likewise.
14010 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
14011 (setfsuid): Likewise.
14012 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
14013 (setfsuid): Likewise.
14014 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
14015 Likewise.
14016 (setfsuid): Likewise.
14017 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
14018 (setfsuid): Likewise.
14019 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
14020 Likewise.
14021 (setfsuid): Likewise.
14022
14023 2014-10-27 Andreas Schwab <schwab@suse.de>
14024
14025 [BZ #17501]
14026 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
14027 check for Slow_SSE4_2 feature bit.
14028 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
14029 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14030 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
14031 Likewise. Fix check for Fast_Unaligned_Load feature bit.
14032
14033 2014-10-24 Roland McGrath <roland@hack.frob.com>
14034
14035 * configure.ac: Validate compiler version with a empirical test of
14036 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
14037 $CC -v output.
14038 * configure: Regenerated.
14039
14040 * inet/htons.c (htons): Prototypify.
14041 * inet/htonl.c (htonl): Likewise.
14042
14043 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14044
14045 * string/strncat.c (strncat): Improve performance by using strlen.
14046
14047 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14048
14049 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
14050
14051 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14052
14053 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
14054 Call libc_fetestexcept_aarch64.
14055
14056 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14057
14058 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
14059 Call libc_feholdexcept_aarch64.
14060
14061 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14062
14063 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
14064 Call get_rounding_mode.
14065
14066 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14067
14068 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14069 Simplify logic.
14070
14071 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14072
14073 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
14074 Simplify logic.
14075
14076 2014-10-24 Joseph Myers <joseph@codesourcery.com>
14077
14078 [BZ #14138]
14079 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
14080 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
14081 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
14082 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
14083 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
14084 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
14085 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
14086 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
14087 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
14088 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
14089 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14090 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
14091 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
14092 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
14093 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
14094 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
14095 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
14096 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
14097 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
14098 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
14099 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
14100 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
14101 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
14102 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
14103 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
14104 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
14105 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
14106 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
14107 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
14108 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
14109 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
14110 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
14111 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
14112 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
14113 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
14114 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
14115 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
14116 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
14117 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
14118 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
14119 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
14120 syscall.
14121 (geteuid): Likewise.
14122 (getgid): Likewise.
14123 (getuid): Likewise.
14124 (getresgid): Likewise.
14125 (getresuid): Likewise.
14126 (getgroups): Likewise.
14127 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
14128 (geteuid): Likewise.
14129 (getgid): Likewise.
14130 (getuid): Likewise.
14131 (getresgid): Likewise.
14132 (getresuid): Likewise.
14133 (getgroups): Likewise.
14134 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
14135 (geteuid): Likewise.
14136 (getgid): Likewise.
14137 (getuid): Likewise.
14138 (getresgid): Likewise.
14139 (getresuid): Likewise.
14140 (getgroups): Likewise.
14141 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
14142 Likewise.
14143 (geteuid): Likewise.
14144 (getgid): Likewise.
14145 (getuid): Likewise.
14146 (getresgid): Likewise.
14147 (getresuid): Likewise.
14148 (getgroups): Likewise.
14149 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
14150 (geteuid): Likewise.
14151 (getgid): Likewise.
14152 (getuid): Likewise.
14153 (getresgid): Likewise.
14154 (getresuid): Likewise.
14155 (getgroups): Likewise.
14156 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
14157 Likewise.
14158 (geteuid): Likewise.
14159 (getgid): Likewise.
14160 (getuid): Likewise.
14161 (getgroups): Likewise.
14162
14163 [BZ #14138]
14164 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
14165 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
14166 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
14167 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14168 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
14169 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
14170 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
14171 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
14172 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
14173 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
14174 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
14175 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
14176 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
14177 __chown.
14178 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
14179 (lchown): Likewise.
14180 (fchown): Likewise.
14181 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
14182 Likewise.
14183 (lchown): Likewise.
14184 (fchown): Likewise.
14185 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
14186 (lchown): Likewise.
14187 (fchown): Likewise.
14188 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
14189 Likewise.
14190 (lchown): Likewise.
14191 (fchown): Likewise.
14192
14193 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14194
14195 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
14196 Simplify logic.
14197
14198 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14199
14200 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14201 Cleanup logic.
14202
14203 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14204
14205 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14206 Remove unused include.
14207
14208 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14209
14210 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
14211 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
14212 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
14213 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
14214
14215 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
14216 Helge Deller <deller@gmx.de>
14217
14218 [BZ #17508]
14219 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
14220 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
14221 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
14222
14223 2014-10-23 Joseph Myers <joseph@codesourcery.com>
14224
14225 [BZ #14132]
14226 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
14227 Remove macro definition.
14228 (__ashrdi3_v_glibc20): Likewise.
14229 (__lshrdi3_v_glibc20): Likewise.
14230 (__cmpdi2_v_glibc20): Likewise.
14231 (__ucmpdi2_v_glibc20): Likewise.
14232 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
14233 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14234 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14235 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14236 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14237 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
14238
14239 2014-10-22 Roland McGrath <roland@hack.frob.com>
14240
14241 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
14242 old GNU extension [0] syntax.
14243 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
14244 alloca rather than an array member with variable length.
14245 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
14246 * nscd/nscd.c (invalidate_db): New function, broken out of ...
14247 (parse_opt): ... here. Likewise use alloca there.
14248 Validate the -i argument before checking for rootness.
14249 (send_shutdown): New function, broken out of ...
14250 (parse_opt): ... here.
14251
14252 2014-10-22 Roland McGrath <roland@hack.frob.com>
14253
14254 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
14255 macro to get at the _rt_local_ro field.
14256 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
14257 ([PIC] case) or _dl_hwcap ([!PIC] case).
14258 * sysdeps/arm/setjmp.S: Likewise.
14259
14260 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
14261 * sysdeps/arm/configure.ac: New check to define it.
14262 * sysdeps/arm/configure: Regenerated.
14263 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
14264 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
14265 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
14266 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
14267 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
14268 Use move/movt pair instead of a load.
14269 (LDST_GLOBAL): Macro removed.
14270 (LDR_GLOBAL): New macro replaces it.
14271 (LDR_HIDDEN): New macro.
14272 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
14273 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
14274
14275 * setjmp/tst-setjmp-static.c: New file.
14276 * setjmp/Makefile (tests): Add it.
14277 (tests-static): New variable.
14278
14279 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
14280
14281 [BZ #17485]
14282 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
14283
14284 2014-10-21 Joseph Myers <joseph@codesourcery.com>
14285
14286 [BZ #14132]
14287 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
14288
14289 2014-10-21 Roland McGrath <roland@hack.frob.com>
14290
14291 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
14292
14293 2014-10-20 Roland McGrath <roland@hack.frob.com>
14294
14295 * io/fts.c (dirent_not_directory): New function.
14296 (fts_build): Call it.
14297
14298 2014-10-20 Roland McGrath <roland@hack.frob.com>
14299
14300 * nptl/version.c (__nptl_main): Use normal __write rather than
14301 INTERNAL_SYSCALL.
14302 (banner): Update copyright years.
14303
14304 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
14305 gettimeofday.
14306 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14307 * nptl/pthread_cond_timedwait.c: Likewise.
14308 * nptl/pthread_mutex_timedlock.c: Likewise.
14309 * nptl/sem_timedwait.c: Likewise.
14310
14311 * sysdeps/nptl/bits/libc-lock.h
14312 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14313 (__libc_lock_init_recursive): Return void, not 0.
14314 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
14315 (__libc_rwlock_init): Likewise.
14316 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
14317
14318 2014-10-20 Torvald Riegel <triegel@redhat.com>
14319
14320 [BZ #15215]
14321 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
14322 (__pthread_once_slow): ... here.
14323 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
14324 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
14325
14326 2014-10-20 Torvald Riegel <triegel@redhat.com>
14327
14328 [BZ #15215]
14329 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
14330 __PTHREAD_ONCE_FORK_GEN_INCR): New.
14331 * sysdeps/nptl/fork.c (__libc_fork): Use them.
14332 * nptl/pthread_once.c (__pthread_once): Likewise.
14333 Update comments.
14334
14335 2014-10-20 Joseph Myers <joseph@codesourcery.com>
14336
14337 [BZ #14138]
14338 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
14339 name.
14340 (writev): Use __libc_writev as strong name.
14341 * sysdeps/unix/sysv/linux/readv.c: Remove file.
14342 * sysdeps/unix/sysv/linux/writev.c: Likewise.
14343
14344 2014-10-17 Roland McGrath <roland@hack.frob.com>
14345
14346 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
14347
14348 * sysdeps/i386/nptl/tls.h
14349 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
14350 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
14351 New macros.
14352 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
14353 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
14354 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
14355 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
14356 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
14357 Call CHECK_THREAD_SYSINFO instead of doing an assert.
14358
14359 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14360 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
14361 on [__NR_futex].
14362 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
14363 broken out of ...
14364 (__pthread_mutex_init): ... here. Call it.
14365 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
14366 Conditionalize PI cases on [__NR_futex].
14367 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
14368 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
14369 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14370
14371 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
14372 conditional on [SIGSETXID].
14373 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
14374 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
14375 is defined. Likewise for SIGSETXID.
14376 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
14377 Conditionalize definitions on [SIGSETXID].
14378 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
14379 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
14380 unblocking on [SIGCANCEL].
14381
14382 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
14383 [__NR_set_robust_list].
14384
14385 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14386
14387 * string/strcoll_l.c (get_next_seq): Fix up formatting.
14388 (do_compare): Likewise.
14389
14390 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
14391
14392 [BZ #15884]
14393 * string/strcoll_l.c: Don't include stdio.h.
14394 (coll_seq): Remove members idxarr and rulearr.
14395 (get_next_seq_cached): Remove function.
14396 (get_next_seq): Likewise.
14397 (get_next_seq_nocache): Rename to get_next_seq.
14398 (do_compare): Remove function.
14399 (do_compare_nocache): Rename to do_compare.
14400 (STRCOLL): Remove weight and rules cache.
14401
14402 2014-10-16 Roland McGrath <roland@hack.frob.com>
14403
14404 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
14405 * sysdeps/arm/sfp-machine.h: ... to here.
14406 * sysdeps/arm/Implies: Remove arm/soft-fp.
14407
14408 2014-10-14 Joseph Myers <joseph@codesourcery.com>
14409
14410 * conform/data/sys/utsname.h-data (*_t): Allow.
14411 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
14412 [POSIX] (WEXITED): Do not expect constant.
14413 [POSIX] (WSTOPPED): Likewise.
14414 [POSIX] (WNOHANG): Likewise.
14415 [POSIX] (WNOWAIT): Likewise.
14416 [POSIX] (siginfo_t): Do not expect type or elements.
14417 [POSIX] (pid_t): Do not expect type.
14418 [POSIX] (signal.h): Do not allow header.
14419 [POSIX] (sys/resource.h): Likewise.
14420 [POSIX] (si_*): Do not allow pattern.
14421 [POSIX] (W*): Likewise.
14422 [POSIX] (P_*): Likewise.
14423 [POSIX] (BUS_*): Likewise.
14424 [POSIX] (CLD_*): Likewise.
14425 [POSIX] (FPE_*): Likewise.
14426 [POSIX] (ILL_*): Likewise.
14427 [POSIX] (POLL_*): Likewise.
14428 [POSIX] (SEGV_*): Likewise.
14429 [POSIX] (SI_*): Likewise.
14430 [POSIX] (TRAP_*): Likewise.
14431 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
14432 variable.
14433
14434 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
14435
14436 [BZ #12926]
14437 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
14438 infinite loop when __recvmsg returns 0.
14439
14440 2014-10-10 Joseph Myers <joseph@codesourcery.com>
14441
14442 * CANCEL-FCT-WAIVE: Remove file.
14443 * CANCEL-FILE-WAIVE: Likewise.
14444
14445 [BZ #14132]
14446 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
14447 instead of INTVARDEF.
14448 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14449 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
14450 rtld_hidden_data_def instead of INTVARDEF.
14451 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14452 * elf/dl-deps.c (expand_dst): Likewise.
14453 * elf/dl-load.c (_dl_dst_count): Likewise.
14454 (_dl_dst_substitute): Likewise.
14455 (decompose_rpath): Likewise.
14456 (_dl_init_paths): Likewise.
14457 (open_path): Likewise.
14458 (_dl_map_object): Likewise.
14459 * elf/rtld.c (dl_main): Likewise.
14460 (process_dl_audit): Likewise.
14461 (process_envvars): Likewise.
14462 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
14463 Remove declaration.
14464 (__libc_enable_secure): Use rtld_hidden_proto.
14465
14466 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14467
14468 * elf/dl-load.c
14469 (add_path): New function broken out of _dl_rtld_di_serinfo.
14470 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
14471
14472 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14473
14474 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
14475 parentheses around macro arguments.
14476 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
14477 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
14478 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
14479 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
14480 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
14481 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14482 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14483 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
14484 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
14485 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
14486 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
14487 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
14488 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
14489 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
14490 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
14491 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
14492 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
14493 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
14494 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
14495 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
14496 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
14497 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
14498 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
14499 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14500 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14501 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
14502 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
14503 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
14504 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
14505 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
14506 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
14507 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
14508 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
14509 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
14510 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
14511 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
14512 Likewise.
14513 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
14514 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14515 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14516 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
14517 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
14518 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
14519 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
14520 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
14521 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
14522 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
14523 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
14524 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
14525 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
14526 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
14527 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
14528 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14529 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14530 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
14531 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
14532 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
14533 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
14534 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
14535 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
14536 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
14537 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
14538 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
14539 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
14540 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
14541 (_FP_FRAC_SRS_1): Likewise.
14542 (_FP_FRAC_CLZ_1): Likewise.
14543 (_FP_MUL_MEAT_1_imm): Likewise.
14544 (_FP_MUL_MEAT_1_wide): Likewise.
14545 (_FP_MUL_MEAT_1_hard): Likewise.
14546 (_FP_SQRT_MEAT_1): Likewise.
14547 (_FP_FRAC_ASSEMBLE_1): Likewise.
14548 (_FP_FRAC_DISASSEMBLE_1): Likewise.
14549 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
14550 (__FP_CLZ_2): Likewise.
14551 (_FP_MUL_MEAT_2_wide): Likewise.
14552 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14553 (_FP_MUL_MEAT_2_gmp): Likewise.
14554 (_FP_MUL_MEAT_2_120_240_double): Likewise.
14555 (_FP_SQRT_MEAT_2): Likewise.
14556 (_FP_FRAC_ASSEMBLE_2): Likewise.
14557 (_FP_FRAC_DISASSEMBLE_2): Likewise.
14558 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
14559 (_FP_FRAC_CLZ_4): Likewise.
14560 (_FP_MUL_MEAT_4_wide): Likewise.
14561 (_FP_MUL_MEAT_4_gmp): Likewise.
14562 (_FP_SQRT_MEAT_4): Likewise.
14563 (_FP_FRAC_ASSEMBLE_4): Likewise.
14564 (_FP_FRAC_DISASSEMBLE_4): Likewise.
14565 * soft-fp/op-common.h (_FP_CMP): Likewise.
14566 (_FP_CMP_EQ): Likewise.
14567 (_FP_CMP_UNORD): Likewise.
14568 (_FP_TO_INT): Likewise.
14569 (_FP_FROM_INT): Likewise.
14570 [!__FP_CLZ] (__FP_CLZ): Likewise.
14571 (_FP_DIV_HELP_imm): Likewise.
14572 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
14573 Likewise.
14574 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
14575 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
14576 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
14577 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
14578 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
14579 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14580 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14581 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
14582 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
14583 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
14584 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
14585 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
14586 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
14587 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
14588 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
14589 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
14590 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
14591 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
14592 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
14593 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
14594 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
14595 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
14596 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
14597 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14598 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14599 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
14600 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
14601 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
14602 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
14603 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
14604 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
14605 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
14606 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
14607 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
14608 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
14609 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
14610 (FP_UNPACK_RAW_SP): Likewise.
14611 (FP_PACK_RAW_S): Likewise.
14612 (FP_PACK_RAW_SP): Likewise.
14613 (FP_UNPACK_S): Likewise.
14614 (FP_UNPACK_SP): Likewise.
14615 (FP_UNPACK_SEMIRAW_S): Likewise.
14616 (FP_UNPACK_SEMIRAW_SP): Likewise.
14617 (FP_PACK_S): Likewise.
14618 (FP_PACK_SP): Likewise.
14619 (FP_PACK_SEMIRAW_S): Likewise.
14620 (FP_PACK_SEMIRAW_SP): Likewise.
14621 (_FP_SQRT_MEAT_S): Likewise.
14622 (FP_CMP_S): Likewise.
14623 (FP_CMP_EQ_S): Likewise.
14624 (FP_CMP_UNORD_S): Likewise.
14625 (FP_TO_INT_S): Likewise.
14626 (FP_FROM_INT_S): Likewise.
14627
14628 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
14629
14630 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
14631 (FP_EX_INVALID_IMZ): Likewise.
14632 (FP_EX_INVALID_IMZ_FMA): Likewise.
14633 (FP_EX_INVALID_ISI): Likewise.
14634 (FP_EX_INVALID_ZDZ): Likewise.
14635 (FP_EX_INVALID_IDI): Likewise.
14636 (FP_EX_INVALID_SQRT): Likewise.
14637 (FP_EX_INVALID_CVI): Likewise.
14638 (FP_EX_INVALID_VC): Likewise.
14639 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
14640 "invalid" exceptions.
14641 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
14642 (_FP_ADD_INTERNAL): Likewise.
14643 (_FP_MUL): Likewise.
14644 (_FP_FMA): Likewise.
14645 (_FP_DIV): Likewise.
14646 (_FP_CMP_CHECK_NAN): Likewise.
14647 (_FP_SQRT): Likewise.
14648 (_FP_TO_INT): Likewise.
14649 (FP_EXTEND): Likewise.
14650
14651 2014-10-09 Allan McRae <allan@archlinux.org>
14652
14653 * po/fr.po: Update French translation from translation project.
14654
14655 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14656
14657 [BZ #14132]
14658 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
14659 of INTDEF.
14660 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
14661 (__cxa_atexit): Use libc_hidden_proto.
14662 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
14663
14664 [BZ #14132]
14665 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
14666 declaration.
14667 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
14668 [!_ISOMAC] (__iswspace_l_internal): Likewise.
14669 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
14670 [!_ISOMAC] (__iswctype_internal): Likewise.
14671 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
14672 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
14673 alias.
14674 (fcntl): Remove __fcntl_internal alias.
14675 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
14676 __connect_internal alias.
14677 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
14678 Likewise.
14679
14680 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
14681 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
14682 FP_DENORM_ZERO.
14683 (_FP_CHECK_FLUSH_ZERO): New macro.
14684 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
14685 (_FP_CMP): Likewise.
14686 (_FP_CMP_EQ): Likewise.
14687 (_FP_TO_INT): Do not set inexact for subnormal arguments if
14688 FP_DENORM_ZERO.
14689 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
14690 (FP_TRUNC): Likewise.
14691
14692 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
14693 treated as invalid conversion, not as normal exponent.
14694
14695 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
14696 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
14697 (_FP_CMP_EQ): Likewise.
14698 (_FP_CMP_UNORD): Likewise.
14699 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
14700 (FP_CMP_EQ_D): Likewise.
14701 (FP_CMP_UNORD_D): Likewise.
14702 * soft-fp/extended.h (FP_CMP_E): Likewise.
14703 (FP_CMP_EQ_E): Likewise.
14704 (FP_CMP_UNORD_E): Likewise.
14705 * soft-fp/quad.h (FP_CMP_Q): Likewise.
14706 (FP_CMP_EQ_Q): Likewise.
14707 (FP_CMP_UNORD_Q): Likewise.
14708 * soft-fp/single.h (FP_CMP_S): Likewise.
14709 (FP_CMP_EQ_S): Likewise.
14710 (FP_CMP_UNORD_S): Likewise.
14711 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
14712 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
14713 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
14714 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
14715 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
14716 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
14717 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
14718 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
14719 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
14720 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
14721 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
14722 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
14723 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
14724 to FP_CMP_Q.
14725 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
14726 FP_CMP_Q.
14727 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
14728 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
14729 FP_CMP_EQ_Q.
14730 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
14731 FP_CMP_Q.
14732 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
14733 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
14734 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
14735 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
14736 FP_CMP_EQ_Q.
14737 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
14738 FP_CMP_Q.
14739 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
14740 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
14741 FP_CMP_EQ_Q.
14742 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
14743 FP_CMP_Q.
14744 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
14745 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
14746 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
14747 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
14748 FP_CMP_EQ_Q.
14749
14750 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
14751 a subnormal result, set the underflow exception if trapping on
14752 underflow is enabled.
14753 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
14754 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
14755 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
14756 redefine to 0.
14757 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
14758 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14759 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14760 * soft-fp/extendxftf2.c (__extendxftf2): Use
14761 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
14762
14763 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
14764 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
14765 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14766 FP_HANDLE_EXCEPTIONS.
14767 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
14768 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14769 FP_HANDLE_EXCEPTIONS.
14770 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
14771 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14772 FP_HANDLE_EXCEPTIONS.
14773 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
14774 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14775 FP_HANDLE_EXCEPTIONS.
14776
14777 2014-10-08 Joseph Myers <joseph@codesourcery.com>
14778
14779 [BZ #14132]
14780 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
14781 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
14782 use INTUSE.
14783 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
14784 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
14785 Remove alias.
14786 (__adjtimex): Define using libc_hidden_ver.
14787 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
14788 Remove declaration.
14789 (ntp_gettime): Call __adjtimex directly.
14790 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
14791 Remove declaration.
14792 (ntp_gettimex): Call __adjtimex directly.
14793 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
14794 __adjtimex_internal alias.
14795
14796 2014-10-08 Roland McGrath <roland@hack.frob.com>
14797
14798 [BZ #17460]
14799 * nscd/nscd.c (more_help): Rewrite list of tables collection
14800 using xstrdup and asprintf.
14801
14802 * nscd/nscd_conf.c: Remove local xstrdup declaration.
14803
14804 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14805 Roland McGrath <roland@hack.frob.com>
14806
14807 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
14808 (do_lookup_unique): ... local function 'enter' here; update callers.
14809
14810 2014-10-06 Joseph Myers <joseph@codesourcery.com>
14811
14812 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
14813 compat_symbol calls on [SHARED].
14814 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
14815 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
14816 Remove.
14817 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14818 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
14819 (oldsetrlimit): Remove.
14820 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14822 (lchown): New syscall entry.
14823 (oldsetrlimit): Remove.
14824 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14825 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
14826 (oldsetrlimit): Remove.
14827 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14828
14829 [BZ #14138]
14830 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
14831 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
14832 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
14833 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
14834 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14835 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
14836 (fchown): Likewise.
14837 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
14838 (fchown): Likewise.
14839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
14840 Likewise.
14841
14842 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14843
14844 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
14845 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
14846 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
14847 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
14848 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
14849 Likewise.
14850 (__old_sem_post): Likewise.
14851
14852 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
14853
14854 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
14855 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
14856 HAVE_CLOCK_GETTIME_VSYSCALL macros.
14857 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
14858 Use INLINE_VSYSCALL macro.
14859 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
14860 __vdso_clock_gettime.
14861 * sysdeps/unix/sysv/linux/tile/init-first.c
14862 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
14863 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
14864 __vdso_clock_gettime.
14865
14866 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
14867 to set up frame more cleanly.
14868
14869 * sysdeps/tile/memcmp.c: New file.
14870
14871 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
14872
14873 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
14874 * sysdeps/tile/tilegx/strcasestr.c: New file.
14875 * sysdeps/tile/tilegx/strnlen.c: New file.
14876 * sysdeps/tile/tilegx/strstr.c: New file.
14877
14878 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
14879
14880 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
14881
14882 * nptl/tst-setuid3.c: Write errors to stdout.
14883
14884 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14885
14886 * elf/dl-deps.c
14887 (preload): New functions broken out of _dl_map_object_deps.
14888 (_dl_map_object_deps): Remove a nested function. Update call sites.
14889
14890 2014-10-01 Joseph Myers <joseph@codesourcery.com>
14891
14892 [BZ #14138]
14893 * sysdeps/unix/sysv/linux/execve.c: Remove file.
14894 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
14895
14896 2014-10-01 Steve Ellcey <sellcey@mips.com>
14897
14898 * sysdeps/mips/strcmp.S: New.
14899
14900 2014-09-30 Joseph Myers <joseph@codesourcery.com>
14901
14902 [BZ #14138]
14903 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
14904 (linkat): Likewise.
14905 (mkdirat): Likewise.
14906 (readlinkat): Likewise.
14907 (renameat): Likewise.
14908 (symlinkat): Likewise.
14909 (unlinkat): Likewise.
14910 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
14911 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
14912 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
14913 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
14914 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
14915 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
14916 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
14917
14918 2014-09-30 Will Newton <will.newton@linaro.org>
14919
14920 * math/math.h: Define long double math functions if
14921 _LIBC_TEST is defined.
14922 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
14923
14924 * localedata/Makefile: Move assignment to tests-special
14925 into an ifdef testing run-built-tests.
14926 * timezone/Makefile: Likewise.
14927
14928 2014-09-29 Joseph Myers <joseph@codesourcery.com>
14929
14930 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
14931 with $(BASH) not $(SHELL).
14932
14933 2014-09-29 Carlos O'Donell <carlos@redhat.com>
14934 Matthew LeGendre <legendre1@llnl.gov>
14935
14936 [BZ #17411]
14937 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
14938 l_reloc_result.
14939
14940 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14941
14942 * stdio-common/printf_fp.c
14943 (hack_digit): New function, broken out of ...
14944 (__printf_fp): ... local function here. Update call sites.
14945 hack_digit now takes an additional parameter that is a pointer
14946 to a struct of the referenced locals. Those locals moved inside
14947 the struct and references updated.
14948
14949 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
14950
14951 * aclocal.m4: Require autoconf 2.69.
14952 * configure: Regenerated.
14953 * sysdeps/aarch64/configure: Likewise.
14954 * sysdeps/alpha/configure: Likewise.
14955 * sysdeps/arm/armv7/configure: Likewise.
14956 * sysdeps/arm/configure: Likewise.
14957 * sysdeps/ia64/configure: Likewise.
14958 * sysdeps/mach/configure: Likewise.
14959 * sysdeps/mips/configure: Likewise.
14960 * sysdeps/s390/configure: Likewise.
14961 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
14962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
14963
14964 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
14965 file.
14966 * sysdeps/ia64/configure.ac: Likewise.
14967
14968 2014-09-26 Joseph Myers <joseph@codesourcery.com>
14969
14970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
14971 specify symbol version for ld.so. Do not include entry for
14972 libpthread.
14973 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14974 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14975 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14976
14977 [BZ #14171]
14978 * Makeconfig [$(build-shared) = yes]
14979 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
14980 makefiles.
14981 [$(build-shared) = yes && $(soversions.mk-done) = t]
14982 ($(common-objpfx)gnu/lib-names.h): Remove rule.
14983 [$(build-shared) = yes && $(soversions.mk-done) = t]
14984 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
14985 to Makerules.
14986 [$(build-shared) = yes && $(soversions.mk-done) = t]
14987 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
14988 here.
14989 [$(build-shared) = yes && $(soversions.mk-done) = t]
14990 (common-generated): Don't append gnu/lib-names.h and
14991 gnu/lib-names.stmp here.
14992 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
14993 (lib-names-h-abi): New variable.
14994 [$(build-shared) = yes && $(soversions.mk-done) = t]
14995 (lib-names-stmp-abi): Likewise.
14996 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14997 abi-variants] (before-compile): Append
14998 $(common-objpfx)$(lib-names-h-abi).
14999 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15000 abi-variants] (common-generated): Append gnu/lib-names.h.
15001 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15002 abi-variants] (install-others-nosubdir): Depend on
15003 $(inst_includedir)/$(lib-names-h-abi).
15004 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15005 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
15006 [$(build-shared) = yes && $(soversions.mk-done) = t]
15007 ($(common-objpfx)$(lib-names-h-abi)): New rule.
15008 [$(build-shared) = yes && $(soversions.mk-done) = t]
15009 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
15010 [$(build-shared) = yes && $(soversions.mk-done) = t]
15011 (common-generated): Append $(lib-names-h-abi) and
15012 $(lib-names-stmp-abi).
15013 * scripts/lib-names.awk: Do not handle multi being set.
15014 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
15015 Remove variable.
15016 (abi-lp64_be-ld-soname): Likewise.
15017 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
15018 Likewise.
15019 (abi-hard-ld-soname): Likewise.
15020 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
15021 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
15022 Remove variable.
15023 (abi-o32_hard-ld-soname): Likewise.
15024 (abi-o32_soft_2008-ld-soname): Likewise.
15025 (abi-o32_hard_2008-ld-soname): Likewise.
15026 (abi-n32_soft-ld-soname): Likewise.
15027 (abi-n32_hard-ld-soname): Likewise.
15028 (abi-n32_soft_2008-ld-soname): Likewise.
15029 (abi-n32_hard_2008-ld-soname): Likewise.
15030 (abi-n64_soft-ld-soname): Likewise.
15031 (abi-n64_hard-ld-soname): Likewise.
15032 (abi-n64_soft_2008-ld-soname): Likewise.
15033 (abi-n64_hard_2008-ld-soname): Likewise.
15034 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
15035 Likewise.
15036 (abi-64-v2-ld-soname): Likewise.
15037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
15038 ld.so entries.
15039 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
15040 variable.
15041 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
15042 entry.
15043 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
15044 variable.
15045 (abi-64-ld-soname): Likewise.
15046 (abi-x32-ld-soname): Likewise.
15047 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
15048 entry.
15049 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15050
15051 2014-09-23 Joseph Myers <joseph@codesourcery.com>
15052
15053 [BZ #14138]
15054 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
15055 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
15056 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
15057 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
15058 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
15059 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
15060 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
15061 syscall entry for GLIBC_2.2 symbol version.
15062 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
15063 Likewise.
15064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15065 (setrlimit): Likewise.
15066 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
15067 Likewise.
15068
15069 2014-09-23 Will Newton <will.newton@linaro.org>
15070
15071 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
15072 _LINUX_ARM_SYSDEP_H include guard too.
15073 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
15074 define.
15075
15076 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15077
15078 * sysdeps/unix/sysv/linux/eventfd.c:
15079 Make first argument unsigned.
15080 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
15081 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
15082
15083 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
15084
15085 * socket/recvmmsg.c (recvmmsg): Drop const argument.
15086 * socket/sys/socket.h: Likewise
15087 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
15088
15089 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15090
15091 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
15092
15093 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
15094
15095 * time/tst-ftime.c: New test.
15096 * time/Makefile (tests): Add tst-ftime.
15097
15098 2014-09-17 Joseph Myers <joseph@codesourcery.com>
15099
15100 * soft-fp/extended.h: Fix comment formatting.
15101 * soft-fp/op-1.h: Likewise.
15102 * soft-fp/op-2.h: Likewise.
15103 * soft-fp/op-4.h: Likewise.
15104 * soft-fp/op-8.h: Likewise.
15105 * soft-fp/op-common.h: Likewise.
15106 * soft-fp/soft-fp.h: Likewise.
15107
15108 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
15109
15110 2014-09-16 Joseph Myers <joseph@codesourcery.com>
15111
15112 [BZ #6652]
15113 * Makeconfig (soversions-default-setname): Remove variable.
15114 ($(common-objpfx)soversions.i): Don't pass default_setname to
15115 soversions.awk.
15116 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
15117 oldest_abi to abi-versions.awk.
15118 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
15119 * config.make.in (oldest-abi): Remove variable.
15120 * configure.ac (--enable-oldest-abi): Remove configure option.
15121 * configure: Regenerated.
15122 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
15123 text.
15124 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
15125 * scripts/soversions.awk: Do not handle default_setname variable.
15126 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
15127 variable.
15128 * sysdeps/mach/hurd/configure: Regenerated.
15129 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
15130 variable.
15131 * sysdeps/unix/sysv/linux/configure: Regenerated.
15132
15133 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15134
15135 * elf/Makefile (CFLAGS-interp.c): Remove.
15136 ($(elf-objpfx)runtime-linker.h): Generate header with linker
15137 path string.
15138 * elf/interp.c: Include generated runtime-linker.h
15139
15140 * Makerules (lib%.so): Don't include $(+interp) in
15141 prerequisites.
15142 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
15143 * dlfcn/eval.c: Remove file.
15144
15145 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
15146 macros.
15147
15148 [BZ #17266]
15149 * misc/sys/cdefs.h: Define __extern_always_inline for clang
15150 4.2 and newer.
15151
15152 [BZ #17370]
15153 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
15154
15155 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15156 Jakub Jelinek <jakub@redhat.com>
15157
15158 [BZ #17266]
15159 * libio/stdio.h: Check definition of __fortify_function
15160 instead of __extern_always_inline to include bits/stdio2.h.
15161 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
15162 check if __extern_always_inline is defined.
15163 [__USE_MISC || __USE_XOPEN]: Likewise.
15164 [__USE_ISOC99] Likewise.
15165 * misc/sys/cdefs.h (__fortify_function): Define only if
15166 __extern_always_inline is defined.
15167 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
15168 __extern_always_inline and __extern_inline only for g++-4.3
15169 and newer or a compatible gcc.
15170
15171 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
15172
15173 [BZ #17371]
15174 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15175 last change to handle zero prefix length.
15176
15177 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15178
15179 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
15180 _SC_REGEX_VERSION.
15181
15182 * posix/getconf.c (vars): Add _POSIX_IPV6 and
15183 _POSIX_RAW_SOCKETS.
15184
15185 2014-09-13 Allan McRae <allan@archlinux.org>
15186
15187 * po/ru.po: Update Russian translation from translation project.
15188
15189 2014-09-12 Roland McGrath <roland@hack.frob.com>
15190
15191 * locale/programs/locale.c (show_locale_vars): Inline local function
15192 into its sole call site. Clean up some style nits.
15193 (print_item): New function, broken out of ...
15194 (show_info): ... local function here. Clean up style nits.
15195
15196 * locale/programs/ld-ctype.c (set_one_default): New function, broken
15197 out of ...
15198 (set_class_defaults): ... local function set_default here.
15199 Define set_default as a macro locally to pass constant parameters.
15200 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
15201 rather than a shared local.
15202
15203 * stdlib/rpmatch.c (try): New function, broken out of ...
15204 (rpmatch): ... local function here. Also, prototypify definition.
15205
15206 2014-09-12 Joseph Myers <joseph@codesourcery.com>
15207
15208 * scripts/soversions.awk: Do not handle configuration names.
15209 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
15210 vendor and os variables to soversions.awk.
15211 * configure.ac: Do not modify gnu-* host_os.
15212 * configure: Regenerated
15213 * shlib-versions: Remove first column with configuration names.
15214 * nptl/shlib-versions: Likewise.
15215 * nptl_db/shlib-versions: Likewise.
15216 * sysdeps/hppa/shlib-versions: Likewise.
15217 * sysdeps/m68k/shlib-versions: Likewise.
15218 * sysdeps/mach/hurd/shlib-versions: Likewise.
15219 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
15220 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
15221 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
15222 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
15223 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
15224 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
15225 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
15226 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
15227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15228 Likewise.
15229 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15230 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15231 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15232 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15233 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15234 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
15235 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15236 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15237
15238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15239 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
15240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15241 Regenerated.
15242 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
15243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15244 Condition symbol version definitions on [HAVE_ELFV2_ABI].
15245
15246 * shlib-versions: Remove OS-specific entries. Moved to files in
15247 sysdeps.
15248 * sysdeps/mach/hurd/shlib-versions: New file.
15249 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15250
15251 * nptl/shlib-versions: Remove architecture-specific entries.
15252 Moved to files in sysdeps.
15253 * shlib-versions: Likewise.
15254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
15255 file.
15256 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15257 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15258 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15259 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15260
15261 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
15262 (UDP_NO_CHECK6_RX): Likewise.
15263
15264 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15265
15266 * sysdeps/posix/sysconf.c (__sysconf): Spell
15267 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
15268
15269 2014-08-12 Florian Weimer <fweimer@redhat.com>
15270
15271 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
15272 loading.
15273 * iconv/Versions (__gconv_transliterate): Export for use from
15274 gconv modules.
15275 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
15276 (struct __gconv_trans_data, __gconv_trans_fct,
15277 __gconv_trans_context_fct, __gconv_trans_query_fct,
15278 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
15279 definitions.
15280 (struct __gconv_step_data): Remove __trans member.
15281 (__gconv_transliterate): Declaration moved from gconv_int.h. No
15282 longer hidden. Remove unused trans_data argument.
15283 * iconv/gconv_int.h (struct trans_struct): Remove definition.
15284 (__gconv_translit_find): Remove declaration.
15285 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
15286 prototype.
15287 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
15288 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
15289 trans_data argument. Add hidden definition.
15290 (__gconv_translit_find): Remove.
15291 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
15292 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
15293 * iconv/skeleton.c: Remove transliteration initialization.
15294 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
15295 __gconv_step_data initialization.
15296 * libio/iofwide.c (__libio_translit_): Remove.
15297 (_IO_fwide): Adjust struct __gconv_step_data initialization.
15298 * wcsmbs/btowc.c (__btowc): Likewise.
15299 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15300 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15301 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
15302 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
15303 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
15304 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
15305 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
15306 * wcsmbs/wctob.c (wctob): Likewise.
15307
15308 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15309
15310 [BZ #16194]
15311 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
15312 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
15313 register usage.
15314 * sysdeps/x86/Makefile: Adjust.
15315
15316 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15317 Roland McGrath <roland@hack.frob.com>
15318
15319 * locale/weight.h: Add include guard.
15320 (findidx): Make static rather than auto; take new parameters
15321 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
15322 * locale/weightwc.h: Likewise.
15323 * posix/fnmatch_loop.c
15324 (FCT): Change type of EXTRA from int32_t to wint_t.
15325 Don't include either header inside the function.
15326 Call FINDIDX rather than findidx, and pass new arguments.
15327 #undef FINDIDX at the end of the file.
15328 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
15329 FINDIDX before including fnmatch_loop.c for the non-wide version.
15330 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
15331 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
15332 for the wide version.
15333 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
15334 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
15335 Pass new arguments to findidx.
15336 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
15337 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
15338 Don't #include it inside the function. Pass new arguments to findidx.
15339 * posix/regex_internal.h
15340 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
15341 (re_string_elem_size_at): Don't #include it inside the function.
15342 Pass new arguments to findidx.
15343 * string/strcoll_l.c: #include WEIGHT_H at top level.
15344 (get_next_seq): Don't #include it inside the function.
15345 Pass new arguments to findidx.
15346 (get_next_seq_nocache): Likewise.
15347 * string/strxfrm_l.c: #include WEIGHT_H at top level.
15348 (STRXFRM): Don't #include it inside the function.
15349 Pass new arguments to findidx.
15350
15351 2014-09-11 Florian Weimer <fweimer@redhat.com>
15352
15353 [BZ #17344]
15354 * malloc/malloc.c (unlink): Turn asserts into a call to
15355 malloc_printerr.
15356
15357 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
15358
15359 [BZ #17370]
15360 * libio/wfileops (do_ftell_wide): Free OUT.
15361
15362 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
15363
15364 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
15365
15366 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15367
15368 [BZ #17363]
15369 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
15370 group if the current group is empty.
15371
15372 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15373
15374 * benchtests/bench-memset.c (test_main): Add more test from size
15375 from 32 to 512 bytes.
15376 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15377 Add POWER8 memset object.
15378 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15379 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
15380 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
15381 implementation.
15382 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
15383 Likewise.
15384 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
15385 multiarch POWER8 memset optimization.
15386 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
15387 POWER8 memset optimization.
15388
15389 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15390 Remove bzero multiarch objects.
15391 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
15392 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
15393 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
15394 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
15395 Remove define.
15396 [__bzero]: Redefine to specific name.
15397 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
15398 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
15399 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
15400 define.
15401 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15402 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15403
15404 2014-09-10 Florian Weimer <fweimer@redhat.com>
15405
15406 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
15407 warnings into errors.
15408
15409 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
15410 __cxa_thread_atexit_impl prototype.
15411
15412 2014-09-09 Steve Ellcey <sellcey@mips.com>
15413
15414 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
15415 Fix capitalization of error message.
15416
15417 2014-09-09 Steve Ellcey <sellcey@mips.com>
15418
15419 * sysdeps/mips/preconfigure: Modify ABI tests.
15420
15421 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
15422
15423 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
15424
15425 2014-09-07 Roland McGrath <roland@hack.frob.com>
15426 Carlos O'Donell <carlos@systemhalted.org>
15427
15428 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
15429 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
15430 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
15431 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
15432 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
15433 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
15434 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
15435 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
15436 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
15437 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
15438 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
15439 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
15440 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
15441 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
15442 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
15443 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
15444 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
15445 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
15446 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
15447 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
15448 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
15449 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
15450 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
15451 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
15452 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
15453 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
15454 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
15455 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
15456 Deconditionalize the code that was previously under [RESET_PID].
15457 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
15458 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
15459 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
15460 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
15461 include sysdep.h.
15462
15463 2014-09-08 Allan McRae <allan@archlinux.org>
15464
15465 * version.h (RELEASE): Set to "development".
15466 (VERSION): Set to "2.20.90"
15467
15468 2014-09-07 Allan McRae <allan@archlinux.org
15469
15470 * version.h (RELEASE): Set to "stable".
15471 (VERSION): Set to "2.20"
15472 * include/features.h (__GLIBC_MINOR__): Set to 20.
15473
15474 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
15475 Liebler.
15476
15477 * po/ko.po: Update Korean translation from translation project.
15478
15479 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
15480
15481 [BZ #17354]
15482 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
15483 macro for handling signed relocations.
15484
15485 2014-09-03 Florian Weimer <fweimer@redhat.com>
15486
15487 [BZ #17325]
15488 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
15489 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
15490 assert.
15491 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
15492 * iconvdata/ibm935.c (BODY): Likewise.
15493 * iconvdata/ibm937.c (BODY): Likewise.
15494 * iconvdata/ibm939.c (BODY): Likewise.
15495 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
15496 assert.
15497 * iconvdata/Makefile (iconv-test.out): Pass module list to test
15498 script.
15499 * iconvdata/run-iconv-test.sh: New test loop for checking for
15500 decoder crashers.
15501
15502 2014-09-02 Khem Raj <raj.khem@gmail.com>
15503
15504 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
15505 libm_hidden_ver.
15506
15507 2014-09-01 Allan McRae <allan@archlinux.org>
15508
15509 * po/eo.po: Update Esperanto translation from translation project.
15510
15511 * po/ca.po: Update Catalan translation from translation project.
15512
15513 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
15514
15515 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
15516 __proc_dostop call.
15517
15518 2014-08-27 Mark Wielaard <mjw@redhat.com>
15519
15520 [BZ #17319]
15521 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
15522 to call set_thread_area instead of hand written asm.
15523 (__NR_set_thread_area): Removed define.
15524 (TLS_FLAG_WRITABLE): Likewise.
15525 (__ASSUME_SET_THREAD_AREA): Remove check.
15526 (TLS_EBX_ARG): Remove define.
15527 (TLS_LOAD_EBX): Likewise.
15528
15529 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15530
15531 Simplify atomicity of socket creation in bind.
15532
15533 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
15534 looking up the name after linking the file.
15535
15536 2014-08-27 Allan McRae <allan@archlinux.org>
15537
15538 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15539
15540 2014-08-26 Florian Weimer <fweimer@redhat.com>
15541
15542 [BZ #17187]
15543 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
15544 trans_compare, open_translit, __gconv_translit_find):
15545 Remove module loading code.
15546
15547 2014-08-26 Allan McRae <allan@archlinux.org>
15548
15549 * po/vi.po: Update Vietnamese translation from translation project.
15550
15551 * po/uk.po: Update Ukrainian translation from translation project.
15552
15553 * po/fr.po: Update French translation from translation project.
15554
15555 * po/ru.po: Update Russian translation from translation project.
15556
15557 * po/pl.po: Update Polish translation from translation project.
15558
15559 * po/cs.po: Update Czech translation from translation project.
15560
15561 * po/de.po: Update German translation from translation project.
15562
15563 * po/bg.po: Update Bulgarian translation from translation project.
15564
15565 * po/sv.po: Update Sweedish translation from translation project.
15566
15567 * po/nl.po: Update Dutch translation from translation project.
15568
15569 * po/es.po: Update Spanish translation from translation project.
15570
15571 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15572
15573 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
15574
15575 * catgets/Makefile (CPPFLAGS-gencat): Remove.
15576 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
15577 (CPPFLAGS-iconvconfig): Likewise.
15578 * timezone/Makefile (CPPFLAGS-zic): Likewise.
15579
15580 * include/libc-symbols.h: Remove unnecessary check for
15581 NOT_IN_libc.
15582 * nptl/pthreadP.h: Likewise.
15583 * sysdeps/aarch64/setjmp.S: Likewise.
15584 * sysdeps/alpha/setjmp.S: Likewise.
15585 * sysdeps/arm/sysdep.h: Likewise.
15586 * sysdeps/i386/setjmp.S: Likewise.
15587 * sysdeps/m68k/setjmp.c: Likewise.
15588 * sysdeps/posix/getcwd.c: Likewise.
15589 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15590 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
15591 * sysdeps/s390/s390-32/setjmp.S: Likewise.
15592 * sysdeps/s390/s390-64/setjmp.S: Likewise.
15593 * sysdeps/sh/sh3/setjmp.S: Likewise.
15594 * sysdeps/sh/sh4/setjmp.S: Likewise.
15595 * sysdeps/unix/alpha/sysdep.h: Likewise.
15596 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15597 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15598 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
15599 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15602 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15603 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15604 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15605 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15606 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15607 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15608 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15609 * sysdeps/x86_64/setjmp.S: Likewise.
15610
15611 2014-08-13 Joseph Myers <joseph@codesourcery.com>
15612
15613 [BZ #17263]
15614 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
15615 <stdint.h>.
15616 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
15617 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
15618
15619 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15620
15621 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
15622
15623 [BZ #17262]
15624 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
15625 and __x86_64__ when disabling x87 inline functions.
15626
15627 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
15628
15629 [BZ #17259]
15630 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
15631 asm statement with __cpuid_count.
15632
15633 2014-08-12 Mike Frysinger <vapier@gentoo.org>
15634
15635 * configure.ac: Change __ehdr_start code to dereference the struct.
15636 Run readelf on the output to look for relocations.
15637 * configure: Regenerated.
15638
15639 2014-08-12 Joseph Myers <joseph@codesourcery.com>
15640
15641 [BZ #17261]
15642 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
15643 value to 0.
15644 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
15645
15646 2014-08-12 Roland McGrath <roland@hack.frob.com>
15647
15648 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
15649
15650 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
15651
15652 [BZ #16892]
15653 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
15654 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
15655
15656 2014-08-12 Sean Anderson <seanga2@gmail.com>
15657
15658 * malloc/malloc.c: Fix typo in comment.
15659
15660 2014-08-09 Allan McRae <allan@archlinux.org>
15661
15662 * Regenerate libc.po.
15663
15664 2014-08-08 Mike Frysinger <vapier@gentoo.org>
15665
15666 * intl/tst-gettext2.sh: Check every lang file for creation.
15667
15668 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15669
15670 * sysdeps/aarch64/fpu/math_private.h
15671 (libc_feholdsetround_noex_aarch64_ctx): New function.
15672
15673 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15674
15675 * sysdeps/arm/armv6/strcpy.S (strcpy):
15676 Fix performance issue in misaligned cases.
15677
15678 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15679
15680 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
15681 Move definition from termios.h.
15682 (struct termio): Likewise.
15683 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15684 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15685 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15686 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15687 Likewise.
15688 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
15689 Move definition to ioctl-types.h
15690 (struct termio): Likewise.
15691 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15692 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15693 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15694 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15695 Likewise.
15696
15697 2014-08-05 Richard Henderson <rth@redhat.com>
15698
15699 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
15700 exceptions.
15701 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
15702 Add fraiseexcpt.
15703 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
15704 Use __feraiseexcept.
15705 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
15706 Protect libm symbols with IS_IN_libm.
15707
15708 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
15709
15710 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
15711
15712 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
15713
15714 2014-08-04 Will Newton <will.newton@linaro.org>
15715
15716 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
15717 file.
15718
15719 2014-08-04 Mike Frysinger <vapier@gentoo.org>
15720
15721 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
15722 variants for each function.
15723
15724 2014-08-04 Roland McGrath <roland@hack.frob.com>
15725
15726 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
15727 appended ...
15728 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
15729 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
15730 appended ...
15731 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
15732 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
15733 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
15734 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
15735 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
15736 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
15737 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
15738 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
15739 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
15740 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
15741 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
15742 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
15743 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
15744 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
15745 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
15746 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
15747 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
15748 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
15749 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
15750 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
15751 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
15752 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
15753 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
15754 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
15755 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
15756 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
15757 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
15758 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
15759 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
15760 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
15761 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
15762 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
15763 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
15764 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
15765 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
15766 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
15767 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
15768 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
15769 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
15770 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
15771 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
15772 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
15773 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
15774 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
15775 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
15776 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
15777 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
15778 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
15779 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
15780 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
15781 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
15782 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
15783 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
15784 Update #include.
15785 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
15786 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
15787
15788 2014-08-04 Roland McGrath <roland@hack.frob.com>
15789
15790 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
15791 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
15792 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
15793 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
15794 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
15795 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
15796
15797 2014-08-04 Roland McGrath <roland@hack.frob.com>
15798
15799 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
15800 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
15801 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15802 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
15803
15804 2014-08-04 Roland McGrath <roland@hack.frob.com>
15805
15806 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
15807 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
15808 (__libc_vfork): Define function under this name.
15809 (__vfork): Define as an alias.
15810 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
15811 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
15812
15813 2014-08-04 Roland McGrath <roland@hack.frob.com>
15814
15815 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
15816 that was previously under [RESET_PID].
15817 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
15818
15819 2014-08-04 Andreas Schwab <schwab@suse.de>
15820
15821 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
15822
15823 2014-08-03 Mike Frysinger <vapier@gentoo.org>
15824
15825 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
15826 (main): Likewise.
15827
15828 2014-08-01 Roland McGrath <roland@hack.frob.com>
15829
15830 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
15831
15832 2014-08-01 Richard Henderon <rth@redhat.com>
15833
15834 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
15835 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
15836 typo in exact zero test.
15837 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15838 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15839 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15840
15841 2014-08-01 Roland McGrath <roland@hack.frob.com>
15842
15843 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
15844 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
15845 * sysdeps/arm/sysdep.h: ... here.
15846 [!__ASSEMBLER__]: Include <stdint.h>.
15847
15848 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
15849
15850 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
15851 (HAVE_WCTYPE_H): Likewise.
15852 (HAVE_ISWCTYPE): Likewise.
15853 (ENABLE_NLS): Likewise.
15854 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
15855 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
15856
15857 * posix/regex_internal.c: Check if DEBUG is defined and is
15858 set.
15859
15860 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
15861 (HAVE_MBSRTOWCS): Likewise.
15862 * posix/fnmatch.c: Include string.h unconditionally.
15863
15864 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
15865
15866 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
15867 reversal.
15868
15869 2014-07-31 Roland McGrath <roland@hack.frob.com>
15870
15871 * sysdeps/generic/safe-fatal.h: New file.
15872 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
15873 * nptl/forward.c: Include it.
15874 (__pthread_unwind): Use __safe_fatal as default action, rather
15875 than a bogus use of INTERNAL_SYSCALL that could never work.
15876
15877 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
15878 * configure.ac (libc_cv_builtin_trap): New test.
15879 * configure: Regenerated.
15880 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
15881 (ABORT_INSTRUCTION): Define using __builtin_trap.
15882
15883 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
15884 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
15885 * sysdeps/nptl/nptl-signals.h: New file.
15886 * nptl/pthreadP.h: Include <nptl-signals.h>.
15887
15888 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
15889
15890 * sysdeps/s390/s390-64/utf16-utf32-z9.c
15891 (ONE_DIRECTION): Define.
15892 * sysdeps/s390/s390-64/utf8-utf16-z9.c
15893 (ONE_DIRECTION): Define.
15894 * sysdeps/s390/s390-64/utf8-utf32-z9.c
15895 (ONE_DIRECTION): Define.
15896
15897 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
15898
15899 * sysdeps/s390/Makefile: Delete file.
15900 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
15901 * sysdeps/s390/__longjmp.c: Delete file.
15902 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
15903 Remove fields __flags and __reserved.
15904 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
15905 and add versioning.
15906 * sysdeps/s390/rtld-__longjmp.c: Delete file.
15907 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
15908 * sysdeps/s390/rtld-setjmp.S: Likewise.
15909 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
15910 * sysdeps/s390/s390-32/__longjmp.c: ... here.
15911 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
15912 * sysdeps/s390/s390-32/setjmp.S: ... here.
15913 Add versioning.
15914 (__sigsetjmp): Remove setting __flags field.
15915 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
15916 * sysdeps/s390/s390-64/__longjmp.c: ... here.
15917 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
15918 * sysdeps/s390/s390-64/setjmp.S: ... here.
15919 Add versioning.
15920 (__sigsetjmp): Remove setting __flags field.
15921 * sysdeps/s390/setjmp.S: Delete file.
15922 * sysdeps/s390/sigjmp.c: Likewise.
15923 * sysdeps/s390/v1-longjmp.c: Likewise.
15924 * sysdeps/s390/v1-setjmp.h: Likewise.
15925 * sysdeps/s390/v1-sigjmp.c: Likewise.
15926 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
15927 Remove v1-longjmp_chk.
15928 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
15929 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
15930 Include debug/longjmp_chk.c and add versioning.
15931 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
15932 Include nptl/pt-longjmp.c and add versioning.
15933 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
15934 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
15935 Include __longjmp.c.
15936 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15937 Move to ...
15938 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
15939 (__getcontext): Remove setting __flags field.
15940 Add versioning.
15941 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15942 Don't restore upper high grps.
15943 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
15944 Likewise.
15945 (__swapcontext): Remove setting uc_flags field.
15946 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
15947 Delete file.
15948 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15949 Include __longjmp.c.
15950 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15951 Move to ...
15952 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
15953 (__getcontext): Remove setting __flags field.
15954 Add versioning.
15955 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
15956 (__swapcontext): Remove setting uc_flags field.
15957 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
15958 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
15959 Remove fields uc_high_gprs and __reserved.
15960 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
15961 New file with reverted content.
15962 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
15963 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
15964 Regenerated.
15965 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
15966 Regenerated.
15967
15968 2014-07-31 Andreas Schwab <schwab@suse.de>
15969
15970 * config.h.in (HAVE_IFUNC): Define to 0.
15971 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
15972 definedness.
15973
15974 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
15975
15976 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15977 memmove-avx-unaligned, memcpy-avx-unaligned and
15978 mempcpy-avx-unaligned.
15979 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15980 Add tests for AVX memcpy functions.
15981 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
15982 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
15983 memcpy_chk.
15984 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
15985 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
15986 memmove_chk.
15987 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
15988 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
15989 mempcpy_chk.
15990 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
15991 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
15992 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
15993
15994 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15995
15996 [BZ #17213]
15997 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
15998 powerpc64le.
15999
16000 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
16001
16002 [BZ #16839]
16003 * manual/llio.texi: Add section about open file description locks.
16004 * manual/examples/ofdlocks.c: Example of open file description
16005 lock usage.
16006 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
16007 F_OFD_SETLK, and F_OFD_SETLKW.
16008
16009 2014-07-23 Allan McRae <allan@archlinux.org>
16010
16011 * po/es.po: Update Spanish translation from translation project.
16012
16013 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
16014
16015 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
16016
16017 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
16018
16019 [BZ #17078]
16020 * sysdeps/arm/dl-machine.h (elf_machine_rela)
16021 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
16022 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
16023
16024 2014-07-17 Joseph Myers <joseph@codesourcery.com>
16025
16026 [BZ #17088]
16027 * math/fesetenv.c (__fesetenv)
16028 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
16029 * math/feupdateenv.c (__feupdateenv)
16030 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
16031
16032 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
16033 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16034 (__ASSUME_SOCKETCALL): Do not define.
16035
16036 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
16037 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
16038 (__ASSUME_SOCKETCALL): Do not define.
16039 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
16040 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16041 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16042 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16043 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16044 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
16045 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16046 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16047
16048 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
16049 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
16050 (__ASSUME_SOCKETCALL): Do not define.
16051 (__ASSUME_IPC64): Define unconditionally.
16052 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16053 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16054 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16055 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16056 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
16057 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16058 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
16059 Likewise.
16060
16061 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
16062 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
16063 (__ASSUME_SOCKETCALL): Do not define.
16064 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
16065 (__ASSUME_FUTEX_LOCK_PI): Likewise.
16066 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16067 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16068 (__ASSUME_REQUEUE_PI): Define unconditionally.
16069 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
16070 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16071 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16072 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
16073 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16074 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16075
16076 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
16077 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
16078 (__ASSUME_SOCKETCALL): Do not define.
16079 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
16080 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16081 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16082 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
16083 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16084 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16085
16086 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
16087 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
16088 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16089 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
16090 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16091 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
16092 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16093 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
16094 (__ASSUME_GETCPU_SYSCALL): Likewise.
16095
16096 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
16097 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
16098 cases for individual architectures.
16099 * sysdeps/gnu/configure: Regenerated.
16100 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
16101 LIBC_SLIBDIR_RTLDDIR.
16102 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
16103 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
16104 LIBC_SLIBDIR_RTLDDIR.
16105 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
16106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
16107 LIBC_SLIBDIR_RTLDDIR.
16108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16109 Regenerated.
16110 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
16111 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
16112 file.
16113 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
16114 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
16115 file.
16116 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
16117 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
16118 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
16119 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
16120
16121 * sysdeps/aarch64/shlib-versions: Move to ...
16122 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
16123 * sysdeps/alpha/shlib-versions: Move to ...
16124 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
16125 * sysdeps/arm/shlib-versions: Move to ...
16126 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
16127 * sysdeps/hppa/shlib-versions: Move all contents except for
16128 libgcc_s entry to ...
16129 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
16130 entry from ...
16131 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
16132 * sysdeps/ia64/shlib-versions: Move to ...
16133 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
16134 entry from ...
16135 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
16136 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
16137 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
16138 * sysdeps/microblaze/shlib-versions: Move to ...
16139 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
16140 * sysdeps/mips/shlib-versions: Move to ...
16141 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
16142 entry from ...
16143 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
16144 * sysdeps/tile/shlib-versions: Move to ...
16145 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
16146 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
16147 from ...
16148 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
16149 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
16150 entry from ...
16151 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
16152
16153 2014-07-17 Will Newton <will.newton@linaro.org>
16154
16155 * sysdeps/arm/bits/atomic.h
16156 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
16157 (__arch_compare_and_exchange_bool_16_int): Likewise.
16158 (__arch_compare_and_exchange_bool_64_int): Likewise.
16159
16160 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
16161 into an #else block.
16162
16163 2014-07-16 Roland McGrath <roland@hack.frob.com>
16164
16165 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
16166 just Linux configurations. Test empirically that the compiler sets
16167 __ARM_EABI__, rather than using the tuple to decide.
16168 * sysdeps/arm/preconfigure: Regenerated.
16169 * sysdeps/unix/sysv/linux/arm/configure: File removed.
16170 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
16171 contents appended ...
16172 * sysdeps/arm/configure.ac: ... here.
16173 * sysdeps/arm/configure: Regenerated.
16174
16175 2014-07-15 Roland McGrath <roland@hack.frob.com>
16176
16177 * nptl/pthread_kill.c: New file.
16178 * nptl/pthread_sigmask.c: New file.
16179 * nptl/pthread_sigqueue.c: New file.
16180
16181 * sysdeps/nptl/lowlevellock.h: New file.
16182 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
16183 * sysdeps/nptl/lowlevellock-futex.h: New file.
16184
16185 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
16186 Remove dead declarations.
16187
16188 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
16189
16190 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
16191 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
16192 config-cflags-avx2.
16193 * sysdeps/x86_64/configure.ac: Likewise.
16194 * sysdeps/i386/configure: Regenerated.
16195 * sysdeps/x86_64/configure: Likewise.
16196 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16197 memset-avx2 only if config-cflags-avx2 is yes.
16198 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16199 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
16200 defined.
16201 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
16202 only if HAVE_AVX2_SUPPORT is defined.
16203 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16204
16205 2014-07-14 Alan Modra <amodra@gmail.com>
16206
16207 [BZ #17153]
16208 * elf/elf.h (DT_PPC64_NUM): Correct value.
16209 * NEWS: Add to fixed bug list.
16210
16211 2014-07-13 Jim Meyering <meyering@fb.com>
16212
16213 [BZ 17150]
16214 regex: don't deref NULL upon heap allocation failure
16215 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
16216 failure in one more place.
16217 To trigger the segfault, configure grep -with-included-regex,
16218 build it, and run these commands:
16219 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
16220
16221 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
16222
16223 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16224
16225 2014-07-11 Richard Henderson <rth@redhat.com>
16226
16227 * sysdeps/aarch64/libm-test-ulps: Update.
16228
16229 2014-07-10 Florian Weimer <fweimer@redhat.com>
16230
16231 [BZ #17135]
16232 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
16233 * nptl/allocatestack.c (__nptl_setxid_error): New function.
16234 (__nptl_setxid): Initialize error member. Call
16235 __nptl_setxid_error.
16236 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
16237 * nptl/descr.h (struct xid_command): Add error member.
16238 * nptl/tst-setuid3.c: New file.
16239 * nptl/Makefile (tests): Add it.
16240
16241 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16242
16243 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
16244 New define.
16245 (__lll_trylock): Use __lll_base_trylock.
16246 (__lll_cond_trylock): Likewise.
16247
16248 2014-07-10 Roland McGrath <roland@hack.frob.com>
16249
16250 * nptl/pthread_create.c (start_thread): Use atomic_or and
16251 lll_futex_wake directly rather than lll_robust_dead.
16252 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16253 (lll_robust_dead): Macro removed.
16254 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
16255 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16256 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16257 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16258 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16259 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16260 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16261 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16262 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16263 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16264 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16265 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16266 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16267 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16268 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16269
16270 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16271 Use atomic_compare_and_exchange_val_acq directly rather than
16272 lll_robust_trylock.
16273 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16274 (__lll_robust_trylock, lll_robust_trylock): Removed.
16275 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16276 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16277 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16278 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16279 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16280 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16281 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16282 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16283 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16284 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16285 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16286 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16287 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16288 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16289
16290 2014-07-02 Florian Weimer <fweimer@redhat.com>
16291
16292 * manual/locale.texi (Locale Names): New section documenting
16293 locale name syntax. Adjust menu and node chaining accordingly.
16294 (Choosing Locale): Reference Locale Names, Locale Categories.
16295 Mention setting LC_ALL=C. Reflect that name syntax is now
16296 documented.
16297 (Locale Categories): New section title. Reference Locale Names.
16298 LC_ALL is an environment variable, but not a category.
16299 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
16300 description, now in Locale Name. Reference that section. Locale
16301 name syntax is now documented.
16302
16303 2014-07-02 Florian Weimer <fweimer@redhat.com>
16304
16305 [BZ #17137]
16306 * locale/findlocale.c (name_present, valid_locale_name): New
16307 functions.
16308 (_nl_find_locale): Use the loc_name variable to store name
16309 candidates. Call name_present and valid_locale_name to check and
16310 validate locale names. Return an error if the locale is invalid.
16311
16312 2014-07-02 Florian Weimer <fweimer@redhat.com>
16313
16314 * locale/setlocale.c (setlocale): Use strdup for allocating
16315 composite name copy.
16316
16317 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16318
16319 Sync up with gnulib.
16320 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
16321 [!_LIBC && ENABLE_NLS]: Include gettext.h.
16322 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
16323 and _GL_ARG_NONNULL.
16324 [USE_UNLOCKED_IO]: Include unlocked-io.h.
16325 [!_LIBC]: Include code for Windows and Cygwin.
16326 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
16327 Include prototype for int strerror_r.
16328 [!_LIBC] (is_open): New function.
16329 (flush_stdout): New function.
16330 (print_errno_message): Use it.
16331 (error): Likewise.
16332 (error_at_line): Likewise.
16333 (error_tail) Add function attribute macros. Use
16334 __builtin_expect.
16335
16336 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
16337
16338 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
16339
16340 * io/ftw.c: Include sys/param.h unconditionally.
16341
16342 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
16343
16344 [BZ #17125]
16345 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
16346 libc_freeres_ptr.
16347 (freecache): New function to free CACHE on exit.
16348
16349 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
16350 initialization.
16351
16352 2014-07-09 David S. Miller <davem@davemloft.net>
16353
16354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16355
16356 * sysdeps/sparc/nptl/internaltypes.h: Delete.
16357 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
16358 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
16359 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
16360 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
16361 * sysdeps/sparc/nptl/sem_init.c: Likewise.
16362 * sysdeps/sparc/nptl/sem_post.c: Likewise.
16363 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
16364 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
16365 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
16366 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
16367 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
16368 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
16369
16370 2014-07-09 Andreas Schwab <schwab@suse.de>
16371
16372 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
16373 output.
16374 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
16375 (do_test): Likewise.
16376
16377 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16378
16379 2014-07-09 Will Newton <will.newton@linaro.org>
16380
16381 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
16382 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
16383 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
16384 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
16385 * sysdeps/hppa/start.S (_start): Likewise.
16386
16387 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16388
16389 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
16390
16391 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
16392 defined.
16393
16394 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16395
16396 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
16397 after checking that it is non-NULL.
16398
16399 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
16400
16401 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16402
16403 * sysdeps/powerpc/memmove.c: Remove file.
16404 * sysdeps/powerpc/powerpc32/power4/memcopy.h
16405 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
16406 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16407 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
16408 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
16409 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
16410 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
16411 string memmove instead of removed powerpc one.
16412
16413 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16414 [weak_alias]: Fix compiler warning due trailing data.
16415 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
16416 [weak_alias]: Likewise.
16417 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
16418 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
16419
16420 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16421 (__libc_ifunc_impl_list): Add memmove functions.
16422
16423 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16424
16425 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
16426 Remove code.
16427 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
16428 Likewise
16429 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
16430 Likewise
16431 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
16432 Likewise
16433 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
16434 Likewise
16435 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
16436 Likewise
16437 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
16438 Likewise
16439 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
16440 Likewise
16441 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
16442 Likewise
16443 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
16444 Likewise
16445 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
16446 Likewise
16447 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
16448 Likewise
16449 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
16450 Likewise
16451 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
16452 Likewise
16453 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
16454 Likewise
16455 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
16456 Likewise
16457 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
16458 Likewise
16459
16460 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16461
16462 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
16463 to avoid alignment traps in non-cacheable memory.
16464 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16465
16466 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
16467 multiarch objects.
16468 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
16469 file: multiarch power7 memmove.
16470 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
16471 multiarch default memmove.
16472 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
16473 multiarch memove for powerpc32/power4.
16474
16475 * string/bcopy.c: Use full path to include memmove.c.
16476 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
16477 multiarch objects.
16478 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
16479 bcopy for powerpc64.
16480 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
16481 bcopy for powerpc64.
16482 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
16483 and memmove implementations.
16484 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
16485 optimized multiarch memmove for POWER7/powerpc64.
16486 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
16487 default multiarch memmove for powerpc64.
16488 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
16489 multiarch for powerpc64.
16490 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
16491 for POWER7/powerpc64.
16492 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
16493 memmove for POWER7/powerpc64.
16494
16495 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
16496 glibc default one.
16497
16498 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
16499 __ELF_NATIVE_CLASS equal to 64.
16500
16501 2014-07-07 Roland McGrath <roland@hack.frob.com>
16502
16503 * sysdeps/nptl/lowlevellock.h: File removed.
16504
16505 * NEWS: NPTL is no longer an add-on!
16506 * nptl/internaltypes.h: Moved ...
16507 * sysdeps/nptl/internaltypes.h: ... here.
16508 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
16509 * sysdeps/nptl/fork.c: Likewise.
16510 * sysdeps/nptl/gai_misc.h: Likewise.
16511 * sysdeps/nptl/librt-cancellation.c: Likewise.
16512 * sysdeps/nptl/jmp-unwind.c: Likewise.
16513 * sysdeps/nptl/setxid.h: Likewise.
16514 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
16515 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
16516 * sysdeps/unix/sysv/linux/arm/Implies: New file.
16517 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
16518 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
16519 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
16520 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
16521 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
16522 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
16523 * sysdeps/unix/sysv/linux/mips/Implies: New file.
16524 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
16525 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
16526 * sysdeps/unix/sysv/linux/sh/Implies: New file.
16527 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
16528 * sysdeps/unix/sysv/linux/tile/Implies: New file.
16529 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
16530 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
16531 * nptl/Makeconfig: Moved ...
16532 * sysdeps/nptl/Makeconfig: ... here.
16533 * nptl/configure: File removed.
16534 * nptl/ANNOUNCE: File removed.
16535 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
16536 * sysdeps/unix/sysv/linux/configure: Regenerated.
16537
16538 * nptl/Makefile (routines): Add libc_pthread_init,
16539 libc_multiple_threads, register-atfork and unregister-atfork.
16540 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
16541 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
16542 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
16543 pthread-pi-defines.sym, structsem.sym.
16544 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
16545 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
16546 [$(subdir) = nptl] (tests): Add tst-setgetname.
16547 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
16548 * sysdeps/unix/sysv/linux/sigaction.c: Just include
16549 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
16550 [!LIBC_SIGACTION]: Remove aliases.
16551 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16552 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16553 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16554 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
16555 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16556 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16557 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16558 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16559 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16560 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
16561 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
16562 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
16563 __libc_allocate_rtsig_private.
16564 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
16565 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
16566 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
16567 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
16568 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
16569 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
16570 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
16571 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
16572 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
16573 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
16574 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
16575 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
16576 * nptl/internaltypes.h: ... here.
16577 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
16578 * sysdeps/nptl/jmp-unwind.c: ... here.
16579 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
16580 * nptl/libc-lowlevellock.c: ... here.
16581 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
16582 * nptl/libc_multiple_threads.c: ... here.
16583 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
16584 * nptl/libc_pthread_init.c: ... here.
16585 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
16586 * nptl/lowlevelbarrier.sym: ... here.
16587 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
16588 * nptl/lowlevelcond.sym: ... here.
16589 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
16590 * nptl/lowlevellock.c: ... here.
16591 * nptl/lowlevellock.h: Moved ...
16592 * sysdeps/nptl/lowlevellock.h: ... here.
16593 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
16594 * nptl/lowlevelrobustlock.c: ... here.
16595 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
16596 * nptl/lowlevelrobustlock.sym: ... here.
16597 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
16598 * nptl/lowlevelrwlock.sym: ... here.
16599 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
16600 * nptl/pt-fork.c: ... here.
16601 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
16602 * nptl/pthread-pi-defines.sym: ... here.
16603 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
16604 * nptl/pthread_attr_getaffinity.c: ... here.
16605 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
16606 * nptl/pthread_attr_setaffinity.c: ... here.
16607 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
16608 * nptl/pthread_mutex_cond_lock.c: ... here.
16609 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16610 Update #include.
16611 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
16612 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
16613 * nptl/pthread_once.c: ... here, replacing old file.
16614 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
16615 * nptl/pthread_yield.c: ... here.
16616 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
16617 * nptl/register-atfork.c: ... here.
16618 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
16619 * nptl/sem_post.c: ... here.
16620 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
16621 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
16622 * nptl/sem_timedwait.c: ... here.
16623 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
16624 * nptl/sem_trywait.c: ... here.
16625 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
16626 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
16627 * nptl/sem_wait.c: ... here.
16628 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
16629 * nptl/structsem.sym: ... here.
16630 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
16631 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
16632 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
16633 * nptl/unregister-atfork.c: ... here.
16634 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
16635 * nptl/unwindbuf.sym: ... here.
16636 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
16637 * sysdeps/nptl/fork.c: ... here.
16638 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
16639 * sysdeps/nptl/fork.h: ... here.
16640 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
16641 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
16642 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
16643 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
16644 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
16645 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
16646 * sysdeps/unix/sysv/linux/getpid.c: ... here.
16647 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
16648 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
16649 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
16650 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
16651 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
16652 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
16653 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
16654 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
16655 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
16656 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
16657 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
16658 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
16659 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
16660 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
16661 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
16662 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
16663 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
16664 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
16665 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
16666 * sysdeps/unix/sysv/linux/raise.c: ... here.
16667 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
16668 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
16669 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
16670 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
16671 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
16672 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
16673 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
16674 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
16675 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
16676 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
16677 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
16678 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
16679 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
16680 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
16681 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
16682
16683 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16684
16685 * sysdeps/generic/memcopy.h: Add comment for
16686 MEMCPY_OK_FOR_FWD_MEMMOVE.
16687
16688 2014-07-04 Will Newton <will.newton@linaro.org>
16689
16690 * string/memchr.c: Merge from gnulib.
16691 [_LIBC]: Remove conditionals.
16692 (__ptr_t): Remove define.
16693 (LONG_MAX_32_BITS): Likewise.
16694 (LONG_MAX): Likewise.
16695 (MEMCHR): Use ANSI prototype and optimize algorithm.
16696
16697 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
16698
16699 2014-07-03 Roland McGrath <roland@hack.frob.com>
16700
16701 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
16702 (lll_futex_timed_wait_bitset): Fix syscall argument count.
16703
16704 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
16705 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
16706 in a bare environment with no <stdlib.h> installed.
16707 * sysdeps/nptl/configure: Regenerated.
16708
16709 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
16710
16711 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
16712 AC_EGREP_CPP for kernel header checks, so they only succeed if
16713 including <linux/version.h> actually works right.
16714 * sysdeps/unix/sysv/linux/configure: Regenerated.
16715
16716 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
16717 value so it's not diagnosed as unused.
16718
16719 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
16720 thing) with "ifeq ($(subdir),rt)".
16721
16722 2014-07-03 Richard Henderson <rth@redhat.com>
16723
16724 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
16725 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
16726 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
16727
16728 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
16729 (math_force_eval): New.
16730
16731 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
16732 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
16733
16734 * sysdeps/alpha/fpu/s_round.c: Remove file.
16735 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
16736
16737 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
16738 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
16739 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
16740 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
16741 (_dl_start, print_statistics): Likewise.
16742 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
16743 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
16744
16745 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16746 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16747 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16748 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16749 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16750 (HP_SMALL_TIMING_AVAIL): Define.
16751 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16752 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16753 (HP_SMALL_TIMING_AVAIL): Define.
16754 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16755 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16756
16757 * sysdeps/aarch64/hp-timing.h: New file.
16758
16759 * sysdeps/generic/hp-timing.h: Remove dead comment.
16760 * sysdeps/generic/hp-timing-common.h: New file.
16761 * sysdeps/alpha/hp-timing.h: Include it.
16762 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
16763 * sysdeps/i386/i686/hp-timing.h: Likewise.
16764 * sysdeps/ia64/hp-timing.h: Likewise.
16765 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16766 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16767 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16768 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16769 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
16770 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
16771 (hp_timing_t): New.
16772
16773 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
16774 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
16775 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
16776 * elf/rtld.c (_dl_start_final): Likewise.
16777 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
16778 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16779 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16780 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16781 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16782 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16783 (HP_TIMING_DIFF_INIT): Remove.
16784 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16785 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16786 (HP_TIMING_DIFF_INIT): Remove.
16787 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16788 * sysdeps/i386/i686/hp-timing.c: Remove file.
16789 * sysdeps/x86_64/hp-timing.c: Remove file.
16790 * sysdeps/ia64/hp-timing.c: Remove file.
16791 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
16792 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
16793 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
16794 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
16795
16796 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
16797 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
16798 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
16799 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16800 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16801 (HP_TIMING_ACCUM): Remove.
16802 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16803 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
16804 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16805
16806 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
16807 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
16808 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
16809 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
16810 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
16811 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16812 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
16813 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16814
16815 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
16816
16817 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
16818
16819 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
16820
16821 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16822
16823 Sync up with gettext.
16824 * intl/loadmsgcat.c: Define O_BINARY if not defined.
16825 [_MSC_VER]: Include malloc.h
16826 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
16827 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
16828 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
16829 TEMP_FAILURE_RETRY. Cast return of alloca.
16830 [!_LIBC] Call gl_rwlock_init.
16831 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
16832
16833 2014-07-02 Roland McGrath <roland@hack.frob.com>
16834
16835 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
16836 before checking its value.
16837
16838 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16839
16840 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
16841
16842 * debug/memcpy_chk.c: Don't include pagecopy.h.
16843 * debug/mempcpy_chk.c: Likewise.
16844 * string/memcpy.c: Likewise.
16845 * string/memmove.c: Likewise.
16846 * sysdeps/powerpc/memmove.c: Likewise.
16847 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
16848 definition of PAGE_COPY_FWD_MAYBE here...
16849 * sysdeps/generic/pagecopy.h: ... from here.
16850 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
16851
16852 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16853 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16854
16855 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
16856 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
16857 optimizations.
16858 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16859 (__libc_ifunc_impl_list): Likewise.
16860 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
16861 multiarch strcat for PPC64.
16862 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
16863 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
16864
16865 2014-07-02 Roland McGrath <roland@hack.frob.com>
16866
16867 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
16868
16869 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16870
16871 * intl/loadmsgcat.c: Remove declaration of
16872 get_sysdep_segment_value.
16873 (get_sysdep_segment_value): Use ISO C style.
16874 (_nl_load_domain): Use ISO C style. Get rid of redundant
16875 semicolon. Fix typo and formatting in comment.
16876 (_nl_unload_domain): Use ISO C style.
16877
16878 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
16879
16880 2014-07-02 Will Newton <will.newton@linaro.org>
16881
16882 * malloc/obstack.c: Merge from gnulib master.
16883 [HAVE_CONFIG_H]: Remove conditional code.
16884 [!_LIBC]: Include config.h.
16885 [!ELIDE_CODE]: Don't include inttypes.h, include
16886 stdint.h unconditionally.
16887 (print_and_abort): Mark as _Noreturn.
16888 (_obstack_allocated_p): Mark as __attribute_pure__.
16889 (obstack_free): Rename to __obstack_free.
16890 [!__attribute__]: Remove conditional code.
16891 * malloc/obstack.h: Merge from gnulib master.
16892 [__cplusplus]: Move conditional down.
16893 [!__attribute_pure__]: Define __attribute_pure__ here
16894 if it is not already defined.
16895 (_obstack_memory_used): Mark as __attribute_pure__.
16896 [!__obstack_free]: Define as obstack_free.
16897 [__GNUC__]: Remove check for ancient NeXT gcc.
16898
16899 2014-07-02 Will Newton <will.newton@linaro.org>
16900 Paul Eggert <eggert@cs.ucla.edu>
16901
16902 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
16903
16904 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16905
16906 * resolv/gethnamaddr.c: Add comment warning that the file is
16907 not maintained.
16908
16909 2014-07-01 Carlos O'Donell <carlos@redhat.com>
16910
16911 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
16912 entries.
16913
16914 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
16915 entry for aio_cancel and aio_cancel64.
16916 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
16917 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
16918 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
16919 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
16920 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
16921 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
16922 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
16923 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
16924 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
16925 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
16926 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
16927 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
16928 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
16929
16930 2014-07-01 Roland McGrath <roland@hack.frob.com>
16931
16932 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
16933 * nptl/pthread_mutex_lock.c: Likewise.
16934 * nptl/pthread_mutex_timedlock.c: Likewise.
16935 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
16936
16937 2014-07-01 Richard henderson <rth@redhat.com>
16938
16939 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
16940 (__isnan, __isnanl): Remove.
16941 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
16942
16943 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16944
16945 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
16946
16947 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16948
16949 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16950
16951 * resolv/nss_dns/dns-host.c (getanswer_r)
16952 [MULTI_PTRS_ARE_ALIASES]: Remove code.
16953
16954 2014-07-01 Joseph Myers <joseph@codesourcery.com>
16955
16956 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16957 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
16958 undefine.
16959 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
16960 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
16961
16962 2014-07-01 Roland McGrath <roland@hack.frob.com>
16963
16964 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
16965 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
16966
16967 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
16968 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
16969
16970 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
16971 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
16972 ... here.
16973 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
16974 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
16975
16976 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
16977 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
16978 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
16979 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
16980
16981 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
16982 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
16983 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
16984 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
16985 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
16986 Moved ...
16987 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
16988 ... here.
16989 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
16990 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
16991 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
16992 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
16993 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
16994 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
16995 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
16996 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
16997 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
16998 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
16999 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
17000 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
17001 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
17002 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
17003 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
17004 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
17005 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
17006 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
17007 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
17008 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
17009 ... here.
17010 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
17011 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
17012 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
17013 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
17014 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
17015 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
17016 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
17017 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
17018
17019 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
17020
17021 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
17022 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
17023 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
17024 Add sysdep.
17025
17026 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17027
17028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17029
17030 2014-06-30 Joseph Myers <joseph@codesourcery.com>
17031
17032 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17033 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17034
17035 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17036
17037 * sysdeps/arm/libm-test-ulps: Regenerated.
17038
17039 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
17040 Roland McGrath <roland@hack.frob.com>
17041
17042 * test-skeleton.c (signal_handler): Kill the whole process group
17043 before killing the child individually.
17044 (main): Report any failure on `setpgid'.
17045
17046 2014-06-30 Roland McGrath <roland@hack.frob.com>
17047
17048 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
17049 from _TLS_H to _ARM_NPTL_TLS_H.
17050 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
17051 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
17052
17053 2014-06-30 Joseph Myers <joseph@codesourcery.com>
17054
17055 [BZ #16539]
17056 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
17057 (__expm1l): Return argument unchanged when small but not
17058 subnormal.
17059
17060 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
17061 include macro name.
17062 (_FP_UNPACK_RAW_1_P): Likewise.
17063 (_FP_PACK_RAW_1): Likewise.
17064 (_FP_PACK_RAW_1_P): Likewise.
17065 (_FP_MUL_MEAT_1_wide): Likewise.
17066 (_FP_MUL_MEAT_DW_1_hard): Likewise.
17067 (_FP_MUL_MEAT_1_hard): Likewise.
17068 (_FP_DIV_MEAT_1_imm): Likewise.
17069 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
17070 (_FP_DIV_MEAT_1_udiv): Likewise.
17071 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
17072 (_FP_UNPACK_RAW_2): Likewise.
17073 (_FP_UNPACK_RAW_2_P): Likewise.
17074 (_FP_PACK_RAW_2): Likewise.
17075 (_FP_PACK_RAW_2_P): Likewise.
17076 (_FP_MUL_MEAT_DW_2_wide): Likewise.
17077 (_FP_MUL_MEAT_2_wide): Likewise.
17078 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
17079 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
17080 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
17081 (_FP_MUL_MEAT_2_gmp): Likewise.
17082 (_FP_DIV_MEAT_2_udiv): Likewise.
17083 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
17084 (_FP_FRAC_SRL_4): Likewise.
17085 (_FP_FRAC_SRST_4): Likewise.
17086 (_FP_FRAC_SRS_4): Likewise.
17087 (_FP_UNPACK_RAW_4): Likewise.
17088 (_FP_UNPACK_RAW_4_P): Likewise.
17089 (_FP_PACK_RAW_4): Likewise.
17090 (_FP_PACK_RAW_4_P): Likewise.
17091 (_FP_MUL_MEAT_DW_4_wide): Likewise.
17092 (_FP_MUL_MEAT_4_wide): Likewise.
17093 (_FP_MUL_MEAT_4_gmp): Likewise.
17094 (umul_ppppmnnn): Likewise.
17095 (_FP_DIV_MEAT_4_udiv): Likewise.
17096 (__FP_FRAC_ADD_4): Likewise.
17097 (__FP_FRAC_SUB_3): Likewise.
17098 (__FP_FRAC_SUB_4): Likewise.
17099 (__FP_FRAC_DEC_3): Likewise.
17100 (__FP_FRAC_DEC_4): Likewise.
17101 (__FP_FRAC_ADDI_4): Likewise.
17102 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
17103 (_FP_FRAC_SRL_8): Likewise.
17104 (_FP_FRAC_SRS_8): Likewise.
17105
17106 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
17107 include macro name.
17108 (FP_UNPACK_RAW_EP): Likewise.
17109 (FP_PACK_RAW_E): Likewise.
17110 (FP_PACK_RAW_EP): Likewise.
17111 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
17112 (_FP_ISSIGNAN): Likewise.
17113 (_FP_ADD_INTERNAL): Likewise.
17114 (_FP_FMA): Likewise.
17115 (_FP_CMP): Likewise.
17116 (_FP_SQRT): Likewise.
17117 (_FP_TO_INT): Likewise.
17118 (_FP_FROM_INT): Likewise.
17119 (FP_EXTEND): Likewise.
17120 (_FP_DIV_MEAT_N_loop): Likewise.
17121
17122 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
17123
17124 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
17125 throughout.
17126
17127 2014-06-29 Joseph Myers <joseph@codesourcery.com>
17128
17129 [BZ #17097]
17130 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
17131 result with correct sign in case of exponents that produce
17132 overflow except for X very close to 1.
17133
17134 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
17135
17136 mktime: merge #if/#ifdef usage from glibc
17137 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
17138 as that works with both Glibc's and Gnulib's style.
17139 See thread starting at Siddhesh Poyarekar's bug report at:
17140 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
17141
17142 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17143
17144 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
17145 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
17146 * sysdeps/tile/tilegx/memmove.c: Remove file.
17147
17148 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17149
17150 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
17151 abi-name definition.
17152 * scripts/soversions.awk: Do not handle or generate ABI lines.
17153 * shlib-versions: Remove ABI entries.
17154 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
17155 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
17156
17157 2014-06-27 Roland McGrath <roland@hack.frob.com>
17158
17159 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
17160 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
17161 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
17162 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
17163 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
17164 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
17165 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
17166 Moved ...
17167 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17168 ... here.
17169 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
17170 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
17171 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
17172 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
17173 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
17174 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
17175 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
17176 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
17177 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
17178 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
17179 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
17180 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
17181 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
17182 Moved ...
17183 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
17184 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
17185 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
17186 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
17187 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
17188 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
17189 Moved ...
17190 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
17191 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
17192 Moved ...
17193 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
17194 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
17195 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
17196 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
17197 Moved ...
17198 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
17199 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
17200 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
17201 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
17202 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
17203 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
17204 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
17205 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
17206 Moved ...
17207 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
17208 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
17209 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
17210 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
17211 Moved ...
17212 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
17213 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
17214 Moved ...
17215 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
17216 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
17217 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
17218 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
17219 Moved ...
17220 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17221 ... here.
17222 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
17223 Identical file removed.
17224 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
17225 Moved ...
17226 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
17227 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
17228 Identical file removed.
17229 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
17230 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
17231 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
17232 Moved ...
17233 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
17234 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
17235 Identical file removed.
17236 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
17237 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
17238 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
17239 Identical file removed.
17240 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
17241 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
17242 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
17243 Identical file removed.
17244 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
17245 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
17246 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
17247 Identical file removed.
17248 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
17249 Moved ...
17250 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
17251 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
17252 Identical file removed.
17253 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
17254 Moved ...
17255 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
17256 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
17257 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
17258 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
17259 Identical file removed.
17260 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
17261 Moved ...
17262 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
17263 ... here.
17264 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
17265 Identical file removed.
17266 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
17267 Moved ...
17268 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
17269 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
17270 Identical file removed.
17271 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
17272 Moved ...
17273 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
17274 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
17275 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
17276 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
17277 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
17278 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
17279 Moved ...
17280 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
17281 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
17282 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
17283
17284 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
17285 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
17286 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
17287 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
17288 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
17289
17290 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
17291
17292 [BZ #17092]
17293 * nscd/nscd.c (monitor_child): Return exit status of child
17294 instead of return value from wait syscall.
17295
17296 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17297
17298 * configure.ac (libc_commonpagesize): Remove variable.
17299 (libc_relro_required): Likewise.
17300 (libc_cv_z_relro): Remove configure test.
17301 * configure: Regenerated.
17302 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
17303 variable.
17304 (libc_relro_required): Likewise.
17305 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
17306 (libc_relro_required): Likewise.
17307 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
17308 (libc_relro_required): Likewise.
17309 * sysdeps/arm/preconfigure: Regenerated.
17310 * sysdeps/ia64/preconfigure: Remove file.
17311 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
17312 variable.
17313 (libc_relro_required): Likewise.
17314
17315 [BZ #16561]
17316 [BZ #16562]
17317 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
17318 (__ieee754_yn): Set FE_TONEAREST mode internally and then
17319 recompute overflowing results in original rounding mode.
17320 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
17321 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
17322 recompute overflowing results in original rounding mode.
17323 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
17324 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17325 recompute overflowing results in original rounding mode.
17326 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
17327 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17328 recompute overflowing results in original rounding mode.
17329 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
17330 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17331 recompute overflowing results in original rounding mode.
17332 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
17333 (libc_feholdsetround_ctx): New macro.
17334 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
17335 * sysdeps/i386/fpu/libm-test-ulps: Update.
17336 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
17337
17338 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17339
17340 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
17341 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
17342 corresponding .cpsetup call.
17343
17344 2014-06-26 Roland McGrath <roland@hack.frob.com>
17345
17346 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
17347 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
17348 * sysdeps/arm/Makefile [$(subdir) = csu]
17349 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
17350 (static-only-routines): Add aeabi_read_tp here.
17351 (shared-only-routines): Add libc-aeabi_read_tp here.
17352 (CFLAGS-libc-start.c): Add -fexceptions here.
17353 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
17354 (sysdep_routines, static-only-routines, shared-only-routines):
17355 Don't add to these here.
17356 (CFLAGS-libc-start.c): Likewise.
17357
17358 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
17359 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17360 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
17361 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17362 * sysdeps/arm/Makefile [$(subdir) = rt]
17363 (librt-sysdep_routines, librt-shared-only-routines):
17364 Append rt-aeabi_unwind_cpp_pr1 here.
17365 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
17366 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
17367 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
17368 (libpthread-sysdep_routines, libpthread-shared-only-routines):
17369 Append nptl-aeabi_unwind_cpp_pr1 here.
17370 (tests): Filter out tst-cleanupx4 here.
17371 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
17372 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
17373 Don't do those here.
17374
17375 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17376
17377 * scripts/list-sources.sh: Do not handle ports specially.
17378
17379 2014-06-26 Roland McGrath <roland@hack.frob.com>
17380
17381 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
17382 * sysdeps/arm/feupdateenv.c: Likewise.
17383
17384 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
17385
17386 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17387
17388 * manual/texinfo.tex: Update to version 2014-05-05.10 with
17389 trailing whitespace removed.
17390 * scripts/config.guess: Update to version 2014-03-23.
17391 * scripts/config.sub: Update to version 2014-05-01
17392 * scripts/install-sh: Update to version 2013-12-25.23.
17393 * scripts/move-if-change: Update from gnulib.
17394
17395 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17396
17397 * debug/memmove_chk.c: Remove pagecopy.h include.
17398
17399 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
17400
17401 * time/mktime.c (leapyear): Remove inline keyword. The code is now
17402 identical to gnulib mktime.
17403
17404 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17405
17406 * configure.ac: Do not test for machine being rs6000. Do not test
17407 for powerpc*-*soft.
17408 * configure: Regenerated.
17409
17410 [BZ #11505]
17411 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
17412 test.
17413 * configure: Regenerated.
17414 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
17415 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
17416 Remove configure test.
17417 * sysdeps/arm/configure: Regenerated.
17418 * sysdeps/nptl/configure.ac: Do not check
17419 libc_cv_asm_cfi_directives.
17420 * sysdeps/nptl/configure: Regenerated.
17421 * sysdeps/x86_64/nptl/configure.ac: Remove file.
17422 * sysdeps/x86_64/nptl/configure: Remove generated file.
17423 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
17424 unconditional.
17425 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
17426
17427 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17428
17429 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
17430 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
17431 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
17432 it is defined.
17433
17434 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
17435 instead of whether it is defined.
17436 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
17437 * sysdeps/hppa/dl-machine.h: Likewise.
17438 * sysdeps/ia64/dl-machine.h: Likewise.
17439 * sysdeps/m68k/dl-machine.h: Likewise.
17440 * sysdeps/microblaze/dl-machine.h: Likewise.
17441 * sysdeps/mips/dl-machine.: Likewise.
17442 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17443 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17444 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17445 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17446 * sysdeps/sh/dl-machine.h: Likewise.
17447 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17448 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17449 * sysdeps/tile/dl-machine.h: Likewise.
17450 * sysdeps/x86_64/dl-machine.h: Likewise.
17451
17452 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
17453 code.
17454 (verify_persistent_db): Likewise.
17455
17456 2014-06-26 Roland McGrath <roland@hack.frob.com>
17457
17458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
17459 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
17460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
17461 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
17462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17463 Moved ...
17464 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17465 ... here.
17466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
17467 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
17468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
17469 Identical file removed.
17470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
17471 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
17472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
17473 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
17474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
17475 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
17476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
17477 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
17478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
17479 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
17480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17481 Moved ...
17482 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
17483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
17484 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
17485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
17486 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
17487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17488 Moved ...
17489 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
17490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
17491 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
17492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
17493 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
17494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17495 Identical file removed.
17496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
17497 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
17498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
17499 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
17500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17501 Moved ...
17502 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
17503 ... here.
17504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
17505 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
17506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
17507 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
17508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
17509 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
17510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
17511 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
17512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
17513 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
17514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17515 Moved ...
17516 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
17517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
17518 Moved ...
17519 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
17520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
17521 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
17522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17523 Moved ...
17524 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
17525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
17526 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
17527
17528 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
17529 folded into ...
17530 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
17531 * sysdeps/unix/sysv/linux/s390/Versions
17532 (libpthread: GLIBC_2.19): New version set.
17533 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
17534 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
17535 (librt: GLIBC_2.3.3): New version set.
17536 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
17537 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
17538 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
17539 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
17540 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
17541 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
17542 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
17543 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
17544 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
17545 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
17546 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
17547 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
17548 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
17549 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
17550 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
17551 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
17552 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
17553 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
17554 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
17555 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
17556 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
17557 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
17558 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
17559 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
17560 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
17561 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
17562 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
17563 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
17564 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
17565 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
17566 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
17567 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
17568 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
17569 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
17570 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
17571 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
17572 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
17573 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
17574 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
17575 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
17576 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
17577 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
17578 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
17579 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
17580 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
17581
17582 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
17583 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
17584 (__libc_vfork): Define the function under this name.
17585 [!NOT_IN_libc] (__vfork): Make this an alias.
17586 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17587 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
17588 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
17589 (__libc_vfork): Define the function under this name.
17590 [!NOT_IN_libc] (__vfork): Make this an alias.
17591 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17592 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
17593 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
17594 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
17595 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
17596 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17597
17598 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
17599 code that was previously under [RESET_PID].
17600 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
17601 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
17602 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
17603
17604 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
17605 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
17606 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
17607 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
17608 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
17609 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
17610 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
17611 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
17612 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
17613 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
17614 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
17615 Moved ...
17616 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
17617 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
17618 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
17619 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
17620 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
17621 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
17622 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
17623 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
17624 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
17625 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
17626 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
17627 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
17628 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
17629 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
17630 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
17631 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
17632 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
17633 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
17634 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
17635 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
17636 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
17637 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
17638 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
17639 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
17640 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
17641 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
17642 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
17643 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
17644 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
17645
17646 2014-06-25 Roland McGrath <roland@hack.frob.com>
17647
17648 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
17649 that was previously under [RESET_PID].
17650 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
17651
17652 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17653
17654 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
17655 not undefine and redefine.
17656 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
17657 [O_CLOEXEC]: Make code unconditional.
17658 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
17659 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
17660 <kernel-features.h>.
17661 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
17662 conditional variable definition.
17663 (shm_open) [O_CLOEXEC]: Make code unconditional.
17664 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
17665 code.
17666
17667 * configure.ac (USE_REGPARMS): Don't define here.
17668 * configure: Regenerated.
17669 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
17670 * sysdeps/i386/configure: Regenerated.
17671
17672 * nptl/createthread.c: Don't include kernel-features.h.
17673 * nptl/pthread_cancel.c: Likewise.
17674 * nptl/pthread_condattr_setclock.c: Likewise.
17675 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
17676 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
17677 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
17678 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
17679 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
17680 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
17681 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
17682 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
17683 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
17684 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
17685 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
17686 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
17687 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
17688 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
17689 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
17690 * nscd/gai.c: Likewise.
17691 * nss/nss_db/db-open.c: Likewise.
17692 * sysdeps/generic/ldsodefs.h: Likewise.
17693 * sysdeps/sh/nptl/tls.h: Likewise.
17694 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17695 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
17696 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
17697 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
17698 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
17699 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17700 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
17701 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17702 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17703 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17704 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17705 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17706 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
17707 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
17708 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
17709 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
17710 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17711 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
17712 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
17713 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
17714 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
17715 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
17716 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
17717 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
17718 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
17719 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
17720 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
17721 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
17722 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
17723 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
17724 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
17725 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
17726 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
17727 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17728 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17729 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17730 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17731 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
17732 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
17733 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
17734 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17735 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
17736 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
17737 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17738 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
17739 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
17740 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
17741 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
17742 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
17743 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
17744 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
17745 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
17746 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
17747 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17748 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
17749 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17750 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
17751 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
17752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
17754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
17755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
17756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
17757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
17758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
17759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
17760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
17763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
17764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
17765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
17766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
17772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
17773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
17774 * sysdeps/unix/sysv/linux/pread.c: Likewise.
17775 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
17776 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
17777 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
17778 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
17779 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
17780 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
17781 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
17782 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
17783 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
17784 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
17785 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
17786 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
17787 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
17788 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
17789 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
17790 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17791 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
17792 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
17793 * sysdeps/unix/sysv/linux/system.c: Likewise.
17794 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
17795 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
17796 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17797 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17798 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17799 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17800 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17801
17802 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
17803 * configure: Regenerated.
17804 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
17805
17806 * configure.ac (base_machine): Do not set specially for particular
17807 machines here.
17808 * configure: Regenerated.
17809 * sysdeps/powerpc/preconfigure: Move machine and base_machine
17810 settings from configure.ac.
17811 * sysdeps/i386/preconfigure: New file.
17812 * sysdeps/s390/preconfigure: Likewise.
17813 * sysdeps/sh/preconfigure: Likewise.
17814 * sysdeps/sparc/preconfigure: Likewise.
17815
17816 2014-06-25 Roland McGrath <roland@hack.frob.com>
17817
17818 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
17819 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
17820 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
17821 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
17822 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
17823 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
17824 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
17825 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
17826 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
17827 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
17828 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
17829 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
17830 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
17831 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
17832 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
17833 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
17834 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
17835 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
17836 * sysdeps/sparc/sparc64/Makefile: ... appended here.
17837
17838 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
17839 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
17840 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
17841 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
17842 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
17843 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
17844 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
17845 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
17846 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
17847 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
17848 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
17849 * sysdeps/sparc/sparc32/sem_post.c: ... here.
17850 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
17851 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
17852 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
17853 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
17854 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
17855 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
17856 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
17857 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
17858 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
17859 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
17860 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
17861 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
17862 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
17863 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
17864 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
17865 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
17866 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
17867 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
17868 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
17869 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
17870 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
17871 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
17872 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
17873 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
17874 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
17875 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
17876
17877 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
17878 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
17879 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
17880 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
17881 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17882 Moved ...
17883 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
17884 ... here.
17885 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
17886 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
17887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
17888 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
17889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
17890 Moved ...
17891 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
17892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
17893 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
17894 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
17895 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
17896 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
17897 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
17898 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17899 Moved ...
17900 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
17901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17902 Moved ...
17903 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
17904 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
17905 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
17906 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17907 Moved ...
17908 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
17909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
17910 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
17911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
17912 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
17913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
17914 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
17915 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
17916 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
17917 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17918 Moved ...
17919 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17920 ... here.
17921 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
17922 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
17923 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
17924 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
17925 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
17926 Moved ...
17927 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
17928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
17929 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
17930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
17931 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
17932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
17933 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
17934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17935 Moved ...
17936 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
17937 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17938 Moved ...
17939 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
17940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
17941 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
17942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17943 Moved ...
17944 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
17945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
17946 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
17947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
17948 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
17949
17950 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17951
17952 * timezone/checktab.awk: Update from tzcode 2014e.
17953 * timezone/private.h: Likewise.
17954 * timezone/tzfile.h: Likewise.
17955 * timezone/zdump.c: Likewise.
17956 * timezone/zic.c: Likewise.
17957
17958 * sysdeps/unix/sysv/linux/kernel-features.h
17959 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
17960 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
17961 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
17962 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17963 Remove conditional code.
17964
17965 2014-06-25 Will Newton <will.newton@linaro.org>
17966
17967 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
17968 (_dl_arm_cap_flags): Add HWCAP2 values.
17969 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
17970 (_DL_HWCAP_COUNT): Increase to 37.
17971 (_DL_HWCAP_LAST): New define.
17972 (_DL_HWCAP2_LAST): New define.
17973 (_dl_procinfo): Add support for printing
17974 AT_HWCAP2 entries.
17975 (_dl_string_hwcap): Use _dl_hwcap_string.
17976
17977 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17978
17979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17980
17981 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17982
17983 * README: Do not mention ports directory.
17984
17985 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
17986 Remove macro.
17987 * sysdeps/unix/sysv/linux/futimes.c: Do not include
17988 <kernel-features.h>.
17989 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
17990 conditional variable definition.
17991 (__futimes): Update comment.
17992 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
17993 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
17994
17995 [BZ #16560]
17996 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
17997 arguments close to 0.
17998 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
17999 Likewise.
18000 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
18001 Likewise.
18002 * math/auto-libm-test-in: Add more tests of exp10.
18003 * math/auto-libm-test-out: Regenerated.
18004 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18005
18006 * sysdeps/unix/sysv/linux/kernel-features.h
18007 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
18008 * sysdeps/unix/sysv/linux/readv.c: Do not include
18009 <kernel-features.h>.
18010 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18011 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18012 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18013 unconditional.
18014 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18015 conditional code.
18016 * sysdeps/unix/sysv/linux/writev.c: Do not include
18017 <kernel-features.h>.
18018 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18019 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18020 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18021 unconditional.
18022 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18023 conditional code.
18024
18025 2014-06-25 Will Newton <will.newton@linaro.org>
18026
18027 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
18028 comment changes throughout the file. Remove checks
18029 for HAVE_*_H definitions that are not required.
18030 (__gen_tempname): Call abort if an unknown kind value is
18031 passed.
18032
18033 2014-06-25 Andreas Schwab <schwab@suse.de>
18034
18035 [BZ #17086]
18036 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
18037 scalbln, scalblnf, scalblnl in libc.
18038
18039 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18040
18041 [BZ #17086]
18042 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
18043 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18044 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18045
18046 2014-06-24 Roland McGrath <roland@hack.frob.com>
18047
18048 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
18049 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
18050 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
18051 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
18052 Update #include.
18053 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
18054 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
18055 Update #include.
18056 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
18057 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
18058 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
18059 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
18060 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
18061 * sysdeps/x86/bits/pthreadtypes.h: ... here.
18062 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
18063 * sysdeps/x86/bits/semaphore.h: ... here.
18064 * sysdeps/x86/nptl/elide.h: Moved ...
18065 * sysdeps/x86/elide.h: ... here.
18066 * sysdeps/x86_64/nptl/Implies: File removed.
18067 * sysdeps/i386/nptl/Implies: File removed.
18068
18069 2014-06-24 Joseph Myers <joseph@codesourcery.com>
18070
18071 [BZ #16539]
18072 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
18073 return the argument for normal arguments with exponent below -64.
18074 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18075 Likewise.
18076 * math/auto-libm-test-in: Add another test of expm1.
18077 * math/auto-libm-test-out: Regenerated.
18078
18079 [BZ #16287]
18080 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
18081 calling __erfcl for arguments at least 16.
18082 * math/auto-libm-test-in: Add more tests of erf.
18083 * math/auto-libm-test-out: Regenerated.
18084
18085 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
18086 individual architectures.
18087 * sysdeps/unix/sysv/linux/configure: Regenerated.
18088 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
18089 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
18090 * sysdeps/unix/sysv/linux/powerpc/configure.ac
18091 (ldd_rewrite_script): Define variable.
18092 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
18094 file.
18095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
18096 generated file.
18097 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
18098 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
18099 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
18100 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
18101 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
18102 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
18103 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
18104 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
18105
18106 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18107
18108 [BZ #17084]
18109 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
18110 Rename member __data.d to __data.__elision_data.
18111
18112 2014-06-24 Wilco <wdijkstr@arm.com>
18113
18114 * NEWS: Add 16918 to fixed bug list.
18115
18116 2014-06-24 Wilco <wdijkstr@arm.com>
18117
18118 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
18119
18120 2014-06-24 Wilco <wdijkstr@arm.com>
18121
18122 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
18123 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
18124 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
18125 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
18126 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
18127 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
18128 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
18129 Use _FPU_MASK_RM.
18130
18131 2014-06-24 Wilco <wdijkstr@arm.com>
18132
18133 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
18134
18135 2014-06-24 Wilco <wdijkstr@arm.com>
18136
18137 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
18138 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
18139 * sysdeps/arm/fesetround.c (fesetround): Remove space.
18140 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
18141
18142 2014-06-24 Wilco <wdijkstr@arm.com>
18143
18144 [BZ #16918]
18145 * sysdeps/arm/feupdateenv.c (feupdateenv):
18146 Rewrite to reduce FPSCR accesses and fix return value.
18147
18148 2014-06-24 Wilco <wdijkstr@arm.com>
18149
18150 * sysdeps/arm/fclrexcpt.c (feclearexcept):
18151 Optimize to avoid unnecessary FPSCR writes.
18152 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
18153 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
18154 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
18155 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
18156
18157 2014-06-24 Wilco <wdijkstr@arm.com>
18158
18159 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
18160 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
18161 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
18162 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
18163 Call libc_fetestexcept_vfp.
18164 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
18165 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
18166 __SOFTFP__ ifdef so that they can be built for softfp.
18167
18168 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18169
18170 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
18171 argument type signed char.
18172
18173 * Makerules (check-abi): Dump diff of symlist if the test
18174 fails.
18175
18176 2014-06-23 Roland McGrath <roland@hack.frob.com>
18177
18178 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
18179 using abort.
18180
18181 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18182 Remove unused variable ST.
18183
18184 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18185
18186 [BZ #16354]
18187 [BZ #17061]
18188 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
18189 small arguments before calling __expm1.
18190 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
18191 small arguments before calling __expm1f.
18192 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
18193 small arguments before calling __expm1l.
18194 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18195 Likewise.
18196 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
18197 * math/auto-libm-test-in: Add more cosh tests. Do not allow
18198 spurious underflow for some cosh tests.
18199 * math/auto-libm-test-out: Regenerated.
18200 * sysdeps/i386/fpu/libm-test-ulps: Update.
18201
18202 [BZ #17050]
18203 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
18204 (__ieee754_y1): Set errno if return value overflows.
18205 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
18206 (__ieee754_y1f): Set errno if return value overflows.
18207 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
18208 (__ieee754_y1l): Set errno if return value overflows.
18209 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
18210 (__ieee754_y1l): Set errno if return value overflows.
18211 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
18212 * math/auto-libm-test-out: Regenerated.
18213
18214 * math/gen-auto-libm-tests.c: Document use of
18215 ignore-zero-inf-sign.
18216 (input_flag_type): Add value flag_ignore_zero_inf_sign.
18217 (input_flags): Add ignore-zero-inf-sign.
18218 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
18219 * math/gen-libm-test.pl (generate_testfile): Handle
18220 ignore-zero-inf-sign.
18221 * math/auto-libm-test-in: Mark some cpow tests with
18222 ignore-zero-inf-sign and some with xfail-rounding.
18223 * math/auto-libm-test-out: Regenerated.
18224 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
18225 * sysdeps/i386/fpu/libm-test-ulps: Update.
18226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18227
18228 [BZ #16315]
18229 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
18230 overflowing or underflowing operations take place with sign of
18231 result.
18232 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18233 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18234 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
18235 (__ieee754_pow): Recompute overflowing and underflowing results in
18236 original rounding mode.
18237 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
18238 (__powl_helper): Allow negative argument X and scale negated value
18239 as needed. Avoid passing value outside [-1, 1] to f2xm1.
18240 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
18241 overflowing or underflowing operations take place with sign of
18242 result.
18243 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
18244 Include <math.h>.
18245 * math/auto-libm-test-in: Add more tests of pow.
18246 * math/auto-libm-test-out: Regenerated.
18247 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
18248 (pow_tonearest_test_data): Remove.
18249 (pow_test_tonearest): Likewise.
18250 (pow_towardzero_test_data): Likewise.
18251 (pow_test_towardzero): Likewise.
18252 (pow_downward_test_data): Likewise.
18253 (pow_test_downward): Likewise.
18254 (pow_upward_test_data): Likewise.
18255 (pow_test_upward): Likewise.
18256 (main): Don't call removed functions.
18257 * sysdeps/i386/fpu/libm-test-ulps: Update.
18258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18259
18260 2014-06-23 Roland McGrath <roland@hack.frob.com>
18261
18262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
18263 Moved ...
18264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
18265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18266 Moved ...
18267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
18268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18269 Moved ...
18270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
18271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18272 Moved ...
18273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
18274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18275 File removed.
18276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18277 File removed.
18278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
18279 File removed.
18280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
18281 File removed.
18282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
18283 File removed.
18284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
18285 File removed.
18286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
18287 File removed.
18288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18289 File removed.
18290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
18291 File removed.
18292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18293 File removed.
18294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
18295 File removed.
18296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
18297 File removed.
18298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
18299 Moved ...
18300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
18301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
18302 Moved ...
18303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18304 ... here.
18305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
18306 Moved ...
18307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
18308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
18309 Moved ...
18310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
18311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
18312 Moved ...
18313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
18314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
18315 Moved ...
18316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
18317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
18318 Moved ...
18319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
18320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
18321 Moved ...
18322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
18323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
18324 Moved ...
18325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
18326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
18327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18328 ... here.
18329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
18330 Moved ...
18331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
18332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18333 Moved ...
18334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18335 ... here.
18336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
18337 Moved ...
18338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18339 ... here.
18340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18341 Moved ...
18342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18343 ... here.
18344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18345 Moved ...
18346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
18347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18348 Moved ...
18349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
18350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
18351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
18352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18353 Moved ...
18354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18355 ... here.
18356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18357 Moved ...
18358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18359 ... here.
18360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18361 Moved ...
18362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
18363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18364 Moved ...
18365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
18366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18367 Moved ...
18368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
18369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18370 Moved ...
18371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
18372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18373 Moved ...
18374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18375 ... here.
18376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18377 Moved ...
18378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
18379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18380 Moved ...
18381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
18382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18383 Moved ...
18384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
18385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18386 Moved ...
18387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
18388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
18389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
18390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18391 Moved ...
18392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
18393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18394 Moved ...
18395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
18396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18397 Moved ...
18398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18399 ... here.
18400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18401 Moved ...
18402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18403 ... here.
18404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18405 Moved ...
18406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18407 ... here.
18408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18409 Moved ...
18410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
18411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18412 Moved ...
18413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
18414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18415 Moved ...
18416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
18417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18418 Moved ...
18419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18420 ... here.
18421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18422 Moved ...
18423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18424 ... here.
18425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18426 Moved ...
18427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18428 ... here.
18429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18430 Moved ...
18431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
18432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18433 Moved ...
18434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
18435
18436 2014-06-23 Will Newton <will.newton@linaro.org>
18437 Wilco <wdijkstr@arm.com>
18438
18439 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
18440 implementation. Include get-rounding-mode.h.
18441 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
18442 [!libc_feholdsetround_noex_ctx]: Define
18443 libc_feholdsetround_noex_ctx.
18444 [!libc_feholdsetround_noexf_ctx]: Define
18445 libc_feholdsetround_noexf_ctx.
18446 [!libc_feholdsetround_noexl_ctx]: Define
18447 libc_feholdsetround_noexl_ctx.
18448 (libc_feholdsetround_ctx): New function.
18449 (libc_feresetround_ctx): New function.
18450 (libc_feholdsetround_noex_ctx): New function.
18451 (libc_feresetround_noex_ctx): New function.
18452
18453 2014-06-23 Roland McGrath <roland@hack.frob.com>
18454
18455 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
18456 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
18457 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
18458 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
18459 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
18460 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
18461
18462 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
18463 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
18464 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
18465 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
18466 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
18467 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
18468 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
18469 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
18470 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
18471 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
18472 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
18473 Moved ...
18474 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18475 ... here.
18476 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
18477 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
18478 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
18479 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
18480 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
18481 Moved ...
18482 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
18483 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
18484 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
18485 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
18486 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
18487 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
18488 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
18489 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
18490 Moved ...
18491 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
18492 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
18493 Moved ...
18494 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
18495 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
18496 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
18497 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
18498 Moved ...
18499 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
18500 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
18501 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
18502 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
18503 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
18504 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
18505 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
18506 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
18507 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
18508 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
18509 Moved ...
18510 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18511 ... here.
18512 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
18513 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
18514 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
18515 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
18516 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
18517 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
18518 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
18519 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
18520 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
18521 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
18522 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
18523 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
18524 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
18525 Moved ...
18526 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
18527 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
18528 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
18529 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
18530 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
18531 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
18532 Moved ...
18533 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
18534 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
18535 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
18536 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
18537 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
18538
18539 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
18540 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
18541 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
18542 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
18543 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
18544 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
18545 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
18546 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
18547 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
18548 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
18549 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
18550 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
18551 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
18552 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
18553 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
18554 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
18555 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
18556 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
18557 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
18558 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
18559 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
18560 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
18561 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
18562 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
18563 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
18564 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
18565 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
18566 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
18567
18568 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18569
18570 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
18571 (FALLOC_FL_COLLAPSE_RANGE): New macro.
18572 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
18573 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
18574 (IPV6_PMTUDISC_INTERFACE): Likewise.
18575 (IPV6_PMTUDISC_OMIT): Likewise.
18576
18577 2014-06-23 Andreas Schwab <schwab@suse.de>
18578
18579 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
18580 Remove unused errout label.
18581
18582 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18583
18584 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
18585 macro: hardware supports Vector Crypto instructions.
18586
18587 2014-06-23 Will Newton <will.newton@linaro.org>
18588
18589 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
18590 rather than __builtin_expect.
18591
18592 * elf/dl-lookup.c (undefined_msg): Remove variable.
18593 (_dl_lookup_symbol_x): Replace undefined_msg with string
18594 literal.
18595
18596 * elf/dl-lookup.c (do_lookup_unique): New function.
18597 (do_lookup_x): Move STB_GNU_UNIQUE handling code
18598 to a separate function.
18599
18600 2014-06-23 Andreas Schwab <schwab@suse.de>
18601
18602 [BZ #17079]
18603 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
18604 before reading the next line.
18605
18606 2014-06-23 Will Newton <will.newton@linaro.org>
18607
18608 * test-skeleton.c (signal_handler): Use printf and %m
18609 rather than perror. Use printf rather than fprintf to
18610 stderr. Use puts rather than fputs to stderr.
18611 (main): Likewise.
18612
18613 2014-06-22 Ludovic Courtès <ludo@gnu.org>
18614
18615 * nscd/nscd.c (thread_info_t): Remove typedef.
18616 (thread_info): Remove variable.
18617
18618 2014-06-21 Allan McRae <allan@archlinux.org>
18619
18620 * NEWS: Mention CVE-2014-4043.
18621
18622 2014-06-20 Roland McGrath <roland@hack.frob.com>
18623
18624 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
18625 * nptl/smp.h: ... here.
18626
18627 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
18628
18629 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
18630 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
18631 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
18632 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
18633
18634 * nptl/allocatestack.c: Include <stack-aliasing.h>.
18635 * nptl/stack-aliasing.h: New file.
18636 * sysdeps/i386/i686/stack-aliasing.h: New file.
18637 * sysdeps/i386/i686/nptl/Makefile: File removed.
18638 * sysdeps/x86_64/stack-aliasing.h: New file.
18639 * sysdeps/x86_64/nptl/Makefile
18640 (CFLAGS-pthread_create.c): Variable removed.
18641
18642 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
18643 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
18644 old file.
18645 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
18646 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
18647 old file.
18648
18649 2014-06-21 Joseph Myers <joseph@codesourcery.com>
18650
18651 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18652 (__ASSUME_SIGFRAME_V2): Remove macro.
18653 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
18654 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
18655 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
18656 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
18657 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
18658 Declare as function. Remove conditional macro definitions.
18659 (__default_rt_sa_restorer): Likewise.
18660 (__default_sa_restorer_v1): Remove declaration.
18661 (__default_sa_restorer_v2): Likewise.
18662 (__default_rt_sa_restorer_v1): Likewise.
18663 (__default_rt_sa_restorer_v2): Likewise.
18664 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
18665 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
18666 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
18667
18668 2014-06-20 Roland McGrath <roland@hack.frob.com>
18669
18670 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
18671 (libpthread-routines): Add sysdep.
18672 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
18673 * sysdeps/unix/sysv/linux/sparc/Versions
18674 (libpthread: GLIBC_2.3.3): New version set.
18675 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
18676 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
18677 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
18678 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
18679 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
18680 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
18681 Moved ...
18682 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
18683 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
18684 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
18685 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
18686 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
18687 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
18688 * sysdeps/sparc/nptl/sem_init.c: ... here.
18689 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
18690 * sysdeps/sparc/nptl/sem_post.c: ... here.
18691 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
18692 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
18693 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
18694 * sysdeps/sparc/nptl/sem_wait.c: ... here.
18695 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
18696 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
18697 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
18698 (libpthread-routines): Add cpu_relax.
18699 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
18700 File removed.
18701 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
18702 (librt: GLIBC_2.3.3): New version set.
18703 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
18704 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
18705 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
18706 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
18707 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
18708 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
18709 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
18710 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
18711 Moved ...
18712 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
18713 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
18714 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
18715 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
18716 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
18717 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
18718 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
18719 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
18720 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
18721 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
18722 Moved ...
18723 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
18724 Update #include.
18725 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
18726 Moved ...
18727 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
18728 Update #include.
18729 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
18730 Moved ...
18731 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
18732 Update #include.
18733 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
18734 Moved ...
18735 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
18736 Update #include.
18737 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
18738 Moved ...
18739 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
18740 Update #include.
18741 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
18742 Moved ...
18743 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
18744 Update #include.
18745 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
18746 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
18747 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
18748 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
18749 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
18750 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
18751 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
18752 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
18753 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
18754 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
18755 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18756 Moved ...
18757 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
18758 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
18759 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
18760 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
18761 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
18762
18763 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18764
18765 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
18766 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
18767 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
18768 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
18769 * nscd/nscd.c: Likewise.
18770 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
18771 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
18772 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
18773 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
18774
18775 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
18776 <kernel-features.h>.
18777 (init_mq_netlink): Remove conditional have_sock_cloexec
18778 definitions. Remove code conditional on have_sock_cloexec < 0.
18779 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
18780 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
18781 * sysdeps/unix/sysv/linux/opensock.c: Do not include
18782 <kernel-features.h>.
18783 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
18784 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
18785
18786 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
18787
18788 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18789 Add tests for memset_chk and memset.
18790
18791 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
18792 with AVX2_Usable.
18793
18794 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
18795
18796 [BZ #16046]
18797 * elf/tst-dl-iter-static.c: New file.
18798 * elf/Makefile (tests-static): Add tst-dl-iter-static.
18799
18800 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
18801 error.
18802
18803 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18804
18805 * sysdeps/unix/sysv/linux/kernel-features.h
18806 (__ASSUME_F_GETOWN_EX): Remove macro.
18807 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
18808 <kernel-features.h>.
18809 (miss_F_GETOWN_EX): Remove variable or macro.
18810 (do_fcntl): Do not check miss_F_GETOWN_EX.
18811 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
18812
18813 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
18814 Remove macro.
18815 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
18816 [!__ASSUME_AT_RANDOM]: Remove conditional code.
18817 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
18818
18819 * sysdeps/unix/sysv/linux/kernel-features.h
18820 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
18821 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
18822 [ADJ_OFFSET_SS_READ]: Make code unconditional.
18823 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
18824
18825 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
18826
18827 [BZ #17075]
18828 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
18829 Fix calculation of the symbol's value.
18830 * sysdeps/arm/tst-armtlsdescloc.c: New file.
18831 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
18832 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
18833 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
18834 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
18835 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
18836 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
18837 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
18838 (modules-names): Add `tst-armtlsdescmod',
18839 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
18840 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
18841 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18842 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
18843 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
18844 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18845 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
18846 ($(objpfx)tst-armtlsdescloc): New dependency.
18847 ($(objpfx)tst-armtlsdescextnow): Likewise.
18848 ($(objpfx)tst-armtlsdescextlazy): Likewise.
18849 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
18850 TLS scheme support.
18851 * sysdeps/arm/configure: Regenerate.
18852
18853 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18854
18855 * include/fcntl.h (__atfct_seterrno): Remove prototype.
18856 (__atfct_seterrno_2): Likewise.
18857 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
18858 <kernel-features.h>.
18859 (__ASSUME_ATFCTS): Do not undefine and redefine.
18860 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
18861 (__have_atfcts): Remove conditional definition.
18862 (__fxstatat([__NR_fstatat64]: Make code unconditional.
18863 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
18864 unreachable if [__ASSUME_ATFCTS].
18865 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
18866 not undefine and redefine.
18867 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
18868 <kernel-features.h>.
18869 (faccessat) [__NR_faccessat]: Make code unconditional.
18870 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
18871 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
18872 <kernel-features.h>.
18873 (fchmodat) [__NR_fchmodat]: Make code unconditional.
18874 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18875 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
18876 <kernel-features.h>.
18877 (fchownat) [__NR_fchownat]: Make code unconditional.
18878 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
18879 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
18880 <kernel-features.h>.
18881 (futimesat) [__NR_futimesat]: Make code unconditional.
18882 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
18883 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18884 <kernel-features.h>.
18885 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18886 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18887 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18888 <kernel-features.h>.
18889 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
18890 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18891 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
18892 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18893 <kernel-features.h>.
18894 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
18895 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18896 * sysdeps/unix/sysv/linux/linkat.c: Do not include
18897 <kernel-features.h>.
18898 (linkat) [__NR_linkat]: Make code unconditional.
18899 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18900 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
18901 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
18902 <kernel-features.h>.
18903 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
18904 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18905 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
18906 <kernel-features.h>.
18907 (mkdirat) [__NR_mkdirat]: Make code unconditional.
18908 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
18909 * sysdeps/unix/sysv/linux/openat.c: Do not include
18910 <kernel-features.h>.
18911 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
18912 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
18913 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
18914 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
18915 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
18916 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
18917 <kernel-features.h>.
18918 (readlinkat) [__NR_readlinkat]: Make code unconditional.
18919 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
18920 result of INLINE_SYSCALL directly, not via int variable.
18921 * sysdeps/unix/sysv/linux/renameat.c: Do not include
18922 <kernel-features.h>.
18923 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
18924 (renameat) [__NR_renameat]: Make code unconditional.
18925 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
18926 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
18927 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
18928 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
18929 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
18930 (__ASSUME_ATFCTS): Do not undefine and redefine.
18931 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
18932 <kernel-features.h>.
18933 (symlinkat) [__NR_symlinkat]: Make code unconditional.
18934 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18935 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
18936 <kernel-features.h>.
18937 (unlinkat) [__NR_unlinkat]: Make code unconditional.
18938 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18939 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
18940 (__ASSUME_ATFCTS): Do not undefine and redefine.
18941 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18942 <kernel-features.h>.
18943 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18944 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18945 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18946 <kernel-features.h>.
18947 (__xmknodat) [__NR_mknodat]: Make code unconditional.
18948 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18949
18950 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
18951
18952 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
18953
18954 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
18955
18956 [BZ #17069]
18957 * posix/regcomp.c (parse_reg_exp): Deallocate partially
18958 constructed tree before returning error.
18959 * posix/bug-regexp36.c: Expand test case.
18960
18961 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
18962
18963 [BZ #6803]
18964 * math/libm-test.inc (scalbln_test_date):
18965 Add errno expectations.
18966 * math/w_scalblnf.c: New File.
18967 Add wrapper which checks for setting errno to ERANGE.
18968 Add weak_alias for corresponding scalbln function.
18969 * math/w_scalbln.c: Likewise.
18970 * math/w_scalblnl.c: Likewise.
18971 * math/Makefile (libm-calls): Add w_scalbln.
18972 * sysdeps/ieee754/flt-32/s_scalblnf.c:
18973 Remove weak_alias for corresponding scalbln function.
18974 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18975 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18976 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18977 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18978 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
18979 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18980 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
18981 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18982 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
18983 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
18984 Remove long_double_symbol for scalblnl function in libm, libc.
18985 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
18986 Add wrapper which checks for setting errno to ERANGE.
18987 Add long_double_symbol for scalblnl function in libm, libc.
18988 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
18989 Remove long_double_symbol for scalblnl in libm.
18990 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
18991 Add wrapper which checks for setting errno to ERANGE.
18992 Add long_double_symbol for scalblnl function in libm.
18993 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
18994 Do not use wrapper because of own implementation.
18995
18996 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
18997
18998 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
18999 3 bytes for __pad1 for x32.
19000 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
19001
19002 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
19003 H.J. Lu <hongjiu.lu@intel.com>
19004
19005 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
19006 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
19007 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19008 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19009 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
19010
19011 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
19012
19013 [BZ #17069]
19014 * posix/regcomp.c (parse_expression): Deallocate partially
19015 constructed tree before returning error.
19016 * posix/Makefile.c (tests): Add bug-regex36.
19017 (generated): Add bug-regex36.mtrace.
19018 (tests-special): Add $(objpfx)bug-regex36-mem.out
19019 (bug-regex36-ENV): New variable.
19020 ($(objpfx)bug-regex36-mem.out): New rule.
19021 * posix/bug-regex36.c: New file.
19022
19023 2014-06-19 Will Newton <will.newton@linaro.org>
19024
19025 * malloc/malloc.c (systrim): If extra is zero then return
19026 early.
19027
19028 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19029
19030 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
19031
19032 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
19033
19034 * sysdeps/aarch64/strchr.S: New file.
19035
19036 2014-06-18 Joseph Myers <joseph@codesourcery.com>
19037
19038 [BZ #17022]
19039 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
19040 from arguments -2 or below.
19041 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19042 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
19043
19044 2014-06-18 Andreas Schwab <schwab@suse.de>
19045
19046 [BZ #17062]
19047 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
19048 of a bracket expr not to run off the end of the string.
19049 * posix/Makefile (tests): Add tst-fnmatch3.
19050 * posix/tst-fnmatch3.c: New file.
19051
19052 2014-06-18 Joseph Myers <joseph@codesourcery.com>
19053
19054 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
19055 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19056 [$(cross-compiling) = no]: Likewise.
19057 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19058 [$(cross-compiling) = no]: Likewise.
19059
19060 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19061
19062 [BZ #17031]
19063 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
19064 double, adjusted for any remainder from the high double.
19065 * math/libm-test.inc (nearbyint): Add tests.
19066 (rint): Likewise.
19067
19068 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19069
19070 * nptl/sysdeps/powerpc/Makefile: Moved ...
19071 * sysdeps/powerpc/nptl/Makefile: ... here.
19072 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
19073 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
19074 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
19075 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
19076 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
19077 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
19078 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
19079 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
19080 * nptl/sysdeps/powerpc/tls.h: Moved ...
19081 * sysdeps/powerpc/nptl/tls.h: ... here.
19082
19083 2014-06-16 Joseph Myers <joseph@codesourcery.com>
19084
19085 [BZ #16681]
19086 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
19087 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19088 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
19089 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
19090 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19091 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
19092 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
19093 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19094 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
19095
19096 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
19097
19098 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19099
19100 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
19101
19102 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
19103 defined operator.
19104
19105 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
19106 $TIMEOUTFACTOR.
19107
19108 2014-06-16 Florian Weimer <fweimer@redhat.com>
19109
19110 [BZ #17058]
19111 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
19112 non-executed part of the test.
19113
19114 2014-06-16 Andreas Schwab <schwab@suse.de>
19115
19116 * string/bits/string2.h (strdup, strndup): Update feature guard.
19117
19118 2014-06-14 David S. Miller <davem@davemloft.net>
19119
19120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19121
19122 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
19123
19124 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
19125 that was previously under [RESET_PID].
19126 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
19127
19128 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
19129 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
19130 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
19131 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19132 (__libc_vfork): New strong alias.
19133 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
19134
19135 2014-06-14 Andi Kleen <ak@linux.intel.com>
19136
19137 * sysdeps/generic/elide.h: New file.
19138
19139 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19140
19141 * Makefile (installed-headers): Adjust path of pthread.h header.
19142
19143 2014-06-13 Roland McGrath <roland@hack.frob.com>
19144
19145 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
19146 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
19147 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
19148 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
19149
19150 * nptl/sysdeps/s390/Makefile: Moved ...
19151 * sysdeps/s390/nptl/Makefile: ... here.
19152 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
19153 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
19154 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
19155 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
19156 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
19157 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
19158 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
19159 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
19160 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
19161 * sysdeps/s390/nptl/pthreaddef.h: ... here.
19162 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
19163 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
19164 * nptl/sysdeps/s390/tls.h: Moved ...
19165 * sysdeps/s390/nptl/tls.h: ... here.
19166
19167 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
19168 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
19169
19170 2014-06-13 David S. Miller <davem@davemloft.net>
19171
19172 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
19173 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
19174 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
19175 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
19176 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
19177 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
19178 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
19179 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
19180 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
19181 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
19182 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
19183 Remove RESET_PID cpp guards.
19184 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
19185 Remove RESET_PID cpp guards.
19186 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
19187
19188 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
19189
19190 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
19191 __sp to uintptr_t.
19192
19193 2014-06-13 Andi Kleen <ak@linux.intel.com>
19194
19195 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
19196 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
19197 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
19198 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
19199 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
19200 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
19201 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
19202 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
19203 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
19204 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
19205 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
19206 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
19207 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
19208 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
19209 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
19210 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
19211 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
19212 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
19213 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
19214 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
19215
19216 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
19217 (pthread_rwlock_rdlock): Add elision.
19218 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
19219 (pthread_rwlock_wrlock): Add elision.
19220 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
19221 (pthread_rwlock_trywrlock): Add elision.
19222 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
19223 (pthread_rwlock_tryrdlock): Add elision.
19224 * nptl/pthread_rwlock_unlock.c: Include elide.h.
19225 (pthread_rwlock_tryrdlock): Add elision unlock.
19226 * nptl/sysdeps/pthread/pthread.h:
19227 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
19228 (PTHREAD_RWLOCK_INITIALIZER,
19229 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
19230 Handle new elision field.
19231 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
19232 * sysdeps/arm/nptl/bits/pthreadtypes.h
19233 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19234 * sysdeps/sh/nptl/bits/pthreadtypes.h
19235 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19236 * sysdeps/tile/nptl/bits/pthreadtypes.h
19237 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19238 * sysdeps/a/nptl/bits/pthreadtypes.h
19239 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19240 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19241 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19242 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19243 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19244 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
19245 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19246 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19247 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19248 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19249 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19250 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19251 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19252 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19253 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19254 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
19255 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19256 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
19257 (elision_init): Set try_xbegin to zero when no RTM.
19258 * sysdeps/x86/nptl/bits/pthreadtypes.h
19259 (pthread_rwlock_t): Change __pad1 to __rwelision.
19260 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19261
19262 2014-06-13 Andi Kleen <ak@linux.intel.com>
19263
19264 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
19265 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
19266 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
19267 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
19268
19269 2014-06-13 Meador Inge <meadori@codesourcery.com>
19270
19271 [BZ #16996]
19272 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
19273 that the cached result has been set before returning it.
19274
19275 2014-06-12 Roland McGrath <roland@hack.frob.com>
19276
19277 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
19278 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
19279 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
19280 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
19281 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
19282 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
19283
19284 * nptl/sysdeps/sparc/Makefile: Moved ...
19285 * sysdeps/sparc/nptl/Makefile: ... here.
19286 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
19287 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
19288 * nptl/sysdeps/sparc/tls.h: Moved ...
19289 * sysdeps/sparc/nptl/tls.h: ... here.
19290 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
19291 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
19292 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
19293 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
19294 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
19295 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
19296 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
19297 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
19298 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
19299 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
19300 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
19301 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
19302 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
19303 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
19304 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
19305 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
19306 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
19307 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
19308 Update #include.
19309 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
19310 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
19311 Update #include.
19312 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
19313 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
19314 Update #include.
19315 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
19316 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
19317 Update #include.
19318
19319 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19320
19321 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
19322 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
19323
19324 * sysdeps/pthread/posix-timer.h: Include <list.h>.
19325 (struct list_links): Type removed.
19326 (struct thread_node, struct timer_node): Replace struct list_links
19327 with struct list_head.
19328 (list_unlink_ip): Likewise.
19329 * sysdeps/pthread/timer_routines.c
19330 (timer_free_list, thread_free_list, thread_active_list): Likewise.
19331 (list_append, list_insbefore): Likewise.
19332 (list_init): Function removed.
19333 (thread_init, init_module): Use INIT_LIST_HEAD instead.
19334 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
19335 * sysdeps/pthread/Makefile: ... here, new file.
19336
19337 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
19338 * sysdeps/nptl/Implies: ... here.
19339 * sysdeps/unix/sysv/linux/Implies: Add nptl.
19340 * nptl/sysdeps/pthread/list.h: Moved ...
19341 * include/list.h: ... here.
19342 * nptl/sysdeps/pthread/createthread.c: Moved ...
19343 * nptl/createthread.c: ... here.
19344 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
19345 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
19346 * nptl/pt-longjmp.c: ... here.
19347 * nptl/sysdeps/pthread/Makefile: Moved ...
19348 * sysdeps/nptl/Makefile: ... here.
19349 * nptl/sysdeps/pthread/Subdirs: Moved ...
19350 * sysdeps/nptl/Subdirs: ... here.
19351 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
19352 * sysdeps/nptl/aio_misc.h: ... here.
19353 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
19354 * sysdeps/nptl/bits/libc-lock.h: ... here.
19355 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
19356 * sysdeps/nptl/bits/libc-lockP.h: ... here.
19357 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
19358 * sysdeps/nptl/bits/stdio-lock.h: ... here.
19359 * nptl/sysdeps/pthread/configure: Moved ...
19360 * sysdeps/nptl/configure: ... here.
19361 * nptl/sysdeps/pthread/configure.ac: Moved ...
19362 * sysdeps/nptl/configure.ac: ... here.
19363 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
19364 * sysdeps/nptl/gai_misc.h: ... here.
19365 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
19366 * sysdeps/nptl/librt-cancellation.c: ... here.
19367 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
19368 * sysdeps/nptl/malloc-machine.h: ... here.
19369 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
19370 * sysdeps/nptl/pthread-functions.h: ... here.
19371 * nptl/sysdeps/pthread/pthread.h: Moved ...
19372 * sysdeps/nptl/pthread.h: ... here.
19373 * nptl/sysdeps/pthread/setxid.h: Moved ...
19374 * sysdeps/nptl/setxid.h: ... here.
19375 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
19376 * sysdeps/nptl/sigfillset.c: ... here.
19377 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
19378 * sysdeps/nptl/tcb-offsets.h: ... here.
19379 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
19380 * sysdeps/nptl/tst-mqueue8x.c: ... here.
19381 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
19382 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
19383 * nptl/sysdeps/pthread/allocalim.h: Moved ...
19384 * sysdeps/pthread/allocalim.h: ... here.
19385 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
19386 * sysdeps/pthread/bits/sigthread.h: ... here.
19387 * nptl/sysdeps/pthread/flockfile.c: Moved ...
19388 * sysdeps/pthread/flockfile.c: ... here.
19389 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
19390 * sysdeps/pthread/ftrylockfile.c: ... here.
19391 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
19392 * sysdeps/pthread/funlockfile.c: ... here.
19393 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
19394 * sysdeps/pthread/posix-timer.h: ... here.
19395 * nptl/sysdeps/pthread/timer_create.c: Moved ...
19396 * sysdeps/pthread/timer_create.c: ... here.
19397 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
19398 * sysdeps/pthread/timer_delete.c: ... here.
19399 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
19400 * sysdeps/pthread/timer_getoverr.c: ... here.
19401 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
19402 * sysdeps/pthread/timer_gettime.c: ... here.
19403 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
19404 * sysdeps/pthread/timer_routines.c: ... here.
19405 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
19406 * sysdeps/pthread/timer_settime.c: ... here.
19407 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
19408 * sysdeps/pthread/tst-timer.c: ... here.
19409 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
19410 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
19411
19412 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
19413 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
19414
19415 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
19416 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
19417 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
19418 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
19419 Update #include target.
19420 * nptl/sysdeps/i386/i686/Makefile: Moved ...
19421 * sysdeps/i386/i686/nptl/Makefile: ... here.
19422 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
19423 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
19424 Update #include target.
19425 * nptl/sysdeps/i386/i686/tls.h: Moved ...
19426 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
19427 * nptl/sysdeps/i386/Makefile: Moved ...
19428 * sysdeps/i386/nptl/Makefile: ... here.
19429 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
19430 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
19431 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
19432 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
19433 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
19434 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
19435 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
19436 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
19437 * sysdeps/i386/nptl/pthreaddef.h: ... here.
19438 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
19439 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
19440 * nptl/sysdeps/i386/tls.h: Moved ...
19441 * sysdeps/i386/nptl/tls.h: ... here.
19442
19443 * sysdeps/sh/Makefile [$(subdir) = csu]
19444 (gen-as-const-headers): Add tcb-offsets.sym.
19445 * nptl/sysdeps/sh/Makefile: File removed.
19446 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
19447 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
19448 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
19449 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
19450 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
19451 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
19452 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
19453 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
19454 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
19455 * sysdeps/sh/nptl/pthreaddef.h: ... here.
19456 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
19457 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
19458 * nptl/sysdeps/sh/tls.h: Moved ...
19459 * sysdeps/sh/nptl/tls.h: ... here.
19460 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
19461 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
19462 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
19463 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
19464 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
19465 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
19466 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
19467 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
19468 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
19469 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
19470 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
19471 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
19472 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
19473 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
19474 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
19475 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
19476 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
19477 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
19478 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
19479 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
19480 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
19481 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
19482 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
19483 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
19484 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
19485 Moved ...
19486 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
19487 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
19488 Moved ...
19489 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
19490 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
19491 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
19492 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
19493 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
19494 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
19495 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
19496 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
19497 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
19498 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
19499 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
19500 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
19501 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
19502 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
19503 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
19504 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
19505 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
19506 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
19507 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
19508
19509 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19510
19511 * posix/spawn_faction_addopen.c: Include string.h.
19512
19513 2014-06-11 Roland McGrath <roland@hack.frob.com>
19514
19515 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
19516 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
19517 * nptl/sysdeps/x86_64/Makefile: Moved ...
19518 * sysdeps/x86_64/nptl/Makefile: ... here.
19519 * nptl/sysdeps/x86_64/configure: Moved ...
19520 * sysdeps/x86_64/nptl/configure: ... here.
19521 * nptl/sysdeps/x86_64/configure.ac: Moved ...
19522 * sysdeps/x86_64/nptl/configure.ac: ... here.
19523 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
19524 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
19525 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
19526 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
19527 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
19528 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
19529 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
19530 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
19531 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
19532 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
19533 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
19534 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
19535 * nptl/sysdeps/x86_64/tls.h: Moved ...
19536 * sysdeps/x86_64/nptl/tls.h: ... here.
19537 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
19538 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
19539 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
19540 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
19541
19542 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
19543
19544 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19545
19546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19547
19548 2014-06-11 Joseph Myers <joseph@codesourcery.com>
19549
19550 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
19551 type.
19552 [POSIX] (off_t): Likewise.
19553 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
19554 [POSIX] (S_ISBLK): Require macro.
19555 [POSIX] (S_ISCHR): Likewise.
19556 [POSIX] (S_ISDIR): Likewise.
19557 [POSIX] (S_ISFIFO): Likewise.
19558 [POSIX] (S_ISREG): Likewise.
19559 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
19560 optional-macro.
19561 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
19562 type.
19563 [POSIX] (time_t): Likewise.
19564 [POSIX] (timer_t): Likewise.
19565
19566 2014-06-11 Florian Weimer <fweimer@redhat.com>
19567
19568 [BZ #17048]
19569 * posix/spawn_int.h (struct __spawn_action): Make the path string
19570 non-const to support deallocation.
19571 * posix/spawn_faction_addopen.c
19572 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
19573 * posix/spawn_faction_destroy.c
19574 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
19575 path in all spawn_do_open actions.
19576 * posix/tst-spawn.c (do_test): Exercise the copy operation in
19577 posix_spawn_file_actions_addopen.
19578
19579 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
19580
19581 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
19582 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
19583 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
19584 conditional code always true.
19585 (__libc_vfork): New alias.
19586
19587 2014-06-11 Roland McGrath <roland@hack.frob.com>
19588
19589 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19590 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
19591
19592 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
19593
19594 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19595 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
19596
19597 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19598 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
19599
19600 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19601 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
19602
19603 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19604
19605 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
19606 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
19607 multiarch strcmp for PPC64.
19608 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
19609 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
19610 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
19611 multiarch optimizations.
19612 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19613 (__libc_ifunc_impl_list): Likewise.
19614
19615 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19616
19617 * benchtests/scripts/validate_benchout.py: New script.
19618 * benchtests/Makefile (bench-func): Call it.
19619 * benchtests/scripts/benchout.schema.json: New file.
19620
19621 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
19622
19623 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
19624 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
19625 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
19626 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
19627 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
19628 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19629 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
19630 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
19631 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
19632 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
19633 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
19634 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
19635 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
19636 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
19637 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
19638 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
19639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
19640 Moved ...
19641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
19642 ... here.
19643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
19644 Moved ...
19645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
19646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
19647 Moved ...
19648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
19649 ... here.
19650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
19651 Moved ...
19652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
19653 ... here.
19654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
19655 Moved ...
19656 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
19657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
19658 Moved ...
19659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
19660 ... here.
19661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
19662 Moved ...
19663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
19664 ... here.
19665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
19666 Moved ...
19667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
19668 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
19669 Moved ...
19670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
19671 ... here.
19672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
19673 Moved ...
19674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
19675 ... here.
19676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
19677 Moved ...
19678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
19679 ... here.
19680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
19681 Moved ...
19682 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
19683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
19684 Moved ...
19685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
19686 ... here.
19687 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
19688 Moved ...
19689 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
19690 ... here.
19691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
19692 Moved ...
19693 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
19694 ... here.
19695 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
19696 Moved ...
19697 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
19698 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
19699 Moved ...
19700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
19701 ... here.
19702 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
19703 Moved ...
19704 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
19705 ... here.
19706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
19707 Moved ...
19708 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
19709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
19710 Moved ...
19711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
19712 ... here.
19713 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
19714 Moved ...
19715 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
19716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
19717 Moved ...
19718 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
19719 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
19720 Moved ...
19721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
19722 ... here.
19723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
19724 Moved ...
19725 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
19726 ... here.
19727 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
19728 Moved ...
19729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
19730 ... here.
19731 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
19732 Moved ...
19733 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
19734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
19735 Moved ...
19736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
19737 ... here.
19738 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
19739 Moved ...
19740 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
19741 ... here.
19742 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
19743 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
19744 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
19745 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
19746 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
19747 Moved ...
19748 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19749 ... here.
19750 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
19751 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
19752 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
19753 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
19754 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
19755 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
19756 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
19757 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
19758 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
19759 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
19760 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
19761 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
19762 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
19763 Moved ...
19764 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
19765 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
19766 Moved ...
19767 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
19768 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
19769 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
19770 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
19771 Moved ...
19772 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
19773 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
19774 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
19775 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
19776 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
19777 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
19778 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
19779
19780 2014-06-10 Wilco <wdijkstr@arm.com>
19781
19782 * math/test-fenv-return.c: New file.
19783 * math/Makefile: Add new test test-fenv-return.
19784
19785 2014-06-10 Joseph Myers <joseph@codesourcery.com>
19786
19787 [BZ #17042]
19788 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
19789 when x - 1 is zero.
19790 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
19791 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
19792 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
19793 0.0L for an argument of 1.0L.
19794 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
19795 Likewise.
19796 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
19797 value when x - 1 is zero.
19798 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
19799 * sysdeps/i386/fpu/libm-test-ulps: Update.
19800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19801
19802 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
19803
19804 [BZ #15119]
19805 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
19806
19807 2014-06-09 Roland McGrath <roland@hack.frob.com>
19808
19809 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
19810 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
19811
19812 2014-06-09 Roland McGrath <roland@hack.frob.com>
19813
19814 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19815 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
19816
19817 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19818 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
19819
19820 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19821 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
19822
19823 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19824 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
19825
19826 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
19827 if not already defined.
19828 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
19829 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
19830 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
19831 (TLS_INIT_TP): Use it.
19832 (TLS_DEFINE_INIT_TP): New macro.
19833 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
19834
19835 2014-06-09 Joseph Myers <joseph@codesourcery.com>
19836
19837 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
19838 constant.
19839 [POSIX] (IXANY): Likewise.
19840 [POSIX] (OLCUC): Likewise.
19841 [POSIX || POSIX2008] (CBAUD): Do not allow.
19842 [POSIX || POSIX2008] (DEFECHO): Likewise.
19843 [POSIX || POSIX2008] (ECHOCTL): Likewise.
19844 [POSIX || POSIX2008] (ECHOKE): Likewise.
19845 [POSIX || POSIX2008] (ECHOPRT): Likewise.
19846 [POSIX || POSIX2008] (EXTA): Likewise.
19847 [POSIX || POSIX2008] (EXTB): Likewise.
19848 [POSIX || POSIX2008] (FLUSHO): Likewise.
19849 [POSIX || POSIX2008] (LOBLK): Likewise.
19850 [POSIX || POSIX2008] (PENDIN): Likewise.
19851 [POSIX || POSIX2008] (SWTCH): Likewise.
19852 [POSIX || POSIX2008] (VDISCARD): Likewise.
19853 [POSIX || POSIX2008] (VDSUSP): Likewise.
19854 [POSIX || POSIX2008] (VLNEXT): Likewise.
19855 [POSIX || POSIX2008] (VREPRINT): Likewise.
19856 [POSIX || POSIX2008] (VSTATUS): Likewise.
19857 [POSIX || POSIX2008] (VWERASE): Likewise.
19858 (B*): Change to B[0123456789]*.
19859 * conform/data/time.h-data [POSIX || UNIX98]
19860 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
19861 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19862 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
19863 [POSIX] (tm_*): Do not allow.
19864
19865 2014-06-07 Joseph Myers <joseph@codesourcery.com>
19866
19867 * Makefile (install): Don't set LANGUAGE.
19868 * Makefile.in (install): Likewise.
19869 * assert/Makefile (test-assert-ENV): Remove variable.
19870 (test-assert-perr-ENV): Likewise.
19871 * elf/Makefile (neededtest4-ENV): Likewise.
19872 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19873 [$(cross-compiling) = no]: Don't set LANGUAGE.
19874 * io/ftwtest-sh (LANG): Remove variable.
19875 * libio/Makefile (tst-widetext-ENV): Likewise.
19876 * manual/install.texi (Running make install): Don't refer to
19877 environment settings for make install.
19878 * INSTALL: Regenerated.
19879 * nptl/tst-tls6.sh: Don't set LANG.
19880 * posix/globtest.sh (LANG): Remove variable.
19881 * string/Makefile (tester-ENV): Likewise.
19882 (inl-tester-ENV): Likewise.
19883 (noinl-tester-ENV): Likewise.
19884 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19885 [$(cross-compiling) = no]: Don't set LANGUAGE.
19886 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
19887 without explicit environment settings.
19888
19889 2014-06-06 Roland McGrath <roland@hack.frob.com>
19890
19891 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
19892 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
19893 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
19894 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
19895
19896 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
19897
19898 * crypt/crypt-private.h [DOS]: Add some includes taken from the
19899 other files in the crypt directory.
19900 * crypt/crypt.c: Remove duplicate includes.
19901 * crypt/crypt-entry.c: Likewise.
19902 * crypt/crypt_util.c: Likewise.
19903
19904 2014-06-06 Joseph Myers <joseph@codesourcery.com>
19905
19906 * Makeconfig (run-program-env): New variable.
19907 (run-program-prefix-before-env): Likewise.
19908 (run-program-prefix-after-env): Likewise.
19909 (run-program-prefix): Define in terms of new variables.
19910 (built-program-cmd-before-env): New variable.
19911 (built-program-cmd-after-env): Likewise.
19912 (built-program-cmd): Define in terms of new variables.
19913 (test-program-prefix-before-env): New variable.
19914 (test-program-prefix-after-env): Likewise.
19915 (test-program-prefix): Define in terms of new variables.
19916 (test-program-cmd-before-env): New variable.
19917 (test-program-cmd-after-env): Likewise.
19918 (test-program-cmd): Define in terms of new variables.
19919 * Rules (make-test-out): Use $(run-program-env).
19920 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
19921 (help): Do not mention environment variables. Mention
19922 --timeoutfactor option.
19923 (timeoutfactor): New variable.
19924 (blacklist_exports): Remove function.
19925 (exports): Remove variable.
19926 (command): Do not include ${exports}.
19927 * manual/install.texi (Configuring and compiling): Do not mention
19928 test wrappers preserving environment variables. Mention that last
19929 assignment to a variable must take precedence.
19930 * INSTALL: Regenerated.
19931 * benchtests/Makefile (run-bench): Use $(run-program-env).
19932 * catgets/Makefile ($(objpfx)test1.cat): Use
19933 $(built-program-cmd-before-env), $(run-program-env) and
19934 $(built-program-cmd-after-env).
19935 ($(objpfx)test2.cat): Do not specify environment variables
19936 explicitly.
19937 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
19938 $(run-program-env) and $(built-program-cmd-after-env).
19939 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
19940 $(run-program-env) and $(test-program-cmd-after-env).
19941 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
19942 explicitly.
19943 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
19944 run_program_env and test_program_cmd_after_env arguments.
19945 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
19946 * elf/tst-pathopt.sh: Use run_program_env argument.
19947 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
19948 $(test-wrapper-env) and $(run-program-env).
19949 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
19950 run_program_env arguments.
19951 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
19952 * intl/Makefile ($(objpfx)tst-gettext.out): Use
19953 $(test-program-prefix-before-env), $(run-program-env) and
19954 $(test-program-prefix-after-env).
19955 ($(objpfx)tst-gettext2.out): Likewise.
19956 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
19957 run_program_env and test_program_prefix_after_env arguments.
19958 * intl/tst-gettext2.sh: Likewise.
19959 * intl/tst-gettext4.sh: Do not set environment variables
19960 explicitly.
19961 * intl/tst-gettext6.sh: Likewise.
19962 * intl/tst-translit.sh: Likewise.
19963 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
19964 $(test-program-prefix-before-env), $(run-program-env) and
19965 $(test-program-prefix-after-env).
19966 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
19967 run_program_env and test_program_prefix_after_env arguments.
19968 * math/Makefile (run-regen-ulps): Use $(run-program-env).
19969 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
19970 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
19971 explicitly with each use of ${test_wrapper_env}.
19972 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
19973 $(test-program-prefix-before-env), $(run-program-env) and
19974 $(test-program-prefix-after-env).
19975 * posix/tst-getconf.sh: Do not set environment variables
19976 explicitly.
19977 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
19978 run_program_env and test_program_prefix_after_env arguments.
19979 * stdio-common/tst-printf.sh: Do not set environment variables
19980 explicitly.
19981 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
19982 $(test-program-prefix-before-env), $(run-program-env) and
19983 $(test-program-prefix-after-env).
19984 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
19985 run_program_env and test_program_prefix_after_env arguments.
19986 Split $test calls into $test_pre and $test.
19987 * timezone/Makefile (build-testdata): Use
19988 $(built-program-cmd-before-env), $(run-program-env) and
19989 $(built-program-cmd-after-env).
19990
19991 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19992
19993 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
19994 strlen for non SHARED builds.
19995
19996 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19997
19998 * nptl/allocatestack.c (check_list): Inlined function...
19999 (__reclaim_stacks): ... here.
20000
20001 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
20002
20003 [BZ #15698]
20004 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
20005 memory overrun.
20006
20007 2014-06-05 Joseph Myers <joseph@codesourcery.com>
20008
20009 * Rules (make-test-out): Include
20010 LOCPATH=$(common-objpfx)localedata in default environment.
20011 * debug/Makefile (tst-chk1-ENV): Remove variable.
20012 (tst-chk2-ENV): Likewise.
20013 (tst-chk3-ENV): Likewise.
20014 (tst-chk4-ENV): Likewise.
20015 (tst-chk5-ENV): Likewise.
20016 (tst-chk6-ENV): Likewise.
20017 (tst-lfschk1-ENV): Likewise.
20018 (tst-lfschk2-ENV): Likewise.
20019 (tst-lfschk3-ENV): Likewise.
20020 (tst-lfschk4-ENV): Likewise.
20021 (tst-lfschk5-ENV): Likewise.
20022 (tst-lfschk6-ENV): Likewise.
20023 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
20024 (tst-iconv7-ENV): Likewise.
20025 * intl/Makefile (LOCPATH-ENV): Likewise.
20026 (tst-codeset-ENV): Likewise.
20027 (tst-gettext3-ENV): Likewise.
20028 (tst-gettext5-ENV): Likewise.
20029 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
20030 (tst-fopenloc-ENV): Likewise.
20031 (tst-fgetws-ENV): Remove variable.
20032 (tst-ungetwc1-ENV): Likewise.
20033 (tst-ungetwc2-ENV): Likewise.
20034 (bug-ungetwc2-ENV): Likewise.
20035 (tst-swscanf-ENV): Likewise.
20036 (bug-ftell-ENV): Likewise.
20037 (tst-fgetwc-ENV): Likewise.
20038 (tst-fseek-ENV): Likewise.
20039 (tst-ftell-partial-wide-ENV): Likewise.
20040 (tst-ftell-active-handler-ENV): Likewise.
20041 (tst-ftell-append-ENV): Likewise.
20042 * posix/Makefile (tst-fnmatch-ENV): Likewise.
20043 (tst-regexloc-ENV): Likewise.
20044 (bug-regex1-ENV): Likewise.
20045 (tst-regex-ENV): Likewise.
20046 (tst-regex2-ENV): Likewise.
20047 (bug-regex5-ENV): Likewise.
20048 (bug-regex6-ENV): Likewise.
20049 (bug-regex17-ENV): Likewise.
20050 (bug-regex18-ENV): Likewise.
20051 (bug-regex19-ENV): Likewise.
20052 (bug-regex20-ENV): Likewise.
20053 (bug-regex22-ENV): Likewise.
20054 (bug-regex23-ENV): Likewise.
20055 (bug-regex25-ENV): Likewise.
20056 (bug-regex26-ENV): Likewise.
20057 (bug-regex30-ENV): Likewise.
20058 (bug-regex32-ENV): Likewise.
20059 (bug-regex33-ENV): Likewise.
20060 (bug-regex34-ENV): Likewise.
20061 (bug-regex35-ENV): Likewise.
20062 (tst-rxspencer-ENV): Likewise.
20063 (tst-rxspencer-no-utf8-ENV): Likewise.
20064 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
20065 (tst-sscanf-ENV): Likewise.
20066 (tst-swprintf-ENV): Likewise.
20067 (tst-swscanf-ENV): Likewise.
20068 (test-vfprintf-ENV): Likewise.
20069 (scanf13-ENV): Likewise.
20070 (bug14-ENV): Likewise.
20071 (tst-grouping-ENV): Likewise.
20072 * stdlib/Makefile (tst-strtod-ENV): Likewise.
20073 (tst-strtod3-ENV): Likewise.
20074 (tst-strtod4-ENV): Likewise.
20075 (tst-strtod5-ENV): Likewise.
20076 (testmb2-ENV): Likewise./
20077 * string/Makefile (tst-strxfrm-ENV): Likewise.
20078 (tst-strxfrm2-ENV): Likewise.
20079 (bug-strcoll1-ENV): Likewise.
20080 (test-strcasecmp-ENV): Likewise.
20081 (test-strncasecmp-ENV): Likewise.
20082 * time/Makefile (tst-strptime-ENV): Likewise.
20083 (tst-ftime_l-ENV): Likewise.
20084 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
20085 (tst-mbrtowc-ENV): Likewise.
20086 (tst-wcrtomb-ENV): Likewise.
20087 (tst-mbrtowc2-ENV): Likewise.
20088 (tst-c16c32-1-ENV): Likewise.
20089 (tst-mbsnrtowcs-ENV): Likewise.
20090
20091 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
20092
20093 * manual/resource.texi (How to get information about the memory
20094 subsystem?): Fix typo.
20095 Reported by Peon de la Parra Ivan <peon@keba.com>
20096
20097 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
20098
20099 [BZ #16882]
20100 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
20101 (pthread_spin_lock): Branch out of spin loop to proper location.
20102 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
20103 (pthread_spin_lock): Likewise.
20104
20105 * nptl/tst-spin4.c: New test.
20106 * nptl/Makefile (tests): Add tst-spin4.
20107
20108 2014-06-03 Andreas Schwab <schwab@suse.de>
20109
20110 [BZ #15946]
20111 * resolv/res_send.c (send_dg): Reload file descriptor after
20112 calling reopen.
20113
20114 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
20115
20116 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20117
20118 2014-06-03 Richard Henderson <rth@redhat.com>
20119
20120 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
20121 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
20122 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
20123 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
20124 in the SAVE_PID block.
20125 (__libc_vfork): New alias.
20126 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
20127
20128 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
20129 child in registers, not on the stack. Remove RESET_PID conditionals.
20130 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
20131
20132 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
20133
20134 * sysdeps/aarch64/libm-test-ulps: Regenerate.
20135
20136 2014-06-03 Wilco <wdijkstr@arm.com>
20137
20138 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
20139 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
20140 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20141 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
20142 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
20143 Likewise.
20144
20145 2014-06-03 Wilco <wdijkstr@arm.com>
20146
20147 * sysdeps/aarch64/fpu/math_private.h
20148 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
20149 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
20150 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
20151 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20152 Fix declarations.
20153
20154 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20155
20156 * crypt/crypt-private.h: Include ufc-crypt.h.
20157 (__b64_from_24bit): Declare extern.
20158 * crypt/crypt_util.c(__b64_from_24bit): New function.
20159 (b64t): New static const variable.
20160 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
20161 (b64t): Remove variable.
20162 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
20163 * crypt/sha256-crypt.c: Include crypt-private.h.
20164 (b64t): Remove variable.
20165 (__sha256_crypt_r): Remove b64_from_24bit and replace
20166 with __b64_from_24bit.
20167 * crypt/sha512-crypt.c: Likewise.
20168
20169 2014-06-02 Roland McGrath <roland@hack.frob.com>
20170
20171 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
20172 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
20173 Label the code __libc_vfork rather than __vfork.
20174 [!NOT_IN_libc] (vfork): Define as weak alias.
20175 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
20176 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
20177 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
20178
20179 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20180
20181 * malloc/malloc.c (malloc_info): Fix format specifier for
20182 n_mmaps.
20183
20184 2014-06-02 Wilco <wdijkstr@arm.com>
20185
20186 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
20187 FPCR write.
20188
20189 2014-06-02 Wilco <wdijkstr@arm.com>
20190
20191 [BZ #17009]
20192 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
20193 Rewrite to reduce FPCR/FPSR accesses.
20194
20195 2014-06-01 David S. Miller <davem@davemloft.net>
20196
20197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20198
20199 2014-05-31 David S. Miller <davem@davemloft.net>
20200
20201 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
20202 to occur in round to nearest mode when |x| >= 2.0
20203
20204 2014-05-30 Richard Henderson <rth@twiddle.net>
20205
20206 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
20207 (PSEUDO_RET_NOERRNO): Remove.
20208 (ret): Don't redefine.
20209 (ret_NOERRNO): Define in terms of ret.
20210 (ret_ERRVAL): Likewise.
20211
20212 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
20213 use of PSEUDO_RET; perform the error check directly.
20214
20215 2014-05-30 Marko Myllynen <myllynen@redhat.com>
20216
20217 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
20218 with __int128_t.
20219
20220 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20221
20222 * malloc/malloc (malloc_info): Fix formatting.
20223
20224 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20225 Roland McGrath <roland@hack.frob.com>
20226
20227 * malloc/malloc (malloc_info): Also print mmapped statistics.
20228
20229 2014-05-30 Roland McGrath <roland@hack.frob.com>
20230
20231 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
20232 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
20233
20234 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
20235
20236 * malloc/malloc.c (malloc_info): Inline mi_arena.
20237
20238 2014-05-29 Richard Henderson <rth@twiddle.net>
20239
20240 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
20241 Remove comma before expanding ASM_ARGS_##nr.
20242 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
20243 Make _x0 a strict output; make _x8 a strict input; adjust expansion
20244 of ASM_ARGS_##nr.
20245 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
20246 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
20247 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
20248 (ASM_ARGS_1): Add leading comma.
20249
20250 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
20251 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
20252 to __errno_location.
20253 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
20254 Remove the expected plt for __errno_location.
20255
20256 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20257 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
20258 call to __read_tp.
20259
20260 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20261 Always allocate 64 bytes of stack frame. Use ldp/stp to create
20262 it and break it down.
20263 (DOCARGS_0, DOCARGS_1): Do nothing.
20264 (DOCARGS_2): Update to store into the new stack frame.
20265 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
20266 (UNDOCARGS_1): Update to restore from the new stack frame.
20267 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
20268 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
20269
20270 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20271 (SINGLE_THREAD_P): New parameter for result regno.
20272 (PSEUDO): Update to match; use cbz instead of beq.
20273
20274 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20275 Use ENTRY to define the _nocancel entry point. Share the syscall
20276 and syscall error check paths with the cancel path.
20277 (PSEUDO_END): New.
20278
20279 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
20280 whitespace; tabs before and after asm mnemonics.
20281
20282 2014-05-29 Eric Wong <normalperson@yhbt.net>
20283
20284 [BZ #15132]
20285 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20286 Call fstat64 or stat64 internally, depending on arguments passed.
20287 Replace stat buffer argument with file descriptor argument.
20288 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
20289 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
20290 Pass fd to __internal_statvfs instead of calling fstat64.
20291 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
20292 Pass fd to __internal_statvfs64 instead of calling fstat64.
20293 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
20294 Pass -1 to __internal_statvfs instead of calling stat64.
20295 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
20296 Pass -1 to __internal_statvfs64 instead of calling stat64.
20297
20298 2014-05-28 Roland McGrath <roland@hack.frob.com>
20299
20300 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
20301 that was previously under [RESET_PID].
20302 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
20303
20304 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
20305 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
20306
20307 2014-05-27 Roland McGrath <roland@hack.frob.com>
20308
20309 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
20310
20311 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
20312 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
20313
20314 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
20315
20316 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
20317
20318 2014-05-27 Andreas Schwab <schwab@suse.de>
20319
20320 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
20321 TLS_INIT_TP macro.
20322 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
20323 * elf/rtld.c (init_tls, dl_main): Likewise.
20324 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
20325 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
20326 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
20327 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
20328 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
20329 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
20330 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
20331 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
20332 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
20333 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
20334 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
20335 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
20336 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
20337 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
20338 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
20339 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
20340 * sysdeps/generic/tls.h: Update description.
20341
20342 2014-05-27 Will Newton <will.newton@linaro.org>
20343
20344 [BZ #16990]
20345 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
20346 and restore r2 rather than just restoring.
20347
20348 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20349
20350 [BZ #16724]
20351 * libio/tst-ftell-append.c: New test case.
20352 * libio/Makefile (tests): Add test case.
20353 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
20354 append mode.
20355 * libio/wfileops.c (do_ftell_wide): Likewise.
20356
20357 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20358
20359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20360
20361 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
20362 ...
20363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
20364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20365 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
20366 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
20367 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
20368 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
20369 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
20370 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
20371 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20372 Moved ...
20373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
20374 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20375 Moved ...
20376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
20377 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
20378 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
20379 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
20380 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
20381 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
20382 ...
20383 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
20384 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
20385 Moved ...
20386 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
20387 here.
20388 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
20389 ...
20390 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
20391 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
20392 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
20393
20394 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
20395 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
20396 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
20397 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
20398
20399 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
20400 merge into ...
20401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
20402 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
20403 ...
20404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
20405 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
20406 ...
20407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
20408 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20409 Moved ...
20410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
20411 here.
20412 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20413 Moved ...
20414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
20415 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20416 Moved ...
20417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
20418
20419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
20420 conditional [RESET_PID].
20421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
20422 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
20423 removed.
20424 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
20425 removed.
20426
20427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
20428 <tcb-offsets.h>.
20429 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20430 (__libc_vfork): New strong alias.
20431 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
20432 removed.
20433 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
20434 Removed.
20435
20436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
20437 <tcb-offsets.h>.
20438 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
20439 (__libc_vfork): New strong alias.
20440 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
20441 removed.
20442 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
20443 removed.
20444
20445 2014-05-26 Carlos O'Donell <carlos@redhat.com>
20446
20447 * malloc/malloc.c (mi_arena): New function.
20448 (malloc_info): Remove nested function mi_arena. Call non-nosted
20449 function mi_arena.
20450
20451 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20452
20453 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
20454 by insrwi.
20455 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
20456 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
20457 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
20458 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
20459 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
20460 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
20461 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
20462
20463 2014-05-26 Andreas Schwab <schwab@suse.de>
20464
20465 [BZ #16984]
20466 * locale/programs/repertoire.c (repertoire_read): Add slash
20467 between I18NPATH element and file name.
20468 * locale/programs/locfile.c (locfile_read): Likewise.
20469
20470 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20471
20472 * nptl/pthread_mutexattr_settype.c
20473 (__pthread_mutexattr_settype):
20474 Disable lock elision for PTHREAD_MUTEX_NORMAL.
20475
20476 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20477
20478 * nptl/tst-mutex5 (do_test):
20479 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
20480
20481 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20482
20483 * benchtests/README: Document 'init' directive.
20484 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
20485 BENCH_INIT.
20486 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
20487 (parse_file): Recognize 'init' directive.
20488
20489 2014-05-26 Kyle McMartin <kyle@redhat.com>
20490
20491 [BZ #16796]
20492 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
20493 alignment of struct pthread.
20494
20495 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20496
20497 [BZ #16878]
20498 * nscd/netgroupcache.c (addgetnetgrentX): Look for
20499 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20500 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
20501 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20502
20503 2014-05-25 Richard Henderson <rth@twiddle.net>
20504
20505 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20506 (SINGLE_THREAD_P_PIC): Remove.
20507 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
20508 (SINGLE_THREAD_P_PIC): Remove.
20509
20510 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
20511 branch to syscall error ...
20512 (PSEUDO): ... here.
20513 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
20514 from __local_syscall_error to .Lsyscall_error.
20515 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
20516 (SYSCALL_ERROR): Update label name.
20517
20518 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20519 Do not use DOARGS/UNDOARGS.
20520 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
20521 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
20522 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
20523 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
20524 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
20525
20526 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
20527 block comment.
20528
20529 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
20530 define if !NOT_IN_libc.
20531 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
20532 define with non-default symbol versions.
20533
20534 2014-05-23 Richard Henderson <rth@twiddle.net>
20535
20536 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
20537 (vfork, __vfork): Define via compat_symbol.
20538
20539 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
20540 [!HAVE_IFUNC] (vfork_compat): Remove.
20541 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
20542
20543 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20544
20545 [BZ #16978]
20546 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
20547 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
20548 variable.
20549
20550 2014-05-23 Richard Henderson <rth@twiddle.net>
20551
20552 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
20553 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
20554 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
20555 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
20556
20557 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
20558 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
20559 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
20560 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
20561 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
20562 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
20563 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
20564 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
20565 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
20566 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
20567 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
20568 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
20569 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
20570 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
20571 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
20572 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
20573 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
20574 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
20575 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
20576 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
20577 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
20578 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
20579 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
20580 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
20581 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
20582 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
20583 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
20584 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
20585 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
20586 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
20587 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
20588 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
20589 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
20590 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
20591 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
20592 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
20593 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
20594 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
20595 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
20596 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
20597 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
20598 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
20599 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
20600 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
20601 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
20602 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
20603 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
20604 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
20605 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
20606 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
20607 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
20608 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
20609 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
20610 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
20611 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
20612 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
20613
20614 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
20615 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
20616 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
20617 before exiting on error.
20618 (__libc_vfork): New strong alias.
20619 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
20620 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
20621
20622 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
20623 that was previously under [RESET_PID].
20624 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
20625
20626 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
20627
20628 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20629
20630 [BZ #16977]
20631 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
20632 value when x - 1 is zero.
20633 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
20634 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20635 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
20636 0.0L for an argument of 1.0L.
20637 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
20638 Likewise.
20639 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
20640 value when x - 1 is zero.
20641 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
20642 * sysdeps/i386/fpu/libm-test-ulps: Update.
20643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20644
20645 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
20646
20647 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
20648 alphasort and versionsort.
20649
20650 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20651
20652 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
20653 macro.
20654 [copysignf]: Likewise.
20655
20656 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20657
20658 * crypt/md5-crypt.c: Fix formatting.
20659
20660 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20661
20662 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
20663 (b64_from_24bit): New function.
20664
20665 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20666
20667 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
20668 libc_hidden_builtin_def to ifunc.
20669 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20670 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
20671
20672 2014-05-21 Roland McGrath <roland@hack.frob.com>
20673
20674 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
20675 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
20676
20677 2014-05-21 Joseph Myers <joseph@codesourcery.com>
20678
20679 * nscd/Depend (linuxthreads): Remove.
20680 (nptl): Add.
20681 * resolv/Depend (linuxthreads): Remove.
20682 * rt/Depend (linuxthreads): Remove.
20683
20684 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
20685 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
20686 $(common-objpfx)elf/.
20687 (link-libc-before-gnulib): Likewise.
20688 (elfobjdir): Remove variable.
20689 * Makefile (install): Use $(elf-objpfx) instead of
20690 $(common-objpfx)elf/.
20691 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
20692 $(elfobjdir)/.
20693 (link-libc-deps): Likewise.
20694 ($(common-objpfx)libc.so): Likewise.
20695 ($(common-objpfx)linkobj/libc.so): Likewise.
20696 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
20697 instead of $(common-objpfx)elf/.
20698 (symbolic-link-list): Likewise.
20699 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20700 [$(cross-compiling) = no]: Likewise.
20701 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
20702 $(elfobjdir)/.
20703 (static-gnulib-arch): Likewise.
20704 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20705 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
20706 $(common-objpfx)elf/.
20707
20708 2014-05-21 Richard Henderson <rth@redhat.com>
20709
20710 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20711 (SINGLE_THREAD_P): Use the correct width load. Fold
20712 into the ldr offset.
20713
20714 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
20715 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
20716
20717 2014-05-20 Joseph Myers <joseph@codesourcery.com>
20718
20719 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
20720 (libgcc_s_resume): Use __attribute_used__.
20721 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
20722 Likewise.
20723
20724 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20725
20726 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
20727 optimization when used with float constants.
20728
20729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20730
20731 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
20732
20733 [BZ #16915]
20734 * locale/nl_langinfo_l.c: Make direct reference to every
20735 _nl_current_CATEGORY symbol.
20736 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
20737 (tests-static): Add tst-langinfo-static.
20738 (tests-special): Add tst-langinfo-static.out.
20739 ($(objpfx)tst-langinfo.out): Redirect output.
20740 ($(objpfx)tst-langinfo-static.out): New.
20741 * localedata/tst-langinfo.sh: Send output to stdout.
20742 * localedata/tst-langinfo-static.c: New file.
20743
20744 [BZ #16965]
20745 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
20746 when the shift amount is modulo the limb size.
20747
20748 2014-05-20 Richard Henderson <rth@redhat.com>
20749
20750 [BZ #16967]
20751 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
20752 Change type of sa_flags from unsigned int to int.
20753
20754 [BZ #16966]
20755 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
20756
20757 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
20758
20759 2014-05-20 Will Newton <will.newton@linaro.org>
20760
20761 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20762 Test the return value of the system call in the nocancel case.
20763
20764 2014-05-20 Will Newton <will.newton@linaro.org>
20765 Yvan Roux <yvan.roux@linaro.org>
20766
20767 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
20768 #include of asm/ptrace.h.
20769 (PTRACE_GET_THREAD_AREA): Remove #undef.
20770 (PTRACE_GETHBPREGS): Likewise.
20771 (PTRACE_SETHBPREGS): Likewise.
20772 (struct user_regs_struct): New structure.
20773 (struct user_fpsimd_struct): New structure.
20774 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
20775 #include of asm/ptrace.h and second #include of sys/user.h.
20776 (PTRACE_GET_THREAD_AREA): Remove #undef.
20777 (PTRACE_GETHBPREGS): Likewise.
20778 (PTRACE_SETHBPREGS): Likewise.
20779 (ELF_NGREG): Use new struct user_regs_struct.
20780 (elf_fpregset_t): Use new struct user_fpsimd_struct.
20781
20782 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20783
20784 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
20785 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
20786
20787 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20788
20789 [BZ #16958]
20790 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
20791 membar to avoid block loads/stores to overlap previous stores.
20792
20793 2014-05-17 Richard Henderson <rth@redhat.com>
20794
20795 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
20796 Create the __##syscall_name##_nocancel entry point.
20797 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
20798 Remove; let the sysdep-cancel.h code create it.
20799
20800 2014-05-17 David S. Miller <davem@davemloft.net>
20801
20802 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
20803 Protect with __USE_GNU.
20804 (TIOCSET_TEMPT): Likewise.
20805 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20806 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
20807 these are already provided in bits/ioctl-types.h
20808
20809 2014-05-16 Roland McGrath <roland@hack.frob.com>
20810
20811 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
20812 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
20813
20814 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
20815 Use wait4 regardless of [__NR_waitpid].
20816
20817 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20818
20819 PR libgcc/60166
20820 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20821 (_FP_NANSIGN_Q): Set the quiet bit.
20822
20823 2014-05-16 Joseph Myers <joseph@codesourcery.com>
20824
20825 * benchtests/Makefile
20826 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
20827 not $(common-objpfx)math/libm.so.
20828 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
20829 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
20830 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
20831 $(common-objpfx)dlfcn/libdl.so.
20832 ($(objpfx)tst-audit8): Depend on $(libm), not
20833 $(common-objpfx)math/libm.so.
20834 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
20835 not $(common-objpfx)dlfcn/libdl.so.
20836 * math/Makefile
20837 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20838 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
20839 [$(build-shared) = yes].
20840 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
20841 $(common-objpfx)nptl/libpthread.so.
20842 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
20843 $(common-objpfx)math/libm.so$(libm.so-version) or
20844 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
20845 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
20846 $(common-objpfx)dlfcn/libdl.so.
20847 * setjmp/Makefile (link-libm): Remove variable.
20848 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
20849 * stdio-common/Makefile (link-libm): Remove variable.
20850 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
20851 * stdlib/Makefile (link-libm): Remove variable.
20852 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
20853 ($(objpfx)tst-strtod-round): Likewise.
20854 ($(objpfx)tst-tininess): Likewise.
20855 ($(objpfx)tst-strtod-underflow): Likewise.
20856 ($(objpfx)tst-strtod6): Likewise.
20857 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
20858 $(libdl), not $(common-objpfx)nptl/libpthread.so and
20859 $(common-objpfx)dlfcn/libdl.so.
20860
20861 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20862
20863 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
20864 BSD terminal modes definitions.
20865
20866 2014-05-16 Roland McGrath <roland@hack.frob.com>
20867
20868 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
20869 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
20870
20871 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
20872 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
20873 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
20874 Don't do #include_next.
20875 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
20876 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
20877 Don't do #include_next.
20878 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
20879 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
20880 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
20881 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
20882
20883 2014-05-16 Allan McRae <allan@archlinux.org>
20884
20885 * po/sv.po: Update Swedish translation from translation project.
20886
20887 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
20888 in sed expression.
20889
20890 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
20891
20892 [BZ #16917]
20893 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
20894 errno if the TIOCGPTN ioctl fails with an error different than
20895 EINVAL.
20896 * login/tst-ptsname.c: New file.
20897 * login/Makefile (tests): Add tst-ptsname.
20898
20899 [BZ #16943]
20900 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
20901 and prlimit64.
20902
20903 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20904
20905 [BZ #16849]
20906 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
20907 herrno to return EAI_AGAIN.
20908
20909 2014-05-14 Roland McGrath <roland@hack.frob.com>
20910
20911 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
20912 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
20913 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
20914 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
20915 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
20916 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
20917 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
20918 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
20919 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
20920 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
20921 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
20922 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
20923 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
20924 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
20925 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
20926 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
20927 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
20928 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
20929 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
20930 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
20931 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
20932 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
20933 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
20934 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
20935 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
20936 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
20937 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
20938 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
20939 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
20940 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
20941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
20942 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
20943 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
20944 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
20945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20946 Moved ...
20947 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
20948 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
20949 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
20950 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
20951 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
20952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
20953 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
20954 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
20955 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
20956 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
20957 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
20958 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
20959 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
20960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
20961 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
20962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
20963 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
20964 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
20965 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
20966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
20967 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
20968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
20969 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
20970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
20971 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
20972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
20973 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
20974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20975 Moved ...
20976 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
20977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
20978 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
20979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
20980 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
20981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
20982 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
20983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
20984 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
20985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
20986 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
20987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
20988 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
20989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
20990 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
20991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
20992 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
20993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
20994 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
20995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20996 Moved ...
20997 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
20998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
20999 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
21000
21001 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
21002 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
21003 (libpthread-sysdep_routines): Add elision-related stuff here instead.
21004 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
21005 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
21006 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
21007 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
21008 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
21009 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
21010 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
21011 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
21012 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
21013 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
21014 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
21015 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
21016 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
21017 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
21018 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
21019 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
21020 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
21021 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
21022 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
21023 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
21024 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
21025 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
21026 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
21027 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
21028 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
21029 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
21030 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
21031 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
21032
21033 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
21034 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
21035
21036 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
21037 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
21038 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
21039 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
21040 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
21041 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
21042 Moved ...
21043 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
21044 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
21045 Moved ...
21046 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
21047 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
21048 Moved ...
21049 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
21050 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
21051 Moved ...
21052 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
21053 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
21054 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
21055 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
21056 Moved ...
21057 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
21058 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
21059 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
21060 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
21061 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
21062 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
21063 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
21064 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
21065 Moved ...
21066 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
21067 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21068 Moved ...
21069 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21070 ... here.
21071 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
21072 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
21073 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
21074 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
21075 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21076 Moved ...
21077 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21078 ... here.
21079 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
21080 Moved ...
21081 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
21082 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
21083 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
21084 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
21085 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
21086 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
21087 Moved ...
21088 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
21089 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
21090 Moved ...
21091 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
21092 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
21093 Moved ...
21094 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
21095 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
21096 Moved ...
21097 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
21098 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
21099 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
21100 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
21101 Moved ...
21102 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
21103 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
21104 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
21105 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
21106 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
21107 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
21108 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
21109 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
21110 Moved ...
21111 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
21112 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21113 Moved ...
21114 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21115 ... here.
21116 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
21117 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
21118 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
21119 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
21120 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21121 Moved ...
21122 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21123 ... here.
21124 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
21125 Moved ...
21126 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
21127 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
21128 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
21129 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
21130 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
21131 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
21132 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
21133 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
21134 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
21135 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
21136 Moved ...
21137 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
21138 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
21139 Moved ...
21140 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
21141 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
21142 Moved ...
21143 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
21144 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
21145 Moved ...
21146 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
21147 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
21148 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
21149 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
21150 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
21151 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
21152 Moved ...
21153 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
21154 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
21155 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
21156 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
21157 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
21158 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
21159 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
21160 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
21161 Moved ...
21162 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
21163 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21164 Moved ...
21165 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21166 ... here.
21167 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
21168 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
21169 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
21170 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
21171 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21172 Moved ...
21173 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21174 ... here.
21175 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
21176 Moved ...
21177 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
21178 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
21179 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
21180 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
21181 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
21182 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
21183 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
21184 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
21185 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
21186 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
21187 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
21188
21189 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
21190 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
21191
21192 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
21193 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
21194
21195 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
21196 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
21197 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
21198 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
21199 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
21200 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
21201 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
21202 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
21203 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
21204 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
21205 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
21206 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
21207 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
21208 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
21209 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
21210 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
21211 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
21212 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
21213 Moved ...
21214 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
21215 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
21216 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
21217 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
21218 Moved ...
21219 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
21220 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
21221 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
21222 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
21223 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
21224 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
21225 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
21226 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
21227 Moved ...
21228 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
21229 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
21230 Moved ...
21231 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
21232 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
21233 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
21234 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
21235 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
21236 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
21237 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
21238 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
21239 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
21240 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
21241 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
21242 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
21243 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
21244 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
21245 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
21246 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
21247 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
21248
21249 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
21250 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
21251 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
21252 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
21253 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
21254
21255 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
21256 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
21257 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
21258 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
21259 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
21260 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
21261 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
21262 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
21263 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
21264 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
21265
21266 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
21267 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
21268
21269 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
21270 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
21271 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
21272 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
21273 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
21274 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
21275 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
21276 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
21277 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
21278 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
21279 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
21280 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
21281 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
21282 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
21283 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
21284 Update #include.
21285 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
21286 Likewise.
21287 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21288 Likewise.
21289 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21290 Likewise.
21291 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21292 Likewise.
21293 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
21294 Likewise.
21295 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
21296 Likewise.
21297 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
21298 Likewise.
21299 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
21300 Likewise.
21301 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
21302 Likewise.
21303 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
21304 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
21305 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
21306 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
21307 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
21308 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
21309 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
21310 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
21311 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
21312 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
21313 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
21314 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
21315 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
21316 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
21317 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
21318
21319 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
21320 that was previously under [RESET_PID].
21321 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21322 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
21323 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
21324
21325 * sysdeps/i386/nptl/Implies: New file.
21326 * sysdeps/x86_64/nptl/Implies: New file.
21327 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
21328 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
21329 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
21330 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
21331
21332 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
21333 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21334 (__libc_vfork): New strong alias.
21335 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
21336 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
21337
21338 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
21339 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21340 (__libc_vfork): New strong alias.
21341 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
21342 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
21343
21344 * sysdeps/unix/sysv/linux/arm/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 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
21348 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
21349 * nptl/pt-vfork.c: New file.
21350 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
21351 (libpthread: GLIBC_2.20): New version set (empty).
21352
21353 2014-05-14 Will Newton <will.newton@linaro.org>
21354
21355 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
21356 rather than #if.
21357
21358 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21359
21360 [BZ #16564]
21361 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
21362 arguments with exponent 65 or above.
21363 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
21364 arguments 0x1p113L or above.
21365 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
21366 to arguments 0x1p107L or above.
21367 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
21368 positive arguments with exponent 65 or above.
21369 * math/auto-libm-test-in: Add more tests of log1p.
21370 * math/auto-libm-test-out: Regenerated.
21371
21372 [BZ #16928]
21373 * math/s_cacos.c (__cacos): Ensure zero real part of result from
21374 non-finite arguments is +0.
21375 * math/s_cacosf.c (__cacosf): Likewise.
21376 * math/s_cacosl.c (__cacosl): Likewise.
21377 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
21378 * sysdeps/i386/fpu/libm-test-ulps: Update.
21379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21380
21381 [BZ #16927]
21382 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
21383 value.
21384 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
21385 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
21386 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
21387 for explicit high bit of mantissa when testing for argument equal
21388 to 1.
21389 * math/libm-test.inc (acosh_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 #16516]
21394 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
21395 (__erf): Scale by 16 instead of 8 in potentially underflowing
21396 case. Ensure exception if result actually underflows.
21397 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
21398 (__erff): Scale by 16 instead of 8 in potentially underflowing
21399 case. Ensure exception if result actually underflows.
21400 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
21401 (efx8): Remove variable.
21402 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21403 case. Ensure exception if result actually underflows.
21404 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
21405 (efx8): Remove variable.
21406 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21407 case. Ensure exception if result actually underflows.
21408 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
21409 (efx8): Remove variable.
21410 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21411 case. Ensure exception if result actually underflows.
21412 * math/auto-libm-test-in: Add more tests of erf.
21413 * math/auto-libm-test-out: Regenerated.
21414
21415 2014-05-14 Andreas Schwab <schwab@suse.de>
21416
21417 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
21418 Remove code conditionalized on USE___THREAD.
21419
21420 * config.h.in (HAVE_PT_CHOWN): Define as 0.
21421 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
21422 not definedness.
21423
21424 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21425
21426 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
21427 Define unconditionally.
21428 (__ASSUME_O_CLOEXEC): Likewise.
21429 (__ASSUME_SOCK_CLOEXEC): Likewise.
21430 (__ASSUME_IN_NONBLOCK): Likewise.
21431 (__ASSUME_PIPE2): Likewise.
21432 (__ASSUME_EVENTFD2): Likewise.
21433 (__ASSUME_SIGNALFD4): Likewise.
21434 (__ASSUME_DUP3): Likewise.
21435 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21436 (__ASSUME_DUP3): Do not define.
21437 (__ASSUME_EVENTFD2): Likewise.
21438 (__ASSUME_IN_NONBLOCK): Likewise.
21439 (__ASSUME_O_CLOEXEC): Likewise.
21440 (__ASSUME_PIPE2): Likewise.
21441 (__ASSUME_SIGNALFD4): Likewise.
21442 (__ASSUME_SOCK_CLOEXEC): Likewise.
21443 (__ASSUME_UTIMES): Undefine.
21444 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21445 (__ASSUME_UTIMES): Do not define.
21446 (__ASSUME_O_CLOEXEC): Likewise.
21447 (__ASSUME_SOCK_CLOEXEC): Likewise.
21448 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
21449 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
21450 0x020621].
21451 (__ASSUME_PIPE2): Likewise.
21452 (__ASSUME_EVENTFD2): Likewise.
21453 (__ASSUME_SIGNALFD4): Likewise.
21454 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
21455 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
21456 Do not define.
21457 (__ASSUME_EVENTFD2): Likewise.
21458 (__ASSUME_SIGNALFD4): Likewise.
21459 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21460 (__ASSUME_32BITUIDS): Likewise.
21461 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21462 (__ASSUME_IPC64): Likewise.
21463 (__ASSUME_ST_INO_64_BIT): Likewise.
21464 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
21465 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
21466 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21467 (__ASSUME_UTIMES): Do not define.
21468 (__ASSUME_PSELECT): Likewise.
21469 (__ASSUME_PPOLL): Likewise.
21470 (__ASSUME_O_CLOEXEC): Likewise.
21471 (__ASSUME_SOCK_CLOEXEC): Likewise.
21472 (__ASSUME_IN_NONBLOCK): Likewise.
21473 (__ASSUME_PIPE2): Likewise.
21474 (__ASSUME_EVENTFD2): Likewise.
21475 (__ASSUME_SIGNALFD4): Likewise.
21476 (__ASSUME_DUP3): Likewise.
21477 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21478 (__ASSUME_UTIMES): Likewise.
21479 (__ASSUME_O_CLOEXEC): Likewise.
21480 (__ASSUME_SOCK_CLOEXEC): Likewise.
21481 (__ASSUME_IN_NONBLOCK): Likewise.
21482 (__ASSUME_PIPE2): Likewise.
21483 (__ASSUME_EVENTFD2): Likewise.
21484 (__ASSUME_SIGNALFD4): Likewise.
21485 (__ASSUME_DUP3): Likewise.
21486 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21487 (__ASSUME_UTIMES): Likewise.
21488 (__ASSUME_O_CLOEXEC): Likewise.
21489 (__ASSUME_SOCK_CLOEXEC): Likewise.
21490 (__ASSUME_IN_NONBLOCK): Likewise.
21491 (__ASSUME_PIPE2): Likewise.
21492 (__ASSUME_EVENTFD2): Likewise.
21493 (__ASSUME_SIGNALFD4): Likewise.
21494 (__ASSUME_DUP3): Likewise.
21495 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
21496 Likewise.
21497 (__ASSUME_UTIMES): Likewise.
21498 (__ASSUME_EVENTFD2): Likewise.
21499 (__ASSUME_SIGNALFD4): Likewise.
21500 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21501 (__ASSUME_O_CLOEXEC): Likewise.
21502 (__ASSUME_SOCK_CLOEXEC): Likewise.
21503 (__ASSUME_IN_NONBLOCK): Likewise.
21504 (__ASSUME_PIPE2): Likewise.
21505 (__ASSUME_EVENTFD2): Likewise.
21506 (__ASSUME_SIGNALFD4): Likewise.
21507 (__ASSUME_DUP3): Likewise.
21508 (__ASSUME_UTIMES): Undefine.
21509
21510 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
21511 feclearexcept. Remove symbol versioning code.
21512 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
21513 symbol versioning code.
21514 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
21515 symbol versioning code.
21516 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
21517 feupdateenv. Remove symbol versioning code.
21518 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
21519 fegetexceptflag. Remove symbol versioning code.
21520 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
21521 fesetexceptflag. Remove symbol versioning code.
21522 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
21523 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
21524 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
21525 (__posix_fadvise64_l32): Remove prototype.
21526 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
21527 code.
21528
21529 2014-05-13 Roland McGrath <roland@hack.frob.com>
21530
21531 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
21532 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
21533 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
21534 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
21535
21536 2014-05-13 Sami Kerola <kerolasa@iki.fi>
21537
21538 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
21539 current working directory
21540
21541 2014-05-13 Roland McGrath <roland@hack.frob.com>
21542
21543 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
21544 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
21545 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
21546 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
21547 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
21548 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
21549 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
21550 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
21551 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
21552 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
21553 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
21554 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
21555 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
21556 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
21557 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
21558 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
21559 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
21560 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
21561 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
21562 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
21563 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
21564 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
21565 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
21566 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
21567 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
21568 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
21569 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
21570 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
21571 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
21572 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
21573 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
21574 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
21575 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
21576 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
21577 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
21578 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
21579 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
21580 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
21581 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
21582 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
21583 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
21584 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
21585
21586 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
21587 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
21588
21589 * sysdeps/unix/sysv/linux/arm/Makefile
21590 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21591 Add rt-aeabi_unwind_cpp_pr1.
21592 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
21593 Add nptl-aeabi_unwind_cpp_pr1.
21594 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
21595 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
21596 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
21597 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
21598 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
21599 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
21600
21601 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
21602 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
21603 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
21604 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
21605
21606 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
21607 Deconditionalize the code that was previously under [RESET_PID].
21608 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
21609
21610 * sysdeps/generic/exit-thread.h: New file.
21611 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
21612 * include/unistd.h (__exit_thread): Remove declaration.
21613 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
21614 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
21615 * csu/libc-start.c: Include <exit-thread.h>.
21616 (LIBC_START_MAIN): Pass no argument to __exit_thread.
21617 * nptl/pthread_create.c: Include <exit-thread.h>.
21618 (start_thread): Call __exit_thread in place of __exit_thread_inline.
21619 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
21620 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
21621 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
21622 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
21623 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
21624 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
21625 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
21626 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
21627 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
21628 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
21629 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
21630 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
21631 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
21632 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
21633 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
21634 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
21635
21636 2014-05-13 Andreas Schwab <schwab@suse.de>
21637
21638 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
21639
21640 2014-05-12 Joseph Myers <joseph@codesourcery.com>
21641
21642 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21643 (__ASSUME_UTIMES): Do not condition on kernel version.
21644 (__ASSUME_PSELECT): Define unconditionally.
21645 (__ASSUME_PPOLL): Likewise.
21646 (__ASSUME_ATFCTS): Likewise.
21647 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
21648 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
21649 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
21650 (__ASSUME_UTIMENSAT): Define unconditionally.
21651 (__ASSUME_PRIVATE_FUTEX): Likewise.
21652 (__ASSUME_FALLOCATE): Likewise.
21653 (__ASSUME_O_CLOEXEC): Likewise.
21654 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
21655 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
21656 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
21657 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
21658 (__ASSUME_IN_NONBLOCK): Likewise.
21659 (__ASSUME_PIPE2): Likewise.
21660 (__ASSUME_EVENTFD2): Likewise.
21661 (__ASSUME_SIGNALFD4): Likewise.
21662 (__ASSUME_DUP3): Likewise.
21663 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21664 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
21665 (__ASSUME_AT_RANDOM): Likewise.
21666 (__ASSUME_PREADV): Likewise.
21667 (__ASSUME_PWRITEV): Likewise.
21668 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
21669 (__ASSUME_F_GETOWN_EX): Define unconditionally.
21670 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
21671 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21672 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
21673 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21674 (__ASSUME_O_CLOEXEC): Define unconditionally.
21675 (__ASSUME_PSELECT): Do not undefine conditionally.
21676 (__ASSUME_PPOLL): Likewise.
21677 (__ASSUME_ATFCTS): Likewise.
21678 (__ASSUME_SET_ROBUST_LIST): Likewise.
21679 (__ASSUME_UTIMENSAT): Likewise.
21680 (__ASSUME_FDATASYNC): Define unconditionally.
21681 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21682 (__ASSUME_SIGFRAME_V2): Likewise.
21683 )__ASSUME_EVENTFD2): Likewise.
21684 (__ASSUME_SIGNALFD4): Likewise.
21685 (__ASSUME_PSELECT): Do not undefine conditionally.
21686 (__ASSUME_PPOLL): Likewise.
21687 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21688 (__ASSUME_PSELECT): Define unconditionally.
21689 (__ASSUME_PPOLL): Likewise.
21690 (__ASSUME_O_CLOEXEC): Likewise.
21691 (__ASSUME_SOCK_CLOEXEC): Likewise.
21692 (__ASSUME_IN_NONBLOCK): Likewise.
21693 (__ASSUME_PIPE2): Likewise.
21694 (__ASSUME_EVENTFD2): Likewise.
21695 (__ASSUME_SIGNALFD4): Likewise.
21696 (__ASSUME_DUP3): Likewise.
21697 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21698 (__ASSUME_O_CLOEXEC): Likewise.
21699 (__ASSUME_SOCK_CLOEXEC): Likewise.
21700 (__ASSUME_IN_NONBLOCK): Likewise.
21701 (__ASSUME_PIPE2): Likewise.
21702 (__ASSUME_EVENTFD2): Likewise.
21703 (__ASSUME_SIGNALFD4): Likewise.
21704 (__ASSUME_DUP3): Likewise.
21705 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21706 (__ASSUME_EVENTFD2): Likewise.
21707 (__ASSUME_SIGNALFD4): Likewise.
21708 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21709
21710 2014-05-12 Andreas Schwab <schwab@suse.de>
21711
21712 [BZ #16932]
21713 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
21714 (_nss_nis_gethostbyname4_r): Return error if item length is larger
21715 than maximum RPC packet size.
21716 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
21717 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
21718 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
21719 (_nss_nis_getservbyport_r): Likewise.
21720
21721 2014-05-12 Will Newton <will.newton@linaro.org>
21722
21723 * malloc/Makefile (tests): Add tst-mallopt.
21724 * malloc/tst-mallopt.c: New file.
21725
21726 2014-05-09 Roland McGrath <roland@hack.frob.com>
21727
21728 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
21729 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
21730
21731 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21732
21733 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
21734 (tst-tlsmod6.so): Likewise.
21735
21736 2014-05-09 Roland McGrath <roland@hack.frob.com>
21737
21738 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
21739
21740 2014-05-09 Joseph Myers <joseph@codesourcery.com>
21741
21742 [BZ #16064]
21743 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
21744 and <dl-procinfo.h>.
21745 (__fegetenv): Save SSE state in envp->__eip if supported.
21746 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
21747 envp->__eip if supported.
21748 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
21749 and <dl-procinfo.h>.
21750 (__fesetenv): Always set __eip, __cs_selector, __opcode,
21751 __data_offset and __data_selector in environment to 0. Set SSE
21752 state if supported.
21753 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21754 test-fenv-sse.
21755 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
21756 -mfpmath=sse.
21757 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
21758
21759 2014-05-09 Will Newton <will.newton@linaro.org>
21760
21761 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
21762 and libc_relro_required for ARM.
21763 * sysdeps/arm/preconfigure: Regenerate.
21764
21765 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
21766 Stefan Liebler <stli@linux.vnet.ibm.com>
21767
21768 * config.make.in (enable-lock-elision): New Makefile variable.
21769 * configure.ac: Likewise.
21770 * configure: Regenerate.
21771 * sysdeps/s390/configure.ac:
21772 Add check for gcc transactions support.
21773 * sysdeps/s390/configure: Regenerate.
21774 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
21775 Build elision files if enabled.
21776 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
21777 Add lock elision support for s390.
21778 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21779 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
21780 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
21781 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
21782 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
21783 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21784 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21785 Likewise.
21786 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
21787 Likewise.
21788 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
21789 Likewise.
21790 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
21791 Likewise.
21792 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
21793 (__lll_timedlock_elision, __lll_lock_elision)
21794 (__lll_unlock_elision, __lll_trylock_elision)
21795 (lll_timedlock_elision, lll_lock_elision)
21796 (lll_unlock_elision, lll_trylock_elision): Add.
21797 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21798 (pthread_mutex_t): Add lock elision support for s390.
21799
21800 2014-05-14 Wilco <wdijkstr@arm.com>
21801
21802 * sysdeps/arm/fclrexcpt.c: Cleanup.
21803 * sysdeps/arm/fedisblxcpt.c: Cleanup.
21804 * sysdeps/arm/feenablxcpt.c: Cleanup.
21805 * sysdeps/arm/fegetenv.c: Cleanup.
21806 * sysdeps/arm/fegetexcept.c: Cleanup.
21807 * sysdeps/arm/fegetround.c: Cleanup.
21808 * sysdeps/arm/feholdexcpt.c: Cleanup.
21809 * sysdeps/arm/fesetenv.c: Cleanup.
21810 * sysdeps/arm/fesetround.c: Cleanup.
21811 * sysdeps/arm/feupdateenv.c: Cleanup.
21812 * sysdeps/arm/fgetexcptflg.c: Cleanup.
21813 * sysdeps/arm/fraiseexcpt.c: Cleanup.
21814 * sysdeps/arm/fsetexcptflg.c: Cleanup.
21815 * sysdeps/arm/ftestexcept.c: Cleanup.
21816 * sysdeps/arm/get-rounding-mode.h: Cleanup.
21817 * sysdeps/arm/setfpucw.c: Cleanup.
21818
21819 2014-05-09 Will Newton <will.newton@linaro.org>
21820
21821 * sysdeps/arm/armv7/strcmp.S: New file.
21822 * NEWS: Mention addition of ARMv7 optimized strcmp.
21823
21824 2014-05-08 Roland McGrath <roland@hack.frob.com>
21825
21826 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
21827 look for %.ac rather than %.in.
21828
21829 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
21830 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
21831 * sysdeps/mach/hurd/configure: Regenerated.
21832 * sysdeps/unix/sysv/linux/configure: Regenerated.
21833
21834 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
21835
21836 2014-05-07 Steve Ellcey <sellcey@mips.com>
21837
21838 [BZ# 16922]
21839 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
21840 (LONG_SUB): Ditto.
21841 (PTR_SUB): Ditto.
21842
21843 2014-05-07 Andreas Schwab <schwab@suse.de>
21844
21845 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
21846 when skipping over non-matching result from nscd.
21847
21848 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
21849
21850 [BZ #16876]
21851 * nptl/sockperf.c (client): Check socket return value.
21852
21853 [BZ #16877]
21854 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
21855 nscd security class.
21856
21857 2014-05-06 Roland McGrath <roland@hack.frob.com>
21858
21859 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
21860 * sysdeps/arm/unwind.h: ... here.
21861
21862 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
21863
21864 [BZ# 16916]
21865 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
21866 Define.
21867
21868 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
21869
21870 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
21871 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
21872 multiarch strncpy for PPC64.
21873 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
21874 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
21875 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
21876 multiarch optimizations.
21877 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21878 (__libc_ifunc_impl_list): Likewise.
21879 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
21880 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
21881 multiarch stpncpy for PPC64.
21882 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
21883 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
21884
21885 2014-05-06 Andreas Schwab <schwab@suse.de>
21886
21887 [BZ #16912]
21888 * gmon/mcount.c (_MCOUNT_DECL): Use
21889 atomic_compare_and_exchange_bool_acq instead of
21890 catomic_compare_and_exchange_bool_acq.
21891
21892 2014-05-05 Roland McGrath <roland@hack.frob.com>
21893
21894 * elf/Makefile (others, install-bin): Remove pldd.
21895 (pldd-modules): Variable removed.
21896 ($(objpfx)pldd): Target removed.
21897 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
21898 (others, install-bin): Append pldd here.
21899 ($(objpfx)pldd): New target.
21900
21901 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
21902 to 0, so the first #if test emitted later doesn't see it undefined.
21903 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
21904 * sysdeps/gnu/errlist.c: Regenerated.
21905
21906 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21907
21908 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21909 [libc_hidden_builtin_def]: Define to empty value.
21910 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
21911 [libc_hidden_builtin_def]: Likewise.
21912 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
21913 [libc_hidden_builtin_def]: Likewise.
21914 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
21915 [libc_hidden_builtin_def]: Likewise.
21916 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
21917 __redirect_memcpy and define ifunc as default hidden symbol.
21918 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
21919 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
21920
21921 2014-05-04 Adam Conrad <adconrad@0c3.net>
21922
21923 * locale/iso-4217.def: Reintroduce XDR currency.
21924
21925 2014-05-04 Allan McRae <allan@archlinux.org>
21926
21927 * po/eo.po: Update Esperanto translation from translation project.
21928
21929 2014-05-02 Carlos O'Donell <carlos@redhat.com>
21930
21931 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
21932 and FEATURE_INDEX_MAX to 1.
21933 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
21934
21935 2014-05-01 Steve Ellcey <sellcey@mips.com>
21936
21937 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
21938 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
21939 * iconvdata/big5.c (ONE_DIRECTION): Define.
21940 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
21941 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
21942 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
21943 * iconvdata/cp932.c (ONE_DIRECTION): Define.
21944 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
21945 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
21946 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
21947 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
21948 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
21949 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
21950 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
21951 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
21952 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
21953 * iconvdata/gbk.c (ONE_DIRECTION): Define.
21954 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
21955 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
21956 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
21957 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
21958 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
21959 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
21960 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
21961 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
21962 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
21963 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
21964 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
21965 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
21966 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
21967 * iconvdata/iso646.c (ONE_DIRECTION): Define.
21968 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
21969 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
21970 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
21971 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
21972 * iconvdata/johab.c (ONE_DIRECTION): Define.
21973 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
21974 * iconvdata/sjis.c (ONE_DIRECTION): Define.
21975 * iconvdata/t.61.c (ONE_DIRECTION): Define.
21976 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
21977 * iconvdata/tscii.c (ONE_DIRECTION): Define.
21978 * iconvdata/uhc.c (ONE_DIRECTION): Define.
21979 * iconvdata/unicode.c (ONE_DIRECTION): Define.
21980 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
21981 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
21982 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
21983
21984 2014-05-01 Roland McGrath <roland@hack.frob.com>
21985
21986 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
21987 (_IO_JUMPS_OFFSET): Define to 0.
21988
21989 * nptl/sysdeps/pthread/bits/libc-lock.h
21990 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21991 (__libc_lock_define_initialized_recursive): Always define using
21992 initializer. Modern compilers treat uninitialized (implicit zero) and
21993 explicit zero initializers the same (i.e. put the datum in bss).
21994
21995 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
21996
21997 * nscd/nscd-client.h: Include <string.h>.
21998
21999 2014-05-01 David S. Miller <davem@davemloft.net>
22000
22001 [BZ #16885]
22002 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
22003 multiple zero bytes exist at the end of a string.
22004 Reported by Aurelien Jarno <aurelien@aurel32.net>
22005
22006 * string/test-strcmp.c (check): Add explicit test for situations where
22007 there are multiple zero bytes after the first.
22008
22009 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
22010
22011 [BZ #16890]
22012 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
22013 when compiling wprintf.
22014 * stdio-common/tstdiomisc.c (t3): New function.
22015 (main): Call it.
22016
22017 2014-05-01 Steve Ellcey <sellcey@mips.com>
22018
22019 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
22020 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
22021 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
22022 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
22023
22024 2014-05-01 Steve Ellcey <sellcey@mips.com>
22025
22026 * stdlib/longlong.h: Updated from GCC.
22027
22028 2014-05-01 Will Newton <will.newton@linaro.org>
22029 Bernard Ogden <bernie.ogden@linaro.org>
22030
22031 * NEWS: Update fixed bug list.
22032
22033 [BZ #15119]
22034 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
22035
22036 2014-04-30 David S. Miller <davem@davemloft.net>
22037
22038 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
22039 (libc_feholdexcept_setround_sparc_ctx): New function.
22040 (libc_fesetenv_sparc_ctx): Likewise.
22041 (libc_feupdateenv_sparc_ctx): Likewise.
22042 (libc_feholdsetround_sparc_ctx): Likewise.
22043 (libc_feholdexcept_setround_ctx): Define.
22044 (libc_feholdexcept_setroundf_ctx): Likewise.
22045 (libc_feholdexcept_setroundl_ctx): Likewise.
22046 (libc_fesetenv_ctx): Likewise.
22047 (libc_fesetenvf_ctx): Likewise.
22048 (libc_fesetenvl_ctx): Likewise.
22049 (libc_feupdateenv_ctx): Likewise.
22050 (libc_feupdateenvf_ctx): Likewise.
22051 (libc_feupdateenvl_ctx): Likewise.
22052 (libc_feresetround_ctx): Likewise.
22053 (libc_feresetroundf_ctx): Likewise.
22054 (libc_feresetroundl_ctx): Likewise.
22055 (libc_feholdsetround_ctx): Likewise.
22056 (libc_feholdsetroundf_ctx): Likewise.
22057 (libc_feholdsetroundl_ctx): Likewise.
22058
22059 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22060 with __USE_GNU instead of XOPEN cpp guards.
22061
22062 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
22063 0.
22064
22065 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22066 with XOPEN cpp guards.
22067
22068 2014-04-30 Julian Brown <julian@codesourcery.com>
22069
22070 [BZ #16888]
22071 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
22072 handling.
22073
22074 2014-04-30 Joseph Myers <joseph@codesourcery.com>
22075
22076 [BZ #9894]
22077 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
22078 Change to 2.6.32.
22079 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
22080 * sysdeps/unix/sysv/linux/configure: Regenerated.
22081 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
22082 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
22083 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
22084 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
22085 * README: Update reference to required Linux kernel version.
22086 * manual/install.texi (Linux): Update reference to required Linux
22087 kernel headers version.
22088 * INSTALL: Regenerated.
22089
22090 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
22091 header inclusion.
22092 [POSIX] (limits.h): Likewise.
22093 [POSIX] (math.h): Likewise.
22094 [POSIX] (sys/wait.h): Likewise.
22095 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
22096 function.
22097 [POSIX] (stddef.h): Do not allow header inclusion.
22098
22099 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22100
22101 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
22102
22103 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
22104
22105 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
22106 Return immediately after lll_futex_wake.
22107
22108 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22109
22110 [BZ #16791]
22111 * nscd/nscd-client.h (datahead_init_common): Initialize entire
22112 structure.
22113 (datahead_init_pos): Call datahead_init_common early.
22114 (datahead_init_neg): Likewise.
22115
22116 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
22117 datahead_init_neg): New functions.
22118 * nscd/aicache.c (addhstaiX): Use them.
22119 * nscd/grpcache.c (cache_addgr): Likewise.
22120 * nscd/hstcache.c (cache_addhst): Likewise.
22121 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22122 * nscd/netgroupcache.c (do_notfound): Likewise.
22123 (addgetnetgrentX): Likewise.
22124 (addinnetgrX): Likewise.
22125 * nscd/pwdcache.c (cache_addpw): Likewise.
22126 * nscd/servicescache.c (cache_addserv): Likewise.
22127
22128 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22129 Atsushi Onoe <atsushi@onoe.org>
22130
22131 [BZ #14308]
22132 [BZ #12994]
22133 [BZ #13651]
22134 * resolv/res_query.c (__libc_res_nsearch): Return if at least
22135 one response is valid.
22136 * resolv/res_send.c (send_dg): Check for validity of other
22137 response if the current response is a referral.
22138
22139 2014-04-29 Steve Ellcey <sellcey@mips.com>
22140
22141 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
22142
22143 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
22144
22145 [BZ #16823]
22146 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
22147 Always divide by positive zero when computing -Inf result.
22148 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22149 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
22150
22151 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22152
22153 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
22154 FPSCR if value do not change.
22155 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22156 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
22157 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22158 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22159 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
22160 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
22161 function.
22162
22163 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
22164
22165 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
22166 * sysdeps/unix/sysv/linux/hppa: Move directory from
22167 ports/systeps/unix/sysv/linux/hppa.
22168 * README: Update listing for hppa-*-linux-gnu.
22169
22170 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
22171
22172 [BZ #16754]
22173 * manual/stdio.texi (Hook functions): Fix types of stream hook
22174 functions.
22175 [BZ #16854]
22176 * socket/sys/socket.h: Fix typo in comment.
22177
22178 2014-04-28 Wilco <wdijkstr@arm.com>
22179
22180 * sysdeps/arm/fenv_private.h: New file.
22181 * sysdeps/arm/math_private.h: New file.
22182 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
22183
22184 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
22185
22186 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
22187 with __int128_t.
22188 (La_x86_64_retval): Likewise.
22189
22190 2014-04-24 Ian Bolton <ian.bolton@arm.com>
22191
22192 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
22193 fpsr if value didn't change.
22194 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
22195 to fpcr if value didn't change.
22196 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
22197 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
22198 fpsr or fpcr if value didn't change.
22199 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22200 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
22201 fpcr if value didn't change.
22202 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
22203 to fpsr if value didn't change.
22204
22205 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22206
22207 * nptl/tst-sem3.c: Use test-skeleton.c
22208 (main): Rename to do_test. Use return instead of
22209 exit.
22210 * nptl/tst-sem4.c: Use test-skeleton.c
22211 (main): Rename to do_test.
22212
22213 2014-04-22 David S. Miller <davem@davemloft.net>
22214
22215 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
22216 (struct sigaction): New struct member __glibc_reserved0, change
22217 type of sa_flags to int.
22218
22219 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
22220
22221 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
22222 (COUNT_LEADING_ZEROS_0): Define for AArch64.
22223
22224 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22225
22226 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
22227 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
22228
22229 2014-04-22 Will Newton <will.newton@linaro.org>
22230 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
22231
22232 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
22233 (__longjmp): Add longjmp and longjmp_target SystemTap
22234 probes.
22235 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
22236 (__sigsetjmp): Add setjmp SystemTap probe.
22237
22238 2014-04-17 Carlos O'Donell <carlos@redhat.com>
22239
22240 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
22241 match manual order.
22242
22243 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22244
22245 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
22246
22247 * sysdeps/powerpc/fpu/fenv_private.h
22248 (libc_feholdexcept_setroundl_ctx): Define to
22249 libc_feholdexcept_setround_ppc_ctx.
22250 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
22251 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
22252 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
22253 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
22254
22255 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22256
22257 * sysdeps/aarch64/math-tests.h: New file.
22258
22259 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
22260
22261 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
22262 New.
22263 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22264 Check and set bit_AVX2_Usable.
22265 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
22266 macro.
22267 (bit_AVX2): Likewise.
22268 (index_AVX2_Usable): Likewise.
22269 (CPUID_AVX2): Likewise.
22270 (HAS_AVX2): Likewise.
22271
22272 2014-04-17 Will Newton <will.newton@linaro.org>
22273
22274 * manual/setjmp.texi (System V contexts): Add note that
22275 calling setcontext on a context created by a call to a
22276 signal handler is undefined. Update text to note that
22277 setcontext from a signal handler is possible but not
22278 recommended.
22279
22280 [BZ #16629]
22281 * stdlib/tst-setcontext.c: Include signal.h.
22282 (main): Check that the signal stack before and
22283 after swapcontext is the same.
22284
22285 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
22286 Re-implement to restore registers in user code and avoid
22287 rt_sigreturn system call.
22288
22289 2014-04-17 Wilco <wdijkstr@arm.com>
22290
22291 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
22292 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
22293 * math/test-fenv.c: Skip exception trap tests on targets which only
22294 support non-stop mode.
22295
22296 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22297 Wilco Dijkstra <wilco.dijkstra@arm.com>
22298
22299 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
22300 (libc_feholdsetround_aarch64_ctx)
22301 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
22302 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
22303 (libc_feresetround_ctx, libc_feresetroundf_ctx)
22304 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
22305 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
22306 (libc_feresetround_noexl_ctx): Define.
22307
22308 2014-04-16 Richard Henderson <rth@redhat.com>
22309
22310 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
22311
22312 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
22313 unwind tables.
22314
22315 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
22316 const from the non-libc, non-ldso copy.
22317
22318 * sysdeps/alpha/libm-test-ulps: Regenerate.
22319
22320 2014-04-16 Ian Bolton <ian.bolton@arm.com>
22321 Wilco Dijkstra <wilco.dijkstra@arm.com>
22322
22323 * sysdeps/aarch64/fpu/math_private.h: New file.
22324
22325 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
22326
22327 * sysdeps/aarch64/libm-test-ulps: Regenerate.
22328
22329 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
22330
22331 [BZ #16275]
22332 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
22333 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
22334 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
22335 Intel MPX bound registers before _dl_profile_fixup.
22336 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
22337 registers after _dl_profile_fixup. Save and restore bound
22338 registers bnd0/bnd1 when calling _dl_call_pltexit.
22339 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
22340 (LR_BND_OFFSET): Likewise.
22341 (LRV_BND0_OFFSET): Likewise.
22342 (LRV_BND1_OFFSET): Likewise.
22343
22344 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22345
22346 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
22347 to...
22348 * sysdeps/mach/hurd/i386/tls.h: ... here.
22349 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
22350 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
22351 fields.
22352
22353 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22354
22355 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
22356
22357 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22358
22359 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22360
22361 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22362
22363 [BZ #14770]
22364 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
22365 * sysdeps/s390/configure: Regenerate.
22366
22367 [BZ #16824]
22368 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
22369 Set round-to-nearest internally to reduce error accumulation.
22370
22371 2014-04-16 Alan Modra <amodra@gmail.com>
22372
22373 [BZ #16740]
22374 [BZ #16619]
22375 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
22376 * math/libm-test.inc (frexp_test_data): Add tests.
22377 * NEWS: Update fixed bug list.
22378
22379 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22380
22381 * benchtests/Makefile: Depend on libraries in build directory.
22382 (bench-math): Separate out math tests.
22383 (bench-pthread): Separate out pthread tests.
22384 (bench): Include math and pthread tests.
22385
22386 2014-04-14 Carlos O'Donell <carlos@redhat.com>
22387
22388 [BZ #16831]
22389 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
22390 _dl_debug_initialize.
22391
22392 * configure.ac: Remove SELinux header check.
22393 * configure: Regenerate.
22394 * nscd/selinux.c (perms): Array of const char* to permission names.
22395 (nscd_request_avc_has_perm): Call security_deny_unknown to find
22396 default policy. Call string_to_security_class and string_to_av_perm to
22397 translate strings. Enforce default policy and call avs_has_perm with
22398 results of translated strings.
22399
22400 2014-04-13 David S. Miller <davem@davemloft.net>
22401
22402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22403
22404 2014-04-12 Allan McRae <allan@archlinux.org>
22405
22406 [BZ #16838]
22407 * manual/string.texi (Collation Functions): Fix qsort argument
22408 order in example.
22409 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22410
22411 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
22412
22413 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
22414 Make the test a no-op if there are no exceptions defined.
22415
22416 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
22417
22418 * elf/Makefile (tests): make tst-dlopen-aout conditional on
22419 enable-hardcoded-path-in-tests
22420
22421 2014-04-11 Will Newton <will.newton@linaro.org>
22422
22423 * benchtests/Makefile (extra-objs): Add json-lib.o.
22424 (bench-func): Tidy up JSON output.
22425 * benchtests/bench-skeleton.c: Include json-lib.h.
22426 (main): Use JSON library functions to do output of
22427 benchmark results.
22428 * benchtests/bench-timing-type.c (main): Output the
22429 timing type simply, leaving formatting to the user.
22430 * benchtests/json-lib.c: New file.
22431 * benchtests/json-lib.h: Likewise.
22432
22433 2014-04-11 Torvald Riegel <triegel@redhat.com>
22434
22435 [BZ #15215]
22436 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
22437 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
22438 memory barriers. Add comments.
22439 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
22440 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
22441 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
22442 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
22443 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
22444 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
22445
22446 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22447
22448 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
22449 * sysdeps/s390/s390-64/configure.ac: ... this ...
22450 * sysdeps/s390/configure.ac: ... to here.
22451 * sysdeps/s390/s390-32/configure: Delete file.
22452 * sysdeps/s390/s390-64/configure: Delete file.
22453 * sysdeps/s390/configure: Regenerate.
22454
22455 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
22456
22457 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
22458
22459 2014-04-11 Will Newton <will.newton@linaro.org>
22460
22461 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
22462 to zero if it is not defined elsewhere. (mtrim): Test
22463 the value of MALLOC_DEBUG with #if rather than #ifdef.
22464
22465 2014-04-10 Torvald Riegel <triegel@redhat.com>
22466
22467 * benchtests/pthread_once-inputs: New file.
22468 * benchtests/pthread_once-source.c: New file.
22469 * benchtests/README: Update documentation.
22470
22471 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
22472 H.J. Lu <hongjiu.lu@intel.com>
22473
22474 [BZ #16275]
22475 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
22476 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
22477 * sysdeps/x86_64/configure: Regenerated.
22478 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
22479 macro.
22480 (REGISTER_SAVE_RAX): Likewise.
22481 (REGISTER_SAVE_RCX): Likewise.
22482 (REGISTER_SAVE_RDX): Likewise.
22483 (REGISTER_SAVE_RSI): Likewise.
22484 (REGISTER_SAVE_RDI): Likewise.
22485 (REGISTER_SAVE_R8): Likewise.
22486 (REGISTER_SAVE_R9): Likewise.
22487 (REGISTER_SAVE_BND0): Likewise.
22488 (REGISTER_SAVE_BND1): Likewise.
22489 (REGISTER_SAVE_BND2): Likewise.
22490 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
22491 bound registers when calling _dl_fixup.
22492
22493 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22494
22495 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
22496 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
22497 of its definition.
22498 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
22499 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
22500 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
22501 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
22502 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
22503 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
22504 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
22505
22506 2014-04-09 Peter Brett <peter@peter-b.co.uk>
22507
22508 [BZ #15514]
22509 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
22510 pathconf(_PC_NAME_MAX).
22511
22512 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22513
22514 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
22515 Remove macro usage.
22516 (__PTHREAD_SPINS): Move definition to ...
22517 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22518 (__PTHREAD_SPINS): ... here.
22519 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22520 (__PTHREAD_SPIN): Likewise.
22521 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
22522 (__PTHREAD_SPIN): Likewise.
22523 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
22524 (__PTHREAD_SPIN): Likewise.
22525 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
22526 (__PTHREAD_SPIN): Likewise.
22527 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
22528 (__PTHREAD_SPIN): Likewise.
22529 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
22530 (__PTHREAD_SPIN): Likewise.
22531 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
22532 (__PTHREAD_SPIN): Likewise.
22533 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
22534 (__PTHREAD_SPIN): Likewise.
22535 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
22536 (__PTHREAD_SPIN): Likewise.
22537 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
22538 (__PTHREAD_SPIN): Likewise.
22539 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
22540 (__PTHREAD_SPIN): Likewise.
22541 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
22542 (__PTHREAD_SPIN): Likewise.
22543
22544 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
22545 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
22546 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
22547 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
22548 imply folder.
22549 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
22550 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
22551 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
22552 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
22553 correct imply path.
22554 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
22555 strlen symbol for non multi-arch builds.
22556 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
22557 missing hidden_def and weak_alias.
22558
22559 2014-04-08 Carlos O'Donell <carlos@redhat.com>
22560
22561 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
22562
22563 2014-04-07 Will Newton <will.newton@linaro.org>
22564
22565 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
22566 and contents. [!_LIBC] Remove #ifndef and contents.
22567 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
22568 * string/memccpy.c (__memccpy): Use ANSI prototype.
22569 * string/memfrob.c (memfrob): Likewise.
22570 * string/strcoll.c (STRCOLL): Likewise.
22571 * string/strlen.c (strlen): Likewise.
22572 * string/strtok.c (STRTOK): Likewise.
22573 * string/strcat.c: Remove unused #include of memcopy.h.
22574 (strcat): Use ANSI prototype.
22575 * string/strchr.c: Remove unused #include of memcopy.h.
22576 (strchr): Use ANSI prototype.
22577 * string/strcmp.c: Remove unused #include of memcopy.h.
22578 (strcmp): Use ANSI prototype.
22579 * string/strcpy.c: Remove unused #include of memcopy.h.
22580 (strcpy): Use ANSI prototype.
22581
22582 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22583
22584 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
22585 * config.make.in (config-extra-cppflags): Set it from
22586 libc_extra_cppflags.
22587 * configure.ac (libc_extra_cflags): Make it accumulate over
22588 configure fragments.
22589 (libc_extra_cppflags): New flag.
22590 * configure. Regenerate.
22591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
22592 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
22593 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
22594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22595
22596 [BZ #16815]
22597 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
22598 result for FE_DOWNWARD rounding mode.
22599 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
22600 Likewise.
22601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22602
22603 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
22604
22605 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
22606 in function argument name.
22607
22608 2014-04-03 David Svoboda <svoboda@cert.org>
22609
22610 [BZ #5666]
22611 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
22612 explicitly.
22613
22614 2014-04-03 Roland McGrath <roland@hack.frob.com>
22615
22616 * elf/dl-unmap-segments.h: New file.
22617 * sysdeps/generic/ldsodefs.h
22618 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
22619 * elf/dl-close.c: Include <dl-unmap-segments.h>.
22620 * elf/dl-fptr.c: Likewise.
22621 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
22622 * sysdeps/aarch64/tlsdesc.c: Likewise.
22623 * sysdeps/arm/tlsdesc.c: Likewise.
22624 * sysdeps/i386/tlsdesc.c: Likewise.
22625 * sysdeps/tile/dl-runtime.c: Likewise.
22626 * sysdeps/x86_64/tlsdesc.c: Likewise.
22627 * elf/dl-load.h: New file.
22628 * elf/dl-load.c: Include it.
22629 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
22630 Macros moved to dl-load.h.
22631 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
22632 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
22633 Use _dl_unmap_segments in place of __munmap.
22634 Break out segment-mapping loop into ...
22635 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
22636
22637 2014-04-03 Will Newton <will.newton@linaro.org>
22638
22639 * elf/dl-lookup.c (do_lookup_x): Remove comment
22640 referring to nested function and move variable
22641 declarations down to before first use.
22642
22643 2014-04-02 Joseph Myers <joseph@codesourcery.com>
22644
22645 [BZ #16799]
22646 [BZ #16800]
22647 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
22648 with 0 numerator.
22649 * math/s_catanf.c (__catanf): Likewise.
22650 * math/s_catanh.c (__catanh): Likewise.
22651 * math/s_catanhf.c (__catanhf): Likewise.
22652 * math/s_catanhl.c (__catanhl): Likewise.
22653 * math/s_catanl.c (__catanl): Likewise.
22654 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
22655 by positive zero when computing -Inf result.
22656 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
22657 (catanh_test): Likewise.
22658 * sysdeps/i386/fpu/libm-test-ulps: Update.
22659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22660
22661 [BZ #16789]
22662 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
22663 instead of using underflowing value in computing result.
22664 * math/s_clog10.c (__clog10): Likewise.
22665 * math/s_clog10f.c (__clog10f): Likewise.
22666 * math/s_clog10l.c (__clog10l): Likewise.
22667 * math/s_clogf.c (__clogf): Likewise.
22668 * math/s_clogl.c (__clogl): Likewise.
22669 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
22670 (clog10_test): Likewise.
22671 * sysdeps/i386/fpu/libm-test-ulps: Update.
22672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22673
22674 2014-04-02 Alan Modra <amodra@gmail.com>
22675
22676 [BZ #16739]
22677 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
22678 output when value is near a power of two. Use int64_t for lx and
22679 remove casts. Use decimal rather than hex exponent constants.
22680 Don't use long double multiplication when double will suffice.
22681 * math/libm-test.inc (nextafter_test_data): Add tests.
22682 * NEWS: Add 16739 and 16786 to bug list.
22683
22684 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
22685
22686 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
22687
22688 2014-04-01 Will Newton <will.newton@linaro.org>
22689
22690 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
22691 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
22692
22693 2014-04-01 Florian Weimer <fweimer@redhat.com>
22694
22695 [BZ #13347]
22696 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
22697 * nptl/tst-setuid2.c: New file.
22698 * nptl/Makefile (xtests): Add tst-setuid2.
22699
22700 2014-04-01 Alan Modra <amodra@gmail.com>
22701
22702 [BZ #16786]
22703 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
22704
22705 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22706
22707 [BZ #6803]
22708 [BZ #6804]
22709 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
22710 set errno as appropriate.
22711 * math/w_scalbf.c (__scalbf): Likewise.
22712 * math/w_scalbl.c (__scalbl): Likewise.
22713 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
22714 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
22715 * math/libm-test.inc (scalb_test_data): Add errno expectations.
22716 Add more NaN tests.
22717
22718 [BZ #16349]
22719 * math/w_atan2.c: Include <errno.h>.
22720 (__atan2): Set errno for result underflowing to zero.
22721 * math/w_atan2f.c: Include <errno.h>.
22722 (__atan2f): Set errno for result underflowing to zero.
22723 * math/w_atan2l.c: Include <errno.h>.
22724 (__atan2l): Set errno for result underflowing to zero.
22725 * math/auto-libm-test-in: Don't allow missing errno for some atan2
22726 tests.
22727 * math/auto-libm-test-out: Regenerated.
22728
22729 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22730
22731 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
22732 Encode instruction correctly in little endian.
22733 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
22734 Likewise.
22735 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
22736 Likewise.
22737 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
22738 Likewise.
22739 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
22740 Likewise.
22741
22742 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22743
22744 [BZ #9894]
22745 * sysdeps/unix/sysv/linux/kernel-features.h
22746 [__sparc__ && !__arch64__ && !__sparc_v9__]
22747 (__ASSUME_SET_ROBUST_LIST): Do not define.
22748 [__sparc__ && !__arch64__ && !__sparc_v9__]
22749 (__ASSUME_FUTEX_LOCK_PI): Likewise.
22750 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
22751 Likewise.
22752 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22753 (__ASSUME_FUTEX_LOCK_PI): Undefine.
22754 (__ASSUME_REQUEUE_PI): Likewise.
22755 (__ASSUME_SET_ROBUST_LIST): Likewise.
22756 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22757 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
22758 Undefine.
22759 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22760 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
22761 Likewise.
22762 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
22763 Likewise.
22764 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
22765 Likewise.
22766 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22767 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
22768 Undefine.
22769 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
22770 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
22771 Likewise.
22772
22773 [BZ #16648]
22774 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22775 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
22776 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
22777
22778 2014-03-31 Will Newton <will.newton@linaro.org>
22779
22780 * benchtests/Makefile (bench): Add ffs and ffsll to list
22781 of tests.
22782 * benchtests/ffs-inputs: New file.
22783 * benchtests/ffsll-inputs: Likewise.
22784
22785 2014-03-29 Joseph Myers <joseph@codesourcery.com>
22786
22787 [BZ #16770]
22788 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
22789 too large before casting to int.
22790 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
22791 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
22792 * math/libm-test.inc (scalb_test_data): Add more tests.
22793
22794 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22795
22796 * benchtests/Makefile (DETAILED_OPT): New make option.
22797 (bench-func): Run benchmark program with -d if DETAILED_OPT is
22798 set.
22799 * benchtests/bench-skeleton.c: Include stdbool.h.
22800 (main): Store and print timings per input.
22801 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
22802 member to each argument value.
22803 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
22804 (_print_arg_data): Initialize per-input timing to 0.
22805
22806 * benchtests/Makefile (timing-type): New binary.
22807 (bench-clean): Also remove bench-timing-type.
22808 (bench): New target for timing-type.
22809 (bench-func): Print output in JSON format.
22810 * benchtests/bench-skeleton.c (main): Print output in JSON
22811 format.
22812 * benchtests/bench-timing-type.c: New file.
22813 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
22814 (TIMING_PRINT_STATS): Remove.
22815 * benchtests/scripts/bench.py (_print_arg_data): Store variant
22816 name separately.
22817
22818 * benchtests/bench-modf.c: Remove.
22819 * benchtests/modf-inputs: New inputs file.
22820
22821 2014-03-28 Joseph Myers <joseph@codesourcery.com>
22822
22823 [BZ #16362]
22824 * math/s_clog10.c (M_PI_LOG10E): New macro.
22825 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
22826 imaginary parts are 0.
22827 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
22828 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
22829 imaginary parts are 0.
22830 * math/s_clog10l.c (M_PI_LOG10El): New macro.
22831 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
22832 imaginary parts are 0.
22833 * math/libm-test.inc (clog10_test_data): Update expected results
22834 for when real and imaginary parts are 0.
22835
22836 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
22837
22838 * elf/dl-load.c: Finish conversion of __builtin_expect into
22839 __glibc_{un}likely.
22840
22841 2014-03-27 Joseph Myers <joseph@codesourcery.com>
22842
22843 [BZ #16348]
22844 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
22845 1+x for argument with exponent below -67.
22846 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
22847 Likewise.
22848 * math/auto-libm-test-in: Add more tests of exp.
22849 * math/auto-libm-test-out: Regenerated.
22850
22851 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22852
22853 [BZ #16759]
22854 * inet/getnetgrent_r.c (get_nonempty_val): New function.
22855 (nscd_getnetgrent): Use it.
22856
22857 [BZ #16760]
22858 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
22859 of stpcpy.
22860
22861 2014-03-27 Andi Kleen <ak@linux.intel.com>
22862
22863 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
22864 (lll_robust_lock, lll_cond_lock, lll_timedlock)
22865 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22866 (lll_robust_unlock): Remove out of line section. Use cfi
22867 intrinsics.
22868 (LLL_STUB_UNWIND_INFO*): Remove.
22869 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
22870 (lll_robust_lock, lll_cond_lock, lll_timedlock)
22871 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22872 (lll_robust_unlock): Remove out of line section. Use cfi
22873 intrinsics.
22874 (LLL_STUB_UNWIND_INFO*): Remove.
22875
22876 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22877
22878 [BZ #16758]
22879 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
22880 blank values.
22881
22882 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
22883
22884 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
22885
22886 2014-03-26 Joseph Myers <joseph@codesourcery.com>
22887
22888 [BZ #16198]
22889 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
22890 fnstenv.
22891 * math/test-fenv-preserve.c: New file.
22892 * math/Makefile (tests): Add test-fenv-preserve.
22893
22894 2014-03-26 Will Newton <will.newton@linaro.org>
22895
22896 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
22897
22898 2014-03-25 Roland McGrath <roland@hack.frob.com>
22899
22900 * scripts/versionlist.awk: Partition the version sets and emit all
22901 GLIBC_* (sorted) before all others (sorted).
22902
22903 2014-03-25 Joseph Myers <joseph@codesourcery.com>
22904
22905 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
22906 GLIBC_2.2.5 version.
22907
22908 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22909
22910 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
22911 calls.
22912
22913 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
22914 previous change.
22915
22916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22917
22918 2014-03-25 Andreas Schwab <schwab@suse.de>
22919
22920 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
22921 label to be used after in6ailist is initialized.
22922
22923 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22924
22925 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22926 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22927
22928 2014-03-25 Joseph Myers <joseph@codesourcery.com>
22929
22930 [BZ #16357]
22931 [BZ #16599]
22932 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
22933 min_plus_half.
22934 (fp_formats): Update initializers.
22935 (init_fp_formats): Initialize new field.
22936 (output_for_one_input_case): Allow underflow for results up to
22937 min_plus_half.
22938 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
22939 * math/auto-libm-test-in: Don't mark some underflows from asin and
22940 atanh as spurious.
22941 * math/auto-libm-test-out: Regenerated.
22942 * sysdeps/i386/fpu/libm-test-ulps: Update.
22943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22944
22945 2014-03-25 Andreas Schwab <schwab@suse.de>
22946
22947 * libio/Makefile (tst-ftell-partial-wide-ENV)
22948 (tst-ftell-active-handler-ENV): Define.
22949
22950 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
22951
22952 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
22953
22954 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
22955
22956 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
22957
22958 2014-03-24 Joseph Myers <joseph@codesourcery.com>
22959
22960 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
22961 * sysdeps/x86_64/fpu/multiarch/e_exp.c
22962 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22963
22964 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
22965
22966 [BZ #16634]
22967 * elf/dl-load.c (open_verify): Add mode parameter.
22968 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
22969 (open_path): Change from boolean 'secure' to complete flag 'mode'
22970 (_dl_map_object): Adjust.
22971 * elf/Makefile (tests): Add tst-dlopen-aout.
22972 * elf/tst-dlopen-aout.c: New test.
22973
22974 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
22975
22976 [BZ #16714]
22977 * sysdeps/unix/sysv/linux/s390/bits/stat.h
22978 (struct stat): Rename member pad0 to __glibc_reserved0.
22979
22980 [BZ #16712]
22981 * sysdeps/s390/s390-32/bits/wordsize.h
22982 (__WORDSIZE32_SIZE_ULONG): New define.
22983 * sysdeps/s390/s390-64/bits/wordsize.h
22984 (__WORDSIZE32_SIZE_ULONG): Likewise.
22985 * sysdeps/generic/stdint.h (SIZE_MAX):
22986 Define as UL if __WORDSIZE32_SIZE_ULONG.
22987
22988 [BZ #16713]
22989 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
22990 (__glibc_reserved0): New variable.
22991 (sa_flags): Change type to int.
22992
22993 * posix/Makefile (before-compile): Use += before-compile instead
22994 of a :=.
22995
22996 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22997 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22998
22999 2014-03-20 Andreas Schwab <schwab@suse.de>
23000
23001 [BZ #16743]
23002 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
23003 non-matching result from nscd.
23004
23005 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23006
23007 * scripts/bench.py: Moved to ...
23008 * benchtests/scripts/bench.py: ... here.
23009 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
23010
23011 2014-03-24 Andreas Schwab <schwab@suse.de>
23012
23013 [BZ #16002]
23014 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
23015 alloca_account and account alloca use for struct in6ailist.
23016
23017 2014-03-24 Joseph Myers <joseph@codesourcery.com>
23018
23019 [BZ #16284]
23020 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
23021 rounding mode to recompute results that overflow to infinity or
23022 underflow to zero.
23023 * math/auto-libm-test-in: Don't mark tests as expected to fail for
23024 bug 16284.
23025 * math/auto-libm-test-out: Regenerated.
23026 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
23027 (ccosh_test): Likewise.
23028 (csin_test_data): Use plus_oflow.
23029 (csin_test): Use ALL_RM_TEST.
23030 (csinh_test_data): Use plus_oflow.
23031 (csinh_test): Use ALL_RM_TEST.
23032 * sysdeps/i386/fpu/libm-test-ulps: Update.
23033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23034
23035 2014-03-21 Joseph Myers <joseph@codesourcery.com>
23036
23037 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
23038 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
23039 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
23040
23041 [BZ #16731]
23042 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
23043 when x - 1 is zero.
23044 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
23045 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
23046 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
23047 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
23048 argument is 1.
23049 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
23050 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
23051 zero.
23052 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
23053 * sysdeps/i386/fpu/libm-test-ulps: Update.
23054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23055
23056 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23057
23058 * scripts/bench.pl: Remove file.
23059 * scripts/bench.py: New benchmark script.
23060 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
23061 * benchtests/README: Mention python dependency.
23062 * scripts/pylintrc: New file.
23063 * scripts/pylint: New file.
23064
23065 * bits/mathdef.h: Use #ifdef instead of #if.
23066 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
23067 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23068 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
23069 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23070 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
23071 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23072
23073 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23074 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23075
23076 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
23077 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
23078 and strpbrk-ppc64 objects.
23079 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23080 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
23081 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
23082 multiarch strpbrk for POWER7.
23083 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
23084 multiarch strpbrk for PPC64.
23085 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
23086 ifunc selector.
23087 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
23088 strpbrk for POWER7.
23089
23090 2014-03-20 Joseph Myers <joseph@codesourcery.com>
23091
23092 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
23093 (atan_test): Likewise.
23094 (atanh_test_data): Use NO_TEST_INLINE for two tests.
23095 (atanh_test): Use ALL_RM_TEST.
23096 (atan2_test_data): Likewise.
23097 (cabs_test): Likewise.
23098 (cacosh_test): Likewise.
23099 (carg_test): Likewise.
23100 (casin_test): Likewise.
23101 (casinh_test): Likewise.
23102 (cbrt_test): Likewise.
23103 (csqrt_test): Likewise.
23104 (erf_test): Likewise.
23105 (erfc_test): Likewise.
23106 (pow10_test): Likewise.
23107 (exp2_test): Likewise.
23108 (hypot_test): Likewise.
23109 (j0_test): Likewise.
23110 (j1_test): Likewise.
23111 (lgamma_test): Likewise.
23112 (gamma_test): Likewise.
23113 (sincos_test): Likewise.
23114 (tanh_test): Likewise.
23115 (y0_test): Likewise.
23116 (y1_test): Likewise.
23117 * sysdeps/i386/fpu/libm-test-ulps: Update.
23118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23119
23120 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23121
23122 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
23123 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
23124 and strcspn-ppc64 objects.
23125 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23126 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
23127 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
23128 multiarch strcspn for POWER7.
23129 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
23130 multiarch strcspn for PPC64.
23131 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
23132 ifunc selector.
23133 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
23134 strcspn for POWER7.
23135
23136 2014-03-20 Joseph Myers <joseph@codesourcery.com>
23137
23138 * math/gen-libm-test.pl (generate_testfile): Expect only function
23139 name as argument to AUTO_TESTS_* and pass results for all rounding
23140 modes to parse_args.
23141 (parse_auto_input): Separate inputs of automatic tests from
23142 outputs before storing in %auto_tests.
23143 * math/libm-test.inc (acos_test_data): Update call to
23144 AUTO_TESTS_f_f.
23145 (acos_test): Use ALL_RM_TEST.
23146 (acos_tonearest_test_data): Remove.
23147 (acos_test_tonearest): Likewise.
23148 (acos_towardzero_test_data): Likewise.
23149 (acos_test_towardzero): Likewise.
23150 (acos_downward_test_data): Likewise.
23151 (acos_test_downward): Likewise.
23152 (acos_upward_test_data): Likewise.
23153 (acos_test_upward): Likewise.
23154 (acosh_test_data): Update call to AUTO_TESTS_f_f.
23155 (asin_test_data): Likewise.
23156 (asin_test): Use ALL_RM_TEST.
23157 (asin_tonearest_test_data): Remove.
23158 (asin_test_tonearest): Likewise.
23159 (asin_towardzero_test_data): Likewise.
23160 (asin_test_towardzero): Likewise.
23161 (asin_downward_test_data): Likewise.
23162 (asin_test_downward): Likewise.
23163 (asin_upward_test_data): Likewise.
23164 (asin_test_upward): Likewise.
23165 (asinh_test_data): Update call to AUTO_TESTS_f_f.
23166 (atan_test_data): Likewise.
23167 (atanh_test_data): Likewise.
23168 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
23169 (cabs_test_data): Update call to AUTO_TESTS_c_f.
23170 (carg_test_data): Likewise.
23171 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
23172 (ccos_test_data): Update call to AUTO_TESTS_c_c.
23173 (ccosh_test_data): Likewise.
23174 (cexp_test_data): Likewise.
23175 (clog_test_data): Likewise.
23176 (clog10_test_data): Likewise.
23177 (cos_test_data): Update call to AUTO_TESTS_f_f.
23178 (cos_test): Use ALL_RM_TEST.
23179 (cos_tonearest_test_data): Remove.
23180 (cos_test_tonearest): Likewise.
23181 (cos_towardzero_test_data): Likewise.
23182 (cos_test_towardzero): Likewise.
23183 (cos_downward_test_data): Likewise.
23184 (cos_test_downward): Likewise.
23185 (cos_upward_test_data): Likewise.
23186 (cos_test_upward): Likewise.
23187 (cosh_test_data): Update call to AUTO_TESTS_f_f.
23188 (cosh_test): Use ALL_RM_TEST.
23189 (cosh_tonearest_test_data): Remove.
23190 (cosh_test_tonearest): Likewise.
23191 (cosh_towardzero_test_data): Likewise.
23192 (cosh_test_towardzero): Likewise.
23193 (cosh_downward_test_data): Likewise.
23194 (cosh_test_downward): Likewise.
23195 (cosh_upward_test_data): Likewise.
23196 (cosh_test_upward): Likewise.
23197 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
23198 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
23199 (ctan_test_data): Likewise.
23200 (ctan_test): Use ALL_RM_TEST.
23201 (ctan_tonearest_test_data): Remove.
23202 (ctan_test_tonearest): Likewise.
23203 (ctan_towardzero_test_data): Likewise.
23204 (ctan_test_towardzero): Likewise.
23205 (ctan_downward_test_data): Likewise.
23206 (ctan_test_downward): Likewise.
23207 (ctan_upward_test_data): Likewise.
23208 (ctan_test_upward): Likewise.
23209 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
23210 (ctanh_test): Use ALL_RM_TEST.
23211 (ctanh_tonearest_test_data): Remove.
23212 (ctanh_test_tonearest): Likewise.
23213 (ctanh_towardzero_test_data): Likewise.
23214 (ctanh_test_towardzero): Likewise.
23215 (ctanh_downward_test_data): Likewise.
23216 (ctanh_test_downward): Likewise.
23217 (ctanh_upward_test_data): Likewise.
23218 (ctanh_test_upward): Likewise.
23219 (erf_test_data): Update call to AUTO_TESTS_f_f.
23220 (erfc_test_data): Likewise.
23221 (exp_test_data): Likewise.
23222 (exp_test): Use ALL_RM_TEST.
23223 (exp_tonearest_test_data): Remove.
23224 (exp_test_tonearest): Likewise.
23225 (exp_towardzero_test_data): Likewise.
23226 (exp_test_towardzero): Likewise.
23227 (exp_downward_test_data): Likewise.
23228 (exp_test_downward): Likewise.
23229 (exp_upward_test_data): Likewise.
23230 (exp_test_upward): Likewise.
23231 (exp10_test_data): Update call to AUTO_TESTS_f_f.
23232 (exp10_test): Use ALL_RM_TEST.
23233 (exp10_tonearest_test_data): Remove.
23234 (exp10_test_tonearest): Likewise.
23235 (exp10_towardzero_test_data): Likewise.
23236 (exp10_test_towardzero): Likewise.
23237 (exp10_downward_test_data): Likewise.
23238 (exp10_test_downward): Likewise.
23239 (exp10_upward_test_data): Likewise.
23240 (exp10_test_upward): Likewise.
23241 (exp2_test_data): Update call to AUTO_TESTS_f_f.
23242 (expm1_test_data): Likewise.
23243 (expm1_test): Use ALL_RM_TEST.
23244 (expm1_tonearest_test_data): Remove.
23245 (expm1_test_tonearest): Likewise.
23246 (expm1_towardzero_test_data): Likewise.
23247 (expm1_test_towardzero): Likewise.
23248 (expm1_downward_test_data): Likewise.
23249 (expm1_test_downward): Likewise.
23250 (expm1_upward_test_data): Likewise.
23251 (expm1_test_upward): Likewise.
23252 (fma_test_data): Update call to AUTO_TESTS_fff_f.
23253 (fma_test): Use ALL_RM_TEST.
23254 (fma_towardzero_test_data): Remove.
23255 (fma_test_towardzero): Likewise.
23256 (fma_downward_test_data): Likewise.
23257 (fma_test_downward): Likewise.
23258 (fma_upward_test_data): Likewise.
23259 (fma_test_upward): Likewise.
23260 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
23261 (j0_test_data): Update call to AUTO_TESTS_f_f.
23262 (j1_test_data): Likewise.
23263 (jn_test_data): Update call to AUTO_TESTS_if_f.
23264 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
23265 (log_test_data): Update call to AUTO_TESTS_f_f.
23266 (log10_test_data): Likewise.
23267 (log1p_test_data): Likewise.
23268 (log2_test_data): Likewise.
23269 (pow_test_data): Update call to AUTO_TESTS_ff_f.
23270 (pow_tonearest_test_data): Likewise.
23271 (sin_test_data): Update call to AUTO_TESTS_f_f.
23272 (sin_test): Use ALL_RM_TEST.
23273 (sin_tonearest_test_data): Remove.
23274 (sin_test_tonearest): Likewise.
23275 (sin_towardzero_test_data): Likewise.
23276 (sin_test_towardzero): Likewise.
23277 (sin_downward_test_data): Likewise.
23278 (sin_test_downward): Likewise.
23279 (sin_upward_test_data): Likewise.
23280 (sin_test_upward): Likewise.
23281 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
23282 (sinh_test_data): Update call to AUTO_TESTS_f_f.
23283 (sinh_test): Use ALL_RM_TEST.
23284 (sinh_tonearest_test_data): Remove.
23285 (sinh_test_tonearest): Likewise.
23286 (sinh_towardzero_test_data): Likewise.
23287 (sinh_test_towardzero): Likewise.
23288 (sinh_downward_test_data): Likewise.
23289 (sinh_test_downward): Likewise.
23290 (sinh_upward_test_data): Likewise.
23291 (sinh_test_upward): Likewise.
23292 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
23293 (sqrt_test): Use ALL_RM_TEST.
23294 (sqrt_tonearest_test_data): Remove.
23295 (sqrt_test_tonearest): Likewise.
23296 (sqrt_towardzero_test_data): Likewise.
23297 (sqrt_test_towardzero): Likewise.
23298 (sqrt_downward_test_data): Likewise.
23299 (sqrt_test_downward): Likewise.
23300 (sqrt_upward_test_data): Likewise.
23301 (sqrt_test_upward): Likewise.
23302 (tan_test_data): Update call to AUTO_TESTS_f_f.
23303 (tan_test): Use ALL_RM_TEST.
23304 (tan_tonearest_test_data): Remove.
23305 (tan_test_tonearest): Likewise.
23306 (tan_towardzero_test_data): Likewise.
23307 (tan_test_towardzero): Likewise.
23308 (tan_downward_test_data): Likewise.
23309 (tan_test_downward): Likewise.
23310 (tan_upward_test_data): Likewise.
23311 (tan_test_upward): Likewise.
23312 (tanh_test_data): Update call to AUTO_TESTS_f_f.
23313 (tgamma_test_data): Likewise.
23314 (y0_test_data): Likewise.
23315 (y1_test_data): Likewise.
23316 (yn_test_data): Update call to AUTO_TESTS_if_f.
23317 (main): Do not call removed functions.
23318
23319 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23320
23321 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
23322 (ldexp_test_data): Remove.
23323 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
23324 scalbn_test_data.
23325 (scalb_test): Use ALL_RM_TEST.
23326
23327 2014-03-19 Andreas Schwab <schwab@suse.de>
23328
23329 * nscd/nscd.service: Also invalidate netgroup cache on reload.
23330
23331 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23332
23333 [BZ #16649]
23334 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23335 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
23336 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
23337 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23338 (__ASSUME_PREADV): Undefine.
23339 (__ASSUME_PWRITEV): Likewise.
23340
23341 2014-03-18 Roland McGrath <roland@hack.frob.com>
23342
23343 * bits/mman-linux.h: Add comment about non-Linux use.
23344 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
23345 bits/mman-linux.h resting place.
23346
23347 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
23348 * bits/mman-linux.h: ... here.
23349
23350 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23351
23352 * conform/conformtest.pl: Add standard definition when calling C
23353 preprocessor on data files.
23354 (checknamespace): Remove unused variable.
23355
23356 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23357
23358 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
23359 minus_oflow, plus_uflow and minus_uflow in expected results.
23360 * math/libm-test.inc (scalbn_test_data): Add more tests of
23361 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
23362 minus_uflow.
23363 (scalbn_test): Use ALL_RM_TEST.
23364 (scalbln_test_data): Add more tests of negative arguments. Use
23365 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
23366 (scalbln_test): Use ALL_RM_TEST.
23367
23368 2014-03-18 Roland McGrath <roland@hack.frob.com>
23369
23370 * scripts/abilist.awk: Ignore symbols marked with .hidden.
23371
23372 2014-03-18 Will Newton <will.newton@linaro.org>
23373
23374 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
23375 inaccurate comment.
23376
23377 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23378
23379 * Makerules [!subdir] (check-abi): Exit with error status if a
23380 test failed.
23381
23382 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23383
23384 * math/libm-test.inc (nearbyint_test_data): Include all tests used
23385 for rint. Include results for all rounding modes.
23386 (nearbyint_test): Use ALL_RM_TEST.
23387 (rint_test_data): Include all tests used for nearbyint.
23388
23389 2014-03-17 Will Newton <will.newton@linaro.org>
23390
23391 * nptl/sysdeps/pthread/pthread.h: Revert previous
23392 change.
23393
23394 * sysdeps/generic/ldsodefs.h: Revert previous
23395 change.
23396
23397 * libio/genops.c: Revert previous change.
23398 * libio/libioP.h: Likewise.
23399 * stdio-common/vfprintf.c: Likewise.
23400
23401 * sysdeps/generic/math_private.h: Revert previous
23402 change.
23403
23404 * sysdeps/generic/math_private.h: Check whether
23405 HAVE_RM_CTX is defined with #ifdef rather
23406 than #if.
23407
23408 * argp/argp-fmtstream.h: Check whether
23409 __STRICT_ANSI__ is defined with #ifdef rather
23410 than #if.
23411 * argp/argp.h: Likewise.
23412
23413 * libio/genops.c: Check whether
23414 _IO_JUMPS_OFFSET is defined with #ifdef rather
23415 than #if.
23416 * libio/libioP.h: Likewise.
23417 * stdio-common/vfprintf.c: Likewise.
23418
23419 * sysdeps/generic/ldsodefs.h: Check whether
23420 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
23421 than #if.
23422
23423 * nptl/sysdeps/pthread/pthread.h: Check
23424 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
23425 its value.
23426
23427 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23428
23429 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
23430 setting O_APPEND.
23431 * libio/tst-ftell-active-handler.c (do_append_test): Add a
23432 test case.
23433
23434 [BZ #16680]
23435 * libio/fileops.c (_IO_file_open): Seek to end of file but
23436 don't cache the offset.
23437 (get_file_offset): Remove function.
23438 (do_ftell): Use cached offset when available.
23439 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
23440 don't cache the offset.
23441 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
23442 case.
23443 (do_one_test): Call it.
23444 (do_ftell_test): Fix up expected old offset for a+ mode.
23445 * libio/wfileops.c (do_ftell_wide): Used cached offset when
23446 available.
23447
23448 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
23449 up test status with function return status.
23450 (do_write_test): Likewise.
23451 (do_append_test): Likewise.
23452
23453 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
23454 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
23455 Remove.
23456
23457 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23458
23459 * math/gen-libm-test.pl (parse_args): Handle results specified for
23460 each rounding mode separately.
23461 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
23462 tests and results from lrint_tonearest_test_data,
23463 lrint_towardzero_test_data, lrint_downward_test_data and
23464 lrint_upward_test_data.
23465 (lrint_test): Use ALL_RM_TEST.
23466 (lrint_tonearest_test_data): Remove.
23467 (lrint_test_tonearest): Likewise.
23468 (lrint_towardzero_test_data): Likewise.
23469 (lrint_test_towardzero): Likewise.
23470 (lrint_downward_test_data): Likewise.
23471 (lrint_test_downward): Likewise.
23472 (lrint_upward_test_data): Likewise.
23473 (lrint_test_upward): Likewise.
23474 (llrint_test_data): Merge in per-rounding-mode tests and results
23475 from llrint_tonearest_test_data, llrint_towardzero_test_data,
23476 llrint_downward_test_data and llrint_upward_test_data.
23477 (llrint_test): Use ALL_RM_TEST.
23478 (llrint_tonearest_test_data): Remove.
23479 (llrint_test_tonearest): Likewise.
23480 (llrint_towardzero_test_data): Likewise.
23481 (llrint_test_towardzero): Likewise.
23482 (llrint_downward_test_data): Likewise.
23483 (llrint_test_downward): Likewise.
23484 (llrint_upward_test_data): Likewise.
23485 (llrint_test_upward): Likewise.
23486 (rint_test_data): Merge in per-rounding-mode tests and results
23487 from rint_tonearest_test_data, rint_towardzero_test_data,
23488 rint_downward_test_data and rint_upward_test_data. Add
23489 per-rounding-mode results for tests not in those arrays.
23490 (rint_test): Use ALL_RM_TEST.
23491 (rint_tonearest_test_data): Remove.
23492 (rint_test_tonearest): Likewise.
23493 (rint_towardzero_test_data): Likewise.
23494 (rint_test_towardzero): Likewise.
23495 (rint_downward_test_data): Likewise.
23496 (rint_test_downward): Likewise.
23497 (rint_upward_test_data): Likewise.
23498 (rint_test_upward): Likewise.
23499 (main): Don't call removed functions.
23500
23501 2014-03-14 Roland McGrath <roland@hack.frob.com>
23502
23503 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
23504 "Compiled on ..." crapola. It is anti-useful.
23505
23506 2014-03-14 Joseph Myers <joseph@codesourcery.com>
23507
23508 * scripts/evaluate-test.sh: Handle fourth argument to determine
23509 whether test run should stop on failure.
23510 * Makeconfig (stop-on-test-failure): New variable.
23511 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
23512 $(stop-on-test-failure).
23513 * Makefile (tests): Give a summary of results from testing and
23514 exit with failure status if they include an ERROR or FAIL.
23515 (xtests): Likewise.
23516 * manual/install.texi (Configuring and compiling): Mention
23517 stop-on-test-failure=y.
23518 * INSTALL: Regenerated.
23519
23520 2014-03-14 Roland McGrath <roland@hack.frob.com>
23521
23522 * scripts/versionlist.awk: New file.
23523 * Makerules [$(build-shared) = yes]
23524 (postclean-generated): Add Versions.def, not Versions.def.v and
23525 Versions.def.v.i.
23526 ($(common-objpfx)Versions.def.v.i): Target removed.
23527 ($(common-objpfx)Versions.def): New target.
23528 ($(common-objpfx)Versions.all): Depend on that rather that
23529 $(common-objpfx)Versions.def.v.
23530 * Versions.def: File removed.
23531
23532 * Makeconfig (+gccwarn): Add -Wundef.
23533 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
23534 a dl-sysdep.h breaking its contract.
23535 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
23536 * include/stackinfo.h: New file.
23537 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
23538 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
23539 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
23540 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
23541 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
23542 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
23543 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23544 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23545 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23546 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23547 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23548 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
23549 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23550 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23551 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23552
23553 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23554
23555 [BZ #16707]
23556 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
23557 implementation.
23558 * math/libm-test.inc (round_test_data): Add more tests.
23559
23560 [BZ #16706]
23561 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
23562 implementation.
23563 * math/libm-test.inc (nearbyint_test_data): Add more tests.
23564
23565 [BZ #16701]
23566 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
23567 implementation.
23568 * math/libm-test.inc (ceil_test_data): Add more tests.
23569
23570 * math/libm-test.inc (trunc_test_data): Add more tests related to
23571 BZ#16414.
23572
23573 2014-03-14 Roland McGrath <roland@hack.frob.com>
23574
23575 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
23576 with #if rather than #ifdef.
23577 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
23578
23579 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
23580
23581 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
23582 first. Disable AVX-512 GCC support if assembler doesn't support
23583 it.
23584 * sysdeps/x86_64/configure: Regenerated.
23585
23586 2014-03-13 Carlos O'Donell <carlos@redhat.com>
23587
23588 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
23589 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
23590 (__old_pthread_attr_setstack): Likewise.
23591 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
23592 [!_STACK_GROWS_DOWN]: Likewise.
23593
23594 2014-03-13 Mike Frysinger <vapier@gentoo.org>
23595
23596 * config.make.in (have-bash2): Delete.
23597 * configure.ac (libc_cv_have_bash2): Delete.
23598 * configure: Regenerate.
23599 * elf/Makefile (common-ldd-rewrite): Rename to ...
23600 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
23601 (sh-ldd-rewrite): Delete.
23602 (bash-ldd-rewrite): Delete.
23603 (have-bash2): Delete checks.
23604 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
23605 ldd-rewrite.
23606
23607 * config.make.in (have-ksh): Delete.
23608 (KSH): Delete.
23609 * configure.ac (libc_cv_have_ksh): Delete.
23610 * configure: Regenerate.
23611
23612 * elf/Makefile: Delete $(have-ksh) check.
23613 ($(objpfx)sotruss): Change KSH to BASH.
23614 * elf/sotruss.ksh: Rename to ...
23615 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
23616 function style to match POSIX. Drop ksh vim mode setting.
23617
23618 * manual/time.texi (Specifying the Time Zone with TZ): Change
23619 Tuesday to Thursday.
23620
23621 * debug/tst-longjmp_chk2.c: Update header comment.
23622 (stackoverflow_handler): Add comment. Call assert on pass value.
23623
23624 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
23625
23626 [BZ #16194]
23627 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
23628 (HAVE_AVX512_ASM_SUPPORT): Likewise.
23629 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
23630 (La_x86_64_vector): Add zmm.
23631 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
23632 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
23633 ($(objpfx)tst-audit10): New target.
23634 ($(objpfx)tst-audit10.out): Likewise.
23635 (tst-audit10-ENV): New.
23636 (AVX512-CFLAGS): Likewise.
23637 (CFLAGS-tst-audit10.c): Likewise.
23638 (CFLAGS-tst-auditmod10a.c): Likewise.
23639 (CFLAGS-tst-auditmod10b.c): Likewise.
23640 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
23641 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
23642 * sysdeps/x86_64/configure: Regenerated.
23643 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
23644 AVX-512 zmm register support.
23645 (_dl_x86_64_save_sse): Likewise.
23646 (_dl_x86_64_restore_sse): Likewise.
23647 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
23648 size vector registers.
23649 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
23650 (ZMM_SIZE): Likewise.
23651 * sysdeps/x86_64/tst-audit10.c: New file.
23652 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
23653 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
23654
23655 2014-03-13 Roland McGrath <roland@hack.frob.com>
23656
23657 * configure.ac (HAVE_EHDR_START): New check.
23658 * configure: Regenerated.
23659 * config.h.in (HAVE_EHDR_START): New #undef.
23660 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
23661 assuming the lowest-addressed segment maps the start of the file.
23662
23663 2014-03-13 Joseph Myers <joseph@codesourcery.com>
23664
23665 * INSTALL: Regenerated.
23666
23667 2014-03-13 Will Newton <will.newton@linaro.org>
23668
23669 * manual/setjmp.texi (System V contexts): Improve
23670 clarity and grammar of documentation.
23671
23672 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
23673
23674 [BZ #16381]
23675 * elf/Makefile (tests): Add tst-pie2.
23676 (tests-pie): Add tst-pie2.
23677 * elf/tst-pie2.c: New file.
23678 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
23679 for ET_EXEC.
23680 * elf/rtld.c (map_doit): Load executable as lt_executable.
23681 (dl_main): Likewise.
23682
23683 2014-03-12 Joseph Myers <joseph@codesourcery.com>
23684
23685 [BZ #16642]
23686 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23687 (__ASSUME_PSELECT): Undefine.
23688
23689 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23690
23691 [BZ #16689]
23692 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
23693 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
23694 static build.
23695 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
23696 selector for static builds.
23697
23698 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23699
23700 [BZ #16695]
23701 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
23702 key in the buffer.
23703
23704 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23705
23706 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
23707 IFUNC selector for static builds.
23708
23709 2014-03-11 Joseph Myers <joseph@codesourcery.com>
23710
23711 * sysdeps/mips/math_private.h [__mips_hard_float]
23712 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
23713 libc_feresetround_mips_ctx.
23714 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
23715 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
23716 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
23717
23718 [BZ #16677]
23719 * math/s_nextafter.c (__nextafter): Do not return value from
23720 overflowing computation.
23721 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
23722 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
23723 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
23724 Likewise.
23725 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
23726 Likewise.
23727 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
23728 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
23729
23730 2014-03-11 Roland McGrath <roland@hack.frob.com>
23731
23732 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
23733 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
23734 Move sfi_sp use from the load-multiple (that no longer sets sp) to
23735 the new mov targetting sp.
23736
23737 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23738
23739 [BZ #16683]
23740 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
23741 Define it for static builds as well.
23742 (NO_BZERO_IMPL): Likewise.
23743
23744 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23745
23746 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
23747 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
23748 multiarch strspn for PPC64.
23749 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
23750 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
23751 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23752 (__libc_ifunc_impl_list): Likewise.
23753 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
23754 multiarch optimizations
23755 * string/strspn.c (strspn): Using macro to redefine symbol name.
23756
23757 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23758 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23759
23760 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
23761 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
23762 multiarch strncat for PPC64.
23763 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
23764 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
23765 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23766 (__libc_ifunc_impl_list): Likewise.
23767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
23768 multiarch optimizations
23769
23770 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23771
23772 [BZ #16639]
23773 * nscd/nscd.service: Make service type forking.
23774
23775 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23776
23777 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
23778 sign in non default rounding modes.
23779 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
23780
23781 2014-03-08 Joseph Myers <joseph@codesourcery.com>
23782
23783 * math/libm-test.inc (ALL_RM_TEST): New macro.
23784 (ceil_test): Use ALL_RM_TEST.
23785 (cimag_test): Likewise.
23786 (conj_test): Likewise.
23787 (copysign_test): Likewise.
23788 (cproj_test): Likewise.
23789 (creal_test): Likewise.
23790 (fabs_test): Likewise.
23791 (floor_test): Likewise.
23792 (fmax_test): Likewise.
23793 (fmin_test): Likewise.
23794 (fmod_test): Likewise.
23795 (fpclassify_test): Likewise.
23796 (frexp_test): Likewise.
23797 (ilogb_test): Likewise.
23798 (isfinite_test): Likewise.
23799 (finite_test): Likewise.
23800 (isgreater_test): Likewise.
23801 (isgreaterequal_test): Likewise.
23802 (isinf_test): Likewise.
23803 (isless_test): Likewise.
23804 (islessequal_test): Likewise.
23805 (islessgreater_test): Likewise.
23806 (isnan_test): Likewise.
23807 (isnormal_test): Likewise.
23808 (issignaling_test): Likewise.
23809 (isunordered_test): Likewise.
23810 (logb_test): Likewise.
23811 (logb_downward_test_data): Remove.
23812 (logb_test_downward): Likewise.
23813 (lround_test): Use ALL_RM_TEST.
23814 (llround_test): Likewise.
23815 (modf_test): Likewise.
23816 (nexttoward_test): Likewise.
23817 (remainder_test): Likewise.
23818 (drem_test): Likewise.
23819 (remainder_tonearest_test_data): Likewise.
23820 (remainder_test_tonearest): Likewise.
23821 (drem_test_tonearest): Likewise.
23822 (remainder_towardzero_test_data): Likewise.
23823 (remainder_test_towardzero): Likewise.
23824 (drem_test_towardzero): Likewise.
23825 (remainder_downward_test_data): Likewise.
23826 (remainder_test_downward): Likewise.
23827 (drem_test_downward): Likewise.
23828 (remainder_upward_test_data): Likewise.
23829 (remainder_test_upward): Likewise.
23830 (drem_test_upward): Likewise.
23831 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
23832 (round_test): Use ALL_RM_TEST.
23833 (signbit_test): Likewise.
23834 (trunc_test): Likewise.
23835 (significand_test): Likewise.
23836 (main): Don't call removed functions.
23837
23838 2014-03-07 Joseph Myers <joseph@codesourcery.com>
23839
23840 [BZ #16674]
23841 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
23842 || __USE_XOPEN2K8].
23843 (ILL_ILLOPN): Likewise.
23844 (ILL_ILLADR): Likewise.
23845 (ILL_ILLTRP): Likewise.
23846 (ILL_PRVOPC): Likewise.
23847 (ILL_PRVREG): Likewise.
23848 (ILL_COPROC): Likewise.
23849 (ILL_BADSTK): Likewise.
23850 (FPE_INTDIV): Likewise.
23851 (FPE_INTOVF): Likewise.
23852 (FPE_FLTDIV): Likewise.
23853 (FPE_FLTOVF): Likewise.
23854 (FPE_FLTUND): Likewise.
23855 (FPE_FLTRES): Likewise.
23856 (FPE_FLTINV): Likewise.
23857 (FPE_FLTSUB): Likewise.
23858 (SEGV_MAPERR): Likewise.
23859 (SEGV_ACCERR): Likewise.
23860 (BUS_ADRALN): Likewise.
23861 (BUS_ADRERR): Likewise.
23862 (BUS_OBJERR): Likewise.
23863 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23864 (TRAP_TRACE): Likewise.
23865 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23866 __USE_XOPEN2K8].
23867 (CLD_KILLED): Likewise.
23868 (CLD_DUMPED): Likewise.
23869 (CLD_TRAPPED): Likewise.
23870 (CLD_STOPPED): Likewise.
23871 (CLD_CONTINUED): Likewise.
23872 (POLL_IN): Likewise.
23873 (POLL_OUT): Likewise.
23874 (POLL_MSG): Likewise.
23875 (POLL_ERR): Likewise.
23876 (POLL_PRI): Likewise.
23877 (POLL_HUP): Likewise.
23878 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
23879 Likewise.
23880 (ILL_ILLOPN): Likewise.
23881 (ILL_ILLADR): Likewise.
23882 (ILL_ILLTRP): Likewise.
23883 (ILL_PRVOPC): Likewise.
23884 (ILL_PRVREG): Likewise.
23885 (ILL_COPROC): Likewise.
23886 (ILL_BADSTK): Likewise.
23887 (FPE_INTDIV): Likewise.
23888 (FPE_INTOVF): Likewise.
23889 (FPE_FLTDIV): Likewise.
23890 (FPE_FLTOVF): Likewise.
23891 (FPE_FLTUND): Likewise.
23892 (FPE_FLTRES): Likewise.
23893 (FPE_FLTINV): Likewise.
23894 (FPE_FLTSUB): Likewise.
23895 (SEGV_MAPERR): Likewise.
23896 (SEGV_ACCERR): Likewise.
23897 (BUS_ADRALN): Likewise.
23898 (BUS_ADRERR): Likewise.
23899 (BUS_OBJERR): Likewise.
23900 (BUS_MCEERR_AR): Likewise.
23901 (BUS_MCEERR_AO): Likewise.
23902 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23903 (TRAP_TRACE): Likewise.
23904 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23905 __USE_XOPEN2K8].
23906 (CLD_KILLED): Likewise.
23907 (CLD_DUMPED): Likewise.
23908 (CLD_TRAPPED): Likewise.
23909 (CLD_STOPPED): Likewise.
23910 (CLD_CONTINUED): Likewise.
23911 (POLL_IN): Likewise.
23912 (POLL_OUT): Likewise.
23913 (POLL_MSG): Likewise.
23914 (POLL_ERR): Likewise.
23915 (POLL_PRI): Likewise.
23916 (POLL_HUP): Likewise.
23917 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
23918 (ILL_ILLOPN): Likewise.
23919 (ILL_ILLADR): Likewise.
23920 (ILL_ILLTRP): Likewise.
23921 (ILL_PRVOPC): Likewise.
23922 (ILL_PRVREG): Likewise.
23923 (ILL_COPROC): Likewise.
23924 (ILL_BADSTK): Likewise.
23925 (FPE_INTDIV): Likewise.
23926 (FPE_INTOVF): Likewise.
23927 (FPE_FLTDIV): Likewise.
23928 (FPE_FLTOVF): Likewise.
23929 (FPE_FLTUND): Likewise.
23930 (FPE_FLTRES): Likewise.
23931 (FPE_FLTINV): Likewise.
23932 (FPE_FLTSUB): Likewise.
23933 (SEGV_MAPERR): Likewise.
23934 (SEGV_ACCERR): Likewise.
23935 (BUS_ADRALN): Likewise.
23936 (BUS_ADRERR): Likewise.
23937 (BUS_OBJERR): Likewise.
23938 (BUS_MCEERR_AR): Likewise.
23939 (BUS_MCEERR_AO): Likewise.
23940 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23941 (TRAP_TRACE): Likewise.
23942 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23943 __USE_XOPEN2K8].
23944 (CLD_KILLED): Likewise.
23945 (CLD_DUMPED): Likewise.
23946 (CLD_TRAPPED): Likewise.
23947 (CLD_STOPPED): Likewise.
23948 (CLD_CONTINUED): Likewise.
23949 (POLL_IN): Likewise.
23950 (POLL_OUT): Likewise.
23951 (POLL_MSG): Likewise.
23952 (POLL_ERR): Likewise.
23953 (POLL_PRI): Likewise.
23954 (POLL_HUP): Likewise.
23955 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
23956 Likewise.
23957 (ILL_ILLOPN): Likewise.
23958 (ILL_ILLADR): Likewise.
23959 (ILL_ILLTRP): Likewise.
23960 (ILL_PRVOPC): Likewise.
23961 (ILL_PRVREG): Likewise.
23962 (ILL_COPROC): Likewise.
23963 (ILL_BADSTK): Likewise.
23964 (ILL_BADIADDR): Likewise.
23965 (ILL_BREAK): Likewise.
23966 (FPE_INTDIV): Likewise.
23967 (FPE_INTOVF): Likewise.
23968 (FPE_FLTDIV): Likewise.
23969 (FPE_FLTOVF): Likewise.
23970 (FPE_FLTUND): Likewise.
23971 (FPE_FLTRES): Likewise.
23972 (FPE_FLTINV): Likewise.
23973 (FPE_FLTSUB): Likewise.
23974 (FPE_DECOVF): Likewise.
23975 (FPE_DECDIV): Likewise.
23976 (FPE_DECERR): Likewise.
23977 (FPE_INVASC): Likewise.
23978 (FPE_INVDEC): Likewise.
23979 (SEGV_MAPERR): Likewise.
23980 (SEGV_ACCERR): Likewise.
23981 (SEGV_PSTKOVF): Likewise.
23982 (BUS_ADRALN): Likewise.
23983 (BUS_ADRERR): Likewise.
23984 (BUS_OBJERR): Likewise.
23985 (BUS_MCEERR_AR): Likewise.
23986 (BUS_MCEERR_AO): Likewise.
23987 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23988 (TRAP_TRACE): Likewise.
23989 (TRAP_BRANCH): Likewise.
23990 (TRAP_HWBKPT): Likewise.
23991 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23992 __USE_XOPEN2K8].
23993 (CLD_KILLED): Likewise.
23994 (CLD_DUMPED): Likewise.
23995 (CLD_TRAPPED): Likewise.
23996 (CLD_STOPPED): Likewise.
23997 (CLD_CONTINUED): Likewise.
23998 (POLL_IN): Likewise.
23999 (POLL_OUT): Likewise.
24000 (POLL_MSG): Likewise.
24001 (POLL_ERR): Likewise.
24002 (POLL_PRI): Likewise.
24003 (POLL_HUP): Likewise.
24004 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
24005 (ILL_ILLOPN): Likewise.
24006 (ILL_ILLADR): Likewise.
24007 (ILL_ILLTRP): Likewise.
24008 (ILL_PRVOPC): Likewise.
24009 (ILL_PRVREG): Likewise.
24010 (ILL_COPROC): Likewise.
24011 (ILL_BADSTK): Likewise.
24012 (FPE_INTDIV): Likewise.
24013 (FPE_INTOVF): Likewise.
24014 (FPE_FLTDIV): Likewise.
24015 (FPE_FLTOVF): Likewise.
24016 (FPE_FLTUND): Likewise.
24017 (FPE_FLTRES): Likewise.
24018 (FPE_FLTINV): Likewise.
24019 (FPE_FLTSUB): Likewise.
24020 (SEGV_MAPERR): Likewise.
24021 (SEGV_ACCERR): Likewise.
24022 (BUS_ADRALN): Likewise.
24023 (BUS_ADRERR): Likewise.
24024 (BUS_OBJERR): Likewise.
24025 (BUS_MCEERR_AR): Likewise.
24026 (BUS_MCEERR_AO): Likewise.
24027 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24028 (TRAP_TRACE): Likewise.
24029 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24030 __USE_XOPEN2K8].
24031 (CLD_KILLED): Likewise.
24032 (CLD_DUMPED): Likewise.
24033 (CLD_TRAPPED): Likewise.
24034 (CLD_STOPPED): Likewise.
24035 (CLD_CONTINUED): Likewise.
24036 (POLL_IN): Likewise.
24037 (POLL_OUT): Likewise.
24038 (POLL_MSG): Likewise.
24039 (POLL_ERR): Likewise.
24040 (POLL_PRI): Likewise.
24041 (POLL_HUP): Likewise.
24042 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
24043 (ILL_ILLOPN): Likewise.
24044 (ILL_ILLADR): Likewise.
24045 (ILL_ILLTRP): Likewise.
24046 (ILL_PRVOPC): Likewise.
24047 (ILL_PRVREG): Likewise.
24048 (ILL_COPROC): Likewise.
24049 (ILL_BADSTK): Likewise.
24050 (FPE_INTDIV): Likewise.
24051 (FPE_INTOVF): Likewise.
24052 (FPE_FLTDIV): Likewise.
24053 (FPE_FLTOVF): Likewise.
24054 (FPE_FLTUND): Likewise.
24055 (FPE_FLTRES): Likewise.
24056 (FPE_FLTINV): Likewise.
24057 (FPE_FLTSUB): Likewise.
24058 (SEGV_MAPERR): Likewise.
24059 (SEGV_ACCERR): Likewise.
24060 (BUS_ADRALN): Likewise.
24061 (BUS_ADRERR): Likewise.
24062 (BUS_OBJERR): Likewise.
24063 (BUS_MCEERR_AR): Likewise.
24064 (BUS_MCEERR_AO): Likewise.
24065 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24066 (TRAP_TRACE): Likewise.
24067 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24068 __USE_XOPEN2K8].
24069 (CLD_KILLED): Likewise.
24070 (CLD_DUMPED): Likewise.
24071 (CLD_TRAPPED): Likewise.
24072 (CLD_STOPPED): Likewise.
24073 (CLD_CONTINUED): Likewise.
24074 (POLL_IN): Likewise.
24075 (POLL_OUT): Likewise.
24076 (POLL_MSG): Likewise.
24077 (POLL_ERR): Likewise.
24078 (POLL_PRI): Likewise.
24079 (POLL_HUP): Likewise.
24080 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
24081 (ILL_ILLOPN): Likewise.
24082 (ILL_ILLADR): Likewise.
24083 (ILL_ILLTRP): Likewise.
24084 (ILL_PRVOPC): Likewise.
24085 (ILL_PRVREG): Likewise.
24086 (ILL_COPROC): Likewise.
24087 (ILL_BADSTK): Likewise.
24088 (FPE_INTDIV): Likewise.
24089 (FPE_INTOVF): Likewise.
24090 (FPE_FLTDIV): Likewise.
24091 (FPE_FLTOVF): Likewise.
24092 (FPE_FLTUND): Likewise.
24093 (FPE_FLTRES): Likewise.
24094 (FPE_FLTINV): Likewise.
24095 (FPE_FLTSUB): Likewise.
24096 (SEGV_MAPERR): Likewise.
24097 (SEGV_ACCERR): Likewise.
24098 (BUS_ADRALN): Likewise.
24099 (BUS_ADRERR): Likewise.
24100 (BUS_OBJERR): Likewise.
24101 (BUS_MCEERR_AR): Likewise.
24102 (BUS_MCEERR_AO): Likewise.
24103 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24104 (TRAP_TRACE): Likewise.
24105 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24106 __USE_XOPEN2K8].
24107 (CLD_KILLED): Likewise.
24108 (CLD_DUMPED): Likewise.
24109 (CLD_TRAPPED): Likewise.
24110 (CLD_STOPPED): Likewise.
24111 (CLD_CONTINUED): Likewise.
24112 (POLL_IN): Likewise.
24113 (POLL_OUT): Likewise.
24114 (POLL_MSG): Likewise.
24115 (POLL_ERR): Likewise.
24116 (POLL_PRI): Likewise.
24117 (POLL_HUP): Likewise.
24118 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
24119 (ILL_ILLOPN): Likewise.
24120 (ILL_ILLADR): Likewise.
24121 (ILL_ILLTRP): Likewise.
24122 (ILL_PRVOPC): Likewise.
24123 (ILL_PRVREG): Likewise.
24124 (ILL_COPROC): Likewise.
24125 (ILL_BADSTK): Likewise.
24126 (ILL_DBLFLT): Likewise.
24127 (ILL_HARDWALL): Likewise.
24128 (FPE_INTDIV): Likewise.
24129 (FPE_INTOVF): Likewise.
24130 (FPE_FLTDIV): Likewise.
24131 (FPE_FLTOVF): Likewise.
24132 (FPE_FLTUND): Likewise.
24133 (FPE_FLTRES): Likewise.
24134 (FPE_FLTINV): Likewise.
24135 (FPE_FLTSUB): Likewise.
24136 (SEGV_MAPERR): Likewise.
24137 (SEGV_ACCERR): Likewise.
24138 (BUS_ADRALN): Likewise.
24139 (BUS_ADRERR): Likewise.
24140 (BUS_OBJERR): Likewise.
24141 (BUS_MCEERR_AR): Likewise.
24142 (BUS_MCEERR_AO): Likewise.
24143 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24144 (TRAP_TRACE): Likewise.
24145 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24146 __USE_XOPEN2K8].
24147 (CLD_KILLED): Likewise.
24148 (CLD_DUMPED): Likewise.
24149 (CLD_TRAPPED): Likewise.
24150 (CLD_STOPPED): Likewise.
24151 (CLD_CONTINUED): Likewise.
24152 (POLL_IN): Likewise.
24153 (POLL_OUT): Likewise.
24154 (POLL_MSG): Likewise.
24155 (POLL_ERR): Likewise.
24156 (POLL_PRI): Likewise.
24157 (POLL_HUP): Likewise.
24158 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
24159 (ILL_ILLOPN): Likewise.
24160 (ILL_ILLADR): Likewise.
24161 (ILL_ILLTRP): Likewise.
24162 (ILL_PRVOPC): Likewise.
24163 (ILL_PRVREG): Likewise.
24164 (ILL_COPROC): Likewise.
24165 (ILL_BADSTK): Likewise.
24166 (FPE_INTDIV): Likewise.
24167 (FPE_INTOVF): Likewise.
24168 (FPE_FLTDIV): Likewise.
24169 (FPE_FLTOVF): Likewise.
24170 (FPE_FLTUND): Likewise.
24171 (FPE_FLTRES): Likewise.
24172 (FPE_FLTINV): Likewise.
24173 (FPE_FLTSUB): Likewise.
24174 (SEGV_MAPERR): Likewise.
24175 (SEGV_ACCERR): Likewise.
24176 (BUS_ADRALN): Likewise.
24177 (BUS_ADRERR): Likewise.
24178 (BUS_OBJERR): Likewise.
24179 (BUS_MCEERR_AR): Likewise.
24180 (BUS_MCEERR_AO): Likewise.
24181 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24182 (TRAP_TRACE): Likewise.
24183 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24184 __USE_XOPEN2K8].
24185 (CLD_KILLED): Likewise.
24186 (CLD_DUMPED): Likewise.
24187 (CLD_TRAPPED): Likewise.
24188 (CLD_STOPPED): Likewise.
24189 (CLD_CONTINUED): Likewise.
24190 (POLL_IN): Likewise.
24191 (POLL_OUT): Likewise.
24192 (POLL_MSG): Likewise.
24193 (POLL_ERR): Likewise.
24194 (POLL_PRI): Likewise.
24195 (POLL_HUP): Likewise.
24196 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
24197 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24198
24199 [BZ #16670]
24200 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
24201 before #include of <time.h>.
24202 [!__USE_XOPEN2K] (__need_timespec): Likewise.
24203 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
24204 (test-xfail-UNIX98/sched.h/conform): Likewise.
24205
24206 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
24207
24208 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
24209 error absence of trapping exception support.
24210 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
24211
24212 2014-03-07 Joseph Myers <joseph@codesourcery.com>
24213
24214 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
24215 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
24216 * timezone/Makefile (testdata): Move definition above include of
24217 Rules.
24218 (test-zones): New variable.
24219 (tests-special): Add zone files.
24220 (build-testdata): Use $(evaluate-test).
24221
24222 * elf/Makefile (tests-special): Rename tests to end with .out.
24223 ($(objpfx)noload-mem): Likewise.
24224 ($(objpfx)tst-leaks1-mem): Likewise.
24225 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
24226 * iconv/Makefile (xtests-special): Change test-iconvconfig to
24227 $(objpfx)test-iconvconfig.out.
24228 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
24229 set -e inside subshell and redirect output to file.
24230 * iconvdata/Makefile (generated): Rename tests to end with .out.
24231 Correct type.
24232 (tests-special): Rename tests to end with .out.
24233 ($(objpfx)mtrace-tst-loading): Likewise.
24234 * intl/Makefile (generated): Likewise.
24235 (tests-special): Likewise.
24236 ($(objpfx)mtrace-tst-gettext): Likewise.
24237 * misc/Makefile (generated): Likewise.
24238 (tests-special): Likewise.
24239 ($(objpfx)tst-error1-mem): Likewise.
24240 * nptl/Makefile (tests-special): Likewise.
24241 ($(objpfx)tst-stack3-mem): Likewise.
24242 (generated): Likewise.
24243 * posix/Makefile (generated): Likewise.
24244 (tests-special): Likewise.
24245 (xtests-special): Likewise.
24246 ($(objpfx)tst-fnmatch-mem): Likewise.
24247 ($(objpfx)bug-regex2-mem): Likewise.
24248 ($(objpfx)bug-regex14-mem): Likewise.
24249 ($(objpfx)bug-regex21-mem): Likewise.
24250 ($(objpfx)bug-regex31-mem): Likewise.
24251 ($(objpfx)tst-vfork3-mem): Likewise.
24252 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24253 ($(objpfx)tst-pcre-mem): Likewise.
24254 ($(objpfx)tst-boost-mem): Likewise.
24255 ($(objpfx)bug-ga2-mem): Likewise.
24256 ($(objpfx)bug-glob2-mem): Likewise.
24257 * resolv/Makefile (generate): Likewise.
24258 (tests-special): Likewise.
24259 (xtests-special): Likewise.
24260 (generated): Likewise.
24261 ($(objpfx)mtrace-tst-leaks): Likewise.
24262 ($(objpfx)mtrace-tst-leaks2): Likewise.
24263
24264 * scripts/merge-test-results.sh: New file.
24265 * Makefile (tests-special-notdir): New variable.
24266 (tests): Run merge-test-results.sh.
24267 (xtests): Likewise.
24268 * Rules (tests-special-notdir): New variable.
24269 (xtests-special-notdir): Likewise.
24270 (tests): Run merge-test-results.sh
24271 (xtests): Likewise.
24272
24273 * Makeconfig (test-xfail-name): New variable.
24274 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
24275 compute variable name for expected failures.
24276 * conform/Makefile (conformtest-headers-data): New variable.
24277 (conformtest-standards): Likewise.
24278 (conformtest-headers-ISO): Likewise.
24279 (conformtest-headers-ISO99): Likewise.
24280 (conformtest-headers-ISO11): Likewise.
24281 (conformtest-headers-POSIX): Likewise.
24282 (conformtest-headers-XPG3): Likewise.
24283 (conformtest-headers-XPG4): Likewise.
24284 (conformtest-headers-UNIX98): Likewise.
24285 (conformtest-headers-XOPEN2K): Likewise.
24286 (conformtest-headers-POSIX2008): Likewise.
24287 (conformtest-headers-XOPEN2K8): Likewise.
24288 (conformtest-header-list-base): Likewise.
24289 (conformtest-header-list-tests): Likewise.
24290 (conformtest-header-base): Likewise.
24291 (conformtest-header-tests): Likewise.
24292 (tests-special): Add $(conformtest-header-list-tests). If
24293 [$(fast-check) && !$(cross-compiling)], add
24294 $(conformtest-header-tests) instead of
24295 $(objpfx)run-conformtest.out.
24296 (generated): Add $(conformtest-header-list-base). If
24297 [$(fast-check) && !$(cross-compiling)], add
24298 $(conformtest-header-base). Remove previous setting.
24299 ($(conformtest-header-list-tests)): New target.
24300 (test-xfail-run-conformtest): Remove variable.
24301 ($(objpfx)run-conformtest.out): Remove target.
24302 (test-xfail-ISO11/complex.h/conform): New variable.
24303 (test-xfail-ISO11/stdalign.h/conform): Likewise.
24304 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
24305 (test-xfail-XPG3/varargs.h/conform): Likewise.
24306 (test-xfail-XPG4/varargs.h/conform): Likewise.
24307 (test-xfail-UNIX98/varargs.h/conform): Likewise.
24308 (test-xfail-XPG4/ndbm.h/conform): Likewise.
24309 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
24310 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
24311 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
24312 (test-xfail-XPG3/fcntl.h/conform): Likewise.
24313 (test-xfail-XPG3/ftw.h/conform): Likewise.
24314 (test-xfail-XPG3/grp.h/conform): Likewise.
24315 (test-xfail-XPG3/langinfo.h/conform): Likewise.
24316 (test-xfail-XPG3/limits.h/conform): Likewise.
24317 (test-xfail-XPG3/pwd.h/conform): Likewise.
24318 (test-xfail-XPG3/search.h/conform): Likewise.
24319 (test-xfail-XPG3/signal.h/conform): Likewise.
24320 (test-xfail-XPG3/stdio.h/conform): Likewise.
24321 (test-xfail-XPG3/stdlib.h/conform): Likewise.
24322 (test-xfail-XPG3/string.h/conform): Likewise.
24323 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
24324 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
24325 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24326 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24327 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
24328 (test-xfail-XPG3/sys/types.h/conform): Likewise.
24329 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
24330 (test-xfail-XPG3/termios.h/conform): Likewise.
24331 (test-xfail-XPG3/time.h/conform): Likewise.
24332 (test-xfail-XPG3/unistd.h/conform): Likewise.
24333 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
24334 (test-xfail-XPG4/fcntl.h/conform): Likewise.
24335 (test-xfail-XPG4/langinfo.h/conform): Likewise.
24336 (test-xfail-XPG4/netdb.h/conform): Likewise.
24337 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
24338 (test-xfail-XPG4/signal.h/conform): Likewise.
24339 (test-xfail-XPG4/stdio.h/conform): Likewise.
24340 (test-xfail-XPG4/stdlib.h/conform): Likewise.
24341 (test-xfail-XPG4/stropts.h/conform): Likewise.
24342 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24343 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24344 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24345 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24346 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24347 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
24348 (test-xfail-XPG4/sys/time.h/conform): Likewise.
24349 (test-xfail-XPG4/sys/types.h/conform): Likewise.
24350 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
24351 (test-xfail-XPG4/termios.h/conform): Likewise.
24352 (test-xfail-XPG4/ucontext.h/conform): Likewise.
24353 (test-xfail-XPG4/unistd.h/conform): Likewise.
24354 (test-xfail-XPG4/utmpx.h/conform): Likewise.
24355 (test-xfail-POSIX/sched.h/conform): Likewise.
24356 (test-xfail-POSIX/signal.h/conform): Likewise.
24357 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24358 (test-xfail-POSIX/tar.h/conform): Likewise.
24359 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
24360 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
24361 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
24362 (test-xfail-UNIX98/netdb.h/conform): Likewise.
24363 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
24364 (test-xfail-UNIX98/sched.h/conform): Likewise.
24365 (test-xfail-UNIX98/signal.h/conform): Likewise.
24366 (test-xfail-UNIX98/stdio.h/conform): Likewise.
24367 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
24368 (test-xfail-UNIX98/stropts.h/conform): Likewise.
24369 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24370 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24371 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24372 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24373 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24374 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
24375 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
24376 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
24377 (test-xfail-UNIX98/unistd.h/conform): Likewise.
24378 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
24379 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
24380 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
24381 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
24382 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
24383 (test-xfail-XOPEN2K/math.h/conform): Likewise.
24384 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
24385 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24386 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24387 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
24388 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
24389 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
24390 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
24391 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24392 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24393 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24394 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24395 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24396 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24397 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
24398 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
24399 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
24400 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
24401 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24402 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
24403 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24404 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
24405 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
24406 (test-xfail-POSIX2008/signal.h/conform): Likewise.
24407 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24408 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
24409 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
24410 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24411 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24412 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
24413 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
24414 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24415 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24416 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
24417 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
24418 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24419 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24420 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24421 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
24422 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24423 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24424 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24425 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24426 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
24427 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
24428 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
24429 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
24430 (conformtest-cc-flags): Likewise.
24431 ($(conformtest-header-tests): New target.
24432 * conform/check-header-lists.sh: New file.
24433 * conform/run-conformtest.sh: Remove.
24434
24435 * conform/conformtest.pl: Allow ' and \ in values given for
24436 constants.
24437 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
24438 inclusion.
24439 [POSIX] (sys/types.h): Likewise.
24440 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
24441 inclusion.
24442 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
24443 inclusion.
24444 * conform/data/signal.h-data (SIGIO): Remove expectation.
24445 [XPG3] (SIGBUS): Do not expect.
24446 [POSIX || XPG3] (SIGPOLL): Likewise.
24447 [POSIX || XPG3] (SIGPROF): Likewise.
24448 [POSIX || XPG3] (SIGSYS): Likewise.
24449 [XPG3] (SIGTRAP): Likewise.
24450 [POSIX || XPG3] (SIGURG): Likewise.
24451 [POSIX || XPG3] (SIGVTALRM): Likewise.
24452 [POSIX || XPG3] (SIGXCPU): Likewise.
24453 [POSIX || XPG3] (SIGXFSZ): Likewise.
24454 [POSIX] (SA_SIGINFO): Expect.
24455 [XPG3] (siginfo_t): Do not expect type or contents.
24456 [POSIX] (si_pid): Do not expect element.
24457 [POSIX] (si_uid): Likewise.
24458 [POSIX] (si_addr): Likewise.
24459 [POSIX] (si_status): Likewise.
24460 [POSIX] (si_band): Likewise.
24461 [XPG4] (si_value): Likewise.
24462 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
24463 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
24464 [POSIX || XPG3] (ILL_ILLADR): Likewise.
24465 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
24466 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
24467 [POSIX || XPG3] (ILL_PRVREG): Likewise.
24468 [POSIX || XPG3] (ILL_COPROC): Likewise.
24469 [POSIX || XPG3] (ILL_BADSTK): Likewise.
24470 [POSIX || XPG3] (FPE_INTDIV): Likewise.
24471 [POSIX || XPG3] (FPE_INTOVF): Likewise.
24472 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
24473 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
24474 [POSIX || XPG3] (FPE_FLTUND): Likewise.
24475 [POSIX || XPG3] (FPE_FLTRES): Likewise.
24476 [POSIX || XPG3] (FPE_FLTINV): Likewise.
24477 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
24478 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
24479 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
24480 [POSIX || XPG3] (BUS_ADRALN): Likewise.
24481 [POSIX || XPG3] (BUS_ADRERR): Likewise.
24482 [POSIX || XPG3] (BUS_OBJERR): Likewise.
24483 [POSIX || XPG3] (CLD_EXITED): Likewise.
24484 [POSIX || XPG3] (CLD_KILLED): Likewise.
24485 [POSIX || XPG3] (CLD_DUMPED): Likewise.
24486 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
24487 [POSIX || XPG3] (CLD_STOPPED): Likewise.
24488 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
24489 [POSIX || XPG3] (POLL_IN): Likewise.
24490 [POSIX || XPG3] (POLL_OUT): Likewise.
24491 [POSIX || XPG3] (POLL_MSG): Likewise.
24492 [POSIX || XPG3] (POLL_ERR): Likewise.
24493 [POSIX || XPG3] (POLL_PRI): Likewise.
24494 [POSIX || XPG3] (POLL_HUP): Likewise.
24495 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
24496 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
24497 (SIG*): Do not allow.
24498 [XPG3] (si_*): Likewise.
24499 [XPG3] (SI_*): Likewise.
24500 [XPG3 || XPG4] (sigev_*): Likewise.
24501 [XPG3 || XPG4] (SIGEV_*): Likewise.
24502 [XPG3 || XPG4] (sival_*): Likewise.
24503 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
24504 [POSIX || XPG3] (BUS_*): Likewise.
24505 [POSIX || XPG3] (CLD_*): Likewise.
24506 [POSIX || XPG3] (FPE_*): Likewise.
24507 [POSIX || XPG3] (ILL_*): Likewise.
24508 [POSIX || XPG3] (POLL_*): Likewise.
24509 [POSIX || XPG3] (SEGV_*): Likewise.
24510 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
24511 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
24512 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
24513 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
24514 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
24515 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
24516 Specify type and value.
24517 (TVERSLEN): Likewise.
24518 (REGTYPE): Likewise.
24519 (AREGTYPE): Likewise.
24520 (LNKTYPE): Likewise.
24521 (SYMTYPE): Likewise.
24522 (CHRTYPE): Likewise.
24523 (BLKTYPE): Likewise.
24524 (DIRTYPE): Likewise.
24525 (FIFOTYPE): Likewise.
24526 (CONTTYPE): Likewise.
24527 (TSUID): Likewise.
24528 (TSGID): Likewise.
24529 (TSVTX): Likewise.
24530 (TUREAD): Likewise.
24531 (TUWRITE): Likewise.
24532 (TUEXEC): Likewise.
24533 (TGREAD): Likewise.
24534 (TGWRITE): Likewise.
24535 (TGEXEC): Likewise.
24536 (TOREAD): Likewise.
24537 (TOWRITE): Likewise.
24538 (TOEXEC): Likewise.
24539 [POSIX] (TSVTX): Expect constant.
24540
24541 2014-03-06 Joseph Myers <joseph@codesourcery.com>
24542
24543 * Makefile (tests): Change dependencies to ....
24544 (tests-special): ... additions to this variable.
24545 (tests): Depend on $(tests-special).
24546 * Makerules (check-abi-list): New variable.
24547 (check-abi): Depend on $(check-abi-list).
24548 [$(subdir) = elf] (tests-special): Add
24549 $(objpfx)check-abi-libc.out.
24550 [$(build-shared) = yes && subdir] (tests-special): Add
24551 $(check-abi-list).
24552 [$(build-shared) = yes && subdir] (tests): Do not depend on
24553 check-abi.
24554 * Rules (tests): Depend on $(tests-special).
24555 (xtests): Depend on $(xtests-special).
24556 * catgets/Makefile (tests): Change dependencies to ....
24557 (tests-special): ... additions to this variable.
24558 * conform/Makefile (tests): Change dependencies to ....
24559 (tests-special): ... additions to this variable.
24560 * elf/Makefile (tests): Change dependencies to ....
24561 (tests-special): ... additions to this variable.
24562 * grp/Makefile (tests): Change dependencies to ....
24563 (tests-special): ... additions to this variable.
24564 * iconv/Makefile (xtests): Change dependencies to ....
24565 (xtests-special): ... additions to this variable.
24566 * iconvdata/Makefile (tests): Change dependencies to ....
24567 (tests-special): ... additions to this variable.
24568 * intl/Makefile (tests): Change dependencies to ....
24569 (tests-special): ... additions to this variable. Also add
24570 $(objpfx)tst-gettext.out.
24571 * io/Makefile (tests): Change dependencies to ....
24572 (tests-special): ... additions to this variable.
24573 * libio/Makefile (tests): Change dependencies to ....
24574 (tests-special): ... additions to this variable.
24575 * malloc/Makefile (tests): Change dependencies to ....
24576 (tests-special): ... additions to this variable.
24577 * misc/Makefile (tests): Change dependencies to ....
24578 (tests-special): ... additions to this variable.
24579 * nptl/Makefile (tests): Change dependencies to ....
24580 (tests-special): ... additions to this variable.
24581 * nptl_db/Makefile (tests): Change dependencies to ....
24582 (tests-special): ... additions to this variable.
24583 * posix/Makefile (tests): Change dependencies to ....
24584 (tests-special): ... additions to this variable.
24585 (xtests): Change dependencies to ....
24586 (xtests-special): ... additions to this variable.
24587 * resolv/Makefile (tests): Change dependencies to ....
24588 (tests-special): ... additions to this variable.
24589 (xtests): Change dependencies to ....
24590 (xtests-special): ... additions to this variable.
24591 * stdio-common/Makefile (tests): Change dependencies to ....
24592 (tests-special): ... additions to this variable.
24593 (do-tst-unbputc): Remove target.
24594 (do-tst-printf): Likewise.
24595 * stdlib/Makefile (tests): Change dependencies to ....
24596 (tests-special): ... additions to this variable.
24597 * string/Makefile (tests): Change dependencies to ....
24598 (tests-special): ... additions to this variable.
24599 * sysdeps/x86/Makefile (tests): Change dependencies to ....
24600 (tests-special): ... additions to this variable.
24601
24602 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
24603 whole file.
24604 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
24605 whole file.
24606 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
24607 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
24608
24609 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
24610 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
24611 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
24612 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
24613 * conform/data/libgen.h-data [XPG3]: Likewise.
24614 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
24615 * conform/data/ndbm.h-data [XPG3]: Likewise.
24616 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24617 * conform/data/netdb.h-data [XPG3]: Likewise.
24618 * conform/data/netinet/in.h-data [XPG3]: Likewise.
24619 * conform/data/poll.h-data [XPG3]: Likewise.
24620 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24621 * conform/data/strings.h-data [XPG3]: Likewise.
24622 * conform/data/stropts.h-data [XPG3]: Likewise.
24623 * conform/data/sys/mman.h-data [XPG3]: Likewise.
24624 * conform/data/sys/resource.h-data [XPG3]: Likewise.
24625 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
24626 Likewise.
24627 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
24628 * conform/data/sys/time.h-data [XPG3]: Likewise.
24629 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
24630 * conform/data/sys/uio.h-data [XPG3]: Likewise.
24631 * conform/data/sys/un.h-data [XPG3]: Likewise.
24632 * conform/data/syslog.h-data [XPG3]: Likewise.
24633 * conform/data/ucontext.h-data [XPG3]: Likewise.
24634 * conform/data/utmpx.h-data [XPG3]: Likewise.
24635 * conform/data/varargs.h-data [UNIX98]: Enable file.
24636
24637 * manual/Makefile (INSTALL_INFO): Remove variable setting.
24638
24639 * math/libm-test.inc (struct test_f_f_data): Move expected results
24640 into structure for each rounding mode.
24641 (struct test_ff_f_data): Likewise.
24642 (struct test_ff_f_data_nexttoward): Likewise.
24643 (struct test_fi_f_data): Likewise.
24644 (struct test_fl_f_data): Likewise.
24645 (struct test_if_f_data): Likewise.
24646 (struct test_fff_f_data): Likewise.
24647 (struct test_c_f_data): Likewise.
24648 (struct test_f_f1_data): Likewise.
24649 (struct test_fF_f1_data): Likewise.
24650 (struct test_ffI_f1_data): Likewise.
24651 (struct test_c_c_data): Likewise.
24652 (struct test_cc_c_data): Likewise.
24653 (struct test_f_i_data): Likewise.
24654 (struct test_ff_i_data): Likewise.
24655 (struct test_f_l_data): Likewise.
24656 (struct test_f_L_data): Likewise.
24657 (struct test_fFF_11_data): Likewise.
24658 (RM_): New macro.
24659 (RM_FE_DOWNWARD): Likewise.
24660 (RM_FE_TONEAREST): Likewise.
24661 (RM_FE_TOWARDZERO): Likewise.
24662 (RM_FE_UPWARD): Likewise.
24663 (RUN_TEST_LOOP_f_f): Update references to expected results.
24664 (RUN_TEST_LOOP_2_f): Likewise.
24665 (RUN_TEST_LOOP_fff_f): Likewise.
24666 (RUN_TEST_LOOP_c_f): Likewise.
24667 (RUN_TEST_LOOP_f_f1): Likewise.
24668 (RUN_TEST_LOOP_fF_f1): Likewise.
24669 (RUN_TEST_LOOP_fI_f1): Likewise.
24670 (RUN_TEST_LOOP_ffI_f1): Likewise.
24671 (RUN_TEST_LOOP_c_c): Likewise.
24672 (RUN_TEST_LOOP_cc_c): Likewise.
24673 (RUN_TEST_LOOP_f_i): Likewise.
24674 (RUN_TEST_LOOP_f_i_tg): Likewise.
24675 (RUN_TEST_LOOP_ff_i_tg): Likewise.
24676 (RUN_TEST_LOOP_f_b): Likewise.
24677 (RUN_TEST_LOOP_f_b_tg): Likewise.
24678 (RUN_TEST_LOOP_f_l): Likewise.
24679 (RUN_TEST_LOOP_f_L): Likewise.
24680 (RUN_TEST_LOOP_fFF_11): Likewise.
24681 * math/gen-libm-test.pl (parse_args): Output four copies of
24682 expected results for each test.
24683
24684 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24685 (__ASSUME_UTIMES): Remove.
24686 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24687 (__ASSUME_UTIMES): Likewise.
24688
24689 * math/gen-auto-libm-tests.c: Update comment on output format.
24690 (output_for_one_input_case): Generate before-rounding and
24691 after-rounding information as conditions on output flags not
24692 floating-point format.
24693 * math/auto-libm-test-out: Regenerated.
24694 * math/gen-libm-test.pl (cond_value): New function.
24695 (or_cond_value): Use cond_value.
24696 (generate_testfile): Handle conditional exceptions.
24697
24698 2014-03-05 Joseph Myers <joseph@codesourcery.com>
24699
24700 * math/libm-test.inc (max_valid_error): New variable.
24701 (init_max_error): Take new argument specifying whether function
24702 results are exactly determined. Set max_valid_error and bound
24703 other variables for errors based on this argument.
24704 (set_max_error): Do not record results above max_valid_error.
24705 (check_float_internal): Only accept errors of up to 0.5ulps if
24706 also at most max_valid_error.
24707 (START): Take new argument EXACT and pass it to init_max_error.
24708 (acos_test): Update call to START.
24709 (acos_test_tonearest): Likewise.
24710 (acos_test_towardzero): Likewise.
24711 (acos_test_downward): Likewise.
24712 (acos_test_upward): Likewise.
24713 (acosh_test): Likewise.
24714 (asin_test): Likewise.
24715 (asin_test_tonearest): Likewise.
24716 (asin_test_towardzero): Likewise.
24717 (asin_test_downward): Likewise.
24718 (asin_test_upward): Likewise.
24719 (asinh_test): Likewise.
24720 (atan_test): Likewise.
24721 (atanh_test): Likewise.
24722 (atan2_test): Likewise.
24723 (cabs_test): Likewise.
24724 (cacos_test): Likewise.
24725 (cacosh_test): Likewise.
24726 (carg_test): Likewise.
24727 (casin_test): Likewise.
24728 (casinh_test): Likewise.
24729 (catan_test): Likewise.
24730 (catanh_test): Likewise.
24731 (cbrt_test): Likewise.
24732 (ccos_test): Likewise.
24733 (ccosh_test): Likewise.
24734 (ceil_test): Likewise.
24735 (cexp_test): Likewise.
24736 (cimag_test): Likewise.
24737 (clog_test): Likewise.
24738 (clog10_test): Likewise.
24739 (conj_test): Likewise.
24740 (copysign_test): Likewise.
24741 (cos_test): Likewise.
24742 (cos_test_tonearest): Likewise.
24743 (cos_test_towardzero): Likewise.
24744 (cos_test_downward): Likewise.
24745 (cos_test_upward): Likewise.
24746 (cosh_test): Likewise.
24747 (cosh_test_tonearest): Likewise.
24748 (cosh_test_towardzero): Likewise.
24749 (cosh_test_downward): Likewise.
24750 (cosh_test_upward): Likewise.
24751 (cpow_test): Likewise.
24752 (cproj_test): Likewise.
24753 (creal_test): Likewise.
24754 (csin_test): Likewise.
24755 (csinh_test): Likewise.
24756 (csqrt_test): Likewise.
24757 (ctan_test): Likewise.
24758 (ctan_test_tonearest): Likewise.
24759 (ctan_test_towardzero): Likewise.
24760 (ctan_test_downward): Likewise.
24761 (ctan_test_upward): Likewise.
24762 (ctanh_test): Likewise.
24763 (ctanh_test_tonearest): Likewise.
24764 (ctanh_test_towardzero): Likewise.
24765 (ctanh_test_downward): Likewise.
24766 (ctanh_test_upward): Likewise.
24767 (erf_test): Likewise.
24768 (erfc_test): Likewise.
24769 (exp_test): Likewise.
24770 (exp_test_tonearest): Likewise.
24771 (exp_test_towardzero): Likewise.
24772 (exp_test_downward): Likewise.
24773 (exp_test_upward): Likewise.
24774 (exp10_test): Likewise.
24775 (exp10_test_tonearest): Likewise.
24776 (exp10_test_towardzero): Likewise.
24777 (exp10_test_downward): Likewise.
24778 (exp10_test_upward): Likewise.
24779 (pow10_test): Likewise.
24780 (exp2_test): Likewise.
24781 (expm1_test): Likewise.
24782 (expm1_test_tonearest): Likewise.
24783 (expm1_test_towardzero): Likewise.
24784 (expm1_test_downward): Likewise.
24785 (expm1_test_upward): Likewise.
24786 (fabs_test): Likewise.
24787 (fdim_test): Likewise.
24788 (floor_test): Likewise.
24789 (fma_test): Likewise.
24790 (fma_test_towardzero): Likewise.
24791 (fma_test_downward): Likewise.
24792 (fma_test_upward): Likewise.
24793 (fmax_test): Likewise.
24794 (fmin_test): Likewise.
24795 (fmod_test): Likewise.
24796 (fpclassify_test): Likewise.
24797 (frexp_test): Likewise.
24798 (hypot_test): Likewise.
24799 (ilogb_test): Likewise.
24800 (isfinite_test): Likewise.
24801 (finite_test): Likewise.
24802 (isgreater_test): Likewise.
24803 (isgreaterequal_test): Likewise.
24804 (isinf_test): Likewise.
24805 (isless_test): Likewise.
24806 (islessequal_test): Likewise.
24807 (islessgreater_test): Likewise.
24808 (isnan_test): Likewise.
24809 (isnormal_test): Likewise.
24810 (issignaling_test): Likewise.
24811 (isunordered_test): Likewise.
24812 (j0_test): Likewise.
24813 (j1_test): Likewise.
24814 (jn_test): Likewise.
24815 (ldexp_test): Likewise.
24816 (lgamma_test): Likewise.
24817 (gamma_test): Likewise.
24818 (lrint_test): Likewise.
24819 (lrint_test_tonearest): Likewise.
24820 (lrint_test_towardzero): Likewise.
24821 (lrint_test_downward): Likewise.
24822 (lrint_test_upward): Likewise.
24823 (llrint_test): Likewise.
24824 (llrint_test_tonearest): Likewise.
24825 (llrint_test_towardzero): Likewise.
24826 (llrint_test_downward): Likewise.
24827 (llrint_test_upward): Likewise.
24828 (log_test): Likewise.
24829 (log10_test): Likewise.
24830 (log1p_test): Likewise.
24831 (log2_test): Likewise.
24832 (logb_test): Likewise.
24833 (logb_test_downward): Likewise.
24834 (lround_test): Likewise.
24835 (llround_test): Likewise.
24836 (modf_test): Likewise.
24837 (nearbyint_test): Likewise.
24838 (nextafter_test): Likewise.
24839 (nexttoward_test): Likewise.
24840 (pow_test): Likewise.
24841 (pow_test_tonearest): Likewise.
24842 (pow_test_towardzero): Likewise.
24843 (pow_test_downward): Likewise.
24844 (pow_test_upward): Likewise.
24845 (remainder_test): Likewise.
24846 (drem_test): Likewise.
24847 (remainder_test_tonearest): Likewise.
24848 (drem_test_tonearest): Likewise.
24849 (remainder_test_towardzero): Likewise.
24850 (drem_test_towardzero): Likewise.
24851 (remainder_test_downward): Likewise.
24852 (drem_test_downward): Likewise.
24853 (remainder_test_upward): Likewise.
24854 (drem_test_upward): Likewise.
24855 (remquo_test): Likewise.
24856 (rint_test): Likewise.
24857 (rint_test_tonearest): Likewise.
24858 (rint_test_towardzero): Likewise.
24859 (rint_test_downward): Likewise.
24860 (rint_test_upward): Likewise.
24861 (round_test): Likewise.
24862 (scalb_test): Likewise.
24863 (scalbn_test): Likewise.
24864 (scalbln_test): Likewise.
24865 (signbit_test): Likewise.
24866 (sin_test): Likewise.
24867 (sin_test_tonearest): Likewise.
24868 (sin_test_towardzero): Likewise.
24869 (sin_test_downward): Likewise.
24870 (sin_test_upward): Likewise.
24871 (sincos_test): Likewise.
24872 (sinh_test): Likewise.
24873 (sinh_test_tonearest): Likewise.
24874 (sinh_test_towardzero): Likewise.
24875 (sinh_test_downward): Likewise.
24876 (sinh_test_upward): Likewise.
24877 (sqrt_test): Likewise.
24878 (sqrt_test_tonearest): Likewise.
24879 (sqrt_test_towardzero): Likewise.
24880 (sqrt_test_downward): Likewise.
24881 (sqrt_test_upward): Likewise.
24882 (tan_test): Likewise.
24883 (tan_test_tonearest): Likewise.
24884 (tan_test_towardzero): Likewise.
24885 (tan_test_downward): Likewise.
24886 (tan_test_upward): Likewise.
24887 (tanh_test): Likewise.
24888 (tgamma_test): Likewise.
24889 (trunc_test): Likewise.
24890 (y0_test): Likewise.
24891 (y1_test): Likewise.
24892 (yn_test): Likewise.
24893 (significand_test): Likewise.
24894
24895 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
24896 individual tests in comment.
24897 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
24898 (prev_max_error): New variable.
24899 (prev_real_max_error): Likewise.
24900 (prev_imag_max_error): Likewise.
24901 (compare_ulp_data): Don't refer to test names in comment.
24902 (find_test_ulps): Remove function.
24903 (find_function_ulps): Likewise.
24904 (find_complex_function_ulps): Likewise.
24905 (init_max_error): Take function name as argument. Look up ulps
24906 for that function.
24907 (print_ulps): Remove function.
24908 (print_max_error): Use prev_max_error instead of calling
24909 find_function_ulps.
24910 (print_complex_max_error): Use prev_real_max_error and
24911 prev_imag_max_error instead of calling find_complex_function_ulps.
24912 (check_float_internal): Take max_ulp parameter instead of calling
24913 find_test_ulps. Don't call print_ulps.
24914 (check_float): Update call to check_float_internal.
24915 (check_complex): Update calls to check_float_internal.
24916 (START): Pass argument to init_max_error.
24917 * math/gen-libm-test.pl (%results): Don't include "kind"
24918 information.
24919 (parse_ulps): Don't handle ulps of individual tests.
24920 (print_ulps_file): Likewise.
24921 (output_ulps): Likewise.
24922 * math/README.libm-test: Update.
24923 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
24924 individual tests.
24925 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
24926 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
24927 * sysdeps/arm/libm-test-ulps: Likewise.
24928 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24929 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
24930 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
24931 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
24932 * sysdeps/microblaze/libm-test-ulps: Likewise.
24933 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24934 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24935 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24936 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24937 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24938 * sysdeps/sh/libm-test-ulps: Likewise.
24939 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24940 * sysdeps/tile/libm-test-ulps: Likewise.
24941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24942
24943 2014-03-04 Joseph Myers <joseph@codesourcery.com>
24944
24945 * math/libm-test.inc (print_complex_max_error): Check separately
24946 whether real and imaginary errors are within allowed range and
24947 pass 0 to print_complex_function_ulps instead of value within
24948 allowed range.
24949
24950 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24951
24952 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
24953 formatting.
24954 (get_handles_fopen): Likewise.
24955 (do_write_test): Likewise.
24956
24957 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
24958
24959 * libio/fileops.c (do_ftell): Use cached offset when
24960 available.
24961 * libio/iofwide.c (do_ftell_wide): Likewise.
24962 * libio/iofdopen.c (_IO_new_fdopen): Don't use
24963 _IO_file_attach.
24964 * libio/wfileops.c (_IO_fwide): Don't cache offset.
24965
24966 [BZ #16532]
24967 * libio/libioP.h (get_file_offset): New function.
24968 * libio/fileops.c (get_file_offset): Likewise.
24969 (do_ftell): Likewise.
24970 (_IO_new_file_seekoff): Split out ftell logic.
24971 * libio/wfileops.c (do_ftell_wide): Likewise.
24972 (_IO_wfile_seekoff): Split out ftell logic.
24973 * libio/tst-ftell-active-handler.c: New test case.
24974 * libio/Makefile (tests): Add it.
24975
24976 2014-03-03 Roland McGrath <roland@hack.frob.com>
24977
24978 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
24979 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
24980
24981 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24982
24983 [BZ #16639]
24984 * nscd/connections.c (nscd_init): Call do_exit.
24985 (start_threads): Call do_exit and notify_parent.
24986 (begin_drop_privileges): Call do_exit.
24987 (finish_drop_privileges): Likewise.
24988 * nscd/selinux.c (preserve_capabilities): Likewise.
24989 (install_real_capabilities): Likewise.
24990 (nscd_selinux_enabled): Likewise.
24991 (avc_create_thread): Likewise.
24992 (avc_alloc_lock): Likewise.
24993 (nscd_avc_init): Likewise.
24994 * nscd/nscd.c (parent_fd): New static variable.
24995 (main): Create a pipe between parent and child processes.
24996 Skip closing parent_fd.
24997 (monitor_child): New function.
24998 (do_exit): Likewise.
24999 (notify_parent): Likewise.
25000 * nscd/nscd.h (notify_parent): Likewise.
25001 (do_exit): Likewise.
25002
25003 2014-03-03 Carlos O'Donell <carlos@redhat.com>
25004
25005 * malloc/malloc.c (__libc_calloc): Revert last change.
25006
25007 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25008
25009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25010
25011 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25012
25013 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
25014 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
25015 implementation.
25016 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25017 (__libc_ifunc_impl_list): Likewise.
25018 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
25019 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
25020 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
25021 * string/strrchr.c: Define STRRCHR.
25022
25023 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
25024
25025 * benchtest/bench-strtok.c (simple_strtok): Delete.
25026 (strtok_string): Use as benchmark.
25027 * string/strtok (STRTOK): New macro.
25028
25029 2014-02-28 Carlos O'Donell <carlos@redhat.com>
25030
25031 * manual/threads.texi: Add header and standard comments to all
25032 functions.
25033
25034 * elf/dl-lookup.c (check_match): New function.
25035 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
25036 (do_lookup_x): Remove nested function check_match. Use non-nested
25037 function check_match.
25038
25039 2014-02-28 Roland McGrath <roland@hack.frob.com>
25040
25041 * csu/Makefile (generated, before-compile): Use += rather than =.
25042 * catgets/Makefile (generated, generated-dirs): Likewise.
25043 * debug/Makefile (generated): Likewise.
25044 * dlfcn/Makefile (generated): Likewise.
25045 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
25046 * iconvdata/Makefile (before-compile, generated): Likewise.
25047 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
25048 * libio/Makefile (generated): Likewise.
25049 * malloc/Makefile (generated): Likewise.
25050 * manual/Makefile (generated, generated-dirs): Likewise.
25051 * misc/Makefile (generated): Likewise.
25052 * posix/Makefile (generated): Likewise.
25053 * resolv/Makefile (generated): Likewise.
25054 * sunrpc/Makefile (generated, generated-dirs): Likewise.
25055 * timezone/Makefile (generated, generated-dirs): Likewise.
25056
25057 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
25058
25059 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25060
25061 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25062 power8 implementation.
25063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
25064 file: POWER8 llround ifunc implementation.
25065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25066 (__lllround): Add POWER8 implementation.
25067 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
25068 POWER8 llround implementation.
25069
25070 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
25071 power8 implementation.
25072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
25073 file: POWER8 llrint ifunc implementation.
25074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
25075 Add POWER8 implementation.
25076 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
25077 POWER8 llrint implementation.
25078
25079 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
25080 power8 implementation.
25081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
25082 file: POWER8 finite ifunc implementation.
25083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
25084 Add POWER8 implementation.
25085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
25086 Likewise.
25087 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
25088 POWER8 finite implementation.
25089 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
25090
25091 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
25092 power8 implementation.
25093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
25094 file: POWER8 isinf ifunc implementation.
25095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
25096 POWER8 implementation.
25097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
25098 Likewise.
25099 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
25100 isinf implementation.
25101 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
25102
25103 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25104 (INIT_ARCH): Add hwcap2 initialization.
25105 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25106 power8 implementation.
25107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
25108 file: POWER8 isnan ifunc implementation.
25109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
25110 POWER8 implementation.
25111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
25112 Likewise.
25113 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
25114 isnan implementation.
25115 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
25116
25117 2014-02-27 Joey Ye <joey.ye@arm.com>
25118
25119 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
25120 (_FP_NANFRAC_Q): Set to zero.
25121
25122 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25123
25124 [BZ #16623]
25125 * math/auto-libm-test-in: New test inputs.
25126 * math/auto-libm-test-out: Regenerate.
25127 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
25128 and DA.
25129 (__cos): Likewise.
25130 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25131
25132 2014-02-27 Joseph Myers <joseph@codesourcery.com>
25133
25134 * scripts/evaluate-test.sh: Take new argument indicating whether
25135 failure is expected.
25136 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
25137 indicating whether failure is expected.
25138 * conform/Makefile (test-xfail-run-conformtest): New variable.
25139 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
25140 level.
25141 * posix/Makefile (test-xfail-annexc): New variable.
25142 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
25143
25144 2014-02-26 Joseph Myers <joseph@codesourcery.com>
25145
25146 * argp/Makefile: Include Makeconfig immediately after defining
25147 subdir.
25148 * assert/Makefile: Likewise.
25149 * benchtests/Makefile: Likewise.
25150 * catgets/Makefile: Likewise.
25151 * conform/Makefile: Likewise.
25152 * crypt/Makefile: Likewise.
25153 * csu/Makefile: Likewise.
25154 (all): Remove target.
25155 * ctype/Makefile: Include Makeconfig immediately after defining
25156 subdir.
25157 * debug/Makefile: Likewise.
25158 * dirent/Makefile: Likewise.
25159 * dlfcn/Makefile: Likewise.
25160 * gmon/Makefile: Likewise.
25161 * gnulib/Makefile: Likewise.
25162 * grp/Makefile: Likewise.
25163 * gshadow/Makefile: Likewise.
25164 * hesiod/Makefile: Likewise.
25165 * hurd/Makefile: Likewise.
25166 (all): Remove target.
25167 * iconvdata/Makefile: Include Makeconfig immediately after
25168 defining subdir.
25169 * inet/Makefile: Likewise.
25170 * intl/Makefile: Likewise.
25171 * io/Makefile: Likewise.
25172 * libio/Makefile: Likewise.
25173 (all): Remove target.
25174 * locale/Makefile: Include Makeconfig immediately after defining
25175 subdir.
25176 * login/Makefile: Likewise.
25177 * mach/Makefile: Likewise.
25178 (all): Remove target.
25179 * malloc/Makefile: Include Makeconfig immediately after defining
25180 subdir.
25181 (all): Remove target.
25182 * manual/Makefile: Include Makeconfig immediately after defining
25183 subdir.
25184 * math/Makefile: Likewise.
25185 * misc/Makefile: Likewise.
25186 * nis/Makefile: Likewise.
25187 * nss/Makefile: Likewise.
25188 * po/Makefile: Likewise.
25189 (all): Remove target.
25190 * posix/Makefile: Include Makeconfig immediately after defining
25191 subdir.
25192 * pwd/Makefile: Likewise.
25193 * resolv/Makefile: Likewise.
25194 * resource/Makefile: Likewise.
25195 * rt/Makefile: Likewise.
25196 * setjmp/Makefile: Likewise.
25197 * shadow/Makefile: Likewise.
25198 * signal/Makefile: Likewise.
25199 * socket/Makefile: Likewise.
25200 * soft-fp/Makefile: Likewise.
25201 * stdio-common/Makefile: Likewise.
25202 * stdlib/Makefile: Likewise.
25203 * streams/Makefile: Likewise.
25204 * string/Makefile: Likewise.
25205 * sunrpc/Makefile: Likewise.
25206 (all): Remove target.
25207 * sysvipc/Makefile: Include Makeconfig immediately after defining
25208 subdir.
25209 * termios/Makefile: Likewise.
25210 * time/Makefile: Likewise.
25211 * timezone/Makefile: Likewise.
25212 (all): Remove target.
25213 * wcsmbs/Makefile: Include Makeconfig immediately after defining
25214 subdir.
25215 * wctype/Makefile: Likewise.
25216
25217 2014-02-26 Steve Ellcey <sellcey@mips.com>
25218
25219 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
25220 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
25221 (libc_feholdexcept_setround_mips): Ditto.
25222 (libc_feholdsetround): New.
25223 (libc_feholdsetroundf): New.
25224 (libc_feholdsetroundl): New.
25225 (libc_feupdateenv_test_mips): New.
25226 (libc_feupdateenv_test): New.
25227 (libc_feupdateenv_testf): New.
25228 (libc_feupdateenv_testl): New.
25229 (libc_feresetround): New.
25230 (libc_feresetroundf): New.
25231 (libc_feresetroundl): New.
25232 (libc_fetestexcept_mips): New.
25233 (libc_fetestexcept): New.
25234 (libc_fetestexceptf): New.
25235 (libc_fetestexceptl): New.
25236 (HAVE_RM_CTX): New.
25237 (libc_feholdexcept_setround_mips_ctx): New.
25238 (libc_feholdexcept_setround_ctx): New.
25239 (libc_feholdexcept_setroundf_ctx): New.
25240 (libc_feholdexcept_setroundl_ctx): New.
25241 (libc_fesetenv_mips_ctx): New.
25242 (libc_fesetenv_ctx): New.
25243 (libc_fesetenv_ctxf): New.
25244 (libc_fesetenv_ctxl): New.
25245 (libc_feupdateenv_mips_ctx): New.
25246 (libc_feupdateenv_ctx): New.
25247 (libc_feupdateenvf_ctx): New.
25248 (libc_feupdateenvl_ctx): New.
25249 (libc_feholdsetround_mips_ctx): New.
25250 (libc_feholdsetround_ctx): New.
25251 (libc_feholdsetroundf_ctx): New.
25252 (libc_feholdsetroundl_ctx): New.
25253 (libc_feresetround_mips_ctx): New.
25254 (libc_feresetround_ctx): New.
25255 (libc_feresetroundf_ctx): New.
25256 (libc_feresetroundl_ctx): New.
25257
25258 2014-02-26 Carlos O'Donell <carlos@redhat.com>
25259
25260 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
25261
25262 * manual/ipc.texi: New file.
25263 * manual/Makefile (chapters): Add ipc.
25264 * manual/job.texi: Add "Inter-Process Communication" to next.
25265 * manual/process.texi: Add "Inter-Process Communication" to prev.
25266
25267 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25268
25269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25270
25271 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
25272
25273 * malloc/malloc.c (__libc_calloc): Simplify implementation.
25274
25275 * manual/arith.texi: Fix spaces after sentences.
25276 * manual/charset.texi: Likewise.
25277 * manual/errno.texi: Likewise.
25278 * manual/install.texi: Likewise.
25279 * manual/llio.texi: Likewise.
25280 * manual/locale.texi: Likewise.
25281 * manual/maint.texi: Likewise.
25282 * manual/math.texi: Likewise.
25283 * manual/memory.texi: Likewise.
25284 * manual/message.texi: Likewise.
25285 * manual/probes.texi: Likewise.
25286 * manual/resource.texi: Likewise.
25287 * manual/signal.texi: Likewise.
25288 * manual/socket.texi: Likewise.
25289 * manual/stdio.texi: Likewise.
25290 * manual/string.texi: Likewise.
25291 * manual/time.texi: Likewise.
25292 * manual/users.texi: Likewise.
25293
25294 2014-02-25 Carlos O'Donell <carlos@redhat.com>
25295
25296 [BZ #16632]
25297 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
25298 _DEFAULT_SOURCE is defined.
25299
25300 2014-02-25 Ulrich Drepper <drepper@gmail.com>
25301 Carlos O'Donell <carlos@redhat.com>
25302
25303 [BZ #16613]
25304 * elf/dl-tls.c (_dl_count_modids): New function.
25305 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
25306 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
25307 audit library and increment generation counter.
25308 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
25309 * elf/tst-audit9.c: New file.
25310 * elf/tst-auditmod9a.c: New file.
25311 * elf/tst-auditmod9b.c: New file.
25312 * elf/Makefile: Add rules to build and run tst-audit9.
25313
25314 2014-02-25 Florian Weimer <fweimer@redhat.com>
25315
25316 [BZ #15347]
25317 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
25318
25319 2014-02-25 Will Newton <will.newton@linaro.org>
25320
25321 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
25322 (__longjmp): Restore sp and lr before restoring callee
25323 saved registers. Add longjmp and longjmp_target
25324 SystemTap probe point.
25325 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
25326 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
25327 Define to zero to match jmpbuf layout.
25328 * sysdeps/arm/setjmp.S: Include stap-probe.h.
25329 (__sigsetjmp): Save sp and lr before saving callee
25330 saved registers. Add setjmp SystemTap probe point.
25331
25332 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
25333
25334 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25335
25336 2014-02-24 Andreas Schwab <schwab@suse.de>
25337
25338 [BZ #15804]
25339 * elf/pldd.c (wait_for_ptrace_stop): New function.
25340 (main): Call it after attaching.
25341
25342 2014-02-22 Roland McGrath <roland@hack.frob.com>
25343
25344 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
25345 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
25346 Versions files is now verboten.
25347 * hurd/Versions (libc: GLIBC_2.0):
25348 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
25349 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
25350 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
25351 * mach/Versions: Likewise.
25352
25353 * csu/Versions: Remove unused %include.
25354 * resolv/Versions: Likewise.
25355
25356 2014-02-21 Joseph Myers <joseph@codesourcery.com>
25357
25358 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
25359 ($(objpfx)check-local-headers.out): Likewise.
25360 ($(objpfx)begin-end-check.out): Likewise.
25361 * Makerules (check-abi-%.out): Likewise.
25362 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
25363 ($(objpfx)test2.cat): Likewise.
25364 ($(objpfx)de/libc.cat): Likewise.
25365 ($(objpfx)test-gencat.out): Likewise.
25366 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
25367 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
25368 ($(objpfx)noload-mem): Likewise.
25369 ($(objpfx)tst-pathopt.out): Likewise.
25370 ($(objpfx)tst-rtld-load-self.out): Likewise.
25371 ($(objpfx)tst-array1-cmp.out): Likewise.
25372 ($(objpfx)tst-array1-static-cmp.out): Likewise.
25373 ($(objpfx)tst-array2-cmp.out): Likewise.
25374 ($(objpfx)tst-array3-cmp.out): Likewise.
25375 ($(objpfx)tst-array4-cmp.out): Likewise.
25376 ($(objpfx)tst-array5-cmp.out): Likewise.
25377 ($(objpfx)tst-array5-static-cmp.out): Likewise.
25378 ($(objpfx)check-textrel.out): Likewise.
25379 ($(objpfx)check-execstack.out): Likewise.
25380 ($(objpfx)check-localplt.out): Likewise.
25381 ($(objpfx)order2-cmp.out): Likewise.
25382 ($(objpfx)tst-leaks1-mem): Likewise.
25383 ($(objpfx)tst-leaks1-static-mem): Likewise.
25384 ($(objpfx)tst-initorder-cmp.out): Likewise.
25385 ($(objpfx)tst-initorder2-cmp.out): Likewise.
25386 ($(objpfx)tst-unused-dep.out): Likewise.
25387 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
25388 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
25389 * iconv/Makefile (test-iconvconfig): Likewise.
25390 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
25391 ($(objpfx)iconv-test.out): Likewise.
25392 ($(objpfx)tst-tables.out): Likewise.
25393 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
25394 ($(objpfx)tst-gettext.out): Likewise.
25395 ($(objpfx)tst-translit.out): Likewise.
25396 ($(objpfx)tst-gettext2.out): Likewise.
25397 ($(objpfx)tst-gettext4.out): Likewise.
25398 ($(objpfx)tst-gettext6.out): Likewise.
25399 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
25400 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
25401 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
25402 ($(objpfx)tst-fopenloc-mem.out): Likewise.
25403 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
25404 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
25405 * posix/Makefile ($(objpfx)globtest.out): Likewise.
25406 ($(objpfx)wordexp-tst.out): Likewise.
25407 ($(objpfx)annexc.out): Likewise.
25408 ($(objpfx)tst-fnmatch-mem): Likewise.
25409 ($(objpfx)bug-regex2-mem): Likewise.
25410 ($(objpfx)bug-regex14-mem): Likewise.
25411 ($(objpfx)bug-regex21-mem): Likewise.
25412 ($(objpfx)bug-regex31-mem): Likewise.
25413 ($(objpfx)tst-vfork3-mem): Likewise.
25414 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25415 ($(objpfx)tst-pcre-mem): Likewise.
25416 ($(objpfx)tst-boost-mem): Likewise.
25417 ($(objpfx)tst-getconf.out): Likewise.
25418 ($(objpfx)bug-ga2-mem): Likewise.
25419 ($(objpfx)bug-glob2-mem): Likewise.
25420 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
25421 ($(objpfx)mtrace-tst-leaks2): Likewise.
25422 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
25423 ($(objpfx)tst-printf.out): Likewise.
25424 ($(objpfx)tst-setvbuf1.out): Likewise.
25425 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
25426 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
25427 ($(objpfx)tst-fmtmsg.out): Likewise.
25428 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
25429 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
25430
25431 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
25432 * bits/sigaction.h [__USE_MISC]: Likewise.
25433 * bits/waitstatus.h: Update #endif comments.
25434 * ctype/ctype.h: Likewise.
25435 * dirent/dirent.h: Likewise.
25436 [__USE_MISC]: Remove redundant conditionals.
25437 * grp/grp.h: Update #endif comments.
25438 [__USE_GNU]: Remove redundant conditionals.
25439 [__USE_MISC]: Likewise.
25440 * inet/netinet/in.h [__USE_GNU]: Likewise.
25441 * io/sys/stat.h [__USE_MISC]: Likewise.
25442 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
25443 * libio/bits/stdio.h: Update #endif comments.
25444 [__USE_MISC]: Remove redundant conditionals.
25445 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
25446 * libio/stdio.h: Update #endif comments.
25447 [__USE_MISC]: Remove redundant conditionals.
25448 * math/bits/math-finite.h [__USE_MISC]: Likewise.
25449 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
25450 * math/math.h: Update #else and #endif comments.
25451 [__USE_MISC]: Remove redundant conditionals.
25452 * misc/sys/uio.h: Update #endif comments.
25453 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
25454 * posix/glob.h [__USE_MISC]: Likewise.
25455 * posix/sys/types.h: Update #endif comments.
25456 [__USE_MISC]: Remove redundant conditionals.
25457 * posix/sys/wait.h: Update #endif comments.
25458 [__USE_MISC]: Remove redundant conditionals.
25459 * posix/unistd.h: Update #endif comments.
25460 [__USE_MISC]: Remove redundant conditionals.
25461 * pwd/pwd.h [__USE_GNU]: Likewise.
25462 [__USE_MISC]: Likewise.
25463 * resolv/netdb.h [__USE_GNU]: Likewise.
25464 * signal/signal.h: Update #endif comments.
25465 [__USE_MISC]: Remove redundant conditionals.
25466 * stdlib/stdlib.h: Update #else and #endif comments.
25467 [__USE_MISC]: Remove redundant conditionals.
25468 [__USE_GNU]: Likewise.
25469 * string/bits/string2.h [__USE_MISC]: Likewise.
25470 * string/string.h: Update #endif comments.
25471 [__USE_MISC]: Remove redundant conditionals.
25472 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
25473 Likewise.
25474 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
25475 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
25476 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
25477 Likewise.
25478 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
25479 Likewise.
25480 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
25481 comments.
25482 [__USE_MISC]: Remove redundant conditionals.
25483 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
25484 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
25485 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
25486 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
25487 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
25488 Likewise.
25489 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
25490 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
25491 Likewise.
25492 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
25493 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
25494 Likewise.
25495 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
25496 Likewise.
25497 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
25498 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
25499 Likewise.
25500 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
25501 Likewise.
25502 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
25503 * sysdeps/x86/bits/string.h: Update #endif comments.
25504 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
25505 conditionals.
25506 * time/sys/time.h: Update #endif comments.
25507 * time/time.h: Likewise.
25508 [__USE_MISC]: Remove redundant conditionals.
25509
25510 2014-02-21 Yury Gribov <y.gribov@samsung.com>
25511
25512 [BZ #16600]
25513 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
25514
25515 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
25516
25517 * Versions.def (librt): Add GLIBC_2.17.
25518
25519 2014-02-21 Adam Conrad <adconrad@0c3.net>
25520
25521 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
25522 synonym for _SYS_AUXV_H to allow direct inclusion.
25523 * sysdeps/sparc/bits/hwcap.h: Likewise.
25524 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
25525 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
25526 * sysdeps/sparc/sysdep.h: Likewise.
25527
25528 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25529
25530 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
25531
25532 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25533
25534 * benchtests/bench-strrchr.c: Print length instead of position.
25535
25536 2014-02-20 Joseph Myers <joseph@codesourcery.com>
25537
25538 [BZ #16611]
25539 * sysdeps/unix/sysv/linux/kernel-features.h
25540 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
25541 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
25542 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
25543 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
25544 Likewise.
25545 [__i386__ || __powerpc__ || __sh__ || __sparc__]
25546 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25547 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
25548 (__ASSUME_SENDMMSG): Define instead of using previous
25549 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
25550 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25551 (__ASSUME_SENDMMSG_SYSCALL): Define.
25552 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25553 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
25554 Likewise.
25555 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25556 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25557 Likewise.
25558 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25559 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25560 Likewise.
25561 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
25562 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25563 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25564 [__ASSUME_SENDMMSG]: Change conditionals to
25565 [__ASSUME_SENDMMSG_SOCKETCALL].
25566 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25567 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
25568 Define.
25569 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25570 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
25571 Likewise.
25572 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
25573 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25574 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25575 [!__ASSUME_SENDMMSG]: Change conditional to
25576 [!__ASSUME_SENDMMSG_SOCKETCALL].
25577 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25578 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25579 Define.
25580
25581 [BZ #16610]
25582 * sysdeps/unix/sysv/linux/kernel-features.h
25583 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
25584 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
25585 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
25586 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
25587 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25588 [__i386__ || __sparc__]
25589 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25590 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
25591 (__ASSUME_RECVMMSG): Define instead of using previous
25592 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
25593 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25594 (__ASSUME_RECVMMSG_SYSCALL): Define.
25595 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25596 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25597 Likewise.
25598 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25599 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25600 Likewise.
25601 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25602 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25603 Likewise.
25604 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
25605 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25606 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25607 [__ASSUME_RECVMMSG]: Change condition to
25608 [__ASSUME_RECVMMSG_SOCKETCALL].
25609 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25610 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25611 Define.
25612 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25613 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25614 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25615 Likewise.
25616 * sysdeps/unix/sysv/linux/recvmmsg.c [__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/tile/kernel-features.h
25622 (__ASSUME_RECVMMSG_SYSCALL): Define.
25623
25624 [BZ #16609]
25625 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
25626 __powerpc__ || __s390__ || __sh__ || __sparc__]
25627 (__ASSUME_SOCKETCALL): Define.
25628 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
25629 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
25630 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
25631 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
25632 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25633 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
25634 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
25635 (__ASSUME_ACCEPT4): Define instead of using previous
25636 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
25637 __powerpc__ || __sparc__ || __s390__)] condition.
25638 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25639 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25640 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
25641 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25642 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25643 [!__ASSUME_ACCEPT4]: Change condition to
25644 [!__ASSUME_ACCEPT4_SOCKETCALL].
25645 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25646 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
25647 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
25648 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25649 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
25650 __ASSUME_ACCEPT4_SYSCALL.
25651 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
25652 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
25653 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25654 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
25655 __ASSUME_ACCEPT4_SYSCALL.
25656 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
25657 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25658 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25659 [__ASSUME_ACCEPT4]: Change condition to
25660 [__ASSUME_ACCEPT4_SOCKETCALL].
25661 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25662 (__ASSUME_SOCKETCALL): Define.
25663 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
25664 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25665 (__ASSUME_SOCKETCALL): Define.
25666 (__ASSUME_ACCEPT4): Remove.
25667 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
25668 Define.
25669 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25670 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
25671 Likewise.
25672 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25673 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25674
25675 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
25676 macro.
25677 (HWCAP_ARM_LPAE): Likewise.
25678 (HWCAP_ARM_EVTSTRM): Likewise.
25679 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
25680 Add vpfd32, lpae and evtstrm.
25681 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
25682 Increase to 22.
25683
25684 2014-02-19 Joseph Myers <joseph@codesourcery.com>
25685
25686 * math/auto-libm-test-in: Add tests of clog10.
25687 * math/auto-libm-test-out: Regenerated.
25688 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
25689 * sysdeps/i386/fpu/libm-test-ulps: Update.
25690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25691
25692 2014-02-18 Andreas Schwab <schwab@suse.de>
25693
25694 [BZ #16574]
25695 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
25696 Store non-zero if the second buffer was newly allocated.
25697 (send_dg): Likewise.
25698 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
25699 to send_vc and send_dg.
25700 (res_nsend): Pass NULL for ansp2_malloced.
25701 * resolv/res_query.c (__libc_res_nquery): Add parameter
25702 answerp2_malloced and pass it down to __libc_res_nsend.
25703 (res_nquery): Pass additional NULL to __libc_res_nquery.
25704 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
25705 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
25706 second answer buffer if answerp2_malloced was set.
25707 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
25708 (__libc_res_nquerydomain): Add parameter
25709 answerp2_malloced and pass it down to __libc_res_nquery.
25710 (res_nquerydomain): Pass additional NULL to
25711 __libc_res_nquerydomain.
25712 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
25713 additional NULL to __libc_res_nsend and __libc_res_nquery.
25714 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
25715 additional NULL to __libc_res_nsearch.
25716 (_nss_dns_gethostbyname4_r): Revert last change. Use new
25717 parameter of __libc_res_nsearch to check for separately allocated
25718 second buffer.
25719 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
25720 __libc_res_nquery.
25721 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
25722 additional NULL to __libc_res_nquery.
25723 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
25724 __libc_res_nsearch.
25725 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
25726 * include/resolv.h: Update prototypes of __libc_res_nquery,
25727 __libc_res_nsearch, __libc_res_nsend.
25728
25729 2014-02-18 Joseph Myers <joseph@codesourcery.com>
25730
25731 * math/auto-libm-test-in: Add tests of fma.
25732 * math/auto-libm-test-out: Regenerated.
25733 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
25734 (fma_towardzero_test_data): Likewise.
25735 (fma_downward_test_data): Likewise.
25736 (fma_upward_test_data): Likewise.
25737 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
25738 mpc_mode.
25739 (rounding_modes): Add values for new field.
25740 (func_calc_method): Add value mpfr_fff_f.
25741 (func_calc_desc): Add mpfr_fff_f union field.
25742 (test_function): Add field exact_args.
25743 (FUNC): Add macro argument EXACT_ARGS.
25744 (FUNC_mpfr_f_f): Update call to FUNC.
25745 (FUNC_mpfr_f_f): Likewise.
25746 (FUNC_mpfr_ff_f): Likewise.
25747 (FUNC_mpfr_if_f): Likewise.
25748 (FUNC_mpc_c_f): Likewise.
25749 (FUNC_mpc_c_c): Likewise.
25750 (test_functions): Add fma. Update calls to FUNC.
25751 (handle_input_arg): Add argument exact_args.
25752 (add_test): Update call to handle_input_arg.
25753 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
25754 (output_for_one_input_case): Update call to calc_generic_results.
25755 Recalculate exact zero results in each rounding mode.
25756
25757 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
25758 non-negative before setting low bit.
25759 * math/auto-libm-test-in: Mark one asin test possibly having
25760 spurious underflow.
25761 * math/auto-libm-test-out: Regenerated.
25762 * sysdeps/i386/fpu/libm-test-ulps: Update.
25763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25764
25765 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
25766
25767 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
25768 * sysdeps/unix/sysv/linux/microblaze: Move directory from
25769 ports/sysdeps/unix/sysv/linux/microblaze.
25770 * README: Add missing listing for microblaze*-*-linux-gnu.
25771
25772 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
25773
25774 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
25775 duplicate code
25776
25777 2014-02-16 Mike Frysinger <vapier@gentoo.org>
25778
25779 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
25780 * sysdeps/unix/sysv/linux/ia64: Move directory from
25781 ports/sysdeps/unix/sysv/linux/ia64.
25782 * README: Update listing for ia64-*-linux-gnu.
25783
25784 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
25785 Joseph Myers <joseph@codesourcery.com>
25786
25787 * Makeconfig (test-name): New variable.
25788 (evaluate-test): Likewise.
25789 * Makerules (do-test-clean): Remove .test-result files.
25790 (common-mostlyclean): Likewise.
25791 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
25792 * scripts/evaluate-test.sh: New file.
25793
25794 2014-02-14 Joseph Myers <joseph@codesourcery.com>
25795
25796 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
25797 separate $(objpfx)tst-fopenloc-cmp.out and
25798 $(objpfx)tst-fopenloc-mem.out targets.
25799 (tests): Update dependencies.
25800 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
25801 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
25802 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
25803 (tst-rxspencer-no-utf8-ARGS): New variable.
25804 (tst-rxspencer-no-utf8-ENV): Likewise.
25805 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
25806 instead of $(objpfx)tst-rxspencer-mem.
25807 ($(objpfx)tst-rxspencer-mem): Change target to
25808 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
25809 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
25810 * posix/tst-rxspencer-no-utf8.c: New file.
25811
25812 * elf/Makefile ($(objpfx)order.out): Remove rule.
25813 [$(run-built-tests) = yes] (tests): Depend on
25814 $(objpfx)order-cmp.out.
25815 ($(objpfx)order-cmp.out): New rule.
25816 [$(run-built-tests) = yes] (tests): Depend on
25817 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
25818 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
25819 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
25820 $(objpfx)tst-array5-static-cmp.out.
25821 ($(objpfx)tst-array1.out): Remove rule.
25822 ($(objpfx)tst-array1-cmp.out): New rule.
25823 ($(objpfx)tst-array1-static.out): Remove rule.
25824 ($(objpfx)tst-array1-static-cmp.out): New rule.
25825 ($(objpfx)tst-array2.out): Remove rule.
25826 ($(objpfx)tst-array2-cmp.out): New rule.
25827 ($(objpfx)tst-array3.out): Remove rule.
25828 ($(objpfx)tst-array3-cmp.out): New rule.
25829 ($(objpfx)tst-array4.out): Remove rule.
25830 ($(objpfx)tst-array4-cmp.out): New rule.
25831 ($(objpfx)tst-array5.out): Remove rule.
25832 ($(objpfx)tst-array5-cmp.out): New rule.
25833 ($(objpfx)tst-array5-static.out): Remove rule.
25834 ($(objpfx)tst-array5-static-cmp.out): New rule.
25835 [$(run-built-tests) = yes] (tests): Depend on
25836 $(objpfx)order2-cmp.out.
25837 ($(objpfx)order2.out): Remove rule.
25838 ($(objpfx)order2-cmp.out): New rule.
25839 ($(objpfx)tst-initorder.out): Remove rule.
25840 [$(run-built-tests) = yes] (tests): Depend on
25841 $(objpfx)tst-initorder-cmp.out.
25842 ($(objpfx)tst-initorder-cmp.out): New rule.
25843 ($(objpfx)tst-initorder2.out): Remove rule.
25844 [$(run-built-tests) = yes] (tests): Depend on
25845 $(objpfx)tst-initorder2-cmp.out.
25846 ($(objpfx)tst-initorder2-cmp.out): New rule.
25847 [$(run-built-tests) = yes] (tests): Depend on
25848 $(objpfx)tst-unused-dep-cmp.out.
25849 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
25850 ($(objpfx)tst-unused-dep-cmp.out): New rule.
25851 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
25852 on $(objpfx)tst-setvbuf1-cmp.out.
25853 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
25854 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
25855 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
25856 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
25857 ($(objpfx)tst-svc.out): Remove rule.
25858 ($(objpfx)tst-svc-cmp.out): New rule.
25859
25860 2014-02-13 Joseph Myers <joseph@codesourcery.com>
25861
25862 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
25863 * ctype/ctype.h [__USE_MISC]: Likewise.
25864 * dirent/dirent.h [__USE_MISC]: Likewise.
25865 * grp/grp.h [__USE_MISC]: Likewise.
25866 * io/fcntl.h [__USE_MISC]: Likewise.
25867 * io/sys/stat.h [__USE_MISC]: Likewise.
25868 * libio/stdio.h [__USE_MISC]: Likewise.
25869 * posix/unistd.h [__USE_MISC]: Likewise.
25870 * pwd/pwd.h [__USE_MISC]: Likewise.
25871 * stdlib.h [__USE_MISC]: Likewise.
25872 * string/bits/string2.h [__USE_MISC]: Likewise.
25873 * string/string.h [__USE_MISC]: Likewise.
25874 * time/time.h [__USE_MISC]: Likewise.
25875
25876 2014-02-13 Andreas Schwab <schwab@suse.de>
25877
25878 [BZ #16574]
25879 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
25880 second answer buffer if it was separately allocated.
25881
25882 2014-02-12 Joseph Myers <joseph@codesourcery.com>
25883
25884 * sysdeps/mips/math-tests.h: Include <features.h>.
25885 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25886 (ROUNDING_TESTS_long_double): Do not define.
25887 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25888 (EXCEPTION_TESTS_long_double): Likewise.
25889 * sysdeps/mips/mips64/libm-test-ulps: Update.
25890
25891 * include/features.h (__USE_BSD): Remove macro definitions.
25892 (__USE_SVID): Likewise.
25893 (_BSD_SOURCE): Likewise.
25894 (_SVID_SOURCE): Likewise.
25895 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
25896 from definition of _DEFAULT_SOURCE.
25897 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
25898 [_DEFAULT_SOURCE].
25899 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
25900 * bits/mman.h [__USE_BSD]: Likewise.
25901 * bits/termios.h [__USE_BSD]: Likewise.
25902 * bits/waitstatus.h [__USE_BSD]: Likewise.
25903 * ctype/ctype.h [__USE_SVID]: Likewise.
25904 * dirent/dirent.h [__USE_BSD]: Likewise.
25905 * grp/grp.h [__USE_SVID]: Likewise.
25906 [__USE_BSD]: Likewise.
25907 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
25908 * io/fcntl.h [__USE_BSD]: Likewise.
25909 * io/ftw.h [__USE_BSD]: Likewise.
25910 * io/sys/stat.h [__USE_BSD]: Likewise.
25911 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
25912 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
25913 * libio/stdio.h [__USE_SVID]: Likewise.
25914 [__USE_BSD]: Likewise.
25915 * math/math.h [__USE_SVID]: Likewise.
25916 [__USE_BSD]: Likewise.
25917 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
25918 * misc/bits/syslog.h [__USE_BSD]: Likewise.
25919 * misc/search.h [__USE_SVID]: Likewise.
25920 * misc/sys/mman.h [__USE_BSD]: Likewise.
25921 * misc/sys/syslog.h [__USE_BSD]: Likewise.
25922 * misc/sys/uio.h [__USE_BSD]: Likewise.
25923 * posix/bits/unistd.h [__USE_BSD]: Likewise.
25924 * posix/glob.h [__USE_BSD]: Likewise.
25925 * posix/regex.h [__USE_BSD]: Likewise.
25926 * posix/sys/types.h [__USE_BSD]: Likewise.
25927 [__USE_SVID]: Likewise.
25928 * posix/sys/utsname.h [__USE_SVID]: Likewise.
25929 * posix/sys/wait.h [__USE_BSD]: Likewise.
25930 [__USE_SVID]: Likewise.
25931 * posix/unistd.h [__USE_BSD]: Likewise.
25932 [__USE_SVID]: Likewise.
25933 * pwd/pwd.h [__USE_SVID]: Likewise.
25934 * resolv/netdb.h [__USE_BSD]: Likewise.
25935 * setjmp/setjmp.h [__USE_BSD]: Likewise.
25936 * signal/signal.h [__USE_BSD]: Likewise.
25937 [__USE_SVID]: Likewise.
25938 * socket/sys/socket.h [__USE_BSD]: Likewise.
25939 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
25940 * stdlib/stdlib.h [__USE_BSD]: Likewise.
25941 [__USE_SVID]: Likewise.
25942 * string/bits/string2.h [__USE_BSD]: Likewise.
25943 [__USE_SVID]: Likewise.
25944 * string/bits/string3.h [__USE_BSD]: Likewise.
25945 * string/endian.h [__USE_BSD]: Likewise.
25946 * string/string.h [__USE_SVID]: Likewise.
25947 [__USE_BSD]: Likewise.
25948 * string/strings.h [__USE_BSD]: Likewise.
25949 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
25950 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
25951 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
25952 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
25953 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
25954 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
25955 Likewise.
25956 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
25957 Likewise.
25958 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
25959 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
25960 Likewise.
25961 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
25962 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
25963 Likewise.
25964 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
25965 Likewise.
25966 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
25967 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
25968 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
25969 Likewise.
25970 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
25971 Likewise.
25972 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
25973 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
25974 * termios/termios.h [__USE_BSD]: Likewise.
25975 * time/sys/time.h [__USE_BSD]: Likewise.
25976 * time/time.h [__USE_BSD]: Likewise.
25977 [__USE_SVID]: Likewise.
25978
25979 * Makefile (subdir_targets): Remove subdir_lint.out.
25980
25981 * stdio-common/Makefile (do-tst-unbputc): Remove target.
25982 (do-tst-printf): Likewise.
25983 (tests): Depend directly on $(objpfx)tst-unbputc.out and
25984 $(objpfx)tst-printf.out.
25985
25986 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
25987
25988 * Makerules (check-abi-%): Change target to
25989 $(objpfx)check-abi-%.out.
25990 (check-abi target): Update dependencies.
25991 (check-abi-pattern variable): Redirect output of diff to $@.
25992 (check-abi variable): Likewise.
25993 * elf/Makefile (check-abi): Update dependencies.
25994
25995 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
25996 unused.
25997 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
25998 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
25999 subnormal range.
26000 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
26001 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
26002 value has largest subnormal exponent.
26003 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
26004 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
26005 * sysdeps/aarch64/soft-fp/sfp-machine.h
26006 (_FP_TININESS_AFTER_ROUNDING): New macro.
26007 * sysdeps/alpha/soft-fp/sfp-machine.h
26008 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26009 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26010 Likewise.
26011 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
26012 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26013 * sysdeps/mips/soft-fp/sfp-machine.h
26014 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26015 * sysdeps/powerpc/soft-fp/sfp-machine.h
26016 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26017 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26018 Likewise.
26019 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26020 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26021 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26022 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26023 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26024 Likewise.
26025
26026 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
26027
26028 [BZ #16545]
26029 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
26030 model 1.
26031
26032 2014-02-12 Richard Henderson <rth@redhat.com>
26033
26034 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
26035 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
26036 * sysdeps/unix/sysv/linux/alpha: Move directory from
26037 ports/sysdeps/unix/sysv/linux/alpha.
26038 * README: Update listing for alpha-*-linux-gnu.
26039
26040 2014-02-11 Joseph Myers <joseph@codesourcery.com>
26041
26042 * include/features.h: Update comment documenting feature test
26043 macros.
26044 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
26045 _DEFAULT_SOURCE.
26046 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
26047 (_SVID_SOURCE): Likewise.
26048 (_DEFAULT_SOURCE): Update description of default features.
26049 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
26050 with _GNU_SOURCE.
26051 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
26052 (S_ISVTX): Likewise.
26053 * manual/math.texi (Mathematical Constants): Likewise.
26054 * manual/signal.texi (Interrupted Primitives): Likewise.
26055 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
26056 * math/test-matherr.c (_SVID_SOURCE): Do not define.
26057 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
26058 Don't refer to _SVID_SOURCE in warning text.
26059
26060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26061
26062 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
26063 already defined.
26064 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
26065 * sysdeps/mips/dl-lookup.c: Remove.
26066 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
26067
26068 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
26069
26070 [BZ #16447]
26071 * math/auto-libm-test-in: Add testcase for expl.
26072 * math/auto-libm-test-out: Regenerate.
26073 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
26074 calculation of unsafe.
26075 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
26076
26077 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
26078
26079 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
26080 * sysdeps/unix/sysv/linux/aarch64: Move directory from
26081 ports/sysdeps/unix/sysv/linux/aarch64.
26082 * README: Update listing for aarch64*-*-linux-gnu.
26083
26084 2014-02-11 Will Newton <will.newton@linaro.org>
26085
26086 * manual/probes.texi (Mathematical Function Probes): Use
26087 "triggered" instead of "hit".
26088
26089 * manual/probes.texi (Internal Probes): Add documentation
26090 of setjmp, longjmp and longjmp_target probes.
26091
26092 * include/stap-probe.h: Add comment about probe argument
26093 format.
26094
26095 * malloc/mtrace.c (attribute_hidden): Remove unused macro
26096 definition. (tr_where, tr_freehook, tr_mallochook,
26097 tr_reallochook, tr_memalignhook): Use ANSI protoype.
26098
26099 2014-02-11 David S. Miller <davem@davemloft.net>
26100
26101 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
26102 processing int_tests.
26103
26104 2014-02-10 Joseph Myers <joseph@codesourcery.com>
26105
26106 * sysdeps/mips: Move directory from ports/sysdeps/mips.
26107 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
26108 * sysdeps/unix/sysv/linux/mips: Move directory from
26109 ports/sysdeps/unix/sysv/linux/mips.
26110 * README: Update listing for mips-*-linux-gnu and
26111 mips64-*-linux-gnu.
26112
26113 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
26114
26115 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
26116 * sysdeps/unix/sysv/linux/m68k: Move directory from
26117 ports/sysdeps/unix/sysv/linux/m68k.
26118 * README: Update listing for m68k-*-linux-gnu.
26119
26120 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
26121
26122 * sysdeps/tile: Move directory from ports/sysdeps/tile.
26123 * sysdeps/unix/sysv/linux/generic: Move directory from
26124 ports/sysdeps/unix/sysv/linux/generic.
26125 * sysdeps/unix/sysv/linux/tile: Move directory from
26126 ports/sysdeps/unix/sysv/linux/tile.
26127 * README: Update listing for tile*-*-linux-gnu.
26128
26129 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
26130
26131 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
26132 __builtin_expect.
26133 * benchtests/bench-memmem.c (simple_memmem): Likewise.
26134 * catgets/open_catalog.c (__open_catalog): Likewise.
26135 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
26136 * debug/confstr_chk.c: Likewise.
26137 * debug/fread_chk.c (__fread_chk): Likewise.
26138 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
26139 * debug/getgroups_chk.c: Likewise.
26140 * debug/mbsnrtowcs_chk.c: Likewise.
26141 * debug/mbsrtowcs_chk.c: Likewise.
26142 * debug/mbstowcs_chk.c: Likewise.
26143 * debug/memcpy_chk.c: Likewise.
26144 * debug/memmove_chk.c: Likewise.
26145 * debug/mempcpy_chk.c: Likewise.
26146 * debug/memset_chk.c: Likewise.
26147 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26148 * debug/strcat_chk.c (__strcat_chk): Likewise.
26149 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
26150 * debug/strncat_chk.c (__strncat_chk): Likewise.
26151 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
26152 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
26153 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
26154 * debug/wcpncpy_chk.c: Likewise.
26155 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26156 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
26157 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
26158 * debug/wcsncpy_chk.c: Likewise.
26159 * debug/wcsnrtombs_chk.c: Likewise.
26160 * debug/wcsrtombs_chk.c: Likewise.
26161 * debug/wcstombs_chk.c: Likewise.
26162 * debug/wmemcpy_chk.c: Likewise.
26163 * debug/wmemmove_chk.c: Likewise.
26164 * debug/wmempcpy_chk.c: Likewise.
26165 * debug/wmemset_chk.c: Likewise.
26166 * dirent/scandirat.c (SCANDIRAT): Likewise.
26167 * dlfcn/dladdr1.c (dladdr1): Likewise.
26168 * dlfcn/dladdr.c (dladdr): Likewise.
26169 * dlfcn/dlclose.c (dlclose_doit): Likewise.
26170 * dlfcn/dlerror.c (__dlerror): Likewise.
26171 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
26172 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
26173 * dlfcn/dlopen.c (dlopen_doit): Likewise.
26174 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
26175 * dlfcn/dlsym.c (dlsym_doit): Likewise.
26176 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
26177 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
26178 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
26179 Likewise.
26180 * elf/dl-conflict.c: Likewise.
26181 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
26182 * elf/dl-dst.h: Likewise.
26183 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
26184 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
26185 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
26186 * elf/dl-init.c (call_init, _dl_init): Likewise.
26187 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
26188 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
26189 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
26190 Likewise.
26191 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
26192 Likewise.
26193 * elf/dl-minimal.c (__libc_memalign): Likewise.
26194 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
26195 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26196 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
26197 * elf/dl-sym.c (do_sym): Likewise.
26198 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
26199 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
26200 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
26201 * elf/dl-writev.h (_dl_writev): Likewise.
26202 * elf/ldconfig.c (search_dir): Likewise.
26203 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
26204 (dl_main): Likewise.
26205 * elf/setup-vdso.h (setup_vdso): Likewise.
26206 * grp/compat-initgroups.c (compat_call): Likewise.
26207 * grp/fgetgrent.c (fgetgrent): Likewise.
26208 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
26209 * grp/putgrent.c (putgrent): Likewise.
26210 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26211 Likewise.
26212 * hurd/hurdinit.c: Likewise.
26213 * iconvdata/8bit-gap.c (struct): Likewise.
26214 * iconvdata/ansi_x3.110.c : Likewise.
26215 * iconvdata/big5.c : Likewise.
26216 * iconvdata/big5hkscs.c : Likewise.
26217 * iconvdata/cp1255.c: Likewise.
26218 * iconvdata/cp1258.c : Likewise.
26219 * iconvdata/cp932.c : Likewise.
26220 * iconvdata/euc-cn.c: Likewise.
26221 * iconvdata/euc-jisx0213.c : Likewise.
26222 * iconvdata/euc-jp.c: Likewise.
26223 * iconvdata/euc-jp-ms.c : Likewise.
26224 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
26225 * iconvdata/gb18030.c : Likewise.
26226 * iconvdata/gbbig5.c (const): Likewise.
26227 * iconvdata/gbgbk.c: Likewise.
26228 * iconvdata/gbk.c : Likewise.
26229 * iconvdata/ibm1364.c : Likewise.
26230 * iconvdata/ibm930.c : Likewise.
26231 * iconvdata/ibm932.c: Likewise.
26232 * iconvdata/ibm933.c : Likewise.
26233 * iconvdata/ibm935.c : Likewise.
26234 * iconvdata/ibm937.c : Likewise.
26235 * iconvdata/ibm939.c : Likewise.
26236 * iconvdata/ibm943.c: Likewise.
26237 * iconvdata/iso_11548-1.c: Likewise.
26238 * iconvdata/iso-2022-cn.c : Likewise.
26239 * iconvdata/iso-2022-cn-ext.c : Likewise.
26240 * iconvdata/iso-2022-jp-3.c: Likewise.
26241 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
26242 * iconvdata/iso-2022-kr.c : Likewise.
26243 * iconvdata/iso646.c (gconv_end): Likewise.
26244 * iconvdata/iso_6937-2.c : Likewise.
26245 * iconvdata/iso_6937.c : Likewise.
26246 * iconvdata/iso8859-1.c: Likewise.
26247 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
26248 * iconvdata/shift_jisx0213.c : Likewise.
26249 * iconvdata/sjis.c : Likewise.
26250 * iconvdata/t.61.c : Likewise.
26251 * iconvdata/tcvn5712-1.c : Likewise.
26252 * iconvdata/tscii.c: Likewise.
26253 * iconvdata/uhc.c : Likewise.
26254 * iconvdata/unicode.c (gconv_end): Likewise.
26255 * iconvdata/utf-16.c (gconv_end): Likewise.
26256 * iconvdata/utf-32.c (gconv_end): Likewise.
26257 * iconvdata/utf-7.c (base64): Likewise.
26258 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
26259 * iconv/gconv_close.c (__gconv_close): Likewise.
26260 * iconv/gconv_open.c (__gconv_open): Likewise.
26261 * iconv/gconv_simple.c (internal_ucs4_loop_single)
26262 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
26263 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
26264 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
26265 (ucs4le_internal_loop_single): Likewise.
26266 * iconv/iconv.c (iconv): Likewise.
26267 * iconv/iconv_close.c: Likewise.
26268 * iconv/loop.c (SINGLE): Likewise.
26269 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
26270 * include/atomic.h: Likewise.
26271 * inet/inet6_option.c (option_alloc): Likewise.
26272 * intl/bindtextdom.c (set_binding_values): Likewise.
26273 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
26274 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
26275 * intl/localealias.c (read_alias_file): Likewise.
26276 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26277 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
26278 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
26279 * libio/fmemopen.c (fmemopen): Likewise.
26280 * libio/iofgets.c (_IO_fgets): Likewise.
26281 * libio/iofgets_u.c (fgets_unlocked): Likewise.
26282 * libio/iofgetws.c (fgetws): Likewise.
26283 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
26284 * libio/iogetdelim.c (_IO_getdelim): Likewise.
26285 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
26286 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
26287 * locale/findlocale.c (_nl_find_locale): Likewise.
26288 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
26289 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
26290 Likewise.
26291 * locale/setlocale.c (setlocale): Likewise.
26292 * login/programs/pt_chown.c (main): Likewise.
26293 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
26294 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
26295 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
26296 (mmap, mmap64, mremap, munmap): Likewise.
26297 * math/e_exp2l.c: Likewise.
26298 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
26299 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
26300 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
26301 * math/s_catan.c (__catan): Likewise.
26302 * math/s_catanf.c (__catanf): Likewise.
26303 * math/s_catanh.c (__catanh): Likewise.
26304 * math/s_catanhf.c (__catanhf): Likewise.
26305 * math/s_catanhl.c (__catanhl): Likewise.
26306 * math/s_catanl.c (__catanl): Likewise.
26307 * math/s_ccosh.c (__ccosh): Likewise.
26308 * math/s_ccoshf.c (__ccoshf): Likewise.
26309 * math/s_ccoshl.c (__ccoshl): Likewise.
26310 * math/s_cexp.c (__cexp): Likewise.
26311 * math/s_cexpf.c (__cexpf): Likewise.
26312 * math/s_cexpl.c (__cexpl): Likewise.
26313 * math/s_clog10.c (__clog10): Likewise.
26314 * math/s_clog10f.c (__clog10f): Likewise.
26315 * math/s_clog10l.c (__clog10l): Likewise.
26316 * math/s_clog.c (__clog): Likewise.
26317 * math/s_clogf.c (__clogf): Likewise.
26318 * math/s_clogl.c (__clogl): Likewise.
26319 * math/s_csin.c (__csin): Likewise.
26320 * math/s_csinf.c (__csinf): Likewise.
26321 * math/s_csinh.c (__csinh): Likewise.
26322 * math/s_csinhf.c (__csinhf): Likewise.
26323 * math/s_csinhl.c (__csinhl): Likewise.
26324 * math/s_csinl.c (__csinl): Likewise.
26325 * math/s_csqrt.c (__csqrt): Likewise.
26326 * math/s_csqrtf.c (__csqrtf): Likewise.
26327 * math/s_csqrtl.c (__csqrtl): Likewise.
26328 * math/s_ctan.c (__ctan): Likewise.
26329 * math/s_ctanf.c (__ctanf): Likewise.
26330 * math/s_ctanh.c (__ctanh): Likewise.
26331 * math/s_ctanhf.c (__ctanhf): Likewise.
26332 * math/s_ctanhl.c (__ctanhl): Likewise.
26333 * math/s_ctanl.c (__ctanl): Likewise.
26334 * math/w_pow.c: Likewise.
26335 * math/w_powf.c: Likewise.
26336 * math/w_powl.c: Likewise.
26337 * math/w_scalb.c (sysv_scalb): Likewise.
26338 * math/w_scalbf.c (sysv_scalbf): Likewise.
26339 * math/w_scalbl.c (sysv_scalbl): Likewise.
26340 * misc/error.c (error_tail): Likewise.
26341 * misc/pselect.c (__pselect): Likewise.
26342 * nis/nis_callback.c (__nis_create_callback): Likewise.
26343 * nis/nis_call.c (__nisfind_server): Likewise.
26344 * nis/nis_creategroup.c (nis_creategroup): Likewise.
26345 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
26346 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
26347 * nis/nis_getservlist.c (nis_getservlist): Likewise.
26348 * nis/nis_lookup.c (nis_lookup): Likewise.
26349 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
26350 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
26351 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
26352 * nis/nis_xdr.c (xdr_endpoint): Likewise.
26353 * nis/nss_compat/compat-grp.c (getgrent_next_file)
26354 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
26355 * nis/nss_compat/compat-initgroups.c (add_group)
26356 (internal_getgrent_r): Likewise.
26357 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
26358 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
26359 * nis/nss_compat/compat-spwd.c (getspent_next_file)
26360 (internal_getspnam_r): Likewise.
26361 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
26362 (_nss_nis_getaliasbyname_r): Likewise.
26363 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
26364 (_nss_nis_getntohost_r): Likewise.
26365 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
26366 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
26367 (_nss_nis_getgrgid_r): Likewise.
26368 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
26369 (internal_nis_gethostent_r, internal_gethostbyname2_r)
26370 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
26371 (_nss_nis_gethostbyname4_r): Likewise.
26372 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
26373 (initgroups_netid): Likewise.
26374 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
26375 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
26376 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
26377 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
26378 (_nss_nis_getprotobynumber_r): Likewise.
26379 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
26380 (_nss_nis_getsecretkey): Likewise.
26381 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
26382 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
26383 (_nss_nis_getpwuid_r): Likewise.
26384 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
26385 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
26386 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
26387 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
26388 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
26389 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
26390 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
26391 Likewise.
26392 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
26393 (_nss_nisplus_getntohost_r): Likewise.
26394 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
26395 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
26396 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
26397 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
26398 Likewise.
26399 * nis/nss_nisplus/nisplus-initgroups.c
26400 (_nss_nisplus_initgroups_dyn): Likewise.
26401 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
26402 (_nss_nisplus_getnetbyaddr_r): Likewise.
26403 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
26404 (_nss_nisplus_getprotobynumber_r): Likewise.
26405 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
26406 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
26407 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
26408 Likewise.
26409 * nis/nss_nisplus/nisplus-service.c
26410 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
26411 (_nss_nisplus_getservbyport_r): Likewise.
26412 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
26413 (_nss_nisplus_getspnam_r): Likewise.
26414 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
26415 Likewise.
26416 * nscd/aicache.c (addhstaiX): Likewise.
26417 * nscd/cache.c (cache_search, prune_cache): Likewise.
26418 * nscd/connections.c (register_traced_file, send_ro_fd)
26419 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
26420 (main_loop_epoll): Likewise.
26421 * nscd/grpcache.c (addgrbyX): Likewise.
26422 * nscd/hstcache.c (addhstbyX): Likewise.
26423 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26424 * nscd/mem.c (gc, mempool_alloc): Likewise.
26425 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
26426 (addinnetgrX): Likewise.
26427 * nscd/nscd-client.h (__nscd_acquire_maplock)
26428 (__nscd_drop_map_ref): Likewise.
26429 * nscd/nscd_getai.c (__nscd_getai): Likewise.
26430 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
26431 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
26432 Likewise.
26433 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
26434 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26435 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
26436 (__nscd_get_map_ref): Likewise.
26437 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
26438 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
26439 Likewise.
26440 * nscd/pwdcache.c (addpwbyX): Likewise.
26441 * nscd/selinux.c (preserve_capabilities): Likewise.
26442 * nscd/servicescache.c (addservbyX): Likewise.
26443 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
26444 * posix/fnmatch.c (fnmatch): Likewise.
26445 * posix/getopt.c (_getopt_internal_r): Likewise.
26446 * posix/glob.c (glob, glob_in_dir): Likewise.
26447 * posix/wordexp.c (exec_comm_child): Likewise.
26448 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
26449 (getanswer_r, gaih_getanswer_slice): Likewise.
26450 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
26451 * resolv/res_init.c: Likewise.
26452 * resolv/res_mkquery.c (res_nmkquery): Likewise.
26453 * resolv/res_query.c (__libc_res_nquery): Likewise.
26454 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
26455 Likewise.
26456 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
26457 * stdio-common/perror.c (perror): Likewise.
26458 * stdio-common/printf_fp.c (___printf_fp): Likewise.
26459 * stdio-common/tmpnam.c (tmpnam): Likewise.
26460 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26461 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26462 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26463 Likewise.
26464 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
26465 * stdlib/putenv.c (putenv): Likewise.
26466 * stdlib/setenv.c (__add_to_environ): Likewise.
26467 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26468 * stdlib/strtol_l.c (INTERNAL): Likewise.
26469 * string/memmem.c (memmem): Likewise.
26470 * string/strerror.c (strerror): Likewise.
26471 * string/strnlen.c (__strnlen): Likewise.
26472 * string/test-memmem.c (simple_memmem): Likewise.
26473 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
26474 * sunrpc/pm_getport.c (__get_socket): Likewise.
26475 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
26476 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
26477 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
26478 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
26479 Likewise.
26480 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
26481 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26482 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
26483 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
26484 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
26485 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
26486 Likewise.
26487 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
26488 Likewise.
26489 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26490 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26491 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26492 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26493 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
26494 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
26495 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
26496 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
26497 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
26498 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
26499 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26500 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
26501 Likewise.
26502 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
26503 Likewise.
26504 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
26505 Likewise.
26506 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
26507 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26508 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
26509 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
26510 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
26511 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
26512 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26513 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
26514 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
26515 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
26516 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
26517 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26518 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26519 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
26520 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26521 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
26522 Likewise.
26523 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
26524 Likewise.
26525 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
26526 Likewise.
26527 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
26528 Likewise.
26529 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26530 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26531 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
26532 Likewise.
26533 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
26534 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
26535 * sysdeps/posix/opendir.c (__opendirat): Likewise.
26536 * sysdeps/posix/sleep.c: Likewise.
26537 * sysdeps/posix/tempname.c: Likewise.
26538 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
26539 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26540 Likewise.
26541 * sysdeps/powerpc/powerpc32/dl-machine.h
26542 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
26543 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26544 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26545 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
26546 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
26547 Likewise.
26548 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
26549 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
26550 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26551 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
26552 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26553 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
26554 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
26555 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
26556 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26557 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
26558 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
26559 (elf_machine_lazy_rel): Likewise.
26560 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26561 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
26562 (elf_machine_lazy_rel): Likewise.
26563 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
26564 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
26565 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
26566 * sysdeps/unix/grantpt.c (grantpt): Likewise.
26567 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
26568 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
26569 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
26570 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26571 Likewise.
26572 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26573 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26574 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
26575 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
26576 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26577 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26578 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
26579 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
26580 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
26581 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26582 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26583 Likewise.
26584 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
26585 (__posix_fallocate64_l64): Likewise.
26586 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
26587 (posix_fallocate): Likewise.
26588 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
26589 Likewise.
26590 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26591 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
26592 (getifaddrs_internal): Likewise.
26593 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
26594 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
26595 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
26596 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
26597 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26598 (__posix_fallocate64_l64): Likewise.
26599 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
26600 Likewise.
26601 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
26602 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
26603 (__get_clockfreq): Likewise.
26604 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
26605 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
26606 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
26607 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26608 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26609 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
26610 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
26611 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
26612 Likewise.
26613 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
26614 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
26615 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26616 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
26617 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26618 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
26619 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
26620 Likewise.
26621 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26622 (posix_fallocate): Likewise.
26623 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26624 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
26625 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
26626 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
26627 (elf_machine_rela, elf_machine_rela_relative)
26628 (elf_machine_lazy_rel): Likewise.
26629 * time/asctime.c (asctime_internal): Likewise.
26630 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
26631 * time/tzset.c (__tzset_parse_tz): Likewise.
26632 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26633 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26634 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
26635 * wcsmbs/wcsmbsload.h: Likewise.
26636
26637 [BZ #15894]
26638 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
26639
26640 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
26641 (arena_get2): Remove THREAD_STATS conditionals.
26642 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
26643 (__malloc_stats, int): Likewise.
26644
26645 2014-02-08 Mike Frysinger <vapier@gentoo.org>
26646
26647 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
26648 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
26649
26650 * manual/setjmp.texi: Fix typos/grammar errors.
26651
26652 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
26653 Only return early when n is <= 0. Delete unused return statement.
26654
26655 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
26656 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
26657 * debug/tst-longjmp_chk3.c: New file.
26658
26659 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
26660 (test_main): Replace code with set_fortify_handler call.
26661 * debug/test-strcpy_chk.c: Likewise.
26662 * debug/tst-chk1.c: Likewise.
26663 * debug/tst-longjmp_chk.c: Likewise.
26664 * test-skeleton.c: Include fcntl.h & paths.h
26665 (set_fortify_handler): Define.
26666
26667 * debug/tst-longjmp_chk.c: Add header comment and include
26668 ../test-skeleton.c.
26669 (do_test): Mark static.
26670 (TEST_FUNCTION): Define.
26671
26672 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
26673 (IP_PMTUDISC_INTERFACE): Likewise.
26674 (IP_MULTICAST_IF): Likewise.
26675 (IP_MULTICAST_TTL): Likewise.
26676 (IP_MULTICAST_LOOP): Likewise.
26677 (IP_ADD_MEMBERSHIP): Likewise.
26678 (IP_DROP_MEMBERSHIP): Likewise.
26679 (IP_UNBLOCK_SOURCE): Likewise.
26680 (IP_BLOCK_SOURCE): Likewise.
26681 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
26682 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
26683 (IP_MSFILTER): Likewise.
26684 (MCAST_JOIN_GROUP): Likewise.
26685 (MCAST_BLOCK_SOURCE): Likewise.
26686 (MCAST_UNBLOCK_SOURCE): Likewise.
26687 (MCAST_LEAVE_GROUP): Likewise.
26688 (MCAST_JOIN_SOURCE_GROUP): Likewise.
26689 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
26690 (MCAST_MSFILTER): Likewise.
26691 (IP_MULTICAST_ALL): Likewise.
26692 (IP_UNICAST_IF): Likewise.
26693
26694 * timezone/Makefile: Delete $(have-ksh) check.
26695 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
26696 * timezone/tzselect.ksh: Add +x mode bits.
26697
26698 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
26699 (ANON_INODE_FS_MAGIC): Likewise.
26700 (BDEVFS_MAGIC): Likewise.
26701 (BINFMTFS_MAGIC): Likewise.
26702 (BTRFS_TEST_MAGIC): Likewise.
26703 (CRAMFS_MAGIC_WEND): Likewise.
26704 (DEBUGFS_MAGIC): Likewise.
26705 (ECRYPTFS_SUPER_MAGIC): Likewise.
26706 (EXT3_SUPER_MAGIC): Likewise.
26707 (EXT4_SUPER_MAGIC): Likewise.
26708 (FUTEXFS_SUPER_MAGIC): Likewise.
26709 (HOSTFS_SUPER_MAGIC): Likewise.
26710 (HUGETLBFS_MAGIC): Likewise.
26711 (MINIX3_SUPER_MAGIC): Likewise.
26712 (MTD_INODE_FS_MAGIC): Likewise.
26713 (NILFS_SUPER_MAGIC): Likewise.
26714 (OPENPROM_SUPER_MAGIC): Likewise.
26715 (PIPEFS_MAGIC): Likewise.
26716 (PSTOREFS_MAGIC): Likewise.
26717 (QNX6_SUPER_MAGIC): Likewise.
26718 (RAMFS_MAGIC): Likewise.
26719 (REISERFS_SUPER_MAGIC_STRING): Likewise.
26720 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
26721 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
26722 (SECURITYFS_MAGIC): Likewise.
26723 (SELINUX_MAGIC): Likewise.
26724 (SMACK_MAGIC): Likewise.
26725 (SOCKFS_MAGIC): Likewise.
26726 (SQUASHFS_MAGIC): Likewise.
26727 (STACK_END_MAGIC): Likewise.
26728 (TMPFS_MAGIC): Likewise.
26729 (USBDEVICE_SUPER_MAGIC): Likewise.
26730 (V9FS_MAGIC): Likewise.
26731 (XENFS_SUPER_MAGIC): Likewise.
26732 (CRAMFS_MAGIC): Fix typo in comment.
26733 (EXT2_SUPER_MAGIC): Update comment.
26734 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
26735
26736 2014-02-08 Joseph Myers <joseph@codesourcery.com>
26737
26738 * sysdeps/arm: Move directory from ports/sysdeps/arm.
26739 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
26740 * sysdeps/unix/sysv/linux/arm: Move directory from
26741 ports/sysdeps/unix/sysv/linux/arm.
26742 * README: Update listing for arm-*-linux-gnueabi.
26743
26744 * README: Remove mention of am33.
26745
26746 2014-02-07 Roland McGrath <roland@hack.frob.com>
26747
26748 * bits/sigset.h (__sigemptyset): Use a statement expression rather
26749 than the comma operator, to avoid "rhs of comma has no effect"
26750 compiler warnings.
26751 (__sigfillset, __sigandset, __sigorset): Likewise.
26752 * include/signal.h (__sigemptyset): Likewise.
26753 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
26754
26755 2014-02-07 Allan McRae <allan@archlinux.org>
26756
26757 * version.h (RELEASE): Set to "development".
26758 (VERSION): Set to "2.19.90"
26759 * NEWS: Add 2.20 section.
26760
26761 2014-02-06 Carlos O'Donell <carlos@redhat.com>
26762
26763 [BZ #16529]
26764 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
26765
26766 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26767
26768 * manual/contrib.texi: Update entry for Carlos O'Donell,
26769 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
26770
26771 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
26772
26773 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
26774
26775 * sysdeps/unix/sysv/linux/kernel-features.h
26776 [__LINUX_KERNEL_VERSION >= 0x020621]
26777 (__ASSUME_PROC_PID_TASK_COMM): Define.
26778
26779 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26780
26781 [BZ #16398]
26782 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
26783 conversion when destination buffer does not have enough space.
26784 * libio/tst-ftell-partial-wide.c: New test case.
26785 * libio/Makefile (tests): Add tst-ftell-partial-wide.
26786
26787 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
26788 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
26789 Leonard and Allan McRae.
26790
26791 2014-02-04 David S. Miller <davem@davemloft.net>
26792
26793 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
26794 32-bit.
26795
26796 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26797
26798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
26799 New file
26800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
26801 New file
26802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
26803 New file.
26804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
26805 New file.
26806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26807 New file.
26808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
26809 New file.
26810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
26811 New file.
26812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
26813 New file.
26814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26815 New file.
26816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26817 New file.
26818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26819 New file.
26820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26821 New file.
26822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26823 New file.
26824
26825 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26826
26827 * nptl/shlib-versions: Change powerpc*le start to 2.17.
26828 * shlib-versions: Likewise.
26829
26830 2014-02-04 Roland McGrath <roland@hack.frob.com>
26831 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26832
26833 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
26834 (abilist-pattern): New variable, set to %-le.abilist.
26835
26836 * Makerules (abilist-pattern): New variable.
26837 (vpath): Use $(abilist-pattern) in place of %.abilist.
26838 (check-abi-% pattern rule): Likewise.
26839 (check-abi, update-abi): Likewise.
26840
26841 2014-02-04 Eric Wong <normalperson@yhbt.net>
26842
26843 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26844
26845 2014-02-03 Carlos O'Donell <carlos@redhat.com>
26846
26847 * manual/startup.texi: Add next, previous, and top entries for
26848 the `Program Arguments' and `Environment Variables' nodes.
26849
26850 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
26851
26852 * manual/macros.texi: Add comments before MTASC-safety macros.
26853
26854 * manual/users.texi: Document MTASC-safety properties.
26855
26856 * manual/threads.texi (pthread_key_create, pthread_key_delete)
26857 (pthread_getspecific, pthread_setspecific): Format with
26858 @deftypefun, and add @safety note.
26859 * manual/signal.texi: Move comments that analyze the above
26860 functions to their home place.
26861
26862 2014-02-03 Allan McRae <allan@archlinux.org>
26863
26864 * po/sl.po: Update Slovenian translation from translation project.
26865
26866 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
26867
26868 * manual/time.texi (timegm): Add missing blank after @c.
26869 Reported by Joseph Myers <joseph@codesourcery.com>.
26870
26871 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
26872
26873 * manual/check-safety.sh: New.
26874 * manual/Makefile ($(objpfx)stamp-summary): Run it.
26875
26876 * manual/terminal.texi: Document MTASC-safety properties.
26877
26878 * manual/filesys.texi: Document MTASC-safety properties.
26879
26880 * manual/errno.texi: Document MTASC-safety properties.
26881
26882 * manual/intro.texi: Document safety identifiers and
26883 conditionals.
26884
26885 * manual/string.texi (wcstok): Fix prototype.
26886 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
26887
26888 * manual/time.texi: Document MTASC-safety properties.
26889
26890 * manual/string.texi: Document MTASC-safety properties.
26891
26892 * manual/threads.texi: Document MTASC-safety properties.
26893
26894 * manual/stdio.texi: Document MTASC-safety properties.
26895
26896 * manual/syslog.texi: Document MTASC-safety properties.
26897
26898 * manual/sysinfo.texi: Document MTASC-safety properties.
26899
26900 * manual/startup.texi: Document MTASC-safety properties.
26901
26902 * manual/socket.texi: Document MTASC-safety properties.
26903
26904 * manual/signal.texi: Document MTASC-safety properties.
26905
26906 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
26907
26908 * manual/setjmp.texi: Document MTASC-safety properties.
26909
26910 * manual/search.texi: Document MTASC-safety properties.
26911
26912 * manual/resource.texi: Document MTASC-safety properties.
26913
26914 * manual/process.texi: Document MTASC-safety properties.
26915
26916 * manual/platform.texi: Document MTASC-safety properties.
26917
26918 * manual/pipe.texi: Document MTASC-safety properties.
26919
26920 * manual/pattern.texi: Document MTASC-safety properties.
26921
26922 * manual/message.texi: Document MTASC-safety properties.
26923
26924 [BZ #12751]
26925 * manual/memory.texi: Document MTASC-safety properties.
26926
26927 * manual/math.texi: Document MTASC-safety properties.
26928
26929 * manual/locale.texi: Document MTASC-safety properties.
26930
26931 * manual/llio.texi: Document MTASC-safety properties.
26932
26933 * manual/libdl.texi: New.
26934
26935 * manual/lang.texi: Document MTASC-safety properties.
26936
26937 * manual/job.texi: Document MTASC-safety properties.
26938
26939 * manual/getopt.texi: Document MTASC-safety properties.
26940
26941 * manual/ctype.texi: Document MTASC-safety properties.
26942
26943 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
26944
26945 [BZ #16046]
26946 * csu/libc-tls.c (static_map): Remove variable.
26947 (__libc_setup_tls): Use main executable's link map for TLS data.
26948 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
26949 casing for LM_ID_BASE and GL(dl_nns).
26950 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
26951 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
26952 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
26953 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
26954 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
26955 member.
26956 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
26957 l_phnum members.
26958
26959 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
26960
26961 * manual/debug.texi: Document MTASC-safety properties.
26962
26963 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
26964
26965 [BZ #16510]
26966 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
26967 of __x86_64__ when disabling x87 inline functions.
26968
26969 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
26970
26971 * manual/charset.texi: Document MTASC-safety properties.
26972
26973 * manual/crypt.texi: Document MTASC-safety properties.
26974
26975 * manual/conf.texi: Document MTASC-safety properties.
26976
26977 * manual/arith.texi: Document MTASC-safety properties.
26978
26979 * manual/argp.texi: Document MTASC-safety properties.
26980
26981 * manual/macros.texi: Introduce macros to document multi
26982 thread, asynchronous signal and asynchronous cancellation
26983 safety properties.
26984 * manual/intro.texi: Introduce the properties themselves.
26985
26986 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26987
26988 * sysdeps/sh/sh4/Makefile: New file.
26989
26990 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
26991
26992 * math/gen-libm-test.pl ($srcdir): New variable.
26993 ($auto_input): Use it.
26994
26995 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26996
26997 [BZ #16506]
26998 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
26999 access beyond array bounds when parsing netgroups file.
27000
27001 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
27002 the old buffer before realloc.
27003
27004 2014-01-27 Allan McRae <allan@archlinux.org>
27005
27006 * po/fr.po: Update French translation from translation project.
27007
27008 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27009
27010 * sysdeps/sh/libm-test-ulps: Regenerate.
27011
27012 2014-01-24 David S. Miller <davem@davemloft.net>
27013
27014 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
27015
27016 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27017
27018 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
27019 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
27020
27021 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27022
27023 [BZ #16474]
27024 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
27025 string pointers after reallocation.
27026
27027 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27028
27029 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
27030 __SH4A__ instead of __SH_FPU_ANY__.
27031
27032 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27033
27034 * sysdeps/sh/fpu_control.h: New file.
27035 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
27036 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
27037 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
27038 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
27039 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
27040 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
27041 * sysdeps/sh/sys/ucontext.h: Remove.
27042 * sysdeps/sh/sys: Remove directory.
27043
27044 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27045
27046 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
27047 s390/sys/ucontext.h.
27048 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
27049 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
27050
27051 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
27052
27053 [BZ #15605]
27054 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
27055
27056 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27057
27058 [BZ#16431]
27059 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27060 Adjust the vDSO correctly for internal calls.
27061 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
27062
27063 2014-01-20 Allan McRae <allan@archlinux.org>
27064
27065 * po/ca.po: Update Catalan translation from translation project.
27066
27067 2014-01-16 Mike Frysinger <vapier@gentoo.org>
27068
27069 * sysdeps/s390/sotruss-lib.c: New file.
27070
27071 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27072
27073 [BZ#16430]
27074 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
27075 (__GI___gettimeofday): Alias for a different internal symbol to avoid
27076 local calls issues by not having a PLT stub required for IFUNC calls.
27077 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
27078
27079 2014-01-16 Joseph Myers <joseph@codesourcery.com>
27080
27081 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
27082 * math/test-fpucw-static.c: Likewise.
27083
27084 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27085
27086 [BZ #16453]
27087 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
27088
27089 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27090
27091 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
27092 implementation for powerpc.
27093
27094 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
27095
27096 [BZ #14782]
27097 * sysdeps/posix/system.c (__libc_system): Do not enable
27098 asynchronous cancellation.
27099
27100 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27101
27102 [BZ #16427]
27103 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
27104 handling only for numbers special also in the IEEE case.
27105
27106 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27107
27108 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27109
27110 2014-01-11 Allan McRae <allan@archlinux.org>
27111
27112 * po/bg.po: Update Bulgarian translation from translation project.
27113
27114 * po/de.po: Update German translation from translation project.
27115
27116 2014-01-10 Roland McGrath <roland@hack.frob.com>
27117
27118 * sysdeps/generic/gcc-compat.h: New file.
27119
27120 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27121
27122 * benchtests/asin-inputs: Correct slow inputs.
27123 * benchtests/acos-inputs: Likewise.
27124
27125 2014-01-10 Allan McRae <allan@archlinux.org>
27126
27127 * po:sv.po: Update Swedish translation from translation project.
27128
27129 * po/vi.po: Update Vietnamese translation from translation project.
27130
27131 * po/eo.po: Update Esperanto translation from translation project.
27132
27133 * po/cs.po: Update Czech translation from translation project.
27134
27135 * po/nl.po: Update Dutch translation from translation project.
27136
27137 * po/pl.po: Update Polish translation from translation project.
27138
27139 * po/ru.po: Update Russian translation from translation project.
27140
27141 * po/uk.po: Update Ukrainian translation from translation project.
27142
27143 2014-01-08 Brooks Moses <bmoses@google.com>
27144
27145 * elf/dl-load.c: Fix comment typo.
27146
27147 2014-01-08 Carlos O'Donell <carlos@redhat.com>
27148
27149 * po/header.pot: Rename to...
27150 * po/pot.header: ... this.
27151 * po/Makefile: Use pot.header.
27152
27153 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
27154 Maxim Kuvyrkov <maxim@kugelworks.com>
27155
27156 [BZ #16394]
27157 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
27158 SRC and DEST against LEN.
27159
27160 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27161
27162 [BZ #16414]
27163 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
27164 implementation.
27165 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
27166
27167 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27168
27169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27170
27171 2014-01-08 Joseph Myers <joseph@codesourcery.com>
27172
27173 [BZ #16408]
27174 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
27175 for large positive arguments.
27176
27177 2014-01-07 Joseph Myers <joseph@codesourcery.com>
27178
27179 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27180
27181 * math/auto-libm-test-in: Mark various tests with
27182 xfail-rounding:ldbl-128ibm.
27183 * math/auto-libm-test-out: Regenerated.
27184
27185 [BZ #16407]
27186 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
27187 Increase overflow threshold.
27188
27189 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
27190
27191 [BZ #14286]
27192 * stdio-common/vfprintf.c: Check for integer overflow.
27193
27194 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27195
27196 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
27197 the first argument and return value of __tls_get_addr_internal.
27198
27199 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27200
27201 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
27202 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
27203
27204 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27205
27206 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
27207 * sysdeps/s390/rtld-global-offsets.sym: New file.
27208 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
27209 GLIBC_2.19 symbol.
27210 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
27211 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
27212 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27213 ... this.
27214 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
27215 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27216 ... this.
27217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27218 Regenerate.
27219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27220 Regenerate.
27221 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
27222 halfs of GPRs for high_gprs contexts.
27223 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
27224 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
27225 field.
27226 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
27227 uc_flags field.
27228 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
27229 64 bit versions:
27230 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
27231 for high GPRs (uc_high_gprs) and for future extensions
27232 (__reserved).
27233 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
27234 for future extensions (__reserved).
27235 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
27236 64 bit versions:
27237 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
27238 SC_HIGHGPRS offset definition.
27239 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
27240 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
27241
27242 * Versions.def: Add GLIBC_2.19 for libpthread.
27243 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
27244 siglongjmp for libpthread with GLIBC_2.19 symver.
27245 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
27246 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
27247 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
27248 * sysdeps/s390/__longjmp.c: New file.
27249 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
27250 * sysdeps/s390/longjmp.c: New file.
27251 * sysdeps/s390/setjmp.S: New file.
27252 * sysdeps/s390/sigjmp.S: New file.
27253 * sysdeps/s390/v1-longjmp.c: New file.
27254 * sysdeps/s390/v1-setjmp.h: New file.
27255 * sysdeps/s390/v1-sigjmp.c: New file.
27256 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
27257 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
27258 GLIBC_2.19 version.
27259 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
27260 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
27261 versioned symbols for ____longjmp_chk.
27262 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27263 Likewise.
27264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27265 Regenerate.
27266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27267 Regenerate.
27268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27269 Regenerate.
27270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27271 Regenerate.
27272 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
27273 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
27274 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
27275 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
27276 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
27277 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
27278 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
27279 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
27280 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
27281 * sysdeps/s390/rtld-__longjmp.c: New file.
27282 * sysdeps/s390/rtld-setjmp.S: New file.
27283
27284 2014-01-06 Joseph Myers <joseph@codesourcery.com>
27285
27286 [BZ #16400]
27287 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27288 Return -__logl (x) for small positive arguments without evaluating
27289 a polynomial.
27290
27291 2014-01-06 Mike Frysinger <vapier@gentoo.org>
27292
27293 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
27294 Rename to ...
27295 (__ptrace_peeksiginfo_args): ... this.
27296 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27297 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27298 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27299
27300 2014-01-06 Allan McRae <allan@archlinux.org>
27301
27302 * inet/netinet/in.h: Fix typo in comment.
27303
27304 2014-01-05 Andreas Jaeger <aj@suse.de>
27305
27306 * sysdeps/i386/fpu/libm-test-ulps: Update.
27307
27308 2014-01-05 Allan McRae <allan@archlinux.org>
27309
27310 * po/libc.pot: Regenerated.
27311
27312 * malloc/memusagestat.c: Fix gettext call formatting.
27313
27314 2014-01-04 Sami Kerola <kerolasa@iki.fi>
27315
27316 * nscd/nscd.c: Improve usage() output.
27317
27318 2014-01-04 Mike Frysinger <vapier@gentoo.org>
27319
27320 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
27321 * sysdeps/unix/sysv/linux/configure: Regenerated.
27322 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
27323 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
27324
27325 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27326
27327 [BZ #16390]
27328 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27329 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
27330
27331 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27332
27333 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
27334 extra tokens at end of #undef directive.
27335 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27336 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27337 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27338
27339 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27340
27341 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27342
27343 * math/auto-libm-test-in: Mark various tests with
27344 xfail-rounding:ldbl-128ibm.
27345 * math/auto-libm-test-out: Regenerated.
27346
27347 2014-01-02 Joseph Myers <joseph@codesourcery.com>
27348
27349 [BZ #16386]
27350 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
27351 numbers with subnormal high part when calculating exponent.
27352
27353 [BZ #16385]
27354 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
27355 fabs.
27356
27357 [BZ #16384]
27358 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
27359 M_LN2l.
27360 (__ieee754_acoshl): Use __log1pl not __log1p.
27361
27362 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
27363
27364 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
27365 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
27366 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
27367 (grow_heap, heap_trim, _int_new_arena, get_free_list)
27368 (reused_arena, arena_get2): Convert to GNU style.
27369 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
27370 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
27371 (memalign_check, __malloc_set_state): Likewise.
27372 * malloc/mallocbug.c (main): Likewise.
27373 * malloc/malloc.c (__malloc_assert, malloc_init_state)
27374 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
27375 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
27376 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
27377 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
27378 (__posix_memalign, malloc_info): Likewise.
27379 * malloc/malloc.h: Likewise.
27380 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
27381 (mallochook, memalignhook, reallochook, mabort): Likewise.
27382 * malloc/mcheck.h: Likewise.
27383 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
27384 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
27385 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
27386 * malloc/morecore.c (__default_morecore): Likewise.
27387 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
27388 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
27389 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
27390 (print_and_abort): Likewise.
27391 * malloc/obstack.h: Likewise.
27392 * malloc/set-freeres.c (__libc_freeres): Likewise.
27393 * malloc/tst-mallocstate.c (main): Likewise.
27394 * malloc/tst-mtrace.c (main): Likewise.
27395 * malloc/tst-realloc.c (do_test): Likewise.
27396
27397 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27398
27399 [BZ #16366]
27400 * nscd/netgroupcache.c (do_notfound): New function.
27401 (addgetnetgrentX): Use it.
27402
27403 [BZ # 16365]
27404 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
27405 NSS_STATUS_NOTFOUND.
27406
27407 2014-01-01 Joseph Myers <joseph@codesourcery.com>
27408
27409 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27411
27412 2014-01-01 Allan McRae <allan@archlinux.org>
27413
27414 * scripts/update-copyrights: Update configure input file suffix.
27415
27416 * NEWS: Update copyright year.
27417 * catgets/gencat.c: Likewise.
27418 * csu/version.c: Likewise.
27419 * debug/catchsegv.sh: Likewise.
27420 * debug/pcprofiledump.c: Likewise.
27421 * debug/xtrace.sh: Likewise.
27422 * elf/ldconfig.c: Likewise.
27423 * elf/ldd.bash.in: Likewise.
27424 * elf/pldd.c: Likewise.
27425 * elf/sotruss.ksh: Likewise.
27426 * elf/sprof.c: Likewise.
27427 * iconv/iconv_prog.c: Likewise.
27428 * iconv/iconvconfig.c: Likewise.
27429 * locale/programs/locale.c: Likewise.
27430 * locale/programs/localedef.c: Likewise.
27431 * login/programs/pt_chown.c: Likewise.
27432 * malloc/memusage.sh: Likewise.
27433 * malloc/memusagestat.c: Likewise.
27434 * malloc/mtrace.pl: Likewise.
27435 * manual/libc.texinfo: Likewise.
27436 * nscd/nscd.c: Likewise.
27437 * nss/getent.c: Likewise.
27438 * nss/makedb.c: Likewise.
27439 * posix/getconf.c: Likewise.
27440 * scripts/test-installation.pl: Likewise.
27441
27442 * All files with FSF copyright notices: Update copyright dates
27443 using scripts/update-copyrights.
27444 * intl/plural.c: Regenerated.
27445 * locale/programs/charmap-kw.h: Likewise.
27446 * locale/programs/locfile-kw.h: Likewise.
27447
27448 2013-12-31 Mike Frysinger <vapier@gentoo.org>
27449
27450 * sysdeps/unix/sysv/linux/configure: Regenerated.
27451 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
27452 the linux/fanotify.h header.
27453 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
27454 HAVE_LINUX_FANOTIFY_H is defined.
27455
27456 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27457
27458 * benchtests/cos-inputs: New inputs.
27459 * benchtests/sin-inputs: Likewise.
27460
27461 * benchtests/atan-inputs: New inputs. Fix name of multiple
27462 precision fallback inputs.
27463
27464 * benchtests/atanh-inputs: New inputs.
27465 * benchtests/tanh-inputs: Likewise.
27466
27467 * benchtests/acosh-inputs: New inputs.
27468 * benchtests/asinh-inputs: Likewise.
27469
27470 * benchtests/cosh-inputs: New inputs.
27471 * benchtests/sinh-inputs: Likewise.
27472
27473 * benchtests/acos-inputs: Add more inputs.
27474 * benchtests/asin-inputs: Likewise.
27475
27476 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
27477
27478 [BZ #16375]
27479 * manual/arith.texi: Fix spelling.
27480 * manual/charset.texi: Likewise.
27481 * manual/errno.texi: Likewise.
27482 * manual/filesys.texi: Likewise.
27483 * manual/lang.texi: Likewise.
27484 * manual/llio.texi: Likewise.
27485 * manual/locale.texi: Likewise.
27486 * manual/message.texi: Likewise.
27487 * manual/resource.texi: Likewise.
27488 * manual/search.texi: Likewise.
27489 * manual/setjmp.texi: Likewise.
27490 * manual/stdio.texi: Likewise.
27491 * manual/string.texi: Likewise.
27492 * manual/sysinfo.texi: Likewise.
27493 * manual/time.texi: Likewise.
27494
27495 2013-12-27 Carlos O'Donell <carlos@redhat.com>
27496
27497 * po/sl.po: New file.
27498
27499 2013-12-27 Mike Frysinger <vapier@gentoo.org>
27500
27501 * .gitignore: Add core/.gdbinit/.gdb_history.
27502
27503 2013-12-27 Allan McRae <allan@archlinux.org>
27504
27505 [BZ #16369]
27506 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
27507 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
27508
27509 2013-12-24 Brooks Moses <bmoses@google.com>
27510
27511 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
27512 all compilers that claim C++98 compliance, not just GCC.
27513 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27514 Likewise.
27515
27516 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27517
27518 * NEWS: Restore accidentally deleted bug-fix entries.
27519
27520 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27521 Ondřej Bílka <neleai@seznam.cz>
27522
27523 [BZ #15073]
27524 * malloc/malloc.c (_int_free): Perform sanity check only if we
27525 have_lock.
27526
27527 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
27528
27529 [BZ #12986]
27530 * manual/stdio.texi (String Input Conversions): Clarify that character
27531 classes are not supported.
27532
27533 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27534
27535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27536
27537 2013-12-22 Joseph Myers <joseph@codesourcery.com>
27538
27539 [BZ #16337]
27540 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27541 Calculate results for small negative arguments directly rather
27542 than using reflection formula with special underflow handling.
27543
27544 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
27545 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
27546 sysdeps/unix/bsd/bsd4.4/syscalls.list.
27547 (fchflags): Likewise.
27548 (revoke): Likewise.
27549 (setlogin): Likewise.
27550 (sigaltstack): Likewise.
27551 (wait4): Likewise.
27552 (sigblock): Remove.
27553 (sigsetmask): Likewise.
27554 (wait3): Likewise.
27555 (waitpid): Likewise.
27556 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
27557 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
27558 file.
27559 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
27560 * sysdeps/unix/bsd/Makefile: ... here.
27561 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
27562 * sysdeps/unix/bsd/Versions: ... here.
27563 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
27564 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
27565 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
27566 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
27567 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
27568 * sysdeps/unix/bsd/sigblock.c: ... here.
27569 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
27570 * sysdeps/unix/bsd/sigsetmask.c: ... here.
27571 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
27572 * sysdeps/unix/bsd/sigvec.c: ... here.
27573 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
27574 * sysdeps/unix/bsd/tcdrain.c: ... here.
27575 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
27576 * sysdeps/unix/bsd/tcgetattr.c: ... here.
27577 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
27578 * sysdeps/unix/bsd/tcsetattr.c: ... here.
27579 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
27580 * sysdeps/unix/bsd/wait.c: ... here.
27581 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
27582 * sysdeps/unix/bsd/wait3.c: ... here.
27583 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
27584 * sysdeps/unix/bsd/waitpid.c: ... here.
27585
27586 2013-12-21 Joseph Myers <joseph@codesourcery.com>
27587
27588 [BZ #16356]
27589 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
27590 round-to-nearest for [!USE_AS_EXPM1L].
27591 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
27592 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
27593 more tests of exp and exp10. Expect some exp10 tests to miss
27594 exceptions or fail in directed rounding modes.
27595 * math/auto-libm-test-out: Regenerated.
27596 * math/libm-test.inc (exp10_tonearest_test_data): New array.
27597 (exp10_test_tonearest): New function.
27598 (exp10_towardzero_test_data): New array.
27599 (exp10_test_towardzero): New function.
27600 (exp10_downward_test_data): New array.
27601 (exp10_test_downward): New function.
27602 (exp10_upward_test_data): New array.
27603 (exp10_test_upward): New function.
27604 (main): Call the new functions.
27605 * sysdeps/i386/fpu/libm-test-ulps: Update.
27606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27607
27608 2013-12-20 Joseph Myers <joseph@codesourcery.com>
27609
27610 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27611 asinh, atan, atan2, atanh, cbrt, cos and cosh.
27612 * math/auto-libm-test-out: Regenerated.
27613 * math/libm-test.inc (acosh_test_data): Add more tests.
27614 (atanh_test_data): Likewise.
27615 (ceil_test_data): Likewise.
27616 (copysign_test_data): Likewise.
27617 * sysdeps/i386/fpu/libm-test-ulps: Update.
27618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27619
27620 * timezone/checktab.awk: Update from tzcode 2013i.
27621 * timezone/private.h: Likewise.
27622 * timezone/scheck.c: Likewise.
27623 * timezone/tzfile.h: Likewise.
27624 * timezone/tzselect.ksh: Likewise.
27625 * timezone/zdump.c: Likewise.
27626 * timezone/zic.c: Likewise.
27627
27628 * math/auto-libm-test-in: Add tests of cpow.
27629 * math/auto-libm-test-out: Regenerated.
27630 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
27631 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27632 mpc_cc_c.
27633 (func_calc_desc): Add mpc_cc_c union field.
27634 (test_functions): Add cpow.
27635 (special_fill_2pi): New function.
27636 (special_real_inputs): Add 2pi.
27637 (calc_generic_results): Handle mpc_cc_c.
27638 * sysdeps/i386/fpu/libm-test-ulps: Update.
27639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27640
27641 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
27642 csqrt, ctan and ctanh.
27643 * math/auto-libm-test-out: Regenerated.
27644 * math/libm-test.inc (TEST_COND_x86_64): New macro.
27645 (TEST_COND_x86): Likewise.
27646 (ccos_test_data): Use AUTO_TESTS_c_c.
27647 (ccosh_test_data): Likewise.
27648 (cexp_test_data): Likewise.
27649 (clog_test_data): Likewise.
27650 (csqrt_test_data): Likewise.
27651 (ctan_test_data): Likewise.
27652 (ctan_tonearest_test_data): Likewise.
27653 (ctan_towardzero_test_data): Likewise.
27654 (ctan_downward_test_data): Likewise.
27655 (ctan_upward_test_data): Likewise.
27656 (ctanh_test_data): Likewise.
27657 (ctanh_tonearest_test_data): Likewise.
27658 (ctanh_towardzero_test_data): Likewise.
27659 (ctanh_downward_test_data): Likewise.
27660 (ctanh_upward_test_data): Likewise.
27661 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27662 mpc_c_c.
27663 (func_calc_desc): Add mpc_c_c union field.
27664 (FUNC_mpc_c_c): New macro.
27665 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
27666 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
27667 ctanh.
27668 (special_fill_min_subnorm_p120): New function.
27669 (special_real_inputs): Add min_subnorm_p120.
27670 (calc_generic_results): Handle mpc_c_c.
27671 * sysdeps/i386/fpu/libm-test-ulps: Update.
27672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27673
27674 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27675
27676 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
27677 (do_sin_slow): New functions.
27678 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
27679 (cslow2, csloww1, csloww2): Use the new functions.
27680
27681 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
27682 Use M to change sign of result instead of X. Assume X is
27683 positive.
27684 (csloww1): Likewise.
27685 (__sin): Adjust.
27686 (__cos): Adjust.
27687
27688 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
27689 arguments A and DA.
27690 (__sin): Adjust.
27691 (__cos): Likewise.
27692
27693 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
27694 (__cos): Likewise.
27695 (sloww1): Don't adjust sign of DX.
27696 (csloww1): Likewise.
27697 (sloww2): Use X directly and don't adjust sign of DX.
27698 (csloww2): Likewise.
27699
27700 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27701
27702 * math/auto-libm-test-in: Add tests of cabs and carg.
27703 * math/auto-libm-test-out: Regenerated.
27704 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
27705 (carg_test_data): Likewise.
27706 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27707 mpc_c_f.
27708 (func_calc_desc): Add mpc_c_f union field.
27709 (test_functions): Add cabs and carg.
27710 (calc_generic_results): Handle mpc_c_f.
27711
27712 * sysdeps/powerpc/powerpc32/libgcc-compat.S
27713 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
27714 as a macro and a compat symbol.
27715 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27716 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27717 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
27718 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
27719 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
27720 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
27721 not use .hidden.
27722 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
27723 Likewise.
27724 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
27725 Likewise.
27726 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
27727 Likewise.
27728 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
27729 Likewise.
27730 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
27731 Likewise.
27732 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
27733 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
27734 from GLIBC_2.3.2.
27735
27736 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27737
27738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27739
27740 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27741
27742 * manual/texinfo.tex: Update to version 2013-11-26.10 with
27743 trailing whitespace removed.
27744 * scripts/config.guess: Update to version 2013-11-29.
27745 * scripts/config.sub: Update to version 2013-10-01.
27746
27747 * math/auto-libm-test-in: Add tests of sincos.
27748 * math/auto-libm-test-out: Regenerated.
27749 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
27750 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27751 mpfr_f_11.
27752 (func_calc_desc): Add mpfr_f_11 union field.
27753 (test_functions): Add sincos.
27754 (calc_generic_results): Handle mpfr_f_11.
27755 * sysdeps/i386/fpu/libm-test-ulps: Update.
27756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27757
27758 2013-12-19 Andreas Schwab <schwab@suse.de>
27759
27760 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
27761 CALL_MCOUNT.
27762 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27763 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
27764 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
27765
27766 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27767
27768 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
27769 * sysdeps/i386/fpu/libm-test-ulps: Update.
27770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27771
27772 [BZ #16293]
27773 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
27774 round-to-nearest mode when using frndint.
27775 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
27776 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27777 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27778 Likewise.
27779 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
27780 sinh test to fail.
27781 * math/auto-libm-test-out: Regenerated.
27782 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
27783 (TEST_COND_x86): Likewise.
27784 (expm1_tonearest_test_data): New array.
27785 (expm1_test_tonearest): New function.
27786 (expm1_towardzero_test_data): New array.
27787 (expm1_test_towardzero): New function.
27788 (expm1_downward_test_data): New array.
27789 (expm1_test_downward): New function.
27790 (expm1_upward_test_data): New array.
27791 (expm1_test_upward): New function.
27792 (main): Run the new test functions.
27793 * sysdeps/i386/fpu/libm-test-ulps: Update.
27794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27795
27796 * include/features.h: Update comment documenting feature test
27797 macros. Mention _DEFAULT_SOURCE in comment.
27798 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
27799 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
27800 _BSD_SOURCE and _SVID_SOURCE.
27801 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
27802 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
27803 !_SVID_SOURCE]: Likewise.
27804 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27805 (__USE_POSIX_IMPLICITLY): Define.
27806 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27807 (_POSIX_SOURCE): Undefine and redefine.
27808 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27809 (_POSIX_C_SOURCE): Likewise.
27810 * manual/creature.texi (_DEFAULT_SOURCE): Document.
27811 (Feature Test Macros): Update documentation of default features.
27812
27813 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27814
27815 * benchtests/Makefile: Add bench-strtok.
27816 * benchtests/bench-strtok.c: New file: strtok benchtest.
27817
27818 2013-12-19 Allan McRae <allan@archlinux.org>
27819
27820 * manual/install.texi: Suppress menu for plain text output.
27821 * INSTALL: Regenerated.
27822
27823 2013-12-18 Brooks Moses <bmoses@google.com>
27824
27825 [BZ #15846]
27826 * misc/getauxval.c: Include errno.h.
27827 (__getauxval): Set errno to ENOENT if the requested type is not
27828 found.
27829 * misc/sys/auxv.h (getauxval): Document that it may set errno;
27830 don't declare with __attribute_const__.
27831 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
27832 * manual/startup.texi: Document that getauxval sets errno.
27833
27834 2013-12-18 Joseph Myers <joseph@codesourcery.com>
27835
27836 * math/auto-libm-test-in: Add tests of jn and yn.
27837 * math/auto-libm-test-out: Regenerated.
27838 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
27839 (yn_test_data): Likewise.
27840 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27841 mpfr_if_f.
27842 (func_calc_desc): Add mpfr_if_f union field.
27843 (FUNC_mpfr_if_f): New macro.
27844 (test_functions): Add jn and yn.
27845 (calc_generic_results): Assert type of second input for
27846 mpfr_ff_f. Handle mpfr_if_f.
27847 (output_for_one_input_case): Disable all checking for arguments
27848 fitting floating-point types in case of an integer argument.
27849 * sysdeps/i386/fpu/libm-test-ulps: Update.
27850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27851
27852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27853 Don't expect fegetround reference in libm.so.
27854
27855 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27856
27857 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
27858 $(config-cflags-nofma).
27859
27860 2013-12-18 Joseph Myers <joseph@codesourcery.com>
27861
27862 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
27863 * math/auto-libm-test-out: Regenerated.
27864
27865 [BZ #16338]
27866 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
27867 to determine exponent and adjust argument to have exponent of -1.
27868 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27869 log2.
27870 * math/auto-libm-test-out: Regenerated.
27871 * sysdeps/i386/fpu/libm-test-ulps: Update.
27872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27873
27874 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
27875
27876 * manual/probes.texi: Remove cases when per-thread arenas are
27877 disabled.
27878
27879 2013-12-18 Andreas Schwab <schwab@suse.de>
27880
27881 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
27882 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
27883 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
27884 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
27885 * sysdeps/i386/i686/multiarch/Makefile: Update.
27886 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
27887
27888 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27889
27890 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
27891 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
27892
27893 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
27894
27895 [BZ #15968]
27896 Support TZ transition times < 00:00:00.
27897 This is needed for version-3 tz-format files; it supports time
27898 stamps past 2037 for America/Godthab (the only entry in the tz
27899 database for which this change is relevant).
27900 * manual/time.texi (TZ Variable): Document transition times
27901 from -167:59:59 through -00:00:01.
27902 * time/tzset.c (tz_rule): Time of day is now signed.
27903 (__tzset_parse_tz): Parse negative time of day.
27904
27905 Document TZ transition times >= 25:00:00.
27906 * manual/time.texi (TZ Variable): Document transition times from
27907 25:00:00 through 167:59:59. These are already supported, and this
27908 support will help with version-3 tz-format files.
27909
27910 * manual/time.texi (TZ Variable): Modernize North America example
27911 to reflect current (i.e., 2007-and-later) daylight saving rules.
27912
27913 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
27914
27915 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27916
27917 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
27918 * sysdeps/unix/bsd/bits/stat.h: Likewise.
27919 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
27920 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27921 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
27922 * sysdeps/unix/bsd/bsdstat.h: Likewise.
27923 * sysdeps/unix/bsd/clock.c: Likewise.
27924 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
27925 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
27926 * sysdeps/unix/bsd/init-posix.c: Likewise.
27927 * sysdeps/unix/bsd/poll.c: Likewise.
27928 * sysdeps/unix/bsd/ptsname.c: Likewise.
27929 * sysdeps/unix/bsd/seekdir.c: Likewise.
27930 * sysdeps/unix/bsd/setegid.c: Likewise.
27931 * sysdeps/unix/bsd/seteuid.c: Likewise.
27932 * sysdeps/unix/bsd/setgid.c: Likewise.
27933 * sysdeps/unix/bsd/setrgid.c: Likewise.
27934 * sysdeps/unix/bsd/setruid.c: Likewise.
27935 * sysdeps/unix/bsd/setsid.c: Likewise.
27936 * sysdeps/unix/bsd/setuid.c: Likewise.
27937 * sysdeps/unix/bsd/sigaction.c: Likewise.
27938 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
27939 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
27940 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
27941 * sysdeps/unix/bsd/telldir.c: Likewise.
27942 * sysdeps/unix/bsd/times.c: Likewise.
27943 * sysdeps/unix/bsd/usleep.c: Likewise.
27944
27945 * misc/Makefile (install-lib): Remove libbsd-compat.a.
27946 ($(objpfx)libbsd-compat.a): Remove rule.
27947
27948 * include/features.h (__FAVOR_BSD): Do not define.
27949 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
27950 features conflicting with POSIX.
27951 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
27952 (_BSD_SOURCE): Remove description of not being a subset of other
27953 feature test macros.
27954 * manual/job.texi (getpgrp): Do not document BSD version.
27955 (getpgid): Do not document by reference to BSD getpgrp.
27956 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
27957 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
27958 * signal/signal.h [__FAVOR_BSD]: Likewise.
27959 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
27960 instead of making contents conditional on [__FAVOR_BSD].
27961 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
27962
27963 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27964
27965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27966
27967 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27968
27969 [BZ #16314]
27970 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
27971 values below 2**-450, not 2**-500.
27972 * math/auto-libm-test-in: Don't allow spurious underflow from
27973 hypot.
27974 * math/auto-libm-test-out: Regenerated.
27975
27976 [BZ #16316]
27977 [BZ #16330]
27978 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
27979 values of ha and hb and sort them after adjusting subnormal
27980 arguments.
27981 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
27982 Likewise.
27983 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
27984 values of ea and eb and sort them after adjusting subnormal
27985 arguments.
27986 * math/auto-libm-test-in: Do not expect some hypot tests of
27987 subnormals to fail. Add more hypot tests.
27988 * math/auto-libm-test-out: Regenerated.
27989
27990 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27991
27992 [BZ #13304]
27993 * sysdeps/sh/s_fma.c: New file.
27994 * sysdeps/sh/s_fmaf.c: New file.
27995 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
27996 version.
27997 * sysdeps/sh/Implies: Add sh/soft-fp.
27998
27999 2013-12-16 Roland McGrath <roland@hack.frob.com>
28000
28001 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
28002 level of indirection to members `objname', `errstring', `malloced'.
28003 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
28004 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
28005 it as the __longjmp argument (just pass 1 instead).
28006 (_dl_catch_error): Initialize C with argument pointers and address of
28007 volatile local ERRCODE rather than copying values out of C at return.
28008
28009 2013-12-16 Joseph Myers <joseph@codesourcery.com>
28010
28011 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
28012 * math/auto-libm-test-out: Regenerated.
28013 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
28014 (hypot_test_data): Likewise.
28015 (pow_test_data): Likewise.
28016 (pow_tonearest_test_data): Likewise.
28017 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28018 mpfr_ff_f.
28019 (func_calc_desc): Add mpfr_ff_f union field.
28020 (FUNC_mpfr_ff_f): New macro.
28021 (test_functions): Add atan2, hypot and pow.
28022 (special_fill_min): New function.
28023 (special_fill_minus_min): Likewise.
28024 (special_fill_min_subnorm): Likewise.
28025 (special_fill_minus_min_subnorm): Likewise.
28026 (special_real_inputs): Add min, -min, min_subnorm and
28027 -min_subnorm.
28028 (calc_generic_results): Handle mpfr_ff_f.
28029 * sysdeps/i386/fpu/libm-test-ulps: Update.
28030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28031
28032 2013-12-16 Will Newton <will.newton@linaro.org>
28033
28034 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
28035 (Aligned Memory Blocks): Add documentation for aligned_alloc
28036 and suggest it as an alternative to posix_memalign.
28037 (Hooks for Malloc): Document __memalign_hook is also called
28038 for aligned_alloc. (Summary of Malloc): Add summary for
28039 aligned alloc. Document __memalign_hook is also called
28040 for aligned_alloc.
28041
28042 2013-12-16 Will Newton <will.newton@linaro.org>
28043
28044 * manual/memory.texi (Malloc Examples): Clarify default
28045 alignment documentation. Suggest posix_memalign rather
28046 than memalign or valloc.
28047 (Aligned Memory Blocks): Remove suggestion to use memalign
28048 or valloc. Remove obsolete comment about BSD.
28049 Document memalign errno values and mark the function obsolete.
28050 Document posix_memalign returned error codes. Mark valloc
28051 as obsolete. (Hooks for Malloc): __memalign_hook is also
28052 called for posix_memalign and valloc.
28053 (Summary of Malloc): Add posix_memalign to function summary.
28054 __memalign_hook is also called for posix_memalign and valloc.
28055
28056 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28057
28058 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
28059 TAYLOR_SIN.
28060 (__sin): Adjust.
28061 (__cos): Likewise.
28062 (sloww): Use mynumber union. Expand ternary operator into
28063 if-else statements.
28064 (cslow): use mynumber union.
28065
28066 2013-12-16 Allan McRae <allan@archlinux.org>
28067
28068 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
28069 * configure: Regenerated.
28070
28071 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
28072
28073 [BZ #14120]
28074 * configure.ac: Added --enable-maintainer-mode. Check for
28075 autoconf when enabled.
28076 * configure: Regenerated.
28077
28078 * nscd/nscd.service: New file.
28079 * nscd/nscd.tmpfiles: New file.
28080
28081 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
28082
28083 [BZ #12100]
28084 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
28085 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
28086 * sysdeps/x86_64/multiarch/strstr.c: ... here.
28087 (strstr): Add __strstr_sse2_unaligned ifunc.
28088 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
28089 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
28090 (strcasestr): Remove __strcasestr_sse42 ifunc.
28091 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
28092 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28093 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28094
28095 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28096
28097 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
28098 * sysdeps/sh/bits/fenv.h: ... here.
28099 * sysdeps/sh/sh4/fpu/bits: Remove directory.
28100
28101 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28102
28103 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
28104
28105 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
28106 hypotf multiarch implementations.
28107 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
28108 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
28109 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
28110 multiarch hypot for PPC64.
28111 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
28112 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
28113 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
28114 multiarch hypotf for PPC64.
28115
28116 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
28117 modff multiarch implementations.
28118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
28119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
28120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
28121 multiarch modf for PPC64.
28122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
28123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
28124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
28125 multiarch modff for PPC64.
28126
28127 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
28128 and logl multiarch implementations.
28129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
28130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
28131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
28132 multiarch logb for PPC64.
28133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
28134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
28135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
28136 multiarch logb for PPC64.
28137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
28138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
28139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
28140 multiarch logb for PPC64.
28141
28142 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
28143 isinff multiarch implementation.
28144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
28145 file.
28146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
28147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
28148 multiarch isinf for PPC64.
28149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
28150 file.
28151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
28152 multiarch isinff for PPC64.
28153
28154 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
28155 finitef multiarch implementation.
28156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
28157 file.
28158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
28159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
28160 multiarch finite for PPC64.
28161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
28162 file.
28163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
28164 multiarch finitef for PPC64.
28165
28166 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
28167 lrint multiarch implementation.
28168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
28169 file.
28170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
28171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
28172 multiarch llrint for PPC64.
28173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
28174 multiarch lrint for PPC64.
28175
28176 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
28177 copysignf multiarch implementation.
28178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
28179 file.
28180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
28181 file.
28182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
28183 multiarch copysign for PPC64.
28184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
28185 multiarch copysignf for PPC64.
28186
28187 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
28188 multiarch implementation.
28189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
28190 file.
28191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
28192 file.
28193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
28194 file.
28195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
28196 file.
28197 multiarch llround for PPC64.
28198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
28199 multiarch trunc for PPC64.
28200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
28201 multiarch truncf for PPC64.
28202
28203 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
28204 multiarch implementation.
28205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
28206 file.
28207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
28208 file.
28209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
28210 file.
28211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
28212 file.
28213 multiarch llround for PPC64.
28214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
28215 multiarch round for PPC64.
28216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
28217 multiarch roundf for PPC64.
28218
28219 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
28220 multiarch implementation.
28221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
28222 file.
28223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
28224 file.
28225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
28226 file.
28227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
28228 file.
28229 multiarch llround for PPC64.
28230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
28231 multiarch floor for PPC64.
28232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
28233 multiarch floorf for PPC64.
28234
28235 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
28236 multiarch implementation.
28237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
28238 file.
28239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
28240 file.
28241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
28242 file.
28243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
28244 file.
28245 multiarch llround for PPC64.
28246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
28247 multiarch ceil for PPC64.
28248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
28249 multiarch ceilf for PPC64.
28250
28251 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
28252 multiarch implementation.
28253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
28254 file.
28255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
28256 file.
28257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
28258 file.
28259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
28260 multiarch llround for PPC64.
28261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
28262 multiarch lround for PPC64.
28263
28264 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
28265 multiarch implementation.
28266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
28267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
28268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
28269 file.
28270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
28271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
28272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
28273 multiarch isnan for PPC64.
28274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
28275 multiarch isnanf for PPC64.
28276
28277 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
28278 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
28279 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
28280 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
28281 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
28282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
28283
28284 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
28285 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28286 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28287 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28288
28289 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
28290 multiarch implementations.
28291 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28292 (__libc_ifunc_impl_list): Likewise.
28293 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
28294 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
28295 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
28296 multiarch stpcpy for PPC64.
28297
28298 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
28299 multiarch implementations.
28300 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28301 (__libc_ifunc_impl_list): Likewise.
28302 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
28303 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
28304 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
28305 multiarch strcpy for PPC64.
28306
28307 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
28308 redefine function name.
28309 (_wordcopy_fwd_dest_aligned): Likewise.
28310 (_wordcopy_bwd_aligned): Likewise.
28311 (_wordcopy_bwd_dest_aligned): Likewise.
28312 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
28313 multiarch implementations.
28314 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28315 (__libc_ifunc_impl_list): Likewise.
28316 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
28317 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
28318 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
28319 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
28320 multiarch wcscpy for PPC64.
28321
28322 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
28323 multiarch implementations.
28324 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28325 (__libc_ifunc_impl_list): Likewise.
28326 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
28327 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
28328 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
28329 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
28330 multiarch wcscpy for PPC64.
28331
28332 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
28333 multiarch implementations.
28334 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28335 (__libc_ifunc_impl_list): Likewise.
28336 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
28337 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
28338 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
28339 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
28340 multiarch wcsrchr for PPC64.
28341
28342 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
28343 multiarch implementations.
28344 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28345 (__libc_ifunc_impl_list): Likewise.
28346 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
28347 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
28348 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
28349 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
28350 multiarch wcschr for PPC64.
28351
28352 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
28353 multiarch implementations.
28354 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28355 (__libc_ifunc_impl_list): Likewise.
28356 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
28357 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
28358 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
28359 multiarch strchrnul for PPC64.
28360
28361 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
28362 implementations.
28363 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28364 (__libc_ifunc_impl_list): Likewise.
28365 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
28366 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
28367 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
28368 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
28369 strchr for PPC64.
28370
28371 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
28372 implementations.
28373 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28374 (__libc_ifunc_impl_list): Likewise.
28375 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
28376 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
28377 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
28378 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
28379 strncmp for PPC64.
28380
28381 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
28382 multiarch implementations.
28383 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28384 (__libc_ifunc_impl_list): Likewise.
28385 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
28386 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
28387 strncasecmp for PPC64.
28388 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
28389 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
28390 multiarch strncasecmp_l for PPC64.
28391
28392 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
28393 multiarch implementations.
28394 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28395 (__libc_ifunc_impl_list): Likewise.
28396 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
28397 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
28398 multiarch strcasecmp for PPC64.
28399 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
28400 file.
28401 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
28402 multiarch strcasecmp_l for PPC64.
28403
28404 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
28405 implementations.
28406 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28407 (__libc_ifunc_impl_list): Likewise.
28408 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
28409 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
28410 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
28411 strnlen for PPC64.
28412
28413 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
28414 implementations.
28415 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28416 (__libc_ifunc_impl_list): Likewise.
28417 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
28418 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
28419 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
28420 strlen for PPC64.
28421
28422 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
28423 implementations.
28424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28425 (__libc_ifunc_impl_list): Likewise.
28426 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
28427 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
28428 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
28429 rawmemrchr for PPC64.
28430
28431 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
28432 implementation.
28433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28434 (__libc_ifunc_impl_list): Likewise.
28435 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
28436 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
28437 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
28438 memrchr for PPC64.
28439
28440 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
28441 implementation.
28442 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28443 (__libc_ifunc_impl_list): Likewise.
28444 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
28445 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
28446 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
28447 memchr for PPC64.
28448
28449 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
28450 implementation.
28451 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28452 (__libc_ifunc_impl_list): Likewise.
28453 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
28454 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
28455 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
28456 mempcpy for PPC64.
28457
28458 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
28459 avoid cretion of __bzero symbol.
28460 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
28461 Likewise.
28462 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
28463 Likewise.
28464 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
28465 Likewise.
28466 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
28467 multiarch implementations.
28468 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28469 (__libc_ifunc_impl_list): Likewise.
28470 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
28471 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
28472 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
28473 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
28474 bzero for PPC32.
28475 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
28476 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
28477 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
28478 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
28479 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
28480 memset for PPC64.
28481 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
28482
28483 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
28484 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
28485 implementations.
28486 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28487 (__libc_ifunc_impl_list): Likewise.
28488 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
28489 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
28490 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
28491 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
28492 memcmp for PPC64.
28493
28494 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
28495 multiarch for POWER/PPC64.
28496 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
28497 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
28498 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
28499 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
28500 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
28501 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
28502 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
28503 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
28504 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
28505 memcpy for PPC64.
28506
28507 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
28508 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
28509 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
28510 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
28511 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
28512 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
28513 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
28514 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
28515 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
28516 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
28517 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
28518 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
28519 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
28520 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
28521 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
28522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
28523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
28524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
28525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
28526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
28527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
28528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
28529
28530 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28531
28532 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
28533
28534 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28535
28536 * benchtests/Makefile (bench): Add exp2 and log2.
28537 (LDLIBS-bench-exp2): Add -lm.
28538 (LDLIBS-bench-log2): Likewise.
28539 * benchtests/exp2-inputs: New inputs file.
28540 * benchtests/log2-inputs: New inputs file.
28541 * benchtests/log-inputs: Add new inputs.
28542 * benchtests/tan-inputs: Likewise.
28543
28544 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28545
28546 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
28547 definition...
28548 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
28549 (csloww2): ... from here.
28550
28551 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
28552 instead of structures.
28553 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
28554 (POLYNOMIAL): Likewise.
28555 (TAYLOR_SLOW): Likewise.
28556 (__sin): Likewise.
28557 (__cos): Likewise.
28558 (slow1): Likewise.
28559 (slow2): Likewise.
28560 (sloww): Likewise.
28561 (sloww1); Likewise.
28562 (sloww2): Likewise.
28563 (bsloww1): Likewise.
28564 (bsloww2): Likewise.
28565 (cslow2): Likewise.
28566 (csloww): Likewise.
28567 (csloww1): Likewise.
28568 (csloww2): Likewise.
28569
28570 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
28571
28572 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
28573 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
28574 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
28575 * malloc/hooks.c (realloc_check): Likewise.
28576
28577 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
28578 * malloc/arena.c: Remove PER_THREAD conditional.
28579 [!PER_THREAD]: Remove code.
28580 (ptmalloc_unlock_all2): Likewise.
28581 (ptmalloc_init): Likewise.
28582 (_int_new_arena): Likewise.
28583 (arena_get2): Likewise.
28584 * malloc/hooks.c (__malloc_get_state): Likewise.
28585 (__malloc_set_state): Likewise.
28586 * malloc/malloc.c: Likewise.
28587 (struct malloc_state): Likewise.
28588 (struct malloc_par): Likewise.
28589 (__libc_realloc): Likewise.
28590 (__libc_mallopt): Likewise.
28591
28592 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28593
28594 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
28595
28596 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
28597
28598 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
28599 macro to a function. Check for zero perturb_byte.
28600 (_int_malloc, _int_free): Remove zero perturb_byte checks.
28601
28602 * malloc/malloc.c: (force_reg): Remove.
28603 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
28604 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
28605 force_reg by atomic_forced_read.
28606 * malloc/arena.c (ptmalloc_init): Likewise.
28607 * malloc/hooks.c (top_check): Likewise.
28608
28609 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28610
28611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28612
28613 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
28614
28615 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28616
28617 2013-12-08 Joseph Myers <joseph@codesourcery.com>
28618
28619 * math/auto-libm-test-in: Add tests of lgamma.
28620 * math/auto-libm-test-out: Regenerated.
28621 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
28622 (M_LOG_2_SQRT_PIl): Likewise.
28623 (lgamma_test_data): Use AUTO_TESTS_f_f1.
28624 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28625 mpfr_f_f1.
28626 (func_calc_desc): Add mpfr_f_f1 union field.
28627 (ARGS1): New macro.
28628 (ARGS2): Likewise.
28629 (ARGS3): Likewise.
28630 (ARGS4): Likewise.
28631 (RET1): Likewise.
28632 (RET2): Likewise.
28633 (CALC): Likewise.
28634 (FUNC): Likewise.
28635 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
28636 (test_functions): Add lgamma.
28637 (calc_generic_results): Handle mpfr_f_f1.
28638 * sysdeps/i386/fpu/libm-test-ulps: Update.
28639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28640
28641 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28642
28643 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
28644 __mpn_add_n for PowerPC64/POWER7.
28645 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
28646 __mpn_sub_n for PowerPC64/POWER7.
28647
28648 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
28649 __mpn_addmul_1 for PowerPC64.
28650 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
28651 __mpn_submul_1 for PowerPC64.
28652 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
28653 for PowerPC64.
28654 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
28655 for PowerPC64.
28656
28657 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
28658
28659 [BZ #15089]
28660 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
28661
28662 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28663
28664 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
28665
28666 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
28667 add multiarch folders.
28668 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
28669 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
28670 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
28671 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
28672 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
28673 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
28674 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
28675 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
28676 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
28677 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
28678 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
28679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
28680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
28681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
28682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
28683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
28684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
28685
28686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28687 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
28688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
28689 New file.
28690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
28691 New file.
28692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
28693 multiarch __ieee754_hypot for PowerPC32.
28694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
28695 New file.
28696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
28697 New file.
28698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
28699 multiarch __ieee754_hypotf for PowerPC32.
28700
28701 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
28702 long_double_symbol only if __logbl is defined.
28703 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
28704 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
28705 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
28706 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
28707 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
28708 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
28709 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
28710 path for implementation.
28711 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
28712 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
28713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
28714 logb, and logbl multiarch implementations for PowerPC32.
28715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
28716 file.
28717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
28718 file.
28719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
28720 multiarch logb for PowerPC32.
28721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
28722 file.
28723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
28724 file.
28725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
28726 multiarch logbf for PowerPC32.
28727 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
28728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
28729 file.
28730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
28731 multiarch logbl implementation for PowerPC32.
28732
28733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
28734 and modff multiarch implementations.
28735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
28736 New file.
28737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
28738 New file.
28739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
28740 multiarch modf for PowerPC32.
28741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
28742 New file.
28743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
28744 New file.
28745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
28746 multiarch modff for PowerPC32.
28747
28748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
28749 and lrintf multiarch implementations.
28750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
28751 New file.
28752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
28753 New file.
28754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
28755 multiarch lrint for PowerPC32.
28756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
28757 file: multiarch lrintf for PowerPC32.
28758
28759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
28760 and lroundf multiarch implementations.
28761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
28762 New file.
28763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
28764 New file.
28765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
28766 New file.
28767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
28768 multiarch lround for PowerPC32.
28769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
28770 file: multiarch lroundf for PowerPC32.
28771
28772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28773 copysign and copysignf multiarch implementations.
28774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
28775 New file.
28776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
28777 New file.
28778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
28779 file: multiarch copysign for PowerPC32.
28780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
28781 file: multiarch copysignf for PowerPC32.
28782
28783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
28784 and truncf multiarch implementations.
28785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
28786 New file.
28787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
28788 file.
28789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
28790 multiarch trunc for PowerPC32.
28791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
28792 New file.
28793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
28794 New file.
28795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
28796 multiarch truncf for PowerPC32.
28797
28798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
28799 and roundf multiarch implementations.
28800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
28801 New file.
28802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
28803 file.
28804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
28805 multiarch round for PowerPC32.
28806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
28807 New file.
28808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
28809 New file.
28810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
28811 multiarch roundf for PowerPC32.
28812
28813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
28814 and floorf multiarch implementations.
28815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
28816 New file.
28817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
28818 file.
28819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
28820 multiarch floor for PowerPC32.
28821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
28822 New file.
28823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
28824 New file.
28825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
28826 multiarch floorf for PowerPC32.
28827
28828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
28829 and ceilf multiarch implementations.
28830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
28831 New file.
28832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
28833 file.
28834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
28835 multiarch ceil for PowerPC32.
28836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
28837 New file.
28838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
28839 file.
28840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
28841 multiarch ceilf for PowerPC32.
28842
28843 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
28844 is defined.
28845 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
28846 FINITEF is defined.
28847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
28848 and finitef multiarch implementations.
28849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
28850 New file.
28851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
28852 file.
28853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
28854 multiarch finite for PowerPC32.
28855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
28856 New file.
28857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
28858 file: multiarch finitef for PowerPC32.
28859
28860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
28861 and isinff multiarch implementations.
28862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
28863 file.
28864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
28865 file.
28866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
28867 multiarch isinf for PowerPC32.
28868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
28869 New file.
28870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
28871 multiarch isinff for PowerPC32.
28872
28873 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
28874 alias when __isnan is defined.
28875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
28876 and isnanf multiarch implementations.
28877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
28878 file.
28879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
28880 file.
28881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
28882 file.
28883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
28884 file.
28885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
28886 multiarch isnan for PowerPC32.
28887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
28888 New file.
28889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
28890 New file.
28891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
28892 multiarch isnanf for PowerPC32.
28893
28894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
28895 and sqrtf multiarch implementations.
28896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
28897 file.
28898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
28899 file.
28900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
28901 multiarch sqrt for PowerPC32.
28902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
28903 file.
28904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
28905 file.
28906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
28907 multiarch sqrtf for PowerPC32.
28908
28909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
28910 and llroundf multiarch implementations.
28911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
28912 New file.
28913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
28914 New file.
28915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
28916 New file.
28917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
28918 file: multiarch llround for PowerPC32.
28919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
28920 file: multiarch llroundf for PowerPC32.
28921
28922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
28923 multiarch PowerPC32 fpu implementations.
28924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
28925 New file.
28926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
28927 New file.
28928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
28929 multiarch llrint for PowerPC32.
28930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
28931 New file.
28932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
28933 New file.
28934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
28935 file.
28936
28937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
28938
28939 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
28940 file.
28941 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
28942 file.
28943 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
28944 file.
28945 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
28946 multiarch wordcopy for PPC32.
28947 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28948 wordcopy objects.
28949 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28950 (__libc_ifunc_impl_list): Likewise.
28951 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
28952 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
28953 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
28954 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
28955 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
28956 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
28957
28958 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
28959 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
28960 file.
28961 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
28962 file.
28963 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
28964 file.
28965 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
28966 multiarch wcscpy for PPC32.
28967 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28968 multiarch objects.
28969 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28970 (__libc_ifunc_impl_list): Likewise.
28971 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28972 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28973 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
28974 sysdeps/powerpc/power6/wcscpy.c.
28975
28976 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
28977 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
28978 file.
28979 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
28980 file.
28981 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
28982 file.
28983 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
28984 multiarch wcsrchr for PPC32.
28985 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28986 multiarch objects.
28987 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28988 (__libc_ifunc_impl_list): Likewise.
28989 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28990 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28991 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
28992 sysdeps/powerpc/power6/wcsrchr.c.
28993
28994 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
28995 file.
28996 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
28997 file.
28998 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
28999 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
29000 multiarch wcschr for PPc32.
29001 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
29002 multiarch objects.
29003 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29004 (__libc_ifunc_impl_list): Likewise.
29005 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
29006 * sysdeps/powerpc/power6/wcschr.c: ... to here.
29007 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
29008 sysdeps/powerpc/power6/wcschr.c.
29009
29010 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
29011 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
29012 file.
29013 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
29014 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
29015 file: multiarch strchr for PPC32.
29016 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
29017 multiarch objects.
29018 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29019 (__libc_ifunc_impl_list): Likewise.
29020
29021 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
29022 name.
29023 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
29024 file.
29025 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
29026 file.
29027 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
29028 multiarch strchrnul for PPC32.
29029 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
29030 multiarch objects.
29031 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29032 (__libc_ifunc_impl_list): Likewise.
29033
29034 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
29035 file.
29036 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
29037 multiarch strncasecmp for PPC32.
29038 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
29039 file.
29040 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
29041 multiarch strncasecmp_l for PPC32.
29042 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
29043 strncasecmp multiarch objects.
29044 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29045 (__libc_ifunc_impl_list): Likewise.
29046
29047 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
29048 file.
29049 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
29050 multiarch strncasecmp for PPC32.
29051 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
29052 New file.
29053 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
29054 multiarch strcasecmp_l for PPC32.
29055 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
29056 multiarch objects.
29057 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29058 (__libc_ifunc_impl_list): Likewise.
29059
29060 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
29061 file.
29062 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
29063 file.
29064 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
29065 multiarch strncmp for PPC32.
29066 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
29067 multiarch objects.
29068 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29069 (__libc_ifunc_impl_list): Likewise.
29070
29071 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
29072 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
29073 file.
29074 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
29075 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
29076 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
29077 multiarch objects.
29078 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29079 (__libc_ifunc_impl_list): Likewise.
29080
29081 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
29082 file.
29083 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
29084 file.
29085 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
29086 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
29087 multiarch objects.
29088 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29089 (__libc_ifunc_impl_list): Likewise.
29090
29091 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
29092 file.
29093 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
29094 file.
29095 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
29096 multiarch rawmemchr for PPC32.
29097 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
29098 multiarch objects.
29099 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29100 (__libc_ifunc_impl_list): Likewise.
29101
29102 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
29103 file.
29104 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
29105 file.
29106 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
29107 file: memrchr multiarch for PPC32.
29108 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
29109 multiarch objects.
29110 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29111 (__libc_ifunc_impl_list): Likewise.
29112
29113 * string/memchr.c (__memchr): Using macro to redefine symbol name.
29114 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
29115 file.
29116 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
29117 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
29118 multiarch memchr for PPC32.
29119 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
29120 multiarch objects.
29121 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29122 (__libc_ifunc_impl_list): Likewise.
29123
29124 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
29125 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
29126 file.
29127 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
29128 file.
29129 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
29130 file: multiarch mempcpy for PPC32.
29131 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
29132 multiarch objects.
29133 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29134 (__libc_ifunc_impl_list): Likewise.
29135
29136 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
29137 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
29138 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
29139 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
29140 multiarch bzero for PPC32.
29141 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
29142 file.
29143 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
29144 file.
29145 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
29146 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
29147 file: multiarch memset for PPC32.
29148 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
29149 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
29150 memset multiarch objects.
29151 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29152 (__libc_ifunc_impl_list): Likewise.
29153
29154 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
29155 file.
29156 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
29157 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
29158 memcmp for PPC32.
29159 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
29160 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
29161 multiarch objects.
29162 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29163 (__libc_ifunc_impl_list): Likewise.
29164
29165 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
29166 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
29167 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
29168 file.
29169 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
29170 file.
29171 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
29172 file.
29173 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
29174 multiarch memcpy for PPC32.
29175 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
29176 multiarch objects.
29177 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29178 (__libc_ifunc_impl_list): Likewise.
29179
29180 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
29181 support multiarch for POWER/PPC32.
29182 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
29183 Likewise.
29184 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
29185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
29186 Implies file to make multiarch folder appers before the fpu and
29187 default folder for power4 configuration.
29188
29189 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29190
29191 * scripts/bench.pl: Append volatile keyword to type.
29192
29193 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29194
29195 * sysdeps/sh/sotruss-lib.c: New file.
29196 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
29197
29198 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29199
29200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29201
29202 2013-12-05 Joseph Myers <joseph@codesourcery.com>
29203
29204 [BZ #6810]
29205 * math/w_tgamma.c: Include <errno.h>.
29206 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
29207 * math/w_tgammaf.c: Include <errno.h>.
29208 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
29209 * math/w_tgammal.c: Include <errno.h>.
29210 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
29211 * math/auto-libm-test-in: Do not allow missing errno on tgamma
29212 underflow. Add more tgamma tests.
29213 * math/auto-libm-test-out: Regenerated.
29214 * sysdeps/i386/fpu/libm-test-ulps: Update.
29215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29216
29217 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
29218 sin, sinh, tan, tanh, tgamma, y0 and y1.
29219 * math/auto-libm-test-out: Regenerated.
29220 * math/libm-test.inc (TEST_COND_x86_64): New macro.
29221 (TEST_COND_x86): Likewise.
29222 (M_E2l): Remove macro.
29223 (M_E3l): Likewise.
29224 (M_2_SQRT_PIl): Likewise.
29225 (M_SQRT_PIl): Likewise.
29226 (M_1_DIV_El): Likewise.
29227 (log_test_data): Use AUTO_TESTS_f_f.
29228 (log10_test_data): Likewise.
29229 (log1p_test_data): Likewise.
29230 (log2_test_data): Likewise.
29231 (sin_test_data): Likewise.
29232 (sin_tonearest_test_data): Likewise.
29233 (sin_towardzero_test_data): Likewise.
29234 (sin_downward_test_data): Likewise.
29235 (sin_upward_test_data): Likewise.
29236 (sinh_test_data): Likewise.
29237 (sinh_tonearest_test_data): Likewise.
29238 (sinh_towardzero_test_data): Likewise.
29239 (sinh_downward_test_data): Likewise.
29240 (sinh_upward_test_data): Likewise.
29241 (tan_test_data): Likewise.
29242 (tan_tonearest_test_data): Likewise.
29243 (tan_towardzero_test_data): Likewise.
29244 (tan_downward_test_data): Likewise.
29245 (tan_upward_test_data): Likewise.
29246 (tanh_test_data): Likewise.
29247 (tgamma_test_data): Likewise.
29248 (y0_test_data): Likewise.
29249 (y1_test_data): Likewise.
29250 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
29251 (special_real_inputs): Add pi/4.
29252 * sysdeps/i386/fpu/libm-test-ulps: Update.
29253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29254
29255 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29256
29257 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
29258 "longjmp_target" static probes.
29259 (__longjmp): Rename to __longjmp_symbol.
29260 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29261 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
29262 on which longjmp to generate.
29263 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29264 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
29265 probe.
29266 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29267 (__sigjmp_save): Rename to __sigjmp_save_symbol.
29268 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29269 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
29270 and __sigjmp_save_symbol based on which sigsetjmp to generated.
29271 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
29272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
29273 __longjmp_symbol based on which __longjmp to generate.
29274 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
29275 probe.
29276 (setjmp): Rename to setjmp_symbol.
29277 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29278 (_setjmp): Rename to _setjmp_symbol.
29279 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29280 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
29281 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
29282 which setjmp to generate.
29283 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
29284 "longjmp_target" static probes.
29285
29286 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29287
29288 * benchtests/README: Add note about output arguments.
29289 * benchtests/bench-sincos.c: Remove file.
29290 * benchtests/sincos-inputs: New file.
29291 * scripts/bench.pl: Identify output arguments and define
29292 static variables for them.
29293
29294 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
29295
29296 [BZ #15941]
29297 * Makefile (INSTALL): Add install-plain.texi as the primary
29298 dependency.
29299 * manual/install-plain.texi: New file.
29300 * manual/install.texi: Include node directive only for
29301 non-plaintext output.
29302
29303 2013-12-04 Joseph Myers <joseph@codesourcery.com>
29304
29305 * stdlib/longlong.h: Update from GCC.
29306
29307 [BZ #6807]
29308 [BZ #15901]
29309 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
29310 * math/w_j0f.c (y0f): Likewise.
29311 * math/w_j0l.c (__y0l): Likewise.
29312 * math/w_j1.c (y1): Likewise.
29313 * math/w_j1f.c (y1f): Likewise.
29314 * math/w_j1l.c (__y1l): Likewise
29315 * math/w_jn.c (yn): Likewise.
29316 * math/w_jnf.c (ynf): Likewise.
29317 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
29318 Bessel function pole errors in _POSIX_ mode. Use NAN as return
29319 value for Bessel function domain errors outside _SVID_ mode.
29320 Adjust sign of return value for yn (negative integer, 0).
29321 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
29322 by zero in return for negative x and set sign appropriately for
29323 negative n.
29324 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
29325 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29326 * math/libm-test.inc (y0_test_data): Add more tests and adjust
29327 expectations in error cases.
29328 (y1_test_data): Likewise.
29329 (yn_test_data): Likewise.
29330 * sysdeps/i386/fpu/libm-test-ulps: Update.
29331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29332
29333 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29334
29335 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
29336 "64" to "64-v1". Add "64-v2".
29337 (abi-64-options): Rename to ...
29338 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
29339 (abi-64-condition): Rename to ...
29340 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
29341 (abi-64-ld-soname): Rename to ...
29342 (abi-64-v1-ld-soname): ... this.
29343 (abi-64-v2-options): Define.
29344 (abi-64-v2-condition): Likewise.
29345 (abi-64-v2-ld-soname): Likewise.
29346 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
29347 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
29348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
29349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
29350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
29351
29352 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29353 Alan Modra <amodra@gmail.com>
29354
29355 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
29356 New versions for use with the ELFv2 ABI.
29357 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
29358 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
29359 declaration.
29360 (struct La_ppc64v2_retval): Likewise.
29361 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
29362 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
29363 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
29364 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
29365 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
29366 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29367 Do not save or restore CR.
29368 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
29369 (_dl_profile_resolve): Do no save or restore CR. Support extended
29370 return values for ELFv2 ABI. Fix location of FPR return registers.
29371 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
29372 updated values for _CALL_ELF == 2.
29373 (La_regs, La_retval, int_retval): Likewise.
29374
29375 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29376
29377 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
29378 (FRAME_MIN_SIZE_PARM): Likewise.
29379 (FRAME_BACKCHAIN): Likewise.
29380 (FRAME_CR_SAVE): Likewise.
29381 (FRAME_LR_SAVE): Likewise.
29382 (FRAME_TOC_SAVE): Likewise.
29383 (FRAME_PARM_SAVE): Likewise.
29384 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
29385 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
29386 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29387 (call_mcount_parm_offset): New macro.
29388 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
29389 (PROF): Use symbolic stack frame offsets.
29390 (TAIL_CALL_SYSCALL_ERROR): Likewise.
29391 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
29392 Redefine in terms of FRAME_MIN_SIZE.
29393 (_dl_runtime_resolve): Use symbolic stack frame offsets.
29394 (_dl_profile_resolve): Likewise. Update comment.
29395 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
29396 symbols stack frame offsets.
29397 (__sigsetjmp): Likewise.
29398 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
29399 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
29400 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
29401 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
29402
29403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
29404 (FRAME_BACKCHAIN): Remove.
29405 (FRAME_CR_SAVE): Likewise.
29406 (FRAME_LR_SAVE): Likewise.
29407 (FRAME_COMPILER_DW): Likewise.
29408 (FRAME_LINKER_DW): Likewise.
29409 (FRAME_TOC_SAVE): Likewise.
29410 (FRAME_PARM_SAVE): Likewise.
29411 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
29412 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
29413 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
29415 (CHECK_SP): Use symbolic stack frame offsets.
29416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
29417 zone" instead of caller's parameter save area for temp storage.
29418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29419 Likewise. Also, use symbolic stack frame offsets.
29420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
29421 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
29422 our own stack frame instead of the caller's.
29423 (__socket): Use symbolic stack frame offsets.
29424
29425 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29426 Alan Modra <amodra@gmail.com>
29427
29428 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
29429 Define.
29430 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
29431 (PPC64_LOCAL_ENTRY_OFFSET): Define.
29432 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
29433 New function.
29434 (elf_machine_fixup_plt): Call it.
29435 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
29436 reloc arguments.
29437 (elf_machine_rela): Update call to elf_machine_plt_conflict.
29438 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29439 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
29440 r2 before calling target.
29441
29442 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29443 Alan Modra <amodra@gmail.com>
29444
29445 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
29446 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
29447 versions of macros to support ELFv2 ABI.
29448 (LOCALENTRY): New macro.
29449 (ENTRY, EALIGN): Use it.
29450 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
29451 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
29452 fall through into ENTRY entry point.
29453 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
29454 Only define if _CALL_ELF != 2.
29455
29456 (elf_machine_matches_host): Verify ABI version matches.
29457 (RTLD_START): Use LOCALENTRY.
29458 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
29459 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
29460 (PLT_ENTRY_WORDS): New macro.
29461 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
29462 (elf_machine_runtime_setup): Support ELFv2 ABI.
29463 (elf_machine_fixup_plt): Likewise.
29464 (elf_machine_plt_conflict): Likewise.
29465 (resolve_ifunc): Likewise.
29466 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
29467 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29468 Likewise.
29469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
29470 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
29471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29472 (makecontext): Support ELFv2 ABI.
29473 * elf/elf.h (EF_PPC64_ABI): Define.
29474
29475 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29476
29477 * sysdeps/powerpc/powerpc64/sysdep.h
29478 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
29479 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
29480 (ENTRY) [ASSEMBLER]: ... but instead here ...
29481 (EALIGN) [ASSEMBLER]: ... and here.
29482 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
29483 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
29484 (ENTRY_2) [!ASSEMBLER]: Use it.
29485 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
29486 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
29487 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29488 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
29489 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
29490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
29491 Use PPC64_LOAD_FUNCPTR.
29492
29493 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
29494
29495 2013-12-04 Alan Modra <amodra@gmail.com>
29496
29497 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
29498 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
29499 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
29500 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
29501
29502 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
29503 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
29504 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
29505 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
29506 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
29507 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
29508
29509 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29510
29511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29512 (__makecontext): Fix incorrect CFI when backtracing out of
29513 context created via makecontext.
29514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
29515 (__setcontext): Fix incorrect CFI during switch to new context.
29516 (__novec_setcontext): Likewise.
29517
29518 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29519
29520 [BZ #4772]
29521 * time/strptime_l.c (__strptime_internal): Allow modifiers
29522 in strptime.
29523 * time/tst-strptime.c (day_tests): Add testcase.
29524
29525 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29526
29527 * scripts/bench.pl: Skip over blank lines.
29528
29529 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
29530
29531 [BZ #926]
29532 * manual/time.texi (Calendar Time): Clarify what timezone functions
29533 use.
29534
29535 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29536
29537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29538
29539 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29540
29541 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
29542 implementation.
29543 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
29544 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
29545 * debug/memset_chk.c (__memset_chk): Likewise.
29546 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
29547 * debug/strncpy_chk.c: Likewise.
29548
29549 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29550
29551 [BZ #15268]
29552 [BZ #15425]
29553 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
29554 (__ieee754_exp): For possibly underflowing results, check size of
29555 result and force underflow exception if required.
29556 * math/auto-libm-test-in: Add more tests of exp.
29557 * math/auto-libm-test-out: Regenerated.
29558 * sysdeps/i386/fpu/libm-test-ulps: Update.
29559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29560
29561 [BZ #16283]
29562 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
29563 * math/w_exp2f.c (__exp2f): Likewise.
29564 * math/w_exp2l.c (__exp2l): Likewise.
29565 * math/auto-libm-test-in: Do not allow missing errno on exp2
29566 underflow.
29567 * math/auto-libm-test-out: Regenerated.
29568
29569 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
29570
29571 [BZ #16274]
29572 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
29573 handle filename validation.
29574 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
29575 (do_open): Delete.
29576
29577 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29578
29579 [BZ #6786]
29580 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
29581 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
29582 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
29583 <float.h>.
29584 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
29585 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
29586 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29587 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
29588 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29589 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
29590 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29591 * math/auto-libm-test-in: Don't allow missing errno from erfc.
29592 Add more erfc tests.
29593 * math/auto-libm-test-out: Regenerated.
29594 * sysdeps/i386/fpu/libm-test-ulps: Update.
29595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29596
29597 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
29598 exp2, expm1, j0 and j1.
29599 * math/auto-libm-test-out: Regenerated.
29600 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
29601 (erfc_test_data): Likewise.
29602 (exp_test_data): Likewise.
29603 (exp_tonearest_test_data): Likewise.
29604 (exp_towardzero_test_data): Likewise.
29605 (exp_downward_test_data): Likewise.
29606 (exp_upward_test_data): Likewise.
29607 (exp10_test_data): Likewise.
29608 (exp2_test_data): Likewise.
29609 (expm1_test_data): Likewise.
29610 (j0_test_data): Likewise.
29611 (j1_test_data): Likewise.
29612 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
29613 (input_flag_type): Add flag_xfail_rounding.
29614 (input_flags): Add xfail-rounding.
29615 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
29616 (output_for_one_input_case): Handle flag_xfail_rounding.
29617 * sysdeps/i386/fpu/libm-test-ulps: Update.
29618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29619
29620 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
29621
29622 [BZ #16289]
29623 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
29624 division by 0.
29625
29626 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29627
29628 [BZ #16195]
29629 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
29630 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
29631 (STAP_PROBE0): New macro.
29632 (STAP_PROBE1): Likewise.
29633 (STAP_PROBE2): Likewise.
29634 (STAP_PROBE3): Likewise.
29635 (STAP_PROBE4): Likewise.
29636
29637 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
29638
29639 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
29640
29641 2013-12-02 Steve Ellcey <sellcey@mips.com>
29642
29643 * benchtests/Makefile (bench): Add sqrt.
29644 (LDLIBS-bench-sqrt): New.
29645 * benchtests/sqrt-input: New.
29646
29647 2013-12-02 Pavel Simerda <psimerda@redhat.com>
29648
29649 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
29650 (GAIH_EAI): Likewise.
29651 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
29652 (gaih_inet): Likewise.
29653 (getaddrinfo): Don't use GAIH_EAI.
29654
29655 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
29656 (struct gaih): Remove definition.
29657
29658 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29659
29660 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
29661 Use HERRNOP directly.
29662
29663 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29664
29665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29666
29667 2013-11-30 Joseph Myers <joseph@codesourcery.com>
29668
29669 * math/gen-auto-libm-tests.c (test_functions): Add more
29670 single-argument functions.
29671 (special_fill_pi_2): New function.
29672 (special_fill_minus_pi_2): Likewise.
29673 (special_fill_pi_6): Likewise.
29674 (special_fill_minus_pi_6): Likewise.
29675 (special_fill_pi_3): Likewise.
29676 (special_fill_2pi_3): Likewise.
29677 (special_fill_e): Likewise.
29678 (special_fill_1_e): Likewise.
29679 (special_fill_e_minus_1): Likewise.
29680 (special_real_inputs): Add more special inputs.
29681 (output_for_one_input_case): Do not require ERANGE on underflow to
29682 zero if round-to-nearest result does not underflow to zero, unless
29683 exact results required.
29684 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
29685 atan, atanh, cbrt, cos and cosh.
29686 * math/auto-libm-test-out: Regenerated.
29687 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
29688 (acos_tonearest_test_data): Likewise.
29689 (acos_towardzero_test_data): Likewise.
29690 (acos_downward_test_data): Likewise.
29691 (acos_upward_test_data): Likewise.
29692 (acosh_test_data): Likewise.
29693 (asin_test_data): Likewise.
29694 (asin_tonearest_test_data): Likewise.
29695 (asin_towardzero_test_data): Likewise.
29696 (asin_upward_test_data): Likewise.
29697 (asinh_test_data): Likewise.
29698 (atan_test_data): Likewise.
29699 (atanh_test_data): Likewise.
29700 (cbrt_test_data): Likewise.
29701 (cos_test_data): Likewise.
29702 (cos_tonearest_test_data): Likewise.
29703 (cos_towardzero_test_data): Likewise.
29704 (cos_downward_test_data): Likewise.
29705 (cos_upward_test_data): Likewise.
29706 (cosh_test_data): Likewise.
29707 (cosh_tonearest_test_data): Likewise.
29708 (cosh_towardzero_test_data): Likewise.
29709 (cosh_downward_test_data): Likewise.
29710 (cosh_upward_test_data): Likewise.
29711 * sysdeps/i386/fpu/libm-test-ulps: Update.
29712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29713
29714 2013-11-29 Joseph Myers <joseph@codesourcery.com>
29715
29716 [BZ #6787]
29717 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
29718 * math/w_exp10f.c (__exp10f): Likewise.
29719 * math/w_exp10l.c (__exp10l): Likewise.
29720 * math/libm-test.inc (exp10_test_data): Add more tests and expect
29721 errno settings in existing tests.
29722
29723 [BZ #14032]
29724 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
29725 precision control set to double precision.
29726 * sysdeps/i386/fpu/w_sqrt.c: New file.
29727 * math/auto-libm-test-in: Add more tests.
29728 * math/auto-libm-test-out: Update.
29729
29730 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
29731 (sqrt_test_tonearest): New function.
29732 (sqrt_towardzero_test_data): New variable.
29733 (sqrt_test_towardzero): New function.
29734 (sqrt_downward_test_data): New variable.
29735 (sqrt_test_downward): New function.
29736 (sqrt_upward_test_data): New variable.
29737 (sqrt_test_upward): New function.
29738 (main): Call the new functions.
29739
29740 * math/gen-auto-libm-tests.c: New file.
29741 * math/auto-libm-test-in: Likewise.
29742 * math/auto-libm-test-out: New generated file.
29743 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
29744 variables.
29745 (%beautify): Add generated representations of zero.
29746 (top level): Set $auto_input and call parse_auto_input.
29747 (beautify): Remove trailing "f" from hex float constants.
29748 (parse_args): Handle XFAIL_TEST.
29749 (convert_condition): New function.
29750 (or_value): Likewise.
29751 (or_cond_value): Likewise.
29752 (generate_testfile): Handle AUTO_TESTS_* lines.
29753 (parse_auto_input): New function.
29754 * math/libm-test.inc (XFAIL_TEST): New macro.
29755 (ERRNO_UNCHANGED): Update value.
29756 (ERRNO_EDOM): Likewise.
29757 (ERRNO_ERANGE): Likewise.
29758 (IGNORE_RESULT): Likewise.
29759 (TEST_COND_flt_32): New macro.
29760 (TEST_COND_dbl_64): Likewise.
29761 (TEST_COND_ldbl_96_intel): Likewise.
29762 (TEST_COND_ldbl_96_m68k): Likewise.
29763 (TEST_COND_ldbl_128): Likewise.
29764 (TEST_COND_ldbl_128ibm): Likewise.
29765 (TEST_COND_long32): Likewise.
29766 (TEST_COND_long64): Likewise.
29767 (TEST_COND_before_rounding): Likewise.
29768 (TEST_COND_after_rounding): Likewise.
29769 (enable_test): Handle XFAIL_TEST flag.
29770 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
29771 with finite results.
29772 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
29773 auto-libm-test-out.
29774
29775 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29776 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29777
29778 [BZ #16214]
29779 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
29780 __tls_get_addr_internal instead of __tls_get_offset in order to
29781 avoid GOT pointer dependency. Make rtld export
29782 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
29783 __tls_get_addr since we are a __tls_get_offset platform.
29784 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
29785 GOT pointer being set up before.
29786 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
29787
29788 2013-11-28 Joseph Myers <joseph@codesourcery.com>
29789
29790 * manual/math.texi (Errors in Math Functions): Document accuracy
29791 goals.
29792
29793 [BZ #15004]
29794 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
29795 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
29796 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29797 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29798 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29799 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29800 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29801 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29802 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29803 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29804 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29805 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29806 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29807 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29808 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29809 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29810
29811 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
29812 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
29813 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
29814 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
29815 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
29816 Likewise.
29817 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
29818 Likewise.
29819 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
29820 Likewise.
29821 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
29822 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
29823 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
29824 atomic-feupdateenv and flt-rounds.
29825 * sysdeps/powerpc/nofpu/Versions (libc): Add
29826 __atomic_feholdexcept, __atomic_feclearexcept,
29827 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
29828 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
29829 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
29830 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
29831 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
29832 here.
29833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29834 Update.
29835
29836 * manual/arith.texi (FP Exceptions): Document that exceptions may
29837 not be raised when matherr is used.
29838 (Math Error Reporting): Document overflow in directed rounding
29839 modes. Document that errno may not be set when finite values are
29840 returned on overflow. Document intent to set errno on underflow
29841 only for underflow to zero.
29842
29843 [BZ #16271]
29844 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
29845 round-to-nearest then adjust result for other rounding modes.
29846 * include/fenv.h (fegetround): Use libm_hidden_proto.
29847 * math/fegetround.c (fegetround): Use libm_hidden_def.
29848 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
29849 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
29850 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29851 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
29852 Likewise.
29853 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
29854 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29855 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
29856 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
29857
29858 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29859
29860 [BZ #16077]
29861 * nss/Versions (libnss_files): Add
29862 _nss_files_gethostbyname3_r.
29863 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
29864 New function.
29865 (HOST_DB_LOOKUP): Remove macro.
29866 (_nss_files_gethostbyname_r): Implement function without the
29867 HOST_DB_LOOKUP macro.
29868 (_nss_files_gethostbyname2_r): Likewise.
29869
29870 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
29871
29872 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
29873
29874 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
29875
29876 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
29877 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
29878 warning.
29879
29880 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29881
29882 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
29883 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
29884 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
29885 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29886 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
29887 __fe_nomask_env_priv and attribute_hidden.
29888 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
29889 (libc_feupdateenv_test_ppc): Likewise.
29890 (libc_feresetround_ppc): Likewise.
29891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29892 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
29893 compat_symbol macro.
29894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29895 (__fe_nomask_env): Likewise.
29896 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
29897
29898 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29899
29900 * string/Makefile: Remove ifunc tests.
29901 * string/test-string.h: Define TEST_IFUNC.
29902 * string/test-bcopy-ifunc.c: Remove.
29903 * string/test-bzero-ifunc.c: Likewise.
29904 * string/test-memccpy-ifunc.c: Likewise.
29905 * string/test-memchr-ifunc.c: Likewise.
29906 * string/test-memcmp-ifunc.c: Likewise.
29907 * string/test-memcpy-ifunc.c: Likewise.
29908 * string/test-memmem-ifunc.c: Likewise.
29909 * string/test-memmove-ifunc.c: Likewise.
29910 * string/test-mempcpy-ifunc.c: Likewise.
29911 * string/test-memrchr-ifunc.c: Likewise.
29912 * string/test-memset-ifunc.c: Likewise.
29913 * string/test-rawmemchr-ifunc.c: Likewise.
29914 * string/test-stpcpy-ifunc.c: Likewise.
29915 * string/test-stpncpy-ifunc.c: Likewise.
29916 * string/test-strcasecmp-ifunc.c: Likewise.
29917 * string/test-strcasestr-ifunc.c: Likewise.
29918 * string/test-strcat-ifunc.c: Likewise.
29919 * string/test-strchr-ifunc.c: Likewise.
29920 * string/test-strchrnul-ifunc.c: Likewise.
29921 * string/test-strcmp-ifunc.c: Likewise.
29922 * string/test-strcpy-ifunc.c: Likewise.
29923 * string/test-strcspn-ifunc.c: Likewise.
29924 * string/test-strlen-ifunc.c: Likewise.
29925 * string/test-strncasecmp-ifunc.c: Likewise.
29926 * string/test-strncat-ifunc.c: Likewise.
29927 * string/test-strncmp-ifunc.c: Likewise.
29928 * string/test-strncpy-ifunc.c: Likewise.
29929 * string/test-strnlen-ifunc.c: Likewise.
29930 * string/test-strpbrk-ifunc.c: Likewise.
29931 * string/test-strrchr-ifunc.c: Likewise.
29932 * string/test-strspn-ifunc.c: Likewise.
29933 * string/test-strstr-ifunc.c: Likewise.
29934
29935 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29936
29937 * benchtests/Makefile: Remove ifunc tests.
29938 * benchtests/bench-string.h: Define TEST_IFUNC.
29939 * benchtests/bench-bcopy-ifunc.c: Remove.
29940 * benchtests/bench-bzero-ifunc.c: Likewise.
29941 * benchtests/bench-memccpy-ifunc.c: Likewise.
29942 * benchtests/bench-memchr-ifunc.c: Likewise.
29943 * benchtests/bench-memcmp-ifunc.c: Likewise.
29944 * benchtests/bench-memcpy-ifunc.c: Likewise.
29945 * benchtests/bench-memmem-ifunc.c: Likewise.
29946 * benchtests/bench-memmove-ifunc.c: Likewise.
29947 * benchtests/bench-mempcpy-ifunc.c: Likewise.
29948 * benchtests/bench-memrchr-ifunc.c: Likewise.
29949 * benchtests/bench-memset-ifunc.c: Likewise.
29950 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
29951 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
29952 * benchtests/bench-stpcpy-ifunc.c: Likewise.
29953 * benchtests/bench-stpncpy-ifunc.c: Likewise.
29954 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
29955 * benchtests/bench-strcasestr-ifunc.c: Likewise.
29956 * benchtests/bench-strcat-ifunc.c: Likewise.
29957 * benchtests/bench-strchr-ifunc.c: Likewise.
29958 * benchtests/bench-strchrnul-ifunc.c: Likewise.
29959 * benchtests/bench-strcmp-ifunc.c: Likewise.
29960 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
29961 * benchtests/bench-strcpy-ifunc.c: Likewise.
29962 * benchtests/bench-strcspn-ifunc.c: Likewise.
29963 * benchtests/bench-strlen-ifunc.c: Likewise.
29964 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
29965 * benchtests/bench-strncat-ifunc.c: Likewise.
29966 * benchtests/bench-strncmp-ifunc.c: Likewise.
29967 * benchtests/bench-strncpy-ifunc.c: Likewise.
29968 * benchtests/bench-strnlen-ifunc.c: Likewise.
29969 * benchtests/bench-strpbrk-ifunc.c: Likewise.
29970 * benchtests/bench-strrchr-ifunc.c: Likewise.
29971 * benchtests/bench-strsep-ifunc.c: Likewise.
29972 * benchtests/bench-strspn-ifunc.c: Likewise.
29973 * benchtests/bench-strstr-ifunc.c: Likewise.
29974
29975 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29976
29977 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
29978
29979 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29980
29981 * resolv/netdb.h: Use __glibc_reserved instead __unused.
29982 * rt/aio.h: Likewise.
29983 * sysdeps/gnu/bits/utmp.h: Likewise.
29984 * sysdeps/gnu/bits/utmpx.h: Likewise.
29985 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29986 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
29987 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
29988 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
29989 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
29990 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
29991 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
29992 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
29993 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
29994 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
29995 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
29996 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
29997 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
29998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
29999 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30000 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
30001 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
30002 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
30003 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
30004 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
30005 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
30006 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
30007 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
30008 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30009 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
30010 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30011 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
30012 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
30013 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
30014 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
30015 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
30016 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
30017 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
30018 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30019 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
30020 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
30021 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
30022 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
30023 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
30024 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
30025 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
30026 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30027
30028 2013-11-25 Carlos O'Donell <carlos@redhat.com>
30029
30030 [BZ #16245]
30031 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
30032 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
30033
30034 2013-11-25 Joseph Myers <joseph@codesourcery.com>
30035
30036 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
30037 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
30038 Likewise.
30039
30040 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30041
30042 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
30043 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
30044 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
30045 (__fesetround): Remove define.
30046 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
30047 rounding and exceptions handling.
30048 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
30049 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
30050 (__fe_nomask_env): Likewise.
30051 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
30052 __fegetround instead of fegetround.
30053 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
30054 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
30055
30056 2013-11-21 Roland McGrath <roland@hack.frob.com>
30057
30058 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
30059 it's there.
30060
30061 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
30062
30063 2013-11-21 Meador Inge <meadori@codesourcery.com>
30064
30065 [BZ #11157]
30066 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
30067 (encrypt_r): Likewise.
30068 * malloc/obstack.h (obstack_free): Likewise.
30069 * posix/unistd.h (encrypt): Likewise.
30070
30071 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
30072
30073 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
30074 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
30075 DL_CALL_DT_FINI() that call the functions directly.
30076 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
30077 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
30078 * elf/dl-fini.c: Likewise.
30079
30080 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
30081
30082 * malloc/hooks.c (memalign_check): Add alignment rounding.
30083 * malloc/malloc.c (_mid_memalign): New function.
30084 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
30085 Implement by calling _mid_memalign.
30086 * manual/probes.texi (Memory Allocation Probes): Remove
30087 memory_valloc_retry and memory_pvalloc_retry.
30088
30089 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30090
30091 * locale/programs/locarchive.c (open_archive): Add const
30092 qualifier to ARCHIVEFNAME and copy default fname to
30093 DEFAULT_FNAME.
30094
30095 [BZ #15601]
30096 * libio/tst-widetext.input: Rename Oriya to Odia.
30097 * locale/iso-639.def: Likewise.
30098
30099 * manual/probes.texi (Mathematical Function Probes): Add
30100 documentation for sin, cos, asin and acos probes.
30101 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
30102 (__sin32): Add slowasin probe.
30103 (__cos32): Add slowacos probe.
30104 (__mpsin): Add slowsin probe.
30105 (__mpcos): Add slowcos probe.
30106
30107 2013-11-19 Joseph Myers <joseph@codesourcery.com>
30108
30109 [BZ #15483]
30110 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
30111 thread-local __sim_exceptions_thread and global
30112 __sim_exceptions_global.
30113 (__sim_disabled_exceptions): Change to thread-local
30114 __sim_disabled_exceptions_thread and global
30115 __sim_disabled_exceptions_global.
30116 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30117 and global __sim_round_mode_global.
30118 (__simulate_exceptions): Use thread-local floating-point state and
30119 set global state from it as needed.
30120 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
30121 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
30122 __sim_round_mode_thread.
30123 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
30124 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
30125 and global __sim_exceptions_global.
30126 (__sim_disabled_exceptions): Change to thread-local
30127 __sim_disabled_exceptions_thread and global
30128 __sim_disabled_exceptions_global.
30129 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30130 and global __sim_round_mode_global.
30131 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
30132 (SIM_SET_GLOBAL): Likewise.
30133 * sysdeps/powerpc/soft-fp/sfp-machine.h
30134 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
30135 __sim_round_mode_thread.
30136 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
30137 __sim_disabled_exceptions_thread.
30138 (__sim_exceptions): Change to __sim_exceptions_thread.
30139 (__sim_disabled_exceptions): Change to
30140 __sim_disabled_exceptions_thread.
30141 (__sim_round_mode): Change to __sim_round_mode_thread.
30142 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
30143 thread-local floating-point state and set global state from it as
30144 needed.
30145 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
30146 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
30147 (__sim_disabled_exceptions): Remove extern declaration.
30148 (feenableexcept): Use thread-local floating-point state and set
30149 global state from it as needed.
30150 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
30151 extern declaration.
30152 (__sim_disabled_exceptions): Likewise.
30153 (__sim_round_mode): Likewise.
30154 (__fegetenv): Use thread-local floating-point state.
30155 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
30156 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30157 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
30158 floating-point state and set global state from it as needed.
30159 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
30160 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30161 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
30162 Likewise.
30163 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
30164 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
30165 Likewise.
30166 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
30167 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
30168 Use __sim_round_mode_thread.
30169 * math/test-fenv-tls.c: New file.
30170 * math/Makefile (tests): Add test-fenv-tls.
30171 ($(objpfx)test-fenv-tls): Depend on
30172 $(common-objpfx)nptl/libpthread.so.
30173
30174 2013-11-19 Andreas Schwab <schwab@suse.de>
30175
30176 * locale/programs/locale.c (show_info): Decode wordarray elements.
30177 * locale/categories.def (LC_MONETARY): Add element for
30178 _NL_MONETARY_CRNCYSTR.
30179 * locale/C-monetary.c (conversion_rate): New variable.
30180 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
30181 element.
30182
30183 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
30184
30185 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
30186 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
30187
30188 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30189
30190 * elf/Makefile (tst-auxv): New test.
30191 * elf/tst-auxv.c: New
30192 * elf/rtld.c (dl_main): Adjust AT_EXECFN
30193
30194 2013-11-18 Joseph Myers <joseph@codesourcery.com>
30195
30196 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
30197 (hidden_proto): Caller changed.
30198 (hidden_tls_proto): New macro.
30199 (libc_hidden_tls_proto): Likewise.
30200 (rtld_hidden_tls_proto): Likewise.
30201 (libm_hidden_tls_proto): Likewise.
30202 (libresolv_hidden_tls_proto): Likewise.
30203 (librt_hidden_tls_proto): Likewise.
30204 (libdl_hidden_tls_proto): Likewise.
30205 (libnss_files_hidden_tls_proto): Likewise.
30206 (libnsl_hidden_tls_proto): Likewise.
30207 (libnss_nisplus_hidden_tls_proto): Likewise.
30208 (libutil_hidden_tls_proto): Likewise.
30209
30210 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
30211
30212 [BZ #10253]
30213 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
30214 (decompose_rpath): Defer expansion to fillin_rpath.
30215 (_dl_init_paths): Pass linkmap to fillin_rpath.
30216
30217 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30218
30219 * benchtests/Makefile: Add strsep.
30220 * benchtests/bench-strsep.c: New file: strsep benchtest.
30221 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
30222
30223 2013-11-18 Andreas Schwab <schwab@suse.de>
30224
30225 * locale/programs/locale.c (show_info) [case byte]: Check for
30226 '\377' instead of '\177'.
30227 * locale/C-monetary.c (not_available): Always use "\377".
30228 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
30229 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
30230 detect unavailable sign_posn locale elements.
30231 * locale/localeconv.c (__localeconv): For grouping and
30232 mon_grouping handle "\177" and "\377" like no grouping.
30233 (INT_ELEM): New macro. Use it to set all numeric members.
30234 * locale/programs/ld-monetary.c (monetary_read)
30235 <tok_mon_grouping>: Normalize single -1 to the empty string.
30236 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
30237 Likewise.
30238
30239 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30240
30241 [BZ #16055]
30242 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
30243 when we match (nil).
30244 * stdio-common/tst-sscanf.c (struct test): Add testcase.
30245
30246 2013-11-16 Joseph Myers <joseph@codesourcery.com>
30247
30248 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
30249 (NO_TEST_INLINE): Update value.
30250 (ERRNO_UNCHANGED): Likewise.
30251 (ERRNO_EDOM): Likewise.
30252 (ERRNO_ERANGE): Likewise.
30253 (IGNORE_RESULT): Likewise.
30254 (check_float_internal): Check signs of NaN results if
30255 TEST_NAN_SIGN used.
30256 (check_complex): Pass TEST_NAN_SIGN flag through to second
30257 check_float_internal call.
30258 (copysign_test_data): Add tests with quiet NaNs as second
30259 argument. Use TEST_NAN_SIGN.
30260 (fabs_test_data): Add test of negative quiet NaN argument. Use
30261 TEST_NAN_SIGN.
30262 (signbit_test_data): Add tests of quiet NaN argument.
30263 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
30264
30265 * math/gen-libm-test.pl (show_exceptions): Take extra argument
30266 $ignore_result.
30267 (parse_args): Handle function results specified as IGNORE.
30268 * math/libm-test.inc (IGNORE_RESULT): New macro.
30269 (check_float_internal): Do not check numerical result if flag
30270 IGNORE_RESULT set.
30271 (check_complex): Pass through IGNORE_RESULT to second
30272 check_float_internal call.
30273 (check_int): Do not check numerical result if flag IGNORE_RESULT
30274 set.
30275 (check_long): Likewise.
30276 (check_bool): Likewise.
30277 (check_longlong): Likewise.
30278 (lrint_test_data): Add tests of infinite and NaN arguments.
30279 (lrint_tonearest_test_data): Likewise.
30280 (lrint_towardzero_test_data): Likewise.
30281 (lrint_downward_test_data): Likewise.
30282 (lrint_upward_test_data): Likewise.
30283 (llrint_test_data): Likewise.
30284 (llrint_tonearest_test_data): Likewise.
30285 (llrint_towardzero_test_data): Likewise.
30286 (llrint_downward_test_data): Likewise.
30287 (llrint_upward_test_data): Likewise.
30288 (lround_test_data): Likewise.
30289 (llround_test_data): Likewise.
30290
30291 * math/libm-test.inc (NO_TEST_INLINE): New macro.
30292 (ERRNO_UNCHANGED): Update value.
30293 (ERRNO_EDOM): Likewise.
30294 (ERRNO_ERANGE): Likewise.
30295 (NO_TEST_INLINE_FLOAT): New macro.
30296 (NO_TEST_INLINE_DOUBLE): Likewise.
30297 (enable_test): New function.
30298 (RUN_TEST_f_f): Check enable_test before running test.
30299 (RUN_TEST_2_f): Likewise.
30300 (RUN_TEST_fff_f): Likewise.
30301 (RUN_TEST_c_f): Likewise.
30302 (RUN_TEST_f_f1): Likewise.
30303 (RUN_TEST_fF_f1): Likewise.
30304 (RUN_TEST_fI_f1): Likewise.
30305 (RUN_TEST_ffI_f1): Likewise.
30306 (RUN_TEST_c_c): Likewise.
30307 (RUN_TEST_cc_c): Likewise.
30308 (RUN_TEST_f_i): Likewise.
30309 (RUN_TEST_f_i_tg): Likewise.
30310 (RUN_TEST_ff_i_tg): Likewise.
30311 (RUN_TEST_f_b): Likewise.
30312 (RUN_TEST_f_b_tg): Likewise.
30313 (RUN_TEST_f_l): Likewise.
30314 (RUN_TEST_f_L): Likewise.
30315 (RUN_TEST_fFF_11): Likewise.
30316 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
30317 conditionals.
30318 (cosh_test_data): Likewise.
30319 (exp_test_data): Likewise.
30320 (expm1_test_data): Likewise.
30321 (hypot_test_data): Likewise.
30322 (pow_test_data): Likewise.
30323 (sinh_test_data): Likewise.
30324 (tanh_test_data): Likewise.
30325 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
30326 flags argument.
30327
30328 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
30329 tests with quiet NaN input and output.
30330 (acosh_test_data): Likewise.
30331 (asin_test_data): Likewise.
30332 (asinh_test_data): Likewise.
30333 (atan_test_data): Likewise.
30334 (atanh_test_data): Likewise.
30335 (atan2_test_data): Likewise.
30336 (cbrt_test_data): Likewise.
30337 (cos_test_data): Likewise.
30338 (cosh_test_data): Likewise.
30339 (erf_test_data): Likewise.
30340 (erfc_test_data): Likewise.
30341 (exp_test_data): Likewise.
30342 (exp10_test_data): Likewise.
30343 (exp2_test_data): Likewise.
30344 (expm1_test_data): Likewise.
30345 (hypot_test_data): Likewise.
30346 (j0_test_data): Likewise.
30347 (j1_test_data): Likewise.
30348 (jn_test_data): Likewise.
30349 (lgamma_test_data): Likewise.
30350 (log_test_data): Likewise.
30351 (log10_test_data): Likewise.
30352 (log1p_test_data): Likewise.
30353 (log2_test_data): Likewise.
30354 (pow_test_data): Likewise.
30355 (scalb_test_data): Likewise.
30356 (sin_test_data): Likewise.
30357 (sincos_test_data): Likewise.
30358 (sinh_test_data): Likewise.
30359 (tan_test_data): Likewise.
30360 (tanh_test_data): Likewise.
30361 (tgamma_test_data): Likewise.
30362 (y0_test_data): Likewise.
30363 (y1_test_data): Likewise.
30364 (yn_test_data): Likewise.
30365
30366 [BZ #16167]
30367 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
30368 argument being NaN and avoid computations with second argument in
30369 that case.
30370 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30371 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30372 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30373
30374 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
30375
30376 * locale/iso-639.def: Add Chitwani Tharu (the).
30377
30378 2013-11-14 Andreas Schwab <schwab@suse.de>
30379
30380 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
30381 word instead of empty string.
30382
30383 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30384
30385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30386 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
30387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30388 (__fe_nomask_env): Likewise.
30389
30390 2013-11-13 Steve Ellcey <sellcey@mips.com>
30391
30392 * benchtests/bench-timing.h: Include time.h.
30393
30394 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
30395
30396 [BZ #15997]
30397 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
30398 to 3.4.0 for x32.
30399 * sysdeps/unix/sysv/linux/configure: Regenerated.
30400
30401 2013-11-13 Joseph Myers <joseph@codesourcery.com>
30402
30403 [BZ #16151]
30404 * stdlib/strtod_l.c (round_and_return): Do not consider
30405 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
30406 exponent one less than half the least subnormal exponent.
30407 * stdlib/test-strtod-round-data: Add more tests.
30408 * stdlib/tst-strtod-round.c (tests): Regenerated.
30409
30410 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30411
30412 [BZ #14143]
30413 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
30414 (__fe_mask_env): Likewise.
30415 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
30416 libm_hidden_proto and add function prototype.
30417 (__fe_mask_env): Add function prototype.
30418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30419 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
30420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30421 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
30422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30423 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
30424
30425 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30426
30427 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
30428 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
30429
30430 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30431
30432 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
30433 of htab_find_slot().
30434
30435 2013-11-11 David S. Miller <davem@davemloft.net>
30436
30437 [BZ #16150]
30438 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
30439 symbol in the non-vis3 case in static builds.
30440 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
30441 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
30442 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
30443 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
30444
30445 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
30446
30447 [BZ #387]
30448 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
30449 it is empty.
30450
30451 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30452
30453 * benchtests/Makefile: Add bench-strtod.
30454 * benchtests/bench-strtod.c: New file: strtod benchtest
30455
30456 2013-11-11 Andreas Schwab <schwab@suse.de>
30457
30458 [BZ #16153]
30459 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
30460 terminating NUL in key length.
30461
30462 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30463
30464 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30465 Add artificial ODP entry for vDSO symbol for PPC64.
30466 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
30467 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
30468
30469 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30470
30471 [BZ #15374]
30472 * nss/getent.c (services_keys): Recognize services starting with digit.
30473
30474 2013-11-06 David S. Miller <davem@davemloft.net>
30475
30476 [BZ #15985]
30477 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
30478 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
30479
30480 2013-11-06 Will Newton <will.newton@linaro.org>
30481
30482 * manual/memory.texi (Malloc Examples): Remove register
30483 keyword from examples.
30484
30485 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
30486
30487 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
30488
30489 2013-11-04 Joseph Myers <joseph@codesourcery.com>
30490
30491 [BZ #6981]
30492 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
30493 depending on [__GCC_IEC_559 > 0].
30494 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
30495 depending on [__GCC_IEC_559_COMPLEX > 0].
30496
30497 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
30498
30499 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
30500 to iso-639.def.
30501
30502 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
30503
30504 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
30505
30506 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
30507
30508 [BZ #16112]
30509 * malloc/malloc (malloc_info): Do not handle first bin as
30510 special case.
30511
30512 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
30513
30514 * locale/iso-639.def: Add Central Nahuatl (nhn).
30515
30516 2013-11-01 Bruno Haible <bruno@clisp.org>
30517
30518 [BZ #7003]
30519 * manual/math.texi (BSD Random): Specify range upper bound as
30520 in POSIX.
30521
30522 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
30523
30524 * locale/iso-639.def: Add Meadow Mari (mhr).
30525
30526 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
30527
30528 [BZ #14752], [BZ #15763]
30529 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
30530 Validate name.
30531 * rt/tst_shm.c: Add test for escaping directory.
30532
30533 2013-10-31 Andreas Schwab <schwab@suse.de>
30534
30535 [BZ #15917]
30536 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
30537 followed by 'x' as part of digit sequence.
30538 * stdio-common/tst-sscanf.c (double_tests2): New tests.
30539
30540 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
30541
30542 [BZ #16037]
30543 * configure.ac: allow GNU Make 4.0 and greater.
30544 * configure: Regenerated.
30545
30546 2013-10-30 Will Newton <will.newton@linaro.org>
30547
30548 [BZ #16038]
30549 * malloc/hooks.c (memalign_check): Limit alignment to the
30550 maximum representable power of two.
30551 * malloc/malloc.c (__libc_memalign): Likewise.
30552 * malloc/tst-memalign.c (do_test): Add test for very
30553 large alignment values.
30554 * malloc/tst-posix_memalign.c (do_test): Likewise.
30555
30556 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30557
30558 [BZ #11087]
30559 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
30560 (munmap_chunk): Likewise.
30561 (mremap_chunk): Likewise.
30562
30563 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30564
30565 [BZ #15799]
30566 * stdlib/div.c (div): Remove obsolete code.
30567 * stdlib/ldiv.c (ldiv): Likewise.
30568 * stdlib/lldiv.c (lldiv): Likewise.
30569
30570 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30571
30572 [BZ #16071]
30573 * nss/nss_files/files-XXX.c (get_contents_ret): New
30574 enumerator.
30575 (get_contents): New function.
30576 (internal_getent): Use it. Expand size of LINEBUFLEN.
30577
30578 2013-10-30 Mike Frysinger <vapier@gentoo.org>
30579
30580 * configure.in: Moved to ...
30581 * configure.ac: ... here. Change reference to configure.in
30582 to configure.ac.
30583 * sysdeps/arm/preconfigure.ac: ... here.
30584 configure.in to configure.ac.
30585 * sysdeps/gnu/configure.in: Moved to ...
30586 * sysdeps/gnu/configure.ac: ... here.
30587 * sysdeps/i386/configure.in: Moved to ...
30588 * sysdeps/i386/configure.ac: ... here.
30589 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
30590 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
30591 * sysdeps/mach/configure.in: Moved to ...
30592 * sysdeps/mach/configure.ac: ... here.
30593 * sysdeps/mach/hurd/configure.in: Moved to ...
30594 * sysdeps/mach/hurd/configure.ac: ... here.
30595 * sysdeps/powerpc/configure.in: Moved to ...
30596 * sysdeps/powerpc/configure.ac: ... here.
30597 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
30598 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
30599 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
30600 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
30601 * sysdeps/s390/s390-32/configure.in: Moved to ...
30602 * sysdeps/s390/s390-32/configure.ac: ... here.
30603 * sysdeps/s390/s390-64/configure.in: Moved to ...
30604 * sysdeps/s390/s390-64/configure.ac: ... here.
30605 * sysdeps/sh/configure.in: Moved to ...
30606 * sysdeps/sh/configure.ac: ... here.
30607 * sysdeps/sparc/configure.in: Moved to ...
30608 * sysdeps/sparc/configure.ac: ... here.
30609 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
30610 * sysdeps/unix/sysv/linux/configure.ac: ... here.
30611 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
30612 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
30613 * sysdeps/x86_64/configure.in: Moved to ...
30614 * sysdeps/x86_64/configure.ac: ... here.
30615 * sysdeps/x86_64/preconfigure.in: Moved to ...
30616 * sysdeps/x86_64/preconfigure.ac: ... here.
30617 * aclocal.m4: Change reference to configure.in to configure.ac.
30618 * config.h.in: Likewise.
30619 * manual/install.texi: Likewise.
30620 * manual/maint.texi: Likewise.
30621 * Makefile: Likewise.
30622 * malloc/Makefile: Likewise.
30623 * nscd/Makefile: Likewise.
30624 * Makeconfig: Change reference to configure.in and
30625 preconfigure.in to configure.ac and preconfigure.ac
30626 respectively.
30627 * INSTALL: Regenerated.
30628 * configure: Likewise.
30629 * sysdeps/gnu/configure: Likewise.
30630 * sysdeps/i386/configure: Likewise.
30631 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
30632 * sysdeps/mach/configure: Likewise.
30633 * sysdeps/mach/hurd/configure: Likewise.
30634 * sysdeps/powerpc/configure: Likewise.
30635 * sysdeps/powerpc/powerpc32/configure: Likewise.
30636 * sysdeps/powerpc/powerpc64/configure: Likewise.
30637 * sysdeps/s390/s390-32/configure: Likewise.
30638 * sysdeps/s390/s390-64/configure: Likewise.
30639 * sysdeps/sh/configure: Likewise.
30640 * sysdeps/sparc/configure: Likewise.
30641 * sysdeps/unix/sysv/linux/configure: Likewise.
30642 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
30643 * sysdeps/x86_64/configure: Likewise.
30644 * sysdeps/x86_64/preconfigure: Likewise.
30645
30646 2013-10-29 Andreas Schwab <schwab@suse.de>
30647
30648 * stdio-common/Makefile (tst-swscanf-ENV): Define.
30649
30650 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30651
30652 * benchtests/pow-inputs: Add new inputs.
30653
30654 * benchtests/exp-inputs: Add new inputs.
30655
30656 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
30657 conditional check for return value.
30658 (__cos32): Likewise.
30659
30660 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30661
30662 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
30663 to provide a boost for large inputs with word alignment.
30664 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
30665 implementation based on optimized PPC64 strcpy.
30666 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
30667 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
30668 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
30669 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
30670
30671 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30672
30673 [BZ #2801]
30674 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
30675
30676 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30677
30678 [BZ #14876]
30679 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
30680 * time/tst-strptime.c (day_tests): Add testcase.
30681
30682 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30683
30684 [BZ #14029]
30685 * manual/pattern.texi: Acknowledge that fnmatch can fail.
30686
30687 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
30688
30689 [BZ #16074]
30690 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
30691 MAP_FAILED on error.
30692
30693 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30694
30695 [BZ #16072]
30696 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
30697 heap for large requests.
30698
30699 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
30700
30701 [BZ #9954]
30702 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
30703 result if the result has no associated interface.
30704 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
30705 interface for all 127.X.Y.Z addresses.
30706
30707 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
30708
30709 * locale/iso-639.def: Add Ligurian (lij)
30710
30711 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
30712
30713 [BZ #15825]
30714 * sunrpc/rpc_main.c: Document rpcgen -5.
30715
30716 2013-10-19 Michael Stahl <mstahl@redhat.com>
30717
30718 * elf/rtld.c (do_preload): Print the reason why preloading failed.
30719
30720 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30721
30722 [BZ #10278]
30723 * posix/glob.c: Match only directories when trailing slash is present.
30724 * posix/tst-gnuglob.c (my_opendir): Do not open files.
30725 (main): Add testcase.
30726
30727 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30728
30729 [BZ #15670]
30730 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
30731
30732 2013-10-18 Carlos O'Donell <carlos@redhat.com>
30733
30734 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
30735 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
30736 AUTH_DES and cindex for FIPS 140-2.
30737 (DES Encryption): Add cindex FIPS 46-3.
30738
30739 * locale/locarchive.h (struct locarhandle): Add fname.
30740 * locale/programs/localedef.c (main): Pass ARGV[remaining]
30741 if an optional argument was specified to --list-archive,
30742 otherwise NULL.
30743 * locale/programs/locarchive.c (show_archive_content): Take new
30744 argument fname and pass it via ah.fname to open_archive.
30745 * locale/programs/localedef.h: Update decl.
30746 (open_archive): If AH->fname is non-null, open that file
30747 rather than the default file name, and don't ignore ENOENT.
30748 (create_archive): Set AH.fname to NULL.
30749 (delete_locales_from_archive): Likewise.
30750 (add_locales_to_archive): Likewise.
30751 * locale/programs/locfile.c (write_all_categories): Likewise.
30752
30753 2013-10-18 Joseph Myers <joseph@codesourcery.com>
30754 Aldy Hernandez <aldyh@redhat.com>
30755
30756 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
30757 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
30758 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
30759 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
30760 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
30761 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
30762 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
30763 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
30764 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
30765 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
30766 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
30767 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
30768 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
30769 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
30770 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
30771 Likewise.
30772 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
30773 Likewise.
30774 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
30775 Likewise.
30776 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
30777 Likewise.
30778 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
30779 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
30780 Likewise.
30781 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
30782 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
30783 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
30784 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
30785 Likewise.
30786 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
30787 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
30788 * sysdeps/powerpc/preconfigure: Likewise.
30789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
30790 Likewise.
30791 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
30792 Replace contents of file by #include of <fenv_libc.h>.
30793 * sysdeps/powerpc/soft-fp/sfp-machine.h
30794 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
30795 and <sys/prctl.h>.
30796 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
30797 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
30798 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
30799 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
30800 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
30801 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
30802 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
30803 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
30804 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
30805 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
30806 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
30807 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
30808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30809 Allow copysignl PLT reference to be missing.
30810
30811 2013-10-18 Richard Sandiford <richard@codesourcery.com>
30812 Joseph Myers <joseph@codesourcery.com
30813
30814 [BZ #15948]
30815 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
30816 single character.
30817 (add_to_tablewc): Assert sequence of wide characters is nonempty.
30818
30819 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30820
30821 * elf/tst-tls-dlinfo.c: Don't include tls.h.
30822 * elf/tst-tls1.c: Likewise.
30823 * elf/tst-tls10.h: Likewise.
30824 * elf/tst-tls14.c: Likewise.
30825 * elf/tst-tls2.c: Likewise.
30826 * elf/tst-tls3.c: Likewise.
30827 * elf/tst-tls4.c: Likewise.
30828 * elf/tst-tls5.c: Likewise.
30829 * elf/tst-tls6.c: Likewise.
30830 * elf/tst-tls7.c: Likewise.
30831 * elf/tst-tls8.c: Likewise.
30832 * elf/tst-tls9.c: Likewise.
30833 * elf/tst-tlsmod1.c: Likewise.
30834 * elf/tst-tlsmod13.c: Likewise.
30835 * elf/tst-tlsmod13a.c: Likewise.
30836 * elf/tst-tlsmod14a.c: Likewise.
30837 * elf/tst-tlsmod16a.c: Likewise.
30838 * elf/tst-tlsmod16b.c: Likewise.
30839 * elf/tst-tlsmod2.c: Likewise.
30840 * elf/tst-tlsmod3.c: Likewise.
30841 * elf/tst-tlsmod4.c: Likewise.
30842 * elf/tst-tlsmod5.c: Likewise.
30843 * elf/tst-tlsmod6.c: Likewise.
30844
30845 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
30846
30847 [BZ #12486]
30848 * malloc/malloc.c: remove checks for statistics.
30849
30850 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
30851
30852 [BZ #15277]
30853 * inet/inet_net.c (inet_network): Detect additional invalid strings.
30854 * inet/tst-network.c: Add testcase.
30855
30856 2013-10-17 Andreas Schwab <schwab@suse.de>
30857
30858 [BZ #15218]
30859 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
30860 to determine canonical name.
30861
30862 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
30863
30864 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
30865 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
30866 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30867 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30868 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30869 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30870 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30871 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30872 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30873 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30874 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30875 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30876 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30877 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30878 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30879 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30880 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30881 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30882 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30883 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30884 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30885 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30886 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30887 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
30888 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
30889 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30890 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30891 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
30892 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30893 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
30894 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30895 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30896 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30897 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30898 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30899 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30900 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30901 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30902 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30903 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30904 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30905 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30906 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30907 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30908 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30909 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30910 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30911 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30912 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30913 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30914 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30915 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30916 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30917 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30918 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30919 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30920 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30921 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30922
30923 2013-10-17 Joseph Myers <joseph@codesourcery.com>
30924
30925 [BZ #16041]
30926 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
30927 make result into a quiet NaN.
30928
30929 2013-10-16 Joseph Myers <joseph@codesourcery.com>
30930
30931 * soft-fp/adddf3.c: Fix horizontal whitespace.
30932 * soft-fp/addsf3.c: Likewise.
30933 * soft-fp/addtf3.c: Likewise.
30934 * soft-fp/divdf3.c: Likewise.
30935 * soft-fp/divsf3.c: Likewise.
30936 * soft-fp/divtf3.c: Likewise.
30937 * soft-fp/double.h: Likewise.
30938 * soft-fp/eqdf2.c: Likewise.
30939 * soft-fp/eqsf2.c: Likewise.
30940 * soft-fp/eqtf2.c: Likewise.
30941 * soft-fp/extenddftf2.c: Likewise.
30942 * soft-fp/extended.h: Likewise.
30943 * soft-fp/extendsfdf2.c: Likewise.
30944 * soft-fp/extendsftf2.c: Likewise.
30945 * soft-fp/extendxftf2.c: Likewise.
30946 * soft-fp/fixdfdi.c: Likewise.
30947 * soft-fp/fixdfsi.c: Likewise.
30948 * soft-fp/fixdfti.c: Likewise.
30949 * soft-fp/fixsfdi.c: Likewise.
30950 * soft-fp/fixsfsi.c: Likewise.
30951 * soft-fp/fixsfti.c: Likewise.
30952 * soft-fp/fixtfdi.c: Likewise.
30953 * soft-fp/fixtfsi.c: Likewise.
30954 * soft-fp/fixtfti.c: Likewise.
30955 * soft-fp/fixunsdfdi.c: Likewise.
30956 * soft-fp/fixunsdfsi.c: Likewise.
30957 * soft-fp/fixunsdfti.c: Likewise.
30958 * soft-fp/fixunssfdi.c: Likewise.
30959 * soft-fp/fixunssfsi.c: Likewise.
30960 * soft-fp/fixunssfti.c: Likewise.
30961 * soft-fp/fixunstfdi.c: Likewise.
30962 * soft-fp/fixunstfsi.c: Likewise.
30963 * soft-fp/fixunstfti.c: Likewise.
30964 * soft-fp/floatdidf.c: Likewise.
30965 * soft-fp/floatdisf.c: Likewise.
30966 * soft-fp/floatditf.c: Likewise.
30967 * soft-fp/floatsidf.c: Likewise.
30968 * soft-fp/floatsisf.c: Likewise.
30969 * soft-fp/floatsitf.c: Likewise.
30970 * soft-fp/floattidf.c: Likewise.
30971 * soft-fp/floattisf.c: Likewise.
30972 * soft-fp/floattitf.c: Likewise.
30973 * soft-fp/floatundidf.c: Likewise.
30974 * soft-fp/floatundisf.c: Likewise.
30975 * soft-fp/floatunditf.c: Likewise.
30976 * soft-fp/floatunsidf.c: Likewise.
30977 * soft-fp/floatunsisf.c: Likewise.
30978 * soft-fp/floatunsitf.c: Likewise.
30979 * soft-fp/floatuntidf.c: Likewise.
30980 * soft-fp/floatuntisf.c: Likewise.
30981 * soft-fp/floatuntitf.c: Likewise.
30982 * soft-fp/fmadf4.c: Likewise.
30983 * soft-fp/fmasf4.c: Likewise.
30984 * soft-fp/fmatf4.c: Likewise.
30985 * soft-fp/gedf2.c: Likewise.
30986 * soft-fp/gesf2.c: Likewise.
30987 * soft-fp/getf2.c: Likewise.
30988 * soft-fp/ledf2.c: Likewise.
30989 * soft-fp/lesf2.c: Likewise.
30990 * soft-fp/letf2.c: Likewise.
30991 * soft-fp/muldf3.c: Likewise.
30992 * soft-fp/mulsf3.c: Likewise.
30993 * soft-fp/multf3.c: Likewise.
30994 * soft-fp/negdf2.c: Likewise.
30995 * soft-fp/negsf2.c: Likewise.
30996 * soft-fp/negtf2.c: Likewise.
30997 * soft-fp/op-1.h: Likewise.
30998 * soft-fp/op-2.h: Likewise.
30999 * soft-fp/op-4.h: Likewise.
31000 * soft-fp/op-8.h: Likewise.
31001 * soft-fp/op-common.h: Likewise.
31002 * soft-fp/quad.h: Likewise.
31003 * soft-fp/single.h: Likewise.
31004 * soft-fp/soft-fp.h: Likewise.
31005 * soft-fp/sqrtdf2.c: Likewise.
31006 * soft-fp/sqrtsf2.c: Likewise.
31007 * soft-fp/sqrttf2.c: Likewise.
31008 * soft-fp/subdf3.c: Likewise.
31009 * soft-fp/subsf3.c: Likewise.
31010 * soft-fp/subtf3.c: Likewise.
31011 * soft-fp/truncdfsf2.c: Likewise.
31012 * soft-fp/trunctfdf2.c: Likewise.
31013 * soft-fp/trunctfsf2.c: Likewise.
31014 * soft-fp/trunctfxf2.c: Likewise.
31015 * soft-fp/unorddf2.c: Likewise.
31016 * soft-fp/unordsf2.c: Likewise.
31017 * soft-fp/unordtf2.c: Likewise.
31018
31019 2013-10-15 Joseph Myers <joseph@codesourcery.com>
31020
31021 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
31022 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
31023
31024 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
31025
31026 * elf/dl-libc.c: Clear initfini list after freeing.
31027
31028 2013-10-14 Joseph Myers <joseph@codesourcery.com>
31029
31030 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
31031 * soft-fp/addsf3.c: Likewise.
31032 * soft-fp/addtf3.c: Likewise.
31033 * soft-fp/divdf3.c: Likewise.
31034 * soft-fp/divsf3.c: Likewise.
31035 * soft-fp/divtf3.c: Likewise.
31036 * soft-fp/double.h: Likewise.
31037 * soft-fp/eqdf2.c: Likewise.
31038 * soft-fp/eqsf2.c: Likewise.
31039 * soft-fp/eqtf2.c: Likewise.
31040 * soft-fp/extenddftf2.c: Likewise.
31041 * soft-fp/extended.h: Likewise.
31042 * soft-fp/extendsfdf2.c: Likewise.
31043 * soft-fp/extendsftf2.c: Likewise.
31044 * soft-fp/extendxftf2.c: Likewise.
31045 * soft-fp/fixdfdi.c: Likewise.
31046 * soft-fp/fixdfsi.c: Likewise.
31047 * soft-fp/fixdfti.c: Likewise.
31048 * soft-fp/fixsfdi.c: Likewise.
31049 * soft-fp/fixsfsi.c: Likewise.
31050 * soft-fp/fixsfti.c: Likewise.
31051 * soft-fp/fixtfdi.c: Likewise.
31052 * soft-fp/fixtfsi.c: Likewise.
31053 * soft-fp/fixtfti.c: Likewise.
31054 * soft-fp/fixunsdfdi.c: Likewise.
31055 * soft-fp/fixunsdfsi.c: Likewise.
31056 * soft-fp/fixunsdfti.c: Likewise.
31057 * soft-fp/fixunssfdi.c: Likewise.
31058 * soft-fp/fixunssfsi.c: Likewise.
31059 * soft-fp/fixunssfti.c: Likewise.
31060 * soft-fp/fixunstfdi.c: Likewise.
31061 * soft-fp/fixunstfsi.c: Likewise.
31062 * soft-fp/fixunstfti.c: Likewise.
31063 * soft-fp/floatdidf.c: Likewise.
31064 * soft-fp/floatdisf.c: Likewise.
31065 * soft-fp/floatditf.c: Likewise.
31066 * soft-fp/floatsidf.c: Likewise.
31067 * soft-fp/floatsisf.c: Likewise.
31068 * soft-fp/floatsitf.c: Likewise.
31069 * soft-fp/floattidf.c: Likewise.
31070 * soft-fp/floattisf.c: Likewise.
31071 * soft-fp/floattitf.c: Likewise.
31072 * soft-fp/floatundidf.c: Likewise.
31073 * soft-fp/floatundisf.c: Likewise.
31074 * soft-fp/floatunsidf.c: Likewise.
31075 * soft-fp/floatunsisf.c: Likewise.
31076 * soft-fp/floatuntidf.c: Likewise.
31077 * soft-fp/floatuntisf.c: Likewise.
31078 * soft-fp/floatuntitf.c: Likewise.
31079 * soft-fp/fmadf4.c: Likewise.
31080 * soft-fp/fmasf4.c: Likewise.
31081 * soft-fp/fmatf4.c: Likewise.
31082 * soft-fp/gedf2.c: Likewise.
31083 * soft-fp/gesf2.c: Likewise.
31084 * soft-fp/getf2.c: Likewise.
31085 * soft-fp/ledf2.c: Likewise.
31086 * soft-fp/lesf2.c: Likewise.
31087 * soft-fp/letf2.c: Likewise.
31088 * soft-fp/muldf3.c: Likewise.
31089 * soft-fp/mulsf3.c: Likewise.
31090 * soft-fp/multf3.c: Likewise.
31091 * soft-fp/negdf2.c: Likewise.
31092 * soft-fp/negsf2.c: Likewise.
31093 * soft-fp/negtf2.c: Likewise.
31094 * soft-fp/op-1.h: Likewise.
31095 * soft-fp/op-2.h: Likewise.
31096 * soft-fp/op-4.h: Likewise.
31097 * soft-fp/op-8.h: Likewise.
31098 * soft-fp/op-common.h: Likewise.
31099 * soft-fp/quad.h: Likewise.
31100 * soft-fp/single.h: Likewise.
31101 * soft-fp/soft-fp.h: Likewise.
31102 * soft-fp/sqrtdf2.c: Likewise.
31103 * soft-fp/sqrtsf2.c: Likewise.
31104 * soft-fp/sqrttf2.c: Likewise.
31105 * soft-fp/subdf3.c: Likewise.
31106 * soft-fp/subsf3.c: Likewise.
31107 * soft-fp/subtf3.c: Likewise.
31108 * soft-fp/truncdfsf2.c: Likewise.
31109 * soft-fp/trunctfdf2.c: Likewise.
31110 * soft-fp/trunctfsf2.c: Likewise.
31111 * soft-fp/trunctfxf2.c: Likewise.
31112 * soft-fp/unorddf2.c: Likewise.
31113 * soft-fp/unordsf2.c: Likewise.
31114 * soft-fp/unordtf2.c: Likewise.
31115
31116 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
31117
31118 [BZ #15672]
31119 * misc/error.c (error_tail): Fix possible buffer overflow.
31120
31121 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
31122
31123 [BZ #13028]
31124 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
31125 address.
31126
31127 2013-10-14 P. J. McDermott <pj@pehjota.net>
31128
31129 [BZ #832]
31130 * elf/ldd.bash.in (try_trace): New function. Delete previous code
31131 testing pipefail option.
31132
31133 2013-10-12 Joseph Myers <joseph@codesourcery.com>
31134
31135 * soft-fp/double.h: Indent preprocessor directives inside #if.
31136 * soft-fp/extended.h: Likewise.
31137 * soft-fp/op-2.h: Likewise.
31138 * soft-fp/op-4.h: Likewise.
31139 * soft-fp/op-common.h: Likewise.
31140 * soft-fp/quad.h: Likewise.
31141 * soft-fp/single.h: Likewise.
31142 * soft-fp/soft-fp.h: Likewise.
31143
31144 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
31145
31146 * iconv/iconv_prog.c: Fix typos.
31147 * stdio-common/psiginfo-data.h: Likewise.
31148
31149 2013-10-12 Reuben Thomas <rrt@sc3d.org>
31150
31151 [BZ #15764]
31152 * locale/setlocale.c: Fix typo.
31153
31154 2013-10-12 Joseph Myers <joseph@codesourcery.com>
31155
31156 [BZ #16036]
31157 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
31158 signaling NaN arguments.
31159 * soft-fp/unordsf2.c (__unordsf2): Likewise.
31160 * soft-fp/unordtf2.c (__unordtf2): Likewise.
31161
31162 [BZ #14910]
31163 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
31164 unordered operands.
31165 * soft-fp/gesf2.c (__gesf2): Likewise.
31166 * soft-fp/getf2.c (__getf2): Likewise.
31167 * soft-fp/ledf2.c (__ledf2): Likewise.
31168 * soft-fp/lesf2.c (__lesf2): Likewise.
31169 * soft-fp/letf2.c (__letf2): Likewise.
31170
31171 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
31172 * soft-fp/eqsf2.c (__eqsf2): Likewise.
31173 * soft-fp/eqtf2.c (__eqtf2): Likewise.
31174 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
31175 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
31176 * soft-fp/fixdfti.c (__fixdfti): Likewise.
31177 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
31178 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
31179 * soft-fp/fixsfti.c (__fixsfti): Likewise.
31180 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
31181 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
31182 * soft-fp/fixtfti.c (__fixtfti): Likewise.
31183 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
31184 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
31185 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
31186 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
31187 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
31188 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
31189 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
31190 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
31191 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
31192 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
31193 * soft-fp/floatdisf.c (__floatdisf): Likewise.
31194 * soft-fp/floatsisf.c (__floatsisf): Likewise.
31195 * soft-fp/floattidf.c (__floattidf): Likewise.
31196 * soft-fp/floattisf.c (__floattisf): Likewise.
31197 * soft-fp/floattitf.c (__floattitf): Likewise.
31198 * soft-fp/floatundidf.c (__floatundidf): Likewise.
31199 * soft-fp/floatundisf.c (__floatundisf): Likewise.
31200 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
31201 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
31202 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
31203 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
31204 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
31205 * soft-fp/gesf2.c (__gesf2): Likewise.
31206 * soft-fp/getf2.c (__getf2): Likewise.
31207 * soft-fp/ledf2.c (__ledf2): Likewise.
31208 * soft-fp/lesf2.c (__lesf2): Likewise.
31209 * soft-fp/letf2.c (__letf2): Likewise.
31210
31211 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
31212 Undefine and redefine.
31213 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
31214 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
31215 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
31216 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
31217 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31218 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
31219 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31220 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
31221 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31222 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
31223 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31224 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
31225 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31226 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
31227 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31228
31229 [BZ #16032]
31230 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
31231 without decrementing exponent if mantissa >= that for the
31232 denominator, not >.
31233 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
31234 denominator, not >. Decrement exponent in < case instead of
31235 incrementing in >= case.
31236 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
31237 without decrementing exponent if mantissa >= that for the
31238 denominator, not >.
31239
31240 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
31241 computing saturated result for unsigned overflow.
31242
31243 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31244 Jeff Law <law@redhat.com>
31245
31246 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
31247 (atan2Mp): Add systemtap probe marker.
31248 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
31249 (__ieee754_log): Add systemtap probe marker.
31250 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
31251 (atanMp): Add systemtap probe marker.
31252 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
31253 (tanMp): Add systemtap probe marker.
31254 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
31255 (__slowexp): Add systemtap probe marker.
31256 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
31257 (__slowpow): Add systemtap probe marker.
31258 * manual/probes.texi: Document probes.
31259
31260 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
31261
31262 [BZ #15362]
31263 * libio/fileops.c (_IO_new_file_write): Return count of bytes
31264 written.
31265 (_IO_new_file_xsputn): Don't return EOF if nothing has been
31266 written.
31267 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
31268 written to buffer but not flushed.
31269 * libio/iofwrite_u.c: Likewise.
31270 * libio/iopadn.c: Return bytes returned even if EOF was
31271 encountered.
31272 * libio/iowpadn.c: Likewise.
31273 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
31274 if _IO_padn does not write the whole buffer.
31275 [!COMPILE_WPRINTF] (PAD): Likewise.
31276
31277 2013-10-10 David S. Miller <davem@davemloft.net>
31278
31279 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
31280 directory block.
31281
31282 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31283
31284 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
31285 instead of FSF address.
31286 * soft-fp/fixdfti.c: Likewise.
31287 * soft-fp/fixsfti.c: Likewise.
31288 * soft-fp/fixtfti.c: Likewise.
31289 * soft-fp/fixunsdfti.c: Likewise.
31290 * soft-fp/fixunssfti.c: Likewise.
31291 * soft-fp/fixunstfti.c: Likewise.
31292 * soft-fp/floattidf.c: Likewise.
31293 * soft-fp/floattisf.c: Likewise.
31294 * soft-fp/floattitf.c: Likewise.
31295 * soft-fp/floatuntidf.c: Likewise.
31296 * soft-fp/floatuntisf.c: Likewise.
31297 * soft-fp/floatuntitf.c: Likewise.
31298 * soft-fp/trunctfxf2.c: Likewise.
31299
31300 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
31301 * soft-fp/fixdfti.c: Likewise.
31302 * soft-fp/fixsfti.c: Likewise.
31303 * soft-fp/fixtfti.c: Likewise.
31304 * soft-fp/fixunsdfti.c: Likewise.
31305 * soft-fp/fixunssfti.c: Likewise.
31306 * soft-fp/fixunstfti.c: Likewise.
31307 * soft-fp/floattidf.c: Likewise.
31308 * soft-fp/floattisf.c: Likewise.
31309 * soft-fp/floattitf.c: Likewise.
31310 * soft-fp/floatuntidf.c: Likewise.
31311 * soft-fp/floatuntisf.c: Likewise.
31312 * soft-fp/floatuntitf.c: Likewise.
31313 * soft-fp/trunctfxf2.c: Likewise.
31314
31315 2013-10-10 David S. Miller <davem@davemloft.net>
31316
31317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31318
31319 2013-10-10 Joseph Myers <joseph@codsourcery.com>
31320
31321 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
31322 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
31323 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
31324 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
31325 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
31326 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
31327 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
31328
31329 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
31330 for NaNs before doing comparisons on argument.
31331 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31332 Likewise.
31333
31334 2013-10-10 Will Newton <will.newton@linaro.org>
31335
31336 * malloc/hooks.c (memalign_check): Ensure the value of bytes
31337 passed to _int_memalign does not overflow.
31338
31339 2013-10-10 Torvald Riegel <triegel@redhat.com>
31340
31341 * scripts/bench.pl: Add include-sources directive.
31342 * benchtests/README: Update documentation.
31343
31344 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31345
31346 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
31347 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
31348 instead of FP_INIT_ROUNDMODE.
31349 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
31350 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
31351
31352 [BZ #16034]
31353 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
31354 copy class of input value.
31355 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
31356 not handle exceptions.
31357 * soft-fp/negsf2.c (__negsf2): Likewise.
31358 * soft-fp/negtf2.c (__negtf2): Likewise.
31359 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
31360
31361 2013-10-09 Joseph Myers <joseph@codesourcery.com>
31362
31363 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
31364 semicolon. From Linux kernel.
31365
31366 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
31367
31368 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
31369
31370 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
31371
31372 [BZ #156]
31373 * manual/socket.texi: Added statement about buffer
31374 for gethostbyname2_r.
31375
31376 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
31377
31378 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
31379 Use .p2align directive instead, throughout.
31380 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31381 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
31382 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
31383 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31384 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31385 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
31386 * sysdeps/x86_64/strchr.S: Likewise.
31387 * sysdeps/x86_64/strrchr.S: Likewise.
31388
31389 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31390
31391 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
31392
31393 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
31394
31395 * sysdeps/generic/math_private.h (__mpsin1): Remove
31396 declaration.
31397 (__mpcos1): Likewise.
31398 (__mpsin): New argument __range_reduce.
31399 (__mpcos): Likewise.
31400 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31401 (slow): Use __mpsin and __mpcos.
31402 (slow1): Likewise.
31403 (slow2): Likewise.
31404 (sloww): Likewise.
31405 (sloww1): Likewise.
31406 (sloww2): Likewise.
31407 (bsloww): Likewise.
31408 (bsloww1): Likewise.
31409 (bsloww2): Likewise.
31410 (cslow2): Likewise.
31411 (csloww): Likewise.
31412 (csloww1): Likewise.
31413 (csloww2): Likewise.
31414 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
31415 range_reduce. Merge in __mpsin1.
31416 (__mpcos): Likewise.
31417 (__mpsin1): Remove.
31418 (__mpcos1): Likewise.
31419
31420 2013-10-07 Joseph Myers <joseph@codesourcery.com>
31421
31422 * locale/loadlocale.c (_nl_intern_locale_data): Use
31423 LOCFILE_ALIGNED_P.
31424 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
31425 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
31426 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
31427 obstack data is appropriately aligned.
31428 (obstack_int32_grow_fast): Likewise.
31429 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
31430 * locale/programs/locfile.c (add_locale_uint32): Likewise.
31431 (add_locale_uint32_array): Likewise.
31432
31433 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31434
31435 * benchtests/Makefile: Remove ARGLIST and RET variables.
31436 ($(objpfx)bench-%.c): Pass only function name to the script.
31437 * benchtests/README: Update documentation.
31438 * benchtests/acos-inputs: Add new directives.
31439 * benchtests/acosh-inputs: Likewise.
31440 * benchtests/asin-inputs: Likewise.
31441 * benchtests/asinh-inputs: Likewise.
31442 * benchtests/atan-inputs: Likewise.
31443 * benchtests/atanh-inputs: Likewise.
31444 * benchtests/cos-inputs: Likewise.
31445 * benchtests/cosh-inputs: Likewise.
31446 * benchtests/exp-inputs: Likewise.
31447 * benchtests/log-inputs: Likewise.
31448 * benchtests/pow-inputs: Likewise.
31449 * benchtests/rint-inputs: Likewise.
31450 * benchtests/sin-inputs: Likewise.
31451 * benchtests/sinh-inputs: Likewise.
31452 * benchtests/tan-inputs: Likewise.
31453 * benchtests/tanh-inputs: Likewise.
31454 * scripts/bench.pl: Add support for new directives.
31455
31456 2013-10-07 Alan Modra <amodra@gmail.com>
31457
31458 * README: Fix careless merge.
31459
31460 2013-10-05 Alan Modra <amodra@gmail.com>
31461
31462 * NEWS: Mention powerpc64le support and bugs fixed.
31463 * README: Both big-endian and little-endian powerpc64 supported.
31464
31465 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31466
31467 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
31468 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
31469 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
31470 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
31471
31472 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
31473
31474 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
31475 match prototype.
31476
31477 2013-10-04 Joseph Myers <joseph@codesourcery.com>
31478
31479 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
31480 Move -mhard-float appending from
31481 ports/sysdeps/powerpc/powerpc32/Makefile.
31482 [$(with-fp) = yes] (ASFLAGS): Likewise.
31483 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
31484 * sysdeps/powerpc/nofpu: Move directory from
31485 ports/sysdeps/powerpc/nofpu.
31486 * sysdeps/powerpc/soft-fp: Move directory from
31487 ports/sysdeps/powerpc/soft-fp.
31488 * sysdeps/powerpc/powerpc32/405: Move directory from
31489 ports/sysdeps/powerpc/powerpc32/405.
31490 * sysdeps/powerpc/powerpc32/440: Move directory from
31491 ports/sysdeps/powerpc/powerpc32/440.
31492 * sysdeps/powerpc/powerpc32/464: Move directory from
31493 ports/sysdeps/powerpc/powerpc32/464.
31494 * sysdeps/powerpc/powerpc32/476: Move directory from
31495 ports/sysdeps/powerpc/powerpc32/476.
31496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
31497 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
31498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
31499 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
31500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
31501 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
31502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
31503 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
31504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
31505 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
31506 * README: Update for powerpc-*-linux-gnu software floating point
31507 support in libc.
31508
31509 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
31510 case to powerpc/powerpc32*.
31511 * sysdeps/unix/sysv/linux/configure: Regenerated.
31512
31513 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
31514 (_FPU_MASK_OM): Define as 0x04.
31515 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
31516 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
31517 0x00c10080.
31518 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
31519 0x0000003c.
31520 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
31521
31522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
31523 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31524 getcontext_e500.
31525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
31526 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31527 setcontext_e500.
31528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
31529 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
31530 and setcontext_e500.
31531
31532 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
31533
31534 * locale/iso-3166.def: Update iso-1366.def and related occurrences
31535
31536 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31537
31538 * manual/threads.texi (Default Thread Attributes): Fix typo.
31539
31540 2013-10-04 Will Newton <will.newton@linaro.org>
31541
31542 * malloc/Makefile: Add tst-memalign.
31543 * malloc/tst-memalign.c: New file.
31544
31545 * malloc/tst-posix_memalign.c: Add comments.
31546 (do_test): Add comments and call free on all potentially
31547 allocated pointers. Add space after cast.
31548
31549 * malloc/tst-pvalloc.c: Add comments.
31550 (do_test): Add comments and call free on all potentially
31551 allocated pointers. Remove duplicate check for NULL pointer.
31552 Add space after cast.
31553
31554 * malloc/tst-valloc.c: Add comments.
31555 (do_test): Add comments and call free on all potentially
31556 allocated pointers. Remove duplicate check for NULL pointer.
31557 Add space after cast.
31558
31559 2013-10-04 Alan Modra <amodra@gmail.com>
31560
31561 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31562 Use stdint types in rather than __attribute__((mode())).
31563 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31564
31565 2013-10-04 Alan Modra <amodra@gmail.com>
31566
31567 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31568 Correct handling of unaligned relocs for little-endian.
31569 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31570
31571 2013-10-04 Alan Modra <amodra@gmail.com>
31572
31573 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
31574 * configure: Regenerate.
31575 * nptl/shlib-versions: Powerpc*le starts at 2.18.
31576 * shlib-versions: Likewise.
31577
31578 2013-10-04 Alan Modra <amodra@gmail.com>
31579
31580 * string/tester.c (test_memrchr): Increment reported test cycle.
31581
31582 2013-10-04 Alan Modra <amodra@gmail.com>
31583
31584 * string/test-memcpy.c (do_one_test): When reporting errors, print
31585 string address and don't overrun end of string.
31586
31587 2013-10-04 Alan Modra <amodra@gmail.com>
31588
31589 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
31590 insrdi. Make better use of reg selection to speed exit slightly.
31591 Schedule entry path a little better. Remove useless "are we done"
31592 checks on entry to main loop. Handle wrapping around zero address.
31593 Correct main loop count. Handle single left-over word from main
31594 loop inline rather than by using loop_small. Remove extra word
31595 case in loop_small caused by wrong loop count. Add little-endian
31596 support.
31597 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31598 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
31599 cache hint.
31600 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31601 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
31602 support. Avoid rlwimi.
31603 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
31604
31605 2013-10-04 Alan Modra <amodra@gmail.com>
31606
31607 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
31608 insrdi. Formatting.
31609 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
31610 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31611 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31612 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31613 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31614 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
31615
31616 2013-10-04 Alan Modra <amodra@gmail.com>
31617
31618 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
31619 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31620 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31621 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
31622 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31623 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31624 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31625 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31626 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
31627 use of regs. Use power7 mtocrf. Tidy function tails.
31628
31629 2013-10-04 Alan Modra <amodra@gmail.com>
31630
31631 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
31632 Formatting. Consistently use rXXX register defines or rN defines.
31633 Use early exit labels that avoid restoring unused non-volatile regs.
31634 Make cr field use more consistent with rWORDn compares. Rename
31635 regs used as shift registers for unaligned loop, using rN defines
31636 for short lifetime/multiple use regs.
31637 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31638 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
31639 addi 1,1,64 to pop stack frame. Simplify return value code.
31640 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31641
31642 2013-10-04 Alan Modra <amodra@gmail.com>
31643
31644 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
31645 support. Correct typos, formatting. Optimize tail. Use insrdi
31646 rather than rlwimi.
31647 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
31648 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
31649 little-endian support. Correct typos.
31650 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
31651 rather than rlwimi.
31652 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
31653 in loop and entry code to keep "and." results.
31654 (strchr): Add little-endian support. Comment. Move cntlzd
31655 earlier in tail.
31656 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
31657
31658 2013-10-04 Alan Modra <amodra@gmail.com>
31659
31660 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
31661 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
31662 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
31663 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
31664
31665 2013-10-04 Alan Modra <amodra@gmail.com>
31666
31667 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
31668 (rTMP): Define as r11.
31669 (strcmp): Add little-endian support. Optimise tail.
31670 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
31671 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31672 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31673 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31674 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31675 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31676 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31677
31678 2013-10-04 Alan Modra <amodra@gmail.com>
31679
31680 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
31681 little-endian support. Remove unnecessary "are we done" tests.
31682 Handle "s" wrapping around zero and extremely large "size".
31683 Correct main loop count. Handle single left-over word from main
31684 loop inline rather than by using small_loop. Correct comments.
31685 Delete "zero" tail, use "end_max" instead.
31686 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
31687
31688 2013-10-04 Alan Modra <amodra@gmail.com>
31689
31690 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
31691 support. Don't branch over align.
31692 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
31693 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
31694 support. Rearrange tmp reg use to suit. Comment.
31695 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
31696
31697 2013-10-04 Alan Modra <amodra@gmail.com>
31698
31699 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
31700
31701 2013-10-04 Alan Modra <amodra@gmail.com>
31702
31703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
31704 conditional form of branch and link when obtaining pc.
31705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31706
31707 2013-10-04 Alan Modra <amodra@gmail.com>
31708
31709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
31710 HIWORD/LOWORD.
31711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
31712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
31713
31714 2013-10-04 Alan Modra <amodra@gmail.com>
31715
31716 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
31717 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
31718 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
31719 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
31720 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
31721 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31722 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
31723 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31724 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
31725 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
31726
31727 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31728 Alistair Popple <alistair@ozlabs.au.ibm.com>
31729 Alan Modra <amodra@gmail.com>
31730
31731 [BZ #15723]
31732 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
31733 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
31734 _dl_hwcap access for little-endian.
31735 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
31736 destroy vmx regs when saving unaligned.
31737 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
31738 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
31739 destroy vmx regs when saving unaligned.
31740
31741 2013-10-04 Alan Modra <amodra@gmail.com>
31742
31743 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
31744 Don't use a union to pack hi/low value.
31745
31746 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31747
31748 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
31749 for little-endian.
31750 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31751 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
31752 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
31753 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31754 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31755
31756 2013-10-04 Alan Modra <amodra@gmail.com>
31757
31758 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
31759 constants to usual value for .cst8 section, and remove redundant
31760 high address load.
31761 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
31762 constant for 0x1p52. Load little-endian words of double from
31763 correct stack offsets.
31764
31765 2013-10-04 Alan Modra <amodra@gmail.com>
31766
31767 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
31768 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
31769 words of double from correct stack offsets.
31770 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
31771 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
31772 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31773 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31774 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31775 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31776 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31777 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
31778 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
31779 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31780 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31781 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31782 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31783 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31784 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31785 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
31786 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
31787
31788 2013-10-04 Alan Modra <amodra@gmail.com>
31789
31790 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
31791 64-bit int/double union.
31792 (_FPU_SETCW): Likewise.
31793 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
31794 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
31795
31796 2013-10-04 Alan Modra <amodra@gmail.com>
31797
31798 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
31799 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
31800
31801 2013-10-04 Alan Modra <amodra@gmail.com>
31802
31803 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
31804 use vector int constants.
31805 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
31806
31807 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31808
31809 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
31810 array with long long.
31811 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
31812 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
31813 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
31814 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
31815 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
31816 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
31817 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
31818 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
31819 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
31820 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
31821 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
31822 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
31823 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
31824
31825 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31826
31827 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
31828 (__signbit): Likewise. Correct for little-endian.
31829 (__signbitl): Call __signbit.
31830 (lrint): Correct for little-endian.
31831 (lrintf): Call lrint.
31832
31833 2013-10-04 Alan Modra <amodra@gmail.com>
31834
31835 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
31836 union 32-bit int array member with 64-bit int array.
31837 (t515, tm256): Double rather than long double.
31838 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
31839
31840 2013-10-04 Alan Modra <amodra@gmail.com>
31841
31842 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
31843 Delete.
31844 (IEEE854_LONG_DOUBLE_BIAS): Delete.
31845 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
31846 version of math_ldbl.h.
31847
31848 2013-10-04 Alan Modra <amodra@gmail.com>
31849
31850 [BZ #15734], [BZ #15735]
31851 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
31852 all uses of ieee875 long double macros and unions. Simplify test
31853 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
31854 ldbl_extract_mantissa value for ix,iy exponents. Properly
31855 normalize after ldbl_extract_mantissa, and don't add hidden bit
31856 already handled. Don't treat low word of ieee854 mantissa like
31857 low word of IBM long double and mask off bit when testing for
31858 zero.
31859 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
31860 all uses of ieee875 long double macros and unions. Simplify tests
31861 for 0.0L and inf. Correct double adjustment of k. Delete dead code
31862 adjusting ha,hb. Simplify code setting kld. Delete two600 and
31863 two1022, instead use their values. Recognise that tests for large
31864 "a" and small "b" are mutually exclusive. Rename vars. Comment.
31865 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
31866 Rewrite all uses of ieee875 long double macros and unions. Simplify
31867 test for 0.0L and nan. Correct negation.
31868 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
31869 ieee875 long double macros and unions. Correct output for large
31870 magnitude x. Correct absolute value calculation.
31871 (__erfcl): Likewise.
31872 * math/libm-test.inc: Add tests for errors discovered in IBM long
31873 double versions of fmodl, remainderl, erfl and erfcl.
31874
31875 2013-10-04 Alan Modra <amodra@gmail.com>
31876
31877 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
31878 all uses of ieee854 long double macros and unions. Simplify tests
31879 for long doubles that are fully specified by the high double.
31880 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31881 Likewise.
31882 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
31883 Remove dead code too.
31884 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31885 (__ieee754_ynl): Likewise.
31886 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
31887 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
31888 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31889 Remove dead code too.
31890 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
31891 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
31892 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
31893 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
31894 Simplify.
31895 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
31896 Simplify.
31897 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
31898 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31899 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
31900 Comment on variable precision.
31901 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
31902 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31903 Likewise.
31904 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31905 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31906 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31907 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
31908 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
31909
31910 2013-10-04 Alan Modra <amodra@gmail.com>
31911
31912 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
31913 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
31914 all uses of ieee854 long double macros and unions.
31915 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
31916 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31917 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
31918 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
31919 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
31920 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31921 Likewise.
31922 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
31923 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31924 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
31925 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31926 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
31927 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
31928 Simplify sign and nan test too.
31929 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
31930 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31931 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
31932 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31933 Likewise.
31934 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31935 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
31936 Likewise.
31937 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31938 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31939 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
31940 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
31941 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
31942 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
31943
31944 2013-10-04 Alan Modra <amodra@gmail.com>
31945
31946 * stdio-common/printf_size.c (__printf_size): Don't use
31947 union ieee854_long_double in fpnum union.
31948 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
31949 signbit macro to retrieve sign from long double.
31950 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
31951 retrieve sign from long double.
31952 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
31953 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
31954 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
31955 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31956 * math/test-misc.c (main): Don't use union ieee854_long_double.
31957
31958 2013-10-04 Alan Modra <amodra@gmail.com>
31959
31960 [BZ #15680]
31961 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
31962 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
31963 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
31964 calculation. Remove unnecessary test for denormal exponent.
31965 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
31966 Correct handling of denormals. Avoid undefined shift behaviour.
31967 Correct normalisation of low mantissa when low double is denormal.
31968 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
31969 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
31970 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
31971 Correct normalisation of low mantissa. Test for overflow of high
31972 mantissa and normalise.
31973 (ldbl_nearbyint): Use more readable constant for two52.
31974 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
31975 (__mpn_construct_long_double): Fix test for overflow of high
31976 mantissa and correct normalisation. Avoid undefined shift.
31977
31978 2013-10-04 Alan Modra <amodra@gmail.com>
31979
31980 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31981 (union ibm_extended_long_double): Define as an array of ieee754_double.
31982 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
31983 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
31984 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
31985 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31986 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31987 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
31988 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31989 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31990 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31991 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
31992 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31993
31994 2013-10-03 Joseph Myers <joseph@codesourcery.com>
31995
31996 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
31997 page size instead of calling getpagesize.
31998
31999 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
32000 (LOCFILE_ALIGN_MASK): Likewise.
32001 (LOCFILE_ALIGN_UP): Likewise.
32002 (LOCFILE_ALIGNED_P): Likewise.
32003 * locale/programs/ld-collate.c (collate_output): Use the new
32004 macros instead of __alignof__ (int32_t).
32005 * locale/weight.h (findidx): Likewise.
32006
32007 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
32008
32009 [BZ #431]
32010 * manual/string.texi: Fix strncat and wcsncat.
32011
32012 2013-10-03 Brooks Moses <bmoses@google.com>
32013
32014 [BZ #15915]
32015 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
32016 * Makerules: ...here, and adjust associated comments.
32017
32018 2013-10-02 Will Newton <will.newton@linaro.org>
32019
32020 * malloc/Makefile: Add tst-pvalloc.
32021 * malloc/tst-pvalloc.c: New file.
32022
32023 2013-10-02 Will Newton <will.newton@linaro.org>
32024
32025 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
32026 improve test coverage.
32027
32028 2013-10-02 Will Newton <will.newton@linaro.org>
32029
32030 * malloc/Makefile: Add tst-posix_memalign.
32031 * malloc/tst-posix_memalign.c: New file.
32032
32033 2013-10-01 Eric Blake <eblake@redhat.com>
32034
32035 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
32036 Use __THROWNL rather than __THROW on static functions.
32037
32038 2013-09-30 Petr Machata <pmachata@redhat.com>
32039
32040 * elf/elf.h (R_AARCH64_ABS16): New macro.
32041 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
32042 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
32043 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
32044 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
32045 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
32046 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
32047 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
32048 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
32049 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
32050 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
32051 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
32052 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
32053 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
32054 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
32055 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
32056 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
32057 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
32058 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
32059 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
32060 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
32061 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
32062 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
32063 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
32064 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
32065 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
32066 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
32067 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
32068 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
32069 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
32070 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
32071 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
32072 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
32073 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
32074 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
32075 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
32076 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
32077 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
32078 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
32079 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
32080 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
32081 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
32082 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
32083 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
32084 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
32085 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
32086 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
32087 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
32088 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
32089 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
32090 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
32091 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
32092 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
32093 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
32094 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
32095 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
32096 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
32097 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
32098 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
32099 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
32100 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
32101 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
32102 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
32103 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
32104 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
32105 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
32106 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
32107 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
32108 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
32109 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
32110 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
32111 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
32112 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
32113 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
32114 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
32115 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
32116 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
32117 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
32118 (R_AARCH64_TLSDESC_LDR): Likewise.
32119 (R_AARCH64_TLSDESC_ADD): Likewise.
32120 (R_AARCH64_TLSDESC_CALL): Likewise.
32121
32122 2013-09-30 Andreas Schwab <schwab@suse.de>
32123
32124 [BZ #15048]
32125 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
32126 the nss database lookup.
32127 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32128 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32129
32130 2013-09-28 Mike Frysinger <vapier@gentoo.org>
32131
32132 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
32133
32134 2013-09-28 P. J. McDermott <pj@pehjota.net>
32135
32136 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
32137 ${Bash-specific parameter/pattern/string} parameter expansion.
32138 * sysdeps/unix/make-syscalls.sh: Likewise.
32139
32140 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32141
32142 * sysdeps/sh/stackguard-macros.h: New file.
32143
32144 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
32145
32146 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
32147 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
32148 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
32149 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
32150 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32151 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
32152
32153 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32154
32155 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
32156 Fix thread ID register.
32157
32158 2013-09-25 Joseph Myers <joseph@codesourcery.com>
32159
32160 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
32161 [POSIX || UNIX98]: Require rather than permitting all symbols from
32162 <time.h>.
32163 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
32164 element of struct sched_param.
32165 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
32166 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
32167 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
32168 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
32169 constant.
32170
32171 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
32172
32173 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
32174 argument calculation.
32175
32176 2013-09-24 Joseph Myers <joseph@codesourcery.com>
32177
32178 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
32179 Expect macro.
32180 [POSIX] (pthread_attr_t): Do not require type.
32181 [POSIX] (pthread_cond_t): Likewise.
32182 [POSIX] (pthread_condattr_t): Likewise.
32183 [POSIX] (pthread_key_t): Likewise.
32184 [POSIX] (pthread_mutex_t): Likewise.
32185 [POSIX] (pthread_mutexattr_t): Likewise.
32186 [POSIX] (pthread_once_t): Likewise.
32187 [POSIX] (pthread_t): Likewise.
32188 [POSIX-based standards] (pthread_atfork): Expect function.
32189
32190 2013-09-24 Joseph Myers <joseph@codesourcery.com>
32191 Richard Sandiford <richard@codesourcery.com>
32192
32193 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
32194 (swap_endianness_p): New extern variable.
32195 (set_big_endian): New inline function.
32196 (maybe_swap_uint32): Likewise.
32197 (maybe_swap_uint32_array): Likewise.
32198 (maybe_swap_uint32_obstack): Likewise.
32199 * locale/programs/locfile.c: Include <stdbool.h>.
32200 (swap_endianness_p): New variable.
32201 (add_locale_uint32): Call maybe_swap_uint32.
32202 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
32203 (write_locale_data): Call maybe_swap_uint32_array.
32204 * locale/programs/ld-collate.c (obstack_int32_grow): Call
32205 maybe_swap_uint32.
32206 (obstack_int32_grow_fast): Likewise.
32207 (output_weightwc): Call maybe_swap_uint32_obstack.
32208 (collate_output): Likewise.
32209 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
32210 (OPT_LITTLE_ENDIAN): Likewise.
32211 (options): Add --little-endian and --big-endian options.
32212 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
32213 * locale/programs/locarchive.c: Include "locfile.h".
32214 (GET): New macro.
32215 (SET): Likewise.
32216 (INC): Likewise.
32217 (create_archive): Use the new macros to access fields of
32218 structures directly mapped from or written to locale archives.
32219 (oldlocrecentcmp): Likewise.
32220 (enlarge_archive): Likewise.
32221 (insert_name): Likewise.
32222 (add_alias): Likewise.
32223 (add_locale): Likewise.
32224 (delete_locales_from_archive): Likewise.
32225 (show_archive_content): Likewise.
32226 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
32227 locale data.
32228
32229 2013-09-24 Roland McGrath <roland@hack.frob.com>
32230
32231 * manual/freemanuals.texi: Updated from (newly) canonical copy at
32232 http://www.gnu.org/doc/freemanuals.texi.
32233 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
32234
32235 2013-09-24 Will Newton <will.newton@linaro.org>
32236
32237 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
32238 macro.
32239
32240 2013-09-23 Joseph Myers <joseph@codesourcery.com>
32241
32242 * locale/hashval.h (compute_hashval): Interpret bytes of key as
32243 unsigned char.
32244
32245 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
32246
32247 * manual/threads.texi (POSIX Threads): Fix a typo.
32248
32249 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32250
32251 [BZ #14547]
32252 * string/tst-strcoll-overflow.c: New test case.
32253 * string/Makefile (xtests): Add tst-strcoll-overflow.
32254 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
32255 cache if string sizes may cause integer overflow.
32256
32257 [BZ #14547]
32258 * string/strcoll_l.c (coll_seq): New members rule, idx,
32259 save_idx and back_us.
32260 (get_next_seq_nocache): New function.
32261 (do_compare_nocache): New function.
32262 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
32263 when malloc fails.
32264
32265 2013-09-23 Carlos O'Donell <carlos@redhat.com>
32266
32267 [BZ #15754]
32268 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
32269 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
32270 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
32271
32272 [BZ #15754]
32273 * elf/Makefile (tests): Add tst-ptrguard1.
32274 (tests-static): Add tst-ptrguard1-static.
32275 (tst-ptrguard1-ARGS): Define.
32276 (tst-ptrguard1-static-ARGS): Define.
32277 * elf/tst-ptrguard1.c: New file.
32278 * elf/tst-ptrguard1-static.c: New file.
32279 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
32280 * sysdeps/i386/stackguard-macros.h: Likewise.
32281 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32282 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32283 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32284 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32285 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32286 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32287
32288 2013-09-23 Hector Marco <hecmargi@upv.es>
32289 Ismael Ripoll <iripoll@disca.upv.es>
32290 Carlos O'Donell <carlos@redhat.com>
32291
32292 [BZ #15754]
32293 * sysdeps/generic/stackguard-macros.h: Define
32294 __pointer_chk_guard_local and POINTER_CHK_GUARD.
32295 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
32296 Define __pointer_chk_guard_local.
32297 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
32298 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
32299
32300 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
32301
32302 [BZ #15859]
32303 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
32304
32305 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
32306
32307 * include/string.h (__ffs): Declare as hidden.
32308 * string/ffs.c (__ffs): Define as hidden.
32309 * sysdeps/i386/ffs.c (__ffs): Likewise.
32310 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
32311 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
32312 * sysdeps/s390/ffs.c (__ffs): Likewise.
32313 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
32314
32315 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
32316
32317 * NEWS: Mention malloc probes.
32318
32319 * malloc/arena.c (new_heap): New memory_heap_new probe.
32320 (grow_heap): New memory_heap_more probe.
32321 (shrink_heap): New memory_heap_less probe.
32322 (heap_trim): New memory_heap_free probe.
32323 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
32324 (systrim): New memory_sbrk_less probe.
32325 * manual/probes.texi: Document them.
32326
32327 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
32328 * manual/probes.texi: Document it.
32329
32330 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
32331 (__libc_realloc): Add memory_realloc_retry probe.
32332 (__libc_memalign): Add memory_memalign_retry probe.
32333 (__libc_valloc): Add memory_valloc_retry probe.
32334 (__libc_pvalloc): Add memory_pvalloc_retry probe.
32335 (__libc_calloc): Add memory_calloc_retry probe.
32336 * manual/probes.texi: Document them.
32337
32338 * malloc/arena.c (get_free_list): Add probe
32339 memory_arena_reuse_free_list.
32340 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
32341 and memory_arena_reuse.
32342 (arena_get2) [!PER_THREAD]: Likewise.
32343 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
32344 memory_arena_reuse_realloc.
32345 * manual/probes.texi: Document them.
32346
32347 * malloc/malloc.c (__libc_free): Add
32348 memory_mallopt_free_dyn_thresholds probe.
32349 (__libc_mallopt): Add multiple memory_mallopt probes.
32350 * manual/probes.texi: Document them.
32351
32352 * malloc/malloc.c: Include stap-probe.h.
32353 (__libc_mallopt): Add memory_mallopt probe.
32354 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
32355 * manual/probes.texi: New.
32356 * manual/Makefile (chapters): Add probes.
32357 * manual/threads.texi: Set next node.
32358
32359 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
32360
32361 [BZ #15963, #13985]
32362 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
32363 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
32364 Add `Chinese' to `nan' entry name.
32365
32366 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32367
32368 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
32369 (POLYNOMIAL): Likewise.
32370 (TAYLOR_SINCOS): Likewise.
32371 (TAYLOR_SLOW): Likewise.
32372 (__sin): Use TAYLOR_SINCOS.
32373 (__cos): Likewise.
32374 (slow): Use TAYLOR_SLOW.
32375 (sloww): Likewise.
32376 (bsloww): Likewise.
32377 (csloww): Likewise.
32378
32379 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32380
32381 * stdlib/strtod_l.c: Fix buffer overrun.
32382
32383 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32384
32385 * benchtests/Makefile (bench): Add sincos.
32386 * benchtests/bench-sincos.c: New file.
32387
32388 * math/libm-test.inc (cos_test_data): New test inputs.
32389 (sin_test_data): Likewise.
32390
32391 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
32392 macro.
32393 (__sin): Use it.
32394 (__cos): Likewise.
32395 (slow1): Likewise.
32396 (slow2): Likewise.
32397 (sloww1): Likewise.
32398 (sloww2): Likewise.
32399 (bsloww1): Likewise.
32400 (bsloww2): Likewise.
32401 (cslow2): Likewise.
32402 (csloww1): Likewise.
32403 (csloww2): Likewise.
32404
32405 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
32406 function.
32407 (__sin): Use it.
32408 (__cos): Likewise.
32409
32410 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
32411 gotos.
32412 (__cos): Likewise.
32413
32414 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
32415
32416 * config.h.in (HAVE_MIPS_NAN2008): New macro.
32417 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
32418 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
32419 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
32420 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
32421 * elf/cache.c (print_entry): Handle the new cache flags.
32422
32423 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32424 Aldy Hernandez <aldyh@redhat.com>
32425
32426 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
32427 Change condition to [_SOFT_FLOAT].
32428 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
32429 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
32430 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
32431 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
32432 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
32433 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
32434 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
32435 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
32436 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
32437 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
32438 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
32439 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
32440 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
32441 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
32442 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
32443 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
32444 declaration.
32445
32446 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32447
32448 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
32449 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32450 (__longjmp): Use LOAD_GP to load saved GPRs.
32451 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
32452 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32453 (__sigsetjmp): Use SAVE_GP to save GPRs.
32454
32455 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
32456 Do not append -msoft-float.
32457 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
32458
32459 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32460
32461 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
32462
32463 2013-09-17 Joseph Myers <joseph@codesourcery.com>
32464
32465 [BZ #15966]
32466 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
32467 (_FPU_GETCW): Use initial "__" on variable and field names but not
32468 on macro parameter name.
32469 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
32470 parentheses around reference to macro parameter.
32471
32472 2013-09-13 Richard Sandiford <richard@codesourcery.com>
32473
32474 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
32475 prototype.
32476 (ctype_startup): Use uint32_t in cast and sizeof for
32477 ctype->charnames.
32478
32479 2013-09-11 Jia Liu <proljc@gmail.com>
32480
32481 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
32482 __daddr_t_defined.
32483 [__FreeBSD__]: Likewise.
32484
32485 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
32486
32487 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32488 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
32489 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
32490 (strchr): Remove __strchr_sse42 ifunc selection.
32491 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
32492 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
32493
32494 2013-09-11 Will Newton <will.newton@linaro.org>
32495
32496 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
32497 parameter to RES. Remove hardcoded 1000 value.
32498 * benchtests/bench-skeleton.c (main): Pass RES parameter
32499 to TIMING_INIT and multiply result by 1000.
32500
32501 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32502
32503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32504
32505 2013-09-11 Andreas Schwab <schwab@suse.de>
32506
32507 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
32508 if not defined.
32509 (O_TMPFILE) [__USE_GNU]: Define.
32510 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
32511 Define.
32512
32513 2013-09-11 Will Newton <will.newton@linaro.org>
32514
32515 [BZ #15857]
32516 * malloc/malloc.c (__libc_memalign): Check the value of bytes
32517 does not overflow.
32518
32519 2013-09-11 Will Newton <will.newton@linaro.org>
32520
32521 [BZ #15856]
32522 * malloc/malloc.c (__libc_valloc): Check the value of bytes
32523 does not overflow.
32524
32525 2013-09-11 Will Newton <will.newton@linaro.org>
32526
32527 [BZ #15855]
32528 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
32529 does not overflow.
32530
32531 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
32532
32533 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
32534 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32535 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32536 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32537 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32538
32539 2013-09-10 Allan McRae <allan@archlinux.org>
32540
32541 [BZ #15748]
32542 * manual/arith.texi (Parsing of Floats): Clarify
32543 cross-reference.
32544
32545 [BZ #15849]
32546 * manual/install.texi (Running make install): Mention
32547 --enable-pt-chown.
32548 * INSTALL: Regenerated.
32549
32550 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
32551
32552 * csu/init-first.c (_init): Remove the !SHARED condition around
32553 FPU control word initialization.
32554 * elf/dl-support.c (_dl_fpu_control): New variable.
32555 (_dl_aux_init) <AT_FPUCW>: Initialize it.
32556 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
32557 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
32558 * math/test-fpucw-static.c: New file.
32559 * math/test-fpucw-ieee.c: New file.
32560 * math/test-fpucw-ieee-static.c: New file.
32561 * math/Makefile (tests): Add `test-fpucw-ieee' and
32562 `$(tests-static)'.
32563 (tests-static): New variable.
32564 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
32565 dependency to...
32566 [($(build-shared),yes)]
32567 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32568 ... this.
32569 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
32570 New dependency.
32571
32572 2013-09-09 Allan McRae <allan@archlinux.org>
32573
32574 [BZ #15939]
32575 * manual/string.texi (Collation Functions): Fix typo in
32576 strcoll example.
32577 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
32578
32579 [BZ #15893]
32580 * stdlib/isomac.c (get_null_defines): Fix memory leak.
32581
32582 [BZ #15892]
32583 * libio/memstream.c (open_memstream): Fix memory leak.
32584 * libio/wmemstream.c (open_wmemstream): Likewise.
32585
32586 [BZ #15895]
32587 * nscd/netgroupcache.c: Fix nesting of ifdefs.
32588
32589 2013-09-09 Will Newton <will.newton@linaro.org>
32590
32591 * malloc/Makefile: Add tst-realloc to tests.
32592 * malloc/tst-realloc.c: New file.
32593
32594 2013-09-09 Allan McRae <allan@archlinux.org>
32595
32596 [BZ #15844]
32597 * COPYING: Update from GNU website to fix FSF address.
32598 * COPYING.LIB: Likewise.
32599
32600 2013-09-06 David S. Miller <davem@davemloft.net>
32601
32602 * po/zh_TW.po: Update Chinese (traditional) translation from
32603 translation project.
32604
32605 2013-09-06 Richard Sandiford <richard@codesourcery.com>
32606 Joseph Myers <joseph@codesourcery.com>
32607
32608 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
32609 "localeinfo.h".
32610 (obstack_chunk_alloc): New macro.
32611 (obstack_chunk_free): Likewise.
32612 (record_offset): New function.
32613 (init_locale_data): Likewise.
32614 (align_locale_data): Likewise.
32615 (add_locale_empty): Likewise.
32616 (add_locale_raw_data): Likewise.
32617 (add_locale_raw_obstack): Likewise.
32618 (add_locale_string): Likewise.
32619 (add_locale_wstring): Likewise.
32620 (add_locale_uint32): Likewise.
32621 (add_locale_uint32_array): Likewise.
32622 (add_locale_char): Likewise.
32623 (start_locale_structure): Likewise.
32624 (end_locale_structure): Likewise.
32625 (start_locale_prelude): Likewise.
32626 (end_locale_prelude): Likewise.
32627 (write_locale_data): Take locale_file structure rather than an
32628 iovec.
32629 * locale/programs/locfile.h: Include "obstack.h".
32630 (struct locale_file): Change to store locale file contents instead
32631 of header.
32632 (init_locale_data): New prototype.
32633 (align_locale_data): Likewise.
32634 (add_locale_empty): Likewise.
32635 (add_locale_raw_data): Likewise.
32636 (add_locale_raw_obstack): Likewise.
32637 (add_locale_string): Likewise.
32638 (add_locale_wstring): Likewise.
32639 (add_locale_uint32): Likewise.
32640 (add_locale_uint32_array): Likewise.
32641 (add_locale_char): Likewise.
32642 (start_locale_structure): Likewise.
32643 (end_locale_structure): Likewise.
32644 (start_locale_prelude): Likewise.
32645 (end_locale_prelude): Likewise.
32646 (write_locale_data): Update prototype.
32647 * locale/programs/3level.h (struct TABLE): Remove result field.
32648 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
32649 Use new locale_file interface.
32650 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
32651 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
32652 * locale/programs/ld-address.c (address_output): Use new
32653 locale_file interface.
32654 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
32655 NO_ADD_LOCALE.
32656 (collate_finish): Don't call collseq_table_finalize.
32657 (collate_output): Use new locale_file interface.
32658 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
32659 in file.
32660 (NO_FINALIZE): Change to NO_ADD_LOCALE.
32661 (TABLE): Move defines earlier in file.
32662 (ELEMENT): Likewise.
32663 (DEFAULT): Likewise.
32664 (wctrans_table_add): Move macro and inline function earlier in
32665 file.
32666 (struct wctype_table): Move type earlier in file.
32667 (add_locale_wctype_table): New static prototype.
32668 (struct locale_ctype_t): Use logical types instead of struct iovec
32669 pointers for members.
32670 (ctype_output): Use new locale_file interface.
32671 (wctype_table_finalize): Change to add_locale_wctype_table. Use
32672 new locale_file interface.
32673 (allocate_arrays): Update for use of new locale_file interface.
32674 * locale/programs/ld-identification.c (identification_output): Use
32675 new locale_file interface.
32676 * locale/programs/ld-measurement.c (measurement_output): Likewise.
32677 * locale/programs/ld-messages.c (messages_output): Likewise.
32678 * locale/programs/ld-monetary.c (monetary_output): Likewise.
32679 * locale/programs/ld-name.c (name_output): Likewise.
32680 * locale/programs/ld-numeric.c (numeric_output): Likewise.
32681 * locale/programs/ld-paper.c (paper_output): Likewise.
32682 * locale/programs/ld-telephone.c (telephone_output): Likewise.
32683 * locale/programs/ld-time.c (time_output): Likewise.
32684
32685 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32686
32687 * benchtests/Makefile: Add memrchr benchmark.
32688 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
32689 benchmark as memrchr.
32690 * benchtests/bench-memrchr-ifunc.c: New file.
32691 * benchtests/bench-memrchr.c: New file.
32692
32693 2013-09-06 Will Newton <will.newton@linaro.org>
32694
32695 * benchtests/Makefile (string-bench): Add memcpy.
32696
32697 2013-09-05 Carlos O'Donell <carlos@redhat.com>
32698 Cong Wang <amwang@redhat.com>
32699
32700 [BZ #15850]
32701 * sysdeps/unix/sysv/linux/bits/in.h
32702 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
32703 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
32704 before __USE_KERNEL_IPV6_DEFS uses.
32705 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
32706 IPPROTO_BEETPH.
32707 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
32708 sockaddr_in6, or ipv6_mreq.
32709
32710 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32711
32712 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
32713 memory access for final bytes in some large inputs.
32714 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
32715
32716 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32717
32718 * string/test-memrchr.c: New file.
32719 * string/test-memrchr-ifunc.c: New file.
32720 * string/Makefile: Add new memrchr testcase.
32721
32722 2013-09-05 Mike Frysinger <vapier@gentoo.org>
32723
32724 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
32725 fanotify_init returns EPERM.
32726
32727 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32728
32729 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
32730 errors.
32731 (top level): Treat second token from macro or constant entries for
32732 allowed headers as allowed.
32733 * include/complex.h: Condition internal declarations on
32734 [!_ISOMAC].
32735 * include/fenv.h: Condition include of <stdbool.h> and internal
32736 declarations on [!_ISOMAC].
32737
32738 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
32739
32740 [BZ #15923]
32741 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
32742
32743 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32744
32745 * configure.in (--enable-versioning): Remove configure option.
32746 (libc_cv_asm_symver_directive): Remove configure test.
32747 (libc_cv_ld_version_script_option): Likewise.
32748 (VERSIONING): Remove variable and AC_SUBST.
32749 (DO_VERSIONING): Remove AC_DEFINE.
32750 * configure: Regenerated.
32751 * config.h.in (DO_VERSIONING): Remove macro.
32752 * Makerules [$(versioning) = yes]: Change conditionals to
32753 [$(build-shared) = yes].
32754 * config.make.in (versioning): Remove variable.
32755 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
32756 [$(build-shared) = yes].
32757 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
32758 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
32759 * elf/Makefile [$(versioning) = yes]: Change conditionals to
32760 [$(build-shared) = yes].
32761 * extra-lib.mk [$(versioning) = yes]: Likewise.
32762 * hurd/Makefile [$(versioning) = yes]: Likewise.
32763 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
32764 [SHARED].
32765 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
32766 [SHARED].
32767 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32768 [SHARED && !NO_HIDDEN].
32769 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
32770 [SHARED].
32771 [SHARED && DO_VERSIONING]: Likewise..
32772 * libio/Makefile [$(versioning) = yes]: Change conditionals to
32773 [$(build-shared) = yes].
32774 * manual/install.texi (--disable-versioning): Remove
32775 documentation.
32776 * INSTALL: Regenerated.
32777 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
32778 to [SHARED].
32779 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
32780 [$(build-shared) = yes].
32781 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
32782 * sysdeps/i386/i686/multiarch/strstr-c.c
32783 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32784 [SHARED && !NO_HIDDEN].
32785 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
32786 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
32787 * sysdeps/powerpc/powerpc32/dl-machine.c
32788 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
32789 * sysdeps/powerpc/powerpc32/sysdep.h
32790 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
32791 to [SHARED && PIC && !NO_HIDDEN].
32792 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
32793 conditional to [SHARED].
32794
32795 2013-09-04 Will Newton <will.newton@linaro.org>
32796
32797 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
32798 * benchtests/bench-string.h: Include bench-timing.h instead
32799 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
32800 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
32801 call to HP_TIMING_DIFF_INIT.
32802 * benchtests/bench-memccpy.c: Use bench-timing.h macros
32803 instead of hp-timing.h macros.
32804 * benchtests/bench-memchr.c: Likewise.
32805 * benchtests/bench-memcmp.c: Likewise.
32806 * benchtests/bench-memcpy.c: Likewise.
32807 * benchtests/bench-memmem.c: Likewise.
32808 * benchtests/bench-memmove.c: Likewise.
32809 * benchtests/bench-memset.c: Likewise.
32810 * benchtests/bench-rawmemchr.c: Likewise.
32811 * benchtests/bench-strcasecmp.c: Likewise.
32812 * benchtests/bench-strcasestr.c: Likewise.
32813 * benchtests/bench-strcat.c: Likewise.
32814 * benchtests/bench-strchr.c: Likewise.
32815 * benchtests/bench-strcmp.c: Likewise.
32816 * benchtests/bench-strcpy.c: Likewise.
32817 * benchtests/bench-strcpy_chk.c: Likewise.
32818 * benchtests/bench-strlen.c: Likewise.
32819 * benchtests/bench-strncasecmp.c: Likewise.
32820 * benchtests/bench-strncat.c: Likewise.
32821 * benchtests/bench-strncmp.c: Likewise.
32822 * benchtests/bench-strncpy.c: Likewise.
32823 * benchtests/bench-strnlen.c: Likewise.
32824 * benchtests/bench-strpbrk.c: Likewise.
32825 * benchtests/bench-strrchr.c: Likewise.
32826 * benchtests/bench-strspn.c: Likewise.
32827 * benchtests/bench-strstr.c: Likewise.
32828
32829 2013-09-04 Will Newton <will.newton@linaro.org>
32830
32831 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
32832
32833 2013-09-03 Joseph Myers <joseph@codesourcery.com>
32834
32835 [BZ #15427]
32836 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
32837 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
32838 * math/libm-test.inc (lgamma_test_data): Add more tests.
32839 * sysdeps/i386/fpu/libm-test-ulps: Update.
32840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32841
32842 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
32843
32844 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
32845 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32846 Add ifunc.
32847 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32848 Add strcmp-sse2-unaligned
32849 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
32850
32851 2013-09-02 Mike Frysinger <vapier@gentoo.org>
32852
32853 * Versions.def (libc): Add GLIBC_2.19.
32854
32855 2013-09-02 Mike Frysinger <vapier@gentoo.org>
32856
32857 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
32858 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
32859
32860 2013-09-02 Joseph Myers <joseph@codesourcery.com>
32861
32862 [BZ #14155]
32863 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
32864 intermediate calculations in recurrence.
32865 (__ieee754_ynf): Likewise.
32866 * math/libm-test.inc (jn_test_data): Do not allow spurious
32867 underflow exception. Add more tests.
32868 (yn_test_data): Add more tests.
32869 * sysdeps/i386/fpu/libm-test-ulps: Update.
32870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32871
32872 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
32873
32874 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
32875
32876 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32877
32878 * csu/init-first.c: Fix then/than typos.
32879 * locale/programs/ld-collate.c: Likewise.
32880 * locale/programs/linereader.h: Likewise.
32881 * manual/charset.texi: Likewise.
32882 * manual/filesys.texi: Likewise.
32883 * manual/stdio.texi: Likewise.
32884 * manual/string.texi: Likewise.
32885 * stdlib/fmtmsg.c: Likewise.
32886 * sysdeps/i386/stpncpy.S: Likewise.
32887 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32888 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32889 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32890 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32891
32892 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32893
32894 * elf/dl-open.c: Fix typos.
32895 * iconvdata/gbbig5.c: Likewise.
32896 * iconvdata/iso-2022-jp.c: Likewise.
32897 * iconv/gconv_int.h: Likewise.
32898 * iconv/loop.c: Likewise.
32899 * nis/rpcsvc/nis.h: Likewise.
32900 * resolv/ns_name.c: Likewise.
32901 * stdio-common/vfscanf.c: Likewise.
32902 * streams/stropts.h: Likewise.
32903 * sunrpc/rpc_thread.c: Likewise.
32904 * sysdeps/i386/strpbrk.S: Likewise.
32905 * sysdeps/ieee754/k_standard.c: Likewise.
32906 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32907 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32908 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
32909 * sysdeps/mach/hurd/profil.c: Likewise.
32910 * sysdeps/s390/dl-procinfo.h: Likewise.
32911 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
32912 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
32913 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
32914 * sysdeps/x86_64/dl-trampoline.S: Likewise.
32915 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32916
32917 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32918
32919 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
32920 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
32921
32922 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
32923
32924 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
32925 aix specific files.
32926 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
32927 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
32928 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
32929 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
32930 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
32931 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
32932 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
32933 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
32934
32935 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
32936 Roland McGrath <roland@hack.frob.com>
32937
32938 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
32939 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
32940
32941 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
32942
32943 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
32944 __executable_start symbol instead of _start.
32945
32946 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
32947
32948 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
32949 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
32950 Move macros to...
32951 * sysdeps/gnu/ldsodefs.h: ... this new file.
32952
32953 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
32954 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
32955 instead of ELFOSABI_LINUX.
32956
32957 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
32958 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
32959 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
32960 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
32961 Likewise.
32962 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
32963 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
32964 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
32965 Likewise.
32966 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32967 (ibm_extended_long_double): Add ieee_nan member.
32968 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
32969 (do_test): New function.
32970
32971 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
32972 TEST_TRUNC.
32973 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
32974 functions, renamed from truncdfsf_test, trunctfsf_test,
32975 trunctfdf_test.
32976 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
32977 functions.
32978 (do_test): Run all these.
32979
32980 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
32981
32982 * argp/argp-help.c: Fix typos.
32983 * argp/argp-parse.c: Likewise.
32984 * debug/backtracesyms.c: Likewise.
32985 * elf/elf.h: Likewise.
32986 * malloc/malloc.c: Likewise.
32987 * nis/nis_print.c: Likewise.
32988 * resolv/res_comp.c: Likewise.
32989 * stdlib/stdlib.h: Likewise.
32990 * sunrpc/clnt_tcp.c: Likewise.
32991 * sunrpc/clnt_udp.c: Likewise.
32992 * sunrpc/clnt_unix.c: Likewise.
32993 * sysdeps/unix/bsd/ptsname.c: Likewise.
32994 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32995 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
32996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
32997 Likewise.
32998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
32999 Likewise.
33000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
33001 Likewise.
33002 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33003
33004 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33005
33006 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
33007 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33008
33009 2013-08-27 Mike Frysinger <vapier@gentoo.org>
33010
33011 [BZ #15897]
33012 * dlfcn/Makefile (tests): Add bug-dl-leaf.
33013 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
33014 ($(objpfx)bug-dl-leaf): New rule.
33015 ($(objpfx)bug-dl-leaf.so): Likewise.
33016 ($(objpfx)bug-dl-leaf.out): Likewise.
33017 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
33018 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
33019 * dlfcn/bug-dl-leaf.c: New test.
33020 * dlfcn/bug-dl-leaf-lib.c: Likewise.
33021 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
33022 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
33023 (dlclose): Likewise.
33024 (dlmopen): Likewise.
33025
33026 2013-08-27 Roland McGrath <roland@hack.frob.com>
33027
33028 * include/netdb.h [!_ISOMAC]:
33029 Don't include <tls.h>.
33030 (h_errno, __libc_h_errno): Move declaration and macros out of
33031 [_LIBC_REENTRANT].
33032
33033 * include/resolv.h [_RESOLV_H_]:
33034 Don't include <tls.h>.
33035 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
33036 * resolv/res_libc.c: Don't include <tls.h>.
33037 (_res): Use __attribute__ ((nocommon)) in place of
33038 __attribute__ ((section (".bss"))).
33039
33040 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
33041 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
33042
33043 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
33044
33045 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
33046 only under [SIOCGIFCONF && SIOCGIFNETMASK].
33047
33048 * resolv/res_mkquery.c: Include <sys/time.h>.
33049
33050 * inet/ifreq.c: Moved to ...
33051 * sysdeps/unix/ifreq.c: ... here.
33052 * inet/ifreq.c: New file, true stub version.
33053
33054 * socket/sa_len.c: New file.
33055 * socket/Makefile (aux): Add it.
33056 * sysdeps/unix/sysv/linux/Makefile
33057 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
33058 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
33059 and #include <socket/sa_len.c>.
33060 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
33061 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
33062
33063 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
33064 * bits/socket.h: ... here.
33065
33066 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
33067 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
33068 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
33069
33070 2013-08-27 Andreas Schwab <schwab@suse.de>
33071
33072 [BZ #15736]
33073 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
33074 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
33075 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
33076 * string/test-strcasecmp.c (test_main): Run tests in several
33077 locales.
33078 * string/test-strncasecmp.c (test_main): Likewise.
33079
33080 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
33081 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
33082 to __strcasecmp_nonascii and __strncasecmp_nonascii.
33083 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
33084 (__strncasecmp_ssse3) [PIC]: Likewise.
33085
33086 2013-08-26 Roland McGrath <roland@hack.frob.com>
33087
33088 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
33089
33090 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
33091 instead of explicitly declaring xdecrypt.
33092 * nis/nss_nis/nis-publickey.c: Likewise.
33093
33094 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33095
33096 [BZ #15890]
33097 * nscd/aicache.c: Include res_hconf.h.
33098 (addhstaiX): Initialize res_hconf.
33099
33100 2013-08-26 Andreas Schwab <schwab@suse.de>
33101
33102 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
33103 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
33104
33105 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33106
33107 * nscd/aicache.c (addhstaiX): Fix indentation.
33108
33109 2013-08-25 Mike Frysinger <vapier@gentoo.org>
33110
33111 * configure.ac: Quote $build_pt_chown test.
33112 * configure: Regenerated.
33113
33114 2013-08-23 Joseph Myers <joseph@codesourcery.com>
33115
33116 [BZ #15532]
33117 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
33118 * math/s_cexpf.c (__cexpf): Likewise.
33119 * math/s_cexpl.c (__cexpl): Likewise.
33120 * math/libm-test.inc (cexp_test_data): Correct expected return
33121 value for NaN + i0. Add another test.
33122
33123 2013-08-22 David S. Miller <davem@davemloft.net>
33124
33125 * po/ca.po: Update Catalan translation from translation project.
33126 * po/uk.po: Add Ukrainian translations from translation project.
33127
33128 2013-08-21 Joseph Myers <joseph@codesourcery.com>
33129
33130 [BZ #15797]
33131 * math/s_fdim.c (__fdim): Check for infinite arguments if result
33132 is infinite, not alongside NaN test.
33133 * math/s_fdimf.c (__fdimf): Likewise.
33134 * math/s_fdiml.c (__fdiml): Likewise.
33135 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
33136 errno is unchanged.
33137
33138 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
33139
33140 * argp/argp-help.c: Fix typos.
33141 * crypt/speeds.c: Likewise.
33142 * csu/check_fds.c: Likewise.
33143 * elf/dl-load.c: Likewise.
33144 * elf/dl-open.c: Likewise.
33145 * elf/reldep3.c: Likewise.
33146 * elf/reldep.c: Likewise.
33147 * elf/sprof.c: Likewise.
33148 * iconv/iconv_charmap.c: Likewise.
33149 * iconv/skeleton.c: Likewise.
33150 * iconv/strtab.c: Likewise.
33151 * io/lockf64.c: Likewise.
33152 * libio/libioP.h: Likewise.
33153 * resolv/gai_notify.c: Likewise.
33154 * resolv/ns_name.c: Likewise.
33155 * resolv/ns_samedomain.c: Likewise.
33156 * resolv/res_send.c: Likewise.
33157 * stdlib/random.c: Likewise.
33158 * sunrpc/rpc/xdr.h: Likewise.
33159 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
33160 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
33161 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33162 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33163 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33164 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
33165 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
33166 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33167 * sysdeps/mach/hurd/check_fds.c: Likewise.
33168 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33169 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
33170 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33171 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33172 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
33173 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33174 * sysdeps/pthread/aio_notify.c: Likewise.
33175 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
33176 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
33177 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
33178 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33179 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
33180
33181 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33182
33183 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
33184 version if bit_Slow_SSE4_2 is set.
33185 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33186 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33187
33188 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33189
33190 [BZ #15867]
33191 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
33192 trampoline stack frame information.
33193 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
33194 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
33195 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
33196 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
33197 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
33198 * sysdeps/unix/sysv/linux/powerpc/init-first.c
33199 (_libc_vdso_platform_setup): Initialize the signal trampolines.
33200 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
33201 sa_flags value.
33202 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
33203 interrupting a syscall and set with option SA_SIGINFO.
33204
33205 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33206
33207 [BZ #15531]
33208 * math/s_cproj.c (__cproj): Only return an infinity if one part of
33209 argument is infinite.
33210 * math/s_cprojf.c (__cprojf): Likewise.
33211 * math/s_cprojl.c (__cprojl): Likewise.
33212 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
33213 * math/libm-test.inc (cproj_test_data): Add more tests.
33214
33215 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
33216
33217 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
33218 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
33219 size. Use __ffs to determine corresponding shift.
33220
33221 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33222 Roland McGrath <roland@hack.frob.com>
33223
33224 * Makefile (INSTALL): Remove trailing blank lines from output of
33225 makeinfo.
33226
33227 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33228
33229 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
33230 Align 32 bit compat elf_greg to 8 bytes.
33231
33232 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
33233
33234 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
33235
33236 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33237
33238 * string/strcoll_l.c (coll_seq): New structure.
33239 (get_next_seq_cached): New function.
33240 (get_next_seq): New function.
33241 (do_compare): New function.
33242 (STRCOLL): Use GNU style definition. Simplify implementation
33243 by using get_next_seq, get_next_seq_cached and do_compare.
33244
33245 2013-08-16 Florian Weimer <fweimer@redhat.com>
33246
33247 [BZ #14699]
33248 CVE-2013-4237
33249 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
33250 member.
33251 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
33252 member.
33253 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
33254 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
33255 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
33256 conditional.
33257 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
33258 GETDENTS_64BIT_ALIGNED.
33259 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33260 * manual/filesys.texi (Reading/Closing Directory): Document
33261 ENAMETOOLONG return value of readdir_r. Recommend readdir more
33262 strongly.
33263 * manual/conf.texi (Limits for Files): Add portability note to
33264 NAME_MAX, PATH_MAX.
33265 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
33266
33267 2013-08-13 Andreas Schwab <schwab@suse.de>
33268
33269 [BZ #15749]
33270 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
33271 of fabs.
33272 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
33273 LDBL_MAX_EXP >= 16384]: Add tests for it.
33274
33275 2013-08-12 David S. Miller <davem@davemloft.net>
33276
33277 * version.h (RELEASE): Set to "development".
33278 (VERSION): Set to "2.18.90".
33279 * NEWS: Add 2.19 section.
33280
33281 2013-08-03 David S. Miller <davem@davemloft.net>
33282
33283 * po/ko.po: Update Korean translation from translation project.
33284
33285 2013-08-01 David S. Miller <davem@davemloft.net>
33286
33287 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
33288 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
33289 Bilka.
33290
33291 2013-07-30 David S. Miller <davem@davemloft.net>
33292
33293 * po/fr.po: Update French translation from translation project.
33294
33295 2013-07-28 David S. Miller <davem@davemloft.net>
33296
33297 * po/cs.po: Update Czech translation from translation project.
33298
33299 * po/sv.po: Update Swedish translation from translation project.
33300
33301 2013-07-27 David S. Miller <davem@davemloft.net>
33302
33303 * po/eo.po: Update Esperanto translation from translation project.
33304
33305 * po/vi.po: Update Vietnamese translation from translation project.
33306
33307 * po/de.po: Update German translation from translation project.
33308
33309 2013-07-26 David S. Miller <davem@davemloft.net>
33310
33311 * po/bg.po: Update Bulgarian translation from translation project.
33312
33313 * po/nl.po: Update Dutch translation from translation project.
33314 * po/pl.po: Update Polish translation from translation project.
33315 * po/ru.po: Update Russian translation from translation project.
33316
33317 2013-07-24 David S. Miller <davem@davemloft.net>
33318
33319 * po/libc.pot: Update.
33320
33321 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33322
33323 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
33324 variable page size.
33325 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
33326 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
33327 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
33328
33329 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33330
33331 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
33332
33333 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33334 Andreas Schwab <schwab@suse.de>
33335 Roland McGrath <roland@hack.frob.com>
33336 Joseph Myers <joseph@codesourcery.com>
33337 Carlos O'Donell <carlos@redhat.com>
33338
33339 [BZ #15755]
33340 * config.h.in: Define HAVE_PT_CHOWN.
33341 * config.make.in (build-pt-chown): New variable.
33342 * configure.in (--enable-pt_chown): New configure option.
33343 * configure: Regenerate.
33344 * login/Makefile: Include Makeconfig. Build pt_chown only if
33345 build-pt-chown is enabled.
33346 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
33347 pt_chown to fix pty ownership.
33348 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
33349 CLOSE_ALL_FDS.
33350 * manual/install.texi (Configuring and compiling): Mention
33351 --enable-pt_chown. Add @findex for grantpt.
33352 * INSTALL: Regenerate.
33353
33354 2013-07-20 David S. Miller <davem@davemloft.net>
33355
33356 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
33357 difference between 32-bit and 64-bit.
33358
33359 2013-07-15 Carlos O'Donell <carlos@redhat.com>
33360
33361 [BZ #15711]
33362 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
33363 Avoid system header dependency with -ffreestanding.
33364 ($(objpfx)bits/syscall%d): Likewise.
33365
33366 2013-07-13 David S. Miller <davem@davemloft.net>
33367
33368 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
33369 underflows from atanl/atan2l due to bug 15319.
33370 (casinh_test_data): Likewise.
33371
33372 2013-07-07 David S. Miller <davem@davemloft.net>
33373
33374 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
33375
33376 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
33377
33378 * sysdeps/i386/fpu/libm-test-ulps: Update.
33379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33380
33381 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33382
33383 * configure.in (--enable-lock-elision): Fix message text.
33384 * INSTALL: Regenerate.
33385 * configure: Regenerate.
33386
33387 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33388
33389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33390
33391 2013-07-03 Andreas Jaeger <aj@suse.de>
33392
33393 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
33394 define.
33395 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
33396 (ptrace_peeksiginfo_args): Add.
33397 (__ptrace_peeksiginfo_flags): Add.
33398 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33399 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33400 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33401
33402 2013-07-03 Allan McRae <allan@archlinux.org>
33403
33404 * sysdeps/i386/fpu/libm-test-ulps: Update.
33405
33406 2013-07-02 David S. Miller <davem@davemloft.net>
33407
33408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33409
33410 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
33411
33412 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33413
33414 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33415
33416 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33418
33419 2013-07-02 Andi Kleen <ak@linux.intel.com>
33420
33421 * config.h.in (ENABLE_LOCK_ELISION): Add.
33422 * configure.in (--enable-lock-elision): Add option.
33423 * manual/install.texi: Document --enable lock elision.
33424 * configure: Regenerate
33425 * INSTALL: Regenerate.
33426
33427 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
33428
33429 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
33430 SSE4.2 strcasecmp for libc.a.
33431 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33432
33433 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33434
33435 [BZ #13304]
33436 * soft-fp/op-common.h (_FP_FMA): New macro.
33437 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
33438 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
33439 (_FP_MUL_MEAT_1_imm): ... here.
33440 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
33441 (_FP_MUL_MEAT_1_wide): ... here.
33442 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
33443 (_FP_MUL_MEAT_1_hard): ... here.
33444 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
33445 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
33446 (_FP_MUL_MEAT_2_wide): ... here.
33447 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
33448 (_FP_MUL_MEAT_2_wide_3mul): ... here.
33449 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
33450 (_FP_MUL_MEAT_2_gmp): ... here.
33451 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
33452 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
33453 (_FP_MUL_MEAT_4_wide): ... here.
33454 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
33455 (_FP_MUL_MEAT_4_gmp): ... here.
33456 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
33457 (_FP_WFRACBITS_DW_S): Likewise.
33458 (_FP_WFRACXBITS_DW_S): Likewise.
33459 (_FP_HIGHBIT_DW_S): Likewise.
33460 (FP_FMA_S): Likewise.
33461 (_FP_FRAC_HIGH_DW_S): Likewise.
33462 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
33463 (_FP_WFRACBITS_DW_D): Likewise.
33464 (_FP_WFRACXBITS_DW_D): Likewise.
33465 (_FP_HIGHBIT_DW_D): Likewise.
33466 (FP_FMA_D): Likewise.
33467 (_FP_FRAC_HIGH_DW_D): Likewise.
33468 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
33469 (_FP_WFRACBITS_DW_E): Likewise.
33470 (_FP_WFRACXBITS_DW_E): Likewise.
33471 (_FP_HIGHBIT_DW_E): Likewise.
33472 (FP_FMA_E): Likewise.
33473 (_FP_FRAC_HIGH_DW_E): Likewise.
33474 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
33475 (_FP_WFRACBITS_DW_Q): Likewise.
33476 (_FP_WFRACXBITS_DW_Q): Likewise.
33477 (_FP_HIGHBIT_DW_Q): Likewise.
33478 (FP_FMA_Q): Likewise.
33479 (_FP_FRAC_HIGH_DW_Q): Likewise.
33480 * soft-fp/fmasf4.c: New file.
33481 * soft-fp/fmadf4.c: Likewise.
33482 * soft-fp/fmatf4.c: Likewise.
33483
33484 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33485
33486 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33487 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
33488 Silvermont.
33489 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
33490 macro.
33491 (index_Slow_SSE4_2): Likewise.
33492 (index_Prefer_PMINUB_for_stringop): Likewise.
33493 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
33494 bit_Slow_SSE4_2 is set.
33495 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33496 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33497
33498 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33499
33500 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
33501 rtld_global._dl_hwcap2.
33502 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
33503 POWER8.
33504 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
33505 POWER8 feature descriptions defined in _dl_hwcap2.
33506 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
33507 string handling for POWER8 feature bits.
33508 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
33509 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
33510 _dl_powerpc_cap_flags.
33511 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
33512 * sysdeps/powerpc/rtld-global-offsets.sym
33513 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
33514 _dl_hwcap2 in the rtld_global_ro structure.
33515
33516 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33517
33518 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
33519 hardware capabilities in support of AT_HWCAP2.
33520 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
33521 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
33522 GLRO(dl_hwcap2).
33523 (_dl_show_auxv): Add support for calling _dl_procinfo to display
33524 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
33525 explicitly the unknown a_type display mechanism is used.
33526 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
33527 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
33528 struct member.
33529 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
33530 to macro prototype for AT_HWCAP2 support.
33531 * sysdeps/i386/dl-procinfo.h: Likewise.
33532 * sysdeps/s390/dl-procinfo.h: Likewise.
33533 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
33534 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
33535 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
33536 return -1 for unknown a_type display fallback.
33537 * sysdeps/sparc/dl-procinfo.h: Likewise.
33538 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
33539 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
33540
33541 2013-06-28 Joseph Myers <joseph@codesourcery.com>
33542
33543 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
33544 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
33545
33546 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
33547
33548 [BZ #12492]
33549 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
33550 mprotect making __stack_prot writable.
33551
33552 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
33553 Joseph Myers <joseph@codesourcery.com>
33554
33555 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
33556 as being properly aligned.
33557
33558 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
33559
33560 * dlfcn/modstatic5.c: New file.
33561 * dlfcn/tststatic5.c: New file.
33562 * dlfcn/Makefile (tests): Add tststatic5.
33563 (tests-static): Likewise.
33564 (modules-names): Add modstatic5.
33565 (tststatic5-ENV): New variable.
33566 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
33567
33568 [BZ #15022]
33569 * elf/dl-support.c (_dl_main_map): New variable.
33570 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
33571 (_dl_nns, _dl_load_adds): Set to 1.
33572 (_dl_initial_searchlist): Refer to _dl_main_map.
33573 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
33574 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
33575 call to _dl_get_origin.
33576 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
33577 around call_map.
33578 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
33579 * dlfcn/modstatic3.c: New file.
33580 * dlfcn/tststatic3.c: New file.
33581 * dlfcn/tststatic4.c: New file.
33582 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
33583 (tests-static): Likewise.
33584 (modules-names): Add modstatic3.
33585 (tststatic3-ENV, tststatic4-ENV): New variables.
33586 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
33587 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
33588
33589 2013-06-26 Joseph Myers <joseph@codesourcery.com>
33590
33591 * configure.in (CC): Require GCC version 4.4 or later.
33592 * configure: Regenerated.
33593 * manual/install.texi (Tools for Compilation): Update GCC version
33594 requirement.
33595 * INSTALL: Regenerated.
33596
33597 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33598
33599 [BZ #15674]
33600 * string/test-memcmp.c (check2): New.
33601 (main): Call check2.
33602
33603 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
33604
33605 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
33606
33607 [BZ #15022]
33608 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
33609 over to...
33610 (dl_open_worker) [!SHARED]: ... here.
33611
33612 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33613
33614 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
33615
33616 2013-06-25 Richard Henderson <rth@redhat.com>
33617
33618 * locale/programs/locarchive.c: Include <libc-internal.h>
33619
33620 2013-06-25 Joseph Myers <joseph@codesourcery.com>
33621
33622 * manual/texinfo.tex: Update to version 2013-06-21.17, with
33623 trailing whitespace removed.
33624
33625 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33626
33627 [BZ #10283]
33628 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
33629 * locale/programs/locarchive.c: Include libc-mmap.h.
33630 (prepare_address_space): Take two new outputs (the mmap base and len).
33631 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
33632 values.
33633 (create_archive): Declare new mmap base and len values for
33634 prepare_address_space, and store the result in ah.
33635 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
33636 (enlarge_archive): If ah->mmap_base is not NULL, use that and
33637 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33638 Declare new mmap base and len values for
33639 prepare_address_space, and store the result in new_ah.
33640 (open_archive): Declare new mmap base and len values for
33641 prepare_address_space, and store the result in ah.
33642 (close_archive): If ah->mmap_base is not NULL, use that and
33643 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33644 * sysdeps/generic/libc-mmap.h: New file.
33645
33646 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33647
33648 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
33649 (ALIGN_UP): Likewise.
33650 (PTR_ALIGN_DOWN): Likewise.
33651 (PTR_ALIGN_UP): Likewise.
33652
33653 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33654
33655 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
33656 entry mapped to PPC_PLATFORM_POWER8.
33657 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
33658 POWER8.
33659 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
33660 (_dl_string_platform): Add case for exporting platform position for
33661 POWER8.
33662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
33663 search path to sysdeps/powerpc/powerpc32/power8 directory.
33664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
33665 search path to sysdeps/powerpc/powerpc64/power8 directory.
33666 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
33667 power7 directories.
33668 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
33669 power7 directories.
33670
33671 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33672
33673 * INSTALL: Regenerate.
33674
33675 * nscd/connections.c (nscd_init): Fix comment.
33676
33677 2013-06-22 Joseph Myers <joseph@codesourcery.com>
33678
33679 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
33680
33681 [BZ #15667]
33682 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
33683 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
33684
33685 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33686
33687 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
33688 DL_DST_REQ_STATIC.
33689 (DL_DST_REQ_STATIC): Remove macro.
33690
33691 2013-06-21 Joseph Myers <joseph@codesourcery.com>
33692
33693 [BZ #7006]
33694 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
33695 with a shift of 0 bits.
33696
33697 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33698
33699 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
33700 $(tststatic-ENV).
33701
33702 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33703
33704 [BZ #15655]
33705 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
33706
33707 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33708
33709 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
33710 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
33711 accepts -fno-tree-loop-distribute-patterns.
33712 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
33713 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
33714 recursive call.
33715 * string/memset.c (memset): Likewise.
33716 * string/test-memmove.c (simple_memmove): Disable loop transformation
33717 to library calls.
33718 * string/test-memset.c (simple_memset): Likewise.
33719 * benchtests/bench-memmove.c (simple_memmove): Likewise.
33720 * benchtests/bench-memset.c (simple_memset): Likewise.
33721 * configure: Regenerated.
33722
33723 2013-06-20 Joseph Myers <joseph@codesourcery.com>
33724
33725 * math/test-misc.c (main): Ignore fesetround failure when failures
33726 of subsequent rounding tests would be ignored.
33727
33728 [BZ #15654]
33729 * math/fedisblxcpt.c (fedisableexcept): Return 0.
33730 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
33731 * math/fegetenv.c (__fegetenv): Return 0.
33732 * math/fegetexcept.c (fegetexcept): Return 0.
33733 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
33734 FE_TONEAREST.
33735 * math/feholdexcpt.c (feholdexcept): Return 0.
33736 * math/fesetenv.c (__fesetenv): Return 0.
33737 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
33738 argument FE_TONEAREST.
33739 * math/feupdateenv.c (__feupdateenv): Return 0.
33740 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
33741
33742 2013-06-18 Roland McGrath <roland@hack.frob.com>
33743
33744 * elf/rtld-Rules (rtld-compile-command.S): New variable.
33745 (rtld-compile-command.s, rtld-compile-command.c): New variables.
33746 ($(objpfx)rtld-%.os rules): Use them.
33747
33748 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33749
33750 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
33751 fields.
33752
33753 2013-06-17 Roland McGrath <roland@hack.frob.com>
33754
33755 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
33756 length of target pattern, then descending length of dependency pattern.
33757 * configure.in (AWK): Require gawk 3.1.2 or newer.
33758 * manual/install.texi (Tools for Compilation): Say that we do.
33759 * configure: Regenerated.
33760
33761 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
33762 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
33763 * scripts/sysd-rules.awk: ... this new script.
33764 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
33765 than a glob-style pattern.
33766
33767 2013-06-17 Joseph Myers <joseph@codesourcery.com>
33768
33769 * math/test-misc.c (main): Do not treat incorrectly rounded
33770 conversions as failure unless ROUNDING_TESTS passes.
33771
33772 2013-06-15 Joseph Myers <joseph@codesourcery.com>
33773
33774 [BZ #15631]
33775 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
33776 restore exception state around main square root computation, then
33777 check for inexactness explicitly.
33778
33779 * math/libm-test.inc (fma_test_data): Add another test.
33780
33781 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33782
33783 * manual/threads.texi (Non-POSIX Extensions): New document
33784 node. Document pthread_getattr_default_np and
33785 pthread_setattr_default_np.
33786
33787 * Versions.def (libpthread): Add GLIBC_2.18.
33788 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
33789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33790 Likewise.
33791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33792 Likewise.
33793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33794 Likewise.
33795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33796 Likewise.
33797 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
33798 Likewise.
33799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33800 Likewise.
33801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33802 Likewise.
33803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33804 Likewise.
33805 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33806 Likewise.
33807
33808 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33809
33810 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33811 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
33812
33813 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33814 H.J. Lu <hjl.tools@gmail.com>
33815
33816 [BZ #15627]
33817 * sysdeps/x86_64/rtld-memset.c: Remove file.
33818 * sysdeps/x86_64/rtld-memset.S: New file.
33819
33820 2013-06-14 Joseph Myers <joseph@codesourcery.com>
33821
33822 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
33823 (test_in_one_mode): Take arguments for whether the rounding mode
33824 is supported for each floating-point type.
33825 (do_test): Pass new arguments to test_in_one_mode using
33826 ROUNDING_TESTS.
33827
33828 2013-06-13 Roland McGrath <roland@hack.frob.com>
33829
33830 * posix/tst-waitid.c (do_test): Distinguish different instances of
33831 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
33832 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
33833 before entering the kernel for waitpid.
33834
33835 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33836
33837 * NEWS: Fix note on clock function precision. Text by Roland
33838 McGrath.
33839
33840 2013-06-13 Roland McGrath <roland@hack.frob.com>
33841
33842 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
33843 it into place only when and if the sanity check passes.
33844
33845 2013-06-13 Joseph Myers <joseph@codesourcery.com>
33846
33847 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
33848 output for whether conversion result is exact. Take argument
33849 indicating whether type is IBM long double.
33850 (round_for_all): Change need_exact field to ibm_ld.
33851 * stdlib/tst-strtod-round.c (struct exactness): New type.
33852 (struct test): Change bool ld_ok field to struct exactness exact.
33853 (TEST): Update all definitions for change to field.
33854 (tests): Regenerate array contents.
33855 (test_in_one_mode): Take pointer to new field instead of old ld_ok
33856 field value. Check for IBM long double here.
33857 (do_test): Update calls to test_in_one_mode.
33858
33859 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33860
33861 [BZ #12515]
33862 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
33863 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
33864
33865 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33866
33867 [BZ #15605]
33868 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
33869 generated by the compiler on loop optimizations.
33870 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
33871 general definitions.
33872
33873 2013-06-12 Joseph Myers <joseph@codesourcery.com>
33874
33875 * math/bug-nextafter.c: Include <math-tests.h>.
33876 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33877 the relevant type.
33878 * math/bug-nexttoward.c: Include <math-tests.h>.
33879 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33880 the relevant type.
33881 * math/test-misc.c: Include <math-tests.h>.
33882 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33883 the relevant type.
33884
33885 2013-06-12 Andreas Jaeger <aj@suse.de>
33886
33887 * po/ia.po: Update Interlingua translation from translation
33888 project.
33889
33890 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33891
33892 * include/fenv.h: Include stdbool.h.
33893 (struct rm_ctx): New structure.
33894 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
33895 Define macro.
33896 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
33897 (SET_RESTORE_ROUNDF): Likewise.
33898 (SET_RESTORE_ROUNDL): Likewise.
33899 (SET_RESTORE_ROUND_NOEX): Likewise.
33900 (SET_RESTORE_ROUND_NOEXF): Likewise.
33901 (SET_RESTORE_ROUND_NOEXL): Likewise.
33902 (SET_RESTORE_ROUND_53BIT): Likewise.
33903 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
33904 (libc_feresetround_noexf_ctx): Likewise.
33905 (libc_feresetround_noexl_ctx): Likewise.
33906 (libc_feholdsetround_53bit_ctx): Likewise.
33907 (libc_feresetround_53bit_ctx): Likewise.
33908 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
33909 (libc_feholdexcept_setround_sse_ctx): New function.
33910 (libc_fesetenv_sse_ctx): Likewise.
33911 (libc_feupdateenv_sse_ctx): Likewise.
33912 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
33913 (libc_feholdexcept_setround_387_ctx): Likewise.
33914 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
33915 (libc_feholdsetround_387_prec_ctx): Likewise.
33916 (libc_feholdsetround_387_ctx): Likewise.
33917 (libc_feholdsetround_387_53bit_ctx): Likewise.
33918 (libc_feholdsetround_sse_ctx): Likewise.
33919 (libc_feresetround_sse_ctx): Likewise.
33920 (libc_feresetround_387_ctx): Likewise.
33921 (libc_feupdateenv_387_ctx): Likewise.
33922 (libc_feholdexcept_setroundf_ctx): Define macro.
33923 (libc_fesetenvf_ctx): Likewise.
33924 (libc_feupdateenvf_ctx): Likewise.
33925 (libc_feholdsetroundf_ctx): Likewise.
33926 (libc_feresetroundf_ctx): Likewise.
33927 (libc_feholdexcept_setround_ctx): Likewise.
33928 (libc_fesetenv_ctx): Likewise.
33929 (libc_feupdateenv_ctx): Likewise.
33930 (libc_feholdsetround_ctx): Likewise.
33931 (libc_feresetround_ctx): Likewise.
33932 (libc_feholdexcept_setroundl_ctx): Likewise.
33933 (libc_feupdateenvl_ctx): Likewise.
33934 (libc_feholdsetroundl_ctx): Likewise.
33935 (libc_feresetroundl_ctx): Likewise.
33936 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
33937 (libc_feresetround_53bit_ctx): Likewise.
33938
33939 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33940
33941 * locale/iso-639.def: Convert to UTF-8.
33942
33943 2013-06-11 Joseph Myers <joseph@codesourcery.com>
33944
33945 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
33946 (EXCEPTION_TESTS_double): Likewise.
33947 (EXCEPTION_TESTS_long_double): Likewise.
33948 (EXCEPTION_TESTS): Likewise.
33949 * math/libm-test.inc (test_exceptions): Only test exceptions if
33950 EXCEPTION_TESTS (FLOAT).
33951
33952 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33953
33954 * benchtests/Makefile (string-bench): Add strcpy_chk and
33955 stpcpy_chk.
33956 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
33957 * benchtests/bench-stpcpy_chk.c: New file.
33958 * benchtests/bench-strcpy_chk-ifunc.c: New file.
33959 * benchtests/bench-strcpy_chk.c: New file.
33960 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
33961 code.
33962 (do_test): Likewise.
33963
33964 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33965
33966 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
33967 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
33968 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
33969 with tabs where appropriate.
33970 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
33971 dl-procinfo.h.
33972 [PPC_PLATFORM_PPC440]: Likewise.
33973 [PPC_PLATFORM_PPC464]: Likewise.
33974 [PPC_PLATFORM_PPC476]: Likewise.
33975 (_dl_string_platform): Add support for detecting ppc405, ppc440,
33976 ppc464, and ppc476 platform strings merging from ports/
33977 dl-procinfo.h.
33978
33979 2013-06-11 Andreas Schwab <schwab@suse.de>
33980
33981 [BZ #14991]
33982 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
33983 (from_ucs4_idx): Regenerate.
33984 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
33985 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
33986 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
33987 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
33988 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
33989 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
33990 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
33991 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
33992 from FROM_LOOP and TO_LOOP specific macros.
33993 (BODY): Handle combining characters.
33994 * iconvdata/BIG5HKSCS.irreversible: Update.
33995 * iconvdata/BIG5HKSCS.precomposed: New file.
33996 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
33997 characters.
33998 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
33999
34000 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34001
34002 * include/sys/time.h: Fix indentation and add copyright header.
34003
34004 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
34005 (do_test): Likewise.
34006 * string/test-memchr.c (do_one_test): Likewise.
34007 (do_test): Likewise.
34008 * string/test-memcmp.c (do_one_test): Likewise.
34009 (do_test): Likewise.
34010 * string/test-memcpy.c (do_one_test): Likewise.
34011 (do_test): Likewise.
34012 * string/test-memmem.c (do_one_test): Likewise.
34013 (do_test): Likewise.
34014 (do_random_tests): Likewise.
34015 * string/test-memmove.c (do_one_test): Likewise.
34016 (do_test): Likewise.
34017 * string/test-memset.c (do_one_test): Likewise.
34018 (do_test): Likewise.
34019 * string/test-rawmemchr.c (do_one_test): Likewise.
34020 (do_test): Likewise.
34021 * string/test-strcasecmp.c (do_one_test): Likewise.
34022 (do_test): Likewise.
34023 * string/test-strcasestr.c (do_one_test): Likewise.
34024 (do_test): Likewise.
34025 * string/test-strcat.c (do_one_test): Likewise.
34026 (do_test): Likewise.
34027 * string/test-strchr.c (do_one_test): Likewise.
34028 (do_test): Likewise.
34029 * string/test-strcmp.c (do_one_test): Likewise.
34030 (do_test): Likewise.
34031 * string/test-strcpy.c (do_one_test): Likewise.
34032 (do_test): Likewise.
34033 * string/test-string.h: Likewise.
34034 (test_init): Likewise.
34035 * string/test-strlen.c (do_one_test): Likewise.
34036 (do_test): Likewise.
34037 * string/test-strncasecmp.c (do_one_test): Likewise.
34038 (do_test): Likewise.
34039 * string/test-strncat.c (do_one_test): Likewise.
34040 (do_test): Likewise.
34041 * string/test-strncmp.c (do_one_test): Likewise.
34042 (do_test_limit): Likewise.
34043 (do_test): Likewise.
34044 * string/test-strncpy.c (do_one_test): Likewise.
34045 (do_test): Likewise.
34046 * string/test-strnlen.c (do_one_test): Likewise.
34047 (do_test): Likewise.
34048 * string/test-strpbrk.c (do_one_test): Likewise.
34049 (do_test): Likewise.
34050 * string/test-strrchr.c (do_one_test): Likewise.
34051 (do_test): Likewise.
34052 * string/test-strspn.c (do_one_test): Likewise.
34053 (do_test): Likewise.
34054 * string/test-strstr.c (do_one_test): Likewise.
34055 (do_test): Likewise.
34056
34057 * benchtests/Makefile (string-bench): Add string benchmarks.
34058 * benchtests/bench-bcopy-ifunc.c: New file.
34059 * benchtests/bench-bcopy.c: New file.
34060 * benchtests/bench-bzero-ifunc.c: New file.
34061 * benchtests/bench-bzero.c: New file.
34062 * benchtests/bench-memccpy-ifunc.c: New file.
34063 * benchtests/bench-memccpy.c: New file.
34064 * benchtests/bench-memchr-ifunc.c: New file.
34065 * benchtests/bench-memchr.c: New file.
34066 * benchtests/bench-memcmp-ifunc.c: New file.
34067 * benchtests/bench-memcmp.c: New file.
34068 * benchtests/bench-memmem-ifunc.c: New file.
34069 * benchtests/bench-memmem.c: New file.
34070 * benchtests/bench-memmove-ifunc.c: New file.
34071 * benchtests/bench-memmove.c: New file.
34072 * benchtests/bench-mempcpy-ifunc.c: New file.
34073 * benchtests/bench-mempcpy.c: New file.
34074 * benchtests/bench-memset-ifunc.c: New file.
34075 * benchtests/bench-memset.c: New file.
34076 * benchtests/bench-rawmemchr-ifunc.c: New file.
34077 * benchtests/bench-rawmemchr.c: New file.
34078 * benchtests/bench-stpcpy-ifunc.c: New file.
34079 * benchtests/bench-stpcpy.c: New file.
34080 * benchtests/bench-stpncpy-ifunc.c: New file.
34081 * benchtests/bench-stpncpy.c: New file.
34082 * benchtests/bench-strcasecmp-ifunc.c: New file.
34083 * benchtests/bench-strcasecmp.c: New file.
34084 * benchtests/bench-strcasestr-ifunc.c: New file.
34085 * benchtests/bench-strcasestr.c: New file.
34086 * benchtests/bench-strcat-ifunc.c: New file.
34087 * benchtests/bench-strcat.c: New file.
34088 * benchtests/bench-strchr-ifunc.c: New file.
34089 * benchtests/bench-strchr.c: New file.
34090 * benchtests/bench-strchrnul-ifunc.c: New file.
34091 * benchtests/bench-strchrnul.c: New file.
34092 * benchtests/bench-strcmp-ifunc.c: New file.
34093 * benchtests/bench-strcmp.c: New file.
34094 * benchtests/bench-strcpy-ifunc.c: New file.
34095 * benchtests/bench-strcpy.c: New file.
34096 * benchtests/bench-strcspn-ifunc.c: New file.
34097 * benchtests/bench-strcspn.c: New file.
34098 * benchtests/bench-strlen-ifunc.c: New file.
34099 * benchtests/bench-strlen.c: New file.
34100 * benchtests/bench-strncasecmp-ifunc.c: New file.
34101 * benchtests/bench-strncasecmp.c: New file.
34102 * benchtests/bench-strncat-ifunc.c: New file.
34103 * benchtests/bench-strncat.c: New file.
34104 * benchtests/bench-strncmp-ifunc.c: New file.
34105 * benchtests/bench-strncmp.c: New file.
34106 * benchtests/bench-strncpy-ifunc.c: New file.
34107 * benchtests/bench-strncpy.c: New file.
34108 * benchtests/bench-strnlen-ifunc.c: New file.
34109 * benchtests/bench-strnlen.c: New file.
34110 * benchtests/bench-strpbrk-ifunc.c: New file.
34111 * benchtests/bench-strpbrk.c: New file.
34112 * benchtests/bench-strrchr-ifunc.c: New file.
34113 * benchtests/bench-strrchr.c: New file.
34114 * benchtests/bench-strspn-ifunc.c: New file.
34115 * benchtests/bench-strspn.c: New file.
34116 * benchtests/bench-strstr-ifunc.c: New file.
34117 * benchtests/bench-strstr.c: New file.
34118
34119 * benchtests/Makefile: Disable parallel execution of targets.
34120 (string-bench): Add memcpy.
34121 (benchset): New variable to store a list of benchmark sets.
34122 (bench-func): Renamed from bench.
34123 (bench-set): New target.
34124 (bench): Depend on bench-func and bench-set.
34125 * benchtests/README: Add section on benchmark sets.
34126 * benchtests/bench-memcpy-ifunc.c: New file.
34127 * benchtests/bench-memcpy.c: New file.
34128 * benchtests/bench-string.h: New file.
34129
34130 2013-06-11 Andreas Schwab <schwab@suse.de>
34131
34132 [BZ #15577]
34133 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
34134 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
34135 values in the triple.
34136 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
34137 terminator in the group key.
34138
34139 2013-06-11 Andreas Jaeger <aj@suse.de>
34140
34141 * po/zh_TW.po: Update Chinese (traditional) translation from
34142 translation project.
34143
34144 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34145
34146 * include/time.h (__clock_gettime): Add libc_hidden_proto.
34147 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
34148 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
34149 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34150 (clock_getcpuclockid): Likewise.
34151 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
34152 Add weak_alias and libc_hidden_def.
34153 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
34154 * rt/clock_gettime.c (clock_gettime): Rename to
34155 __clock_gettime. Add weak_alias and libc_hidden_def.
34156 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
34157 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
34158 __clock_nanosleep. Add weak_alias and libc_hidden_def.
34159 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
34160 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
34161 Likewise.
34162 * rt/clock_settime.c (clock_settime): Rename to
34163 __clock_settime. Add weak_alias and libc_hidden_def.
34164 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
34165
34166 2013-06-10 Joseph Myers <joseph@codesourcery.com>
34167
34168 * mach/err_boot.sub: Remove trailing whitespace.
34169 * mach/err_ipc.sub: Likewise.
34170 * mach/err_mach.sub: Likewise.
34171
34172 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
34173 (ROUNDING_TESTS_double): Likewise.
34174 (ROUNDING_TESTS_long_double): Likewise.
34175 (ROUNDING_TESTS): Likewise.
34176 * math/libm-test.inc: Include <math-tests.h>.
34177 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
34178 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34179 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34180 (IF_ROUND_INIT_FE_UPWARD): Likewise.
34181
34182 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34183
34184 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
34185 of assigning.
34186
34187 2013-06-08 Joseph Myers <joseph@codesourcery.com>
34188
34189 * sysdeps/gnu/errlist.awk: Do not generate space at end of
34190 otherwise empty TRANS lines.
34191 * sysdeps/gnu/errlist.c: Regenerated.
34192
34193 * catgets/gencat.c (error_print): Use (void) in function
34194 definition.
34195 * crypt/crypt_util.c (__init_des): Likewise.
34196 * crypt/speeds.c (Stop): Likewise.
34197 (main): Likewise.
34198 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
34199 * inet/ruserpass.c (token): Likewise.
34200 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
34201 * intl/localealias.c (extend_alias_table): Likewise.
34202 * intl/plural-exp.c (init_germanic_plural): Likewise.
34203 * libio/fcloseall.c (__fcloseall): Likewise.
34204 * libio/genops.c (_IO_flush_all): Likewise.
34205 (_IO_flush_all_linebuffered): Likewise.
34206 (_IO_cleanup): Likewise.
34207 (_IO_iter_begin): Likewise.
34208 (_IO_iter_end): Likewise.
34209 (_IO_list_lock): Likewise.
34210 (_IO_list_unlock): Likewise.
34211 (_IO_list_resetlock): Likewise.
34212 * libio/getchar.c (getchar): Likewise.
34213 * libio/getchar_u.c (getchar_unlocked): Likewise.
34214 * libio/getwchar.c (getwchar): Likewise.
34215 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
34216 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
34217 * login/getpt.c (__getpt): Likewise.
34218 * login/tst-utmp.c (main): Likewise.
34219 * malloc/hooks.c (__malloc_check_init): Likewise.
34220 * malloc/malloc.c (__malloc_stats): Likewise.
34221 * malloc/mtrace.c (tr_break): Likewise.
34222 (mtrace): Likewise.
34223 (muntrace): Likewise.
34224 * misc/fstab.c (endfsent): Likewise.
34225 * misc/getclktck.c (__getclktck): Likewise.
34226 * misc/getdtsz.c (__getdtablesize): Likewise.
34227 * misc/gethostid.c (gethostid): Likewise.
34228 * misc/getpagesize.c (__getpagesize): Likewise.
34229 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
34230 (__get_nprocs): Likewise.
34231 (__get_phys_pages): Likewise.
34232 (__get_avphys_pages): Likewise.
34233 * misc/getttyent.c (getttyent): Likewise.
34234 (setttyent): Likewise.
34235 (endttyent): Likewise.
34236 * misc/getusershell.c (getusershell): Likewise.
34237 (endusershell): Likewise.
34238 (setusershell): Likewise.
34239 (initshells): Likewise.
34240 * misc/hsearch.c (__hdestroy): Likewise.
34241 * misc/sync.c (sync): Likewise.
34242 * misc/syslog.c (closelog_internal): Likewise.
34243 (closelog): Likewise.
34244 * misc/ttyslot.c (ttyslot): Likewise.
34245 * misc/vhangup.c (vhangup): Likewise.
34246 * posix/fork.c (__fork): Likewise.
34247 * posix/getegid.c (__getegid): Likewise.
34248 * posix/geteuid.c (__geteuid): Likewise.
34249 * posix/getgid.c (__getgid): Likewise.
34250 * posix/getpid.c (__getpid): Likewise.
34251 * posix/getppid.c (__getppid): Likewise.
34252 * posix/getuid.c (__getuid): Likewise.
34253 * posix/pause.c (pause): Likewise.
34254 * posix/setpgrp.c (setpgrp): Likewise.
34255 * posix/setsid.c (__setsid): Likewise.
34256 * posix/test-vfork.c (noop): Likewise.
34257 * resolv/gethnamaddr.c (_endhtent): Likewise.
34258 (_gethtent): Likewise.
34259 (ht_endhostent): Likewise.
34260 (gethostent): Likewise.
34261 (dns_service): Likewise.
34262 * stdlib/drand48.c (drand48): Likewise.
34263 * stdlib/lrand48.c (lrand48): Likewise.
34264 * stdlib/mrand48.c (mrand48): Likewise.
34265 * stdlib/rand.c (rand): Likewise.
34266 * stdlib/random.c (__random): Likewise.
34267 * stdlib/setenv.c (clearenv): Likewise.
34268 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
34269 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
34270 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
34271 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
34272 (__get_nprocs): Likewise.
34273 (__get_phys_pages): Likewise.
34274 (__get_avphys_pages): Likewise.
34275 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
34276 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
34277 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
34278 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
34279 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
34280 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
34281 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
34282 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
34283 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
34284 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
34285 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
34286 * sysdeps/mach/hurd/sync.c (sync): Likewise.
34287 * sysdeps/posix/clock.c (clock): Likewise.
34288 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
34289 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
34290 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
34291 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34292 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
34293 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34294 (__get_nprocs_conf): Likewise.
34295 (__get_phys_pages): Likewise.
34296 (__get_avphys_pages): Likewise.
34297 * time/clock.c (clock): Likewise.
34298 * time/tzset.c (__tzname_max): Likewise.
34299
34300 2013-06-07 Joseph Myers <joseph@codesourcery.com>
34301
34302 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
34303 (__bswap_32): Do not use "register".
34304 * crypt/crypt.c (_ufc_doit_r): Likewise.
34305 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34306 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34307 * gmon/gmon.c (__monstartup): Likewise.
34308 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
34309 * hurd/hurdmalloc.c (more_memory): Likewise.
34310 (malloc): Likewise.
34311 (free): Likewise.
34312 (realloc): Likewise.
34313 (malloc_fork_prepare): Likewise.
34314 (malloc_fork_parent): Likewise.
34315 (malloc_fork_child): Likewise.
34316 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
34317 (_svcauth_des): Likewise.
34318 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34319 * inet/inet_net.c (inet_network): Likewise.
34320 * inet/inet_netof.c (inet_netof): Likewise.
34321 * inet/rcmd.c (__validuser2_sa): Likewise.
34322 * io/fts.c (fts_open): Likewise.
34323 (fts_load): Likewise.
34324 (fts_close): Likewise.
34325 (fts_read): Likewise.
34326 (fts_children): Likewise.
34327 (fts_build): Likewise.
34328 (fts_stat): Likewise.
34329 (fts_sort): Likewise.
34330 (fts_alloc): Likewise.
34331 (fts_lfree): Likewise.
34332 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
34333 (_IO_file_xsgetn): Likewise.
34334 (_IO_file_xsgetn_mmap): Likewise.
34335 * libio/iofopncook.c (_IO_cookie_read): Likewise.
34336 (_IO_cookie_write): Likewise.
34337 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
34338 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
34339 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
34340 * malloc/obstack.c (_obstack_begin): Likewise.
34341 (_obstack_begin_1): Likewise.
34342 (_obstack_newchunk): Likewise.
34343 (_obstack_allocated_p): Likewise.
34344 (obstack_free): Likewise.
34345 (_obstack_memory_used): Likewise.
34346 * misc/getttyent.c (getttynam): Likewise.
34347 (getttyent): Likewise.
34348 (skip): Likewise.
34349 (value): Likewise.
34350 * misc/getusershell.c (initshells): Likewise.
34351 * misc/syslog.c (__vsyslog_chk): Likewise.
34352 * misc/ttyslot.c (ttyslot): Likewise.
34353 * nis/nis_hash.c (__nis_hash): Likewise.
34354 * posix/fnmatch_loop.c (FCT): Likewise.
34355 * posix/getconf.c (print_all): Likewise.
34356 (main): Likewise.
34357 * posix/getopt.c (exchange): Likewise.
34358 * posix/glob.c (globfree): Likewise.
34359 (prefix_array): Likewise.
34360 (__glob_pattern_type): Likewise.
34361 * resolv/arpa/nameser.h (NS_GET16): Likewise.
34362 (NS_GET32): Likewise.
34363 (NS_PUT16): Likewise.
34364 (NS_PUT32): Likewise.
34365 * resolv/gethnamaddr.c (getanswer): Likewise.
34366 (gethostbyname2): Likewise.
34367 (gethostbyaddr): Likewise.
34368 (_gethtent): Likewise.
34369 (_gethtbyname2): Likewise.
34370 (_gethtbyaddr): Likewise.
34371 * resolv/ns_print.c (dst_s_get_int16): Likewise.
34372 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
34373 * resolv/res_init.c (__res_vinit): Likewise.
34374 (net_mask): Likewise.
34375 * resolv/res_mkquery.c (outchar): Likewise.
34376 (PRINT): Likewise.
34377 * stdio-common/printf_fp.c (outchar): Likewise.
34378 (PRINT): Likewise.
34379 * stdio-common/printf_fphex.c (outchar): Likewise.
34380 (PRINT): Likewise.
34381 * stdio-common/printf_size.c (outchar): Likewise.
34382 (PRINT): Likewise.
34383 * stdio-common/test_rdwr.c (main): Likewise.
34384 * stdio-common/tfformat.c (matches): Likewise.
34385 * stdio-common/vfprintf.c (outchar): Likewise.
34386 (printf_unknown): Likewise.
34387 (buffered_vfprintf): Likewise.
34388 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34389 * stdio-common/xbug.c (AppendToBuffer): Likewise.
34390 (ReadFile): Likewise.
34391 * stdlib/qsort.c (SWAP): Likewise.
34392 (_quicksort): Likewise.
34393 * stdlib/setenv.c (__add_to_environ): Likewise.
34394 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34395 * stdlib/strtol_l.c (__strtol_l): Likewise.
34396 * stdlib/tst-strtod.c (main): Likewise.
34397 * stdlib/tst-strtol.c (main): Likewise.
34398 * stdlib/tst-strtoll.c (main): Likewise.
34399 * string/bits/string2.h (__strcmp_cc): Likewise.
34400 (__strcmp_cg): Likewise.
34401 (__strcspn_c1): Likewise.
34402 (__strcspn_c2): Likewise.
34403 (__strcspn_c3): Likewise.
34404 (__strspn_c1): Likewise.
34405 (__strspn_c2): Likewise.
34406 (__strspn_c3): Likewise.
34407 (__strsep_1c): Likewise.
34408 (__strsep_2c): Likewise.
34409 (__strsep_3c): Likewise.
34410 * string/memccpy.c (__memccpy): Likewise.
34411 * string/stpcpy.c (__stpcpy): Likewise.
34412 * string/strcmp.c (strcmp): Likewise.
34413 * string/strrchr.c (strrchr): Likewise.
34414 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
34415 Likewise.
34416 * sysdeps/mach/hurd/getcwd.c
34417 (_hurd_canonicalize_directory_name_internal): Likewise.
34418 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
34419 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
34420 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
34421 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
34422 Likewise, in both definitions.
34423 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
34424 definitions.
34425 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
34426 64] (__bswap_64): Likewise.
34427 * time/test_time.c (main): Likewise.
34428 * time/tzfile.c (__tzfile_read): Likewise.
34429 (__tzfile_compute): Likewise.
34430 * time/tzset.c (__tzset_parse_tz): Likewise.
34431 (tzset_internal): Likewise.
34432 (compute_change): Likewise.
34433 * wcsmbs/wcscat.c (__wcscat): Likewise.
34434 * wcsmbs/wcschr.c (wcschr): Likewise.
34435 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
34436 * wcsmbs/wcscspn.c (wcscspn): Likewise.
34437 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
34438 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
34439 * wcsmbs/wcsspn.c (wcsspn): Likewise.
34440 * wcsmbs/wcsstr.c (wcsstr): Likewise.
34441 * wcsmbs/wmemchr.c (wmemchr): Likewise.
34442 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34443 * wcsmbs/wmemset.c (wmemset): Likewise.
34444
34445 2013-06-06 Joseph Myers <joseph@codesourcery.com>
34446
34447 * scripts/config.guess: Update to version 2013-05-16.
34448 * scripts/config.sub: Update to version 2013-04-24.
34449 * scripts/install-sh: Update to version 2011-11-20.07.
34450 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
34451 * scripts/move-if-change: Update to version 2012-01-06 07:23.
34452
34453 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
34454
34455 * debug/fgetws_u_chk.c: Fix leading whitespaces.
34456 * elf/sln.c: Likewise.
34457 * hurd/hurd/ioctl.h: Likewise.
34458 * hurd/hurdmalloc.c: Likewise.
34459 * hurd/xattr.c: Likewise.
34460 * include/shlib-compat.h: Likewise.
34461 * inet/ruserpass.c: Likewise.
34462 * libio/iofgets_u.c: Likewise.
34463 * libio/iofgetws_u.c: Likewise.
34464 * locale/programs/ld-identification.c: Likewise.
34465 * locale/programs/ld-time.c: Likewise.
34466 * mach/msg-destroy.c: Likewise.
34467 * nss/nss_files/files-netgrp.c: Likewise.
34468 * resolv/res_data.c: Likewise.
34469 * soft-fp/op-1.h: Likewise.
34470 * soft-fp/op-2.h: Likewise.
34471 * soft-fp/op-4.h: Likewise.
34472 * soft-fp/op-common.h: Likewise.
34473 * stdio-common/printf_fphex.c: Likewise.
34474 * stdlib/strtod_l.c: Likewise.
34475 * sunrpc/rpc/clnt.h: Likewise.
34476 * sysdeps/generic/framestate.c: Likewise.
34477 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34478 * sysdeps/i386/bsd-setjmp.S: Likewise.
34479 * sysdeps/i386/__longjmp.S: Likewise.
34480 * sysdeps/i386/setjmp.S: Likewise.
34481 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34482 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34483 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34484 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34485 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34486 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34487 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34488 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34489 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34490 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34491 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34492 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34493 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34494 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34495 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34496 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34497 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34498 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
34499 * sysdeps/ieee754/support.c: Likewise.
34500 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34501 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
34502 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
34503 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
34504 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
34505 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
34506 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
34507 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
34508 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
34509 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
34510 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
34511 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
34512 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
34513 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
34514 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
34515 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
34516 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
34518
34519 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
34520
34521 * posix/transbug.c: Remove executable mode.
34522
34523 2013-06-05 Joseph Myers <joseph@codesourcery.com>
34524
34525 * crypt/speeds.c: Remove trailing whitespace.
34526 * dlfcn/default.c: Likewise.
34527 * elf/ifuncdep2.c: Likewise.
34528 * elf/ifuncmain1.c: Likewise.
34529 * elf/ifuncmain1vis.c: Likewise.
34530 * elf/testobj.h: Likewise.
34531 * elf/tst-stackguard1.c: Likewise.
34532 * gmon/sys/gmon.h: Likewise.
34533 * hurd/hurdmsg.c: Likewise.
34534 * hurd/new-fd.c: Likewise.
34535 * hurd/ports-get.c: Likewise.
34536 * iconvdata/ibm1008_420.c: Likewise.
34537 * inet/tst-getni1.c: Likewise.
34538 * inet/tst-getni2.c: Likewise.
34539 * libio/ioungetc.c: Likewise.
34540 * libio/wfiledoalloc.c: Likewise.
34541 * manual/libm-err-tab.pl: Likewise.
34542 * math/w_dremf.c: Likewise.
34543 * misc/ftruncate.c: Likewise.
34544 * posix/bug-glob2.c: Likewise.
34545 * posix/tst-pcre.c: Likewise.
34546 * posix/wait4.c: Likewise.
34547 * resolv/README: Likewise.
34548 * resolv/res_debug.h: Likewise.
34549 * resolv/tst-inet_ntop.c: Likewise.
34550 * setjmp/bug269-setjmp.c: Likewise.
34551 * soft-fp/extended.h: Likewise.
34552 * soft-fp/op-1.h: Likewise.
34553 * soft-fp/op-2.h: Likewise.
34554 * soft-fp/op-4.h: Likewise.
34555 * soft-fp/op-8.h: Likewise.
34556 * soft-fp/testit.c: Likewise.
34557 * stdio-common/bug16.c: Likewise.
34558 * stdlib/random.c: Likewise.
34559 * sunrpc/rpcsvc/rquota.x: Likewise.
34560 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
34561 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34562 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34563 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34564 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34565 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34566 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34567 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34568 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34569 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34570 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34571 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34572 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34573 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34574 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34575 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34576 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34577 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34578 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34579 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34580 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34581 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34582 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
34583 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34584 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34585 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34586 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34587 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34588 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34589 * sysdeps/ieee754/s_lib_version.c: Likewise.
34590 * sysdeps/mach/hurd/check_fds.c: Likewise.
34591 * sysdeps/mach/hurd/getsockname.c: Likewise.
34592 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
34593 * sysdeps/mach/hurd/recvfrom.c: Likewise.
34594 * sysdeps/powerpc/bits/link.h: Likewise.
34595 * sysdeps/powerpc/dl-procinfo.c: Likewise.
34596 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
34597 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
34598 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
34599 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34600 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34601 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
34602 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34603 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
34604 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
34605 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
34606 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
34607 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
34608 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
34609 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
34610 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
34611 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
34612 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
34613 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
34614 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34615 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34616 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
34617 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34618 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
34619 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
34620 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
34621 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
34622 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34623 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34624 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
34625 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
34626 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
34627 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34628 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34629 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
34630 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34631 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
34632 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
34633 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
34634 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
34635 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
34636 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
34637 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
34638 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
34639 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
34640 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
34641 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
34642 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
34643 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
34644 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
34645 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34646 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34647 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34648 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34649 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
34650 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
34651 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
34652 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34653 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
34654 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
34655 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
34656 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
34657 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
34658 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34659 * sysdeps/powerpc/sysdep.h: Likewise.
34660 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34661 * sysdeps/s390/s390-64/sub_n.S: Likewise.
34662 * sysdeps/sh/dl-trampoline.S: Likewise.
34663 * sysdeps/sh/memset.S: Likewise.
34664 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
34665 * sysdeps/sh/strlen.S: Likewise.
34666 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
34667 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
34668 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
34669 * sysdeps/sparc/sparc32/rem.S: Likewise.
34670 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
34671 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
34672 * sysdeps/sparc/sparc32/strchr.S: Likewise.
34673 * sysdeps/sparc/sparc32/udiv.S: Likewise.
34674 * sysdeps/sparc/sparc32/urem.S: Likewise.
34675 * sysdeps/sparc/sparc64/add_n.S: Likewise.
34676 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34677 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
34678 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
34679 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
34680 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
34681 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
34682 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
34683 * sysdeps/unix/bsd/times.c: Likewise.
34684 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
34685 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
34686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
34687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
34688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34689 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
34690 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
34691 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
34692 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
34693 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
34694 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
34695 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34696 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
34697 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34698 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34699 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
34700 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34701 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
34702 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
34703 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
34704 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
34705 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
34706 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34707 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
34708 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
34709 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
34710 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
34711 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34712 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
34713 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
34714 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
34715 * sysdeps/x86_64/strcspn.S: Likewise.
34716
34717 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34718
34719 * locale/C-translit.h: Revert #include <stdint.h> because this is a
34720 generated file. Regenerate properly from gen-translit.pl.
34721 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
34722 locale/C-translit.h.
34723
34724 2013-06-05 Andreas Schwab <schwab@suse.de>
34725
34726 [BZ #15100]
34727 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
34728 week as 6 instead of -1.
34729 * time/tst-strptime.c (day_tests): Add test case.
34730
34731 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34732
34733 * sysdeps/generic/math_private.h
34734 (libc_feholdexcept_setround_53bit): Replace with
34735 libc_feholdsetround_53bit.
34736 (libc_feupdateenv_53bit): Replace with
34737 libc_feresetround_53bit.
34738 (SET_RESTORE_ROUND_53BIT): Adjust.
34739
34740 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34741
34742 * string/test-strchrnul.c: Add copyright header.
34743
34744 * posix/tst-getaddrinfo4.c: Increase test timeout.
34745
34746 2013-06-03 Carlos O'Donell <carlos@redhat.com>
34747
34748 [BZ #15536]
34749 * math/libm-test.inc (MAX_EXP): Remove
34750 (MIN_EXP): Define.
34751 (ulp): Use MIN_EXP - MANT_DIG.
34752 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
34753
34754 2013-05-31 Carlos O'Donell <carlos@redhat.com>
34755
34756 * po/be.po: Revert last change.
34757 * po/zh_CN.po: Likewise.
34758 * po/header.pot: Likewise.
34759
34760 2013-05-31 Joseph Myers <joseph@codesourcery.com>
34761
34762 * Makefile ($(common-objpfx)linkobj/libc.so): Define
34763 link-libc-deps to empty as target-specific variable.
34764 * Makerules (link-libc-args): New variable.
34765 (libc-for-link): Likewise.
34766 (link-libc-deps): Likewise.
34767 (lib%.so): Depend on $(link-libc-deps). Link with
34768 $(link-libc-args).
34769 (build-module): Link with $(link-libc-args).
34770 (build-module-asneeded): Likewise.
34771 (build-module-helper-objlist): Filter out $(link-libc-deps) from
34772 list of objects.
34773 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
34774 target-specific variable.
34775 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
34776 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
34777 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
34778 libc.
34779 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
34780 libc and ld.so.
34781 ($(objpfx)libpcprofile.so): Likewise.
34782 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
34783 libc_nonshared.a.
34784 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
34785 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
34786 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
34787 $(link-libc-deps).
34788 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
34789 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
34790 * login/Makefile ($(objpfx)libutil.so): Likewise.
34791 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
34792 * math/Makefile ($(objpfx)libm.so): Likewise.
34793 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
34794 $(objpfx)libnsl.so): Define libc-for-link as target-specific
34795 variable instead of depending directly on libc.
34796 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
34797 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
34798 $(link-libc-deps).
34799 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
34800 libc.
34801 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
34802 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
34803 ($(objpfx)libanl.so): Likewise.
34804 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
34805 ld.so.
34806 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
34807 $(link-libc-deps).
34808 * sysdeps/i386/fpu/Makefile: Remove file.
34809 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
34810 ($(objpfx)libm.so): Remove dependency on ld.so.
34811
34812 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
34813
34814 [BZ # 15553]
34815 * nis/yp_xdr.c (XDRMAXNAME): Define.
34816 (XDRMAXRECORD): Define.
34817 (xdr_domainname): Use XDRMAXNAME.
34818 (xdr_mapname): Likewise.
34819 (xdr_peername): Likewise.
34820 (xdr_keydat): Use XDRMAXRECORD.
34821 (xdr_valdat): Likewise.
34822
34823 2013-05-30 Jeff Law <law@redhat.com>
34824
34825 [BZ #14256]
34826 * manual/errno.texi (ESTALE): Update to account for more than
34827 just NFS file systems.
34828 * sysdeps/gnu/errlist.c: Regenerated.
34829
34830 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34831
34832 [BZ #15465]
34833 * elf/Makefile (tests): Add tst-null-argv.
34834 (modules-names): Add tst-null-argv-lib.
34835 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
34836 (tst-null-argv-ENV): Set environment for tst-null-argv.
34837 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
34838 (RTLD_PROGNAME): New macro.
34839 * elf/tst-null-argv.c: New test case.
34840 * elf/tst-null-argv-lib.c: Library for test case.
34841 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
34842 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
34843 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
34844 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
34845 * elf/dl-init.c (call_init): Likewise.
34846 (_dl_init): Likewise.
34847 * elf/dl-load.c (print_search_path): Likewise.
34848 (_dl_map_object): Likewise.
34849 * elf/dl-lookup.c (do_lookup_x): Likewise.
34850 (add_dependency): Likewise.
34851 (_dl_lookup_symbol_x): Likewise.
34852 (_dl_debug_bindings): Likewise.
34853 * elf/dl-open.c (_dl_show_scope): Likewise.
34854 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34855 * elf/dl-version.c (match_symbol): Likewise.
34856 (_dl_check_map_versions): Likewise.
34857 * elf/rtld.c (dl_main): Likewise.
34858 (print_unresolved): Use RTLD_PROGNAME.
34859 (print_missing_version): Likewise.
34860 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
34861 (elf_machine_rela): Likewise.
34862 * sysdeps/powerpc/powerpc32/dl-machine.c
34863 (__process_machine_rela): Likewise.
34864 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34865 Likewise.
34866 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34867 Likewise.
34868 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
34869 Likewise.
34870 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34871 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
34872 Likewise.
34873 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
34874 Likewise.
34875 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34876
34877 2013-05-28 Carlos O'Donell <carlos@redhat.com>
34878
34879 * po/be.po: Add descriptive title.
34880 * po/zh_CN.po: Likewise.
34881 * po/header.pot: Likewise.
34882
34883 2013-05-28 Mike Frysinger <vapier@gentoo.org>
34884
34885 * locale/programs/locarchive.c (create_archive): Inlucde fname in
34886 error message.
34887 (enlarge_archive): Likewise.
34888
34889 2013-05-28 Ben North <ben@redfrontdoor.org>
34890
34891 * manual/arith.texi (frexp): It is the magnitude of the return
34892 value which lies in [0.5, 1), not the return value itself.
34893
34894 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34895
34896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34897
34898 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
34899
34900 * stdio-common/bug26.c (main): Correct fscanf template.
34901
34902 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
34903 declare _dl_skip_args.
34904
34905 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
34906 Don't declare.
34907
34908 * manual/platform.texi: Add missing @end deftypefun.
34909
34910 2013-05-24 Joseph Myers <joseph@codesourcery.com>
34911
34912 [BZ #15529]
34913 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
34914 bit of mantissa of 2^16382.
34915 * math/libm-test.inc (hypot_test_data): Add more tests.
34916
34917 * math/libm-test.inc: Add drem and pow10 to list of tested
34918 functions.
34919 (pow10_test): New function.
34920 (drem_test): Likewise.
34921 (drem_test_tonearest): Likewise.
34922 (drem_test_towardzero): Likewise.
34923 (drem_test_downward): Likewise.
34924 (drem_test_upward): Likewise.
34925 (main): Call the new functions.
34926
34927 * math/libm-test.inc (finite_test_data): Remove.
34928 (finite_test): Run tests from isfinite_test_data.
34929 (gamma_test_data): Remove.
34930 (gamma_test): Run tests from lgamma_test_data.
34931 * sysdeps/i386/fpu/libm-test-ulps: Update.
34932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34933
34934 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34935
34936 * manual/platform.texi: Add PowerPC PPR function set documentation.
34937 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
34938 implementation.
34939
34940 2013-05-24 Carlos O'Donell <carlos@redhat.com>
34941
34942 * math/libm-test.inc (MAX_EXP): Define.
34943 (ULPDIFF): Define.
34944 (ulp): New function.
34945 (check_float_internal): Use ULPDIFF.
34946 (cpow_test): Disable failing test.
34947 (check_ulp): Test ulp() implemetnation.
34948 (main): Call check_ulp before starting tests.
34949
34950 2013-05-24 Joseph Myers <joseph@codesourcery.com>
34951
34952 * math/gen-libm-test.pl (generate_testfile): Do not handle
34953 START_DATA and END_DATA.
34954 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
34955 END_DATA.
34956 (acos_tonearest_test_data): Likewise.
34957 (acos_towardzero_test_data): Likewise.
34958 (acos_downward_test_data): Likewise.
34959 (acos_upward_test_data): Likewise.
34960 (acosh_test_data): Likewise.
34961 (asin_test_data): Likewise.
34962 (asin_tonearest_test_data): Likewise.
34963 (asin_towardzero_test_data): Likewise.
34964 (asin_downward_test_data): Likewise.
34965 (asin_upward_test_data): Likewise.
34966 (asinh_test_data): Likewise.
34967 (atan_test_data): Likewise.
34968 (atanh_test_data): Likewise.
34969 (atan2_test_data): Likewise.
34970 (cabs_test_data): Likewise.
34971 (cacos_test_data): Likewise.
34972 (cacosh_test_data): Likewise.
34973 (carg_test_data): Likewise.
34974 (casin_test_data): Likewise.
34975 (casinh_test_data): Likewise.
34976 (catan_test_data): Likewise.
34977 (catanh_test_data): Likewise.
34978 (cbrt_test_data): Likewise.
34979 (ccos_test_data): Likewise.
34980 (ccosh_test_data): Likewise.
34981 (ceil_test_data): Likewise.
34982 (cexp_test_data): Likewise.
34983 (cimag_test_data): Likewise.
34984 (clog_test_data): Likewise.
34985 (clog10_test_data): Likewise.
34986 (conj_test_data): Likewise.
34987 (copysign_test_data): Likewise.
34988 (cos_test_data): Likewise.
34989 (cos_tonearest_test_data): Likewise.
34990 (cos_towardzero_test_data): Likewise.
34991 (cos_downward_test_data): Likewise.
34992 (cos_upward_test_data): Likewise.
34993 (cosh_test_data): Likewise.
34994 (cosh_tonearest_test_data): Likewise.
34995 (cosh_towardzero_test_data): Likewise.
34996 (cosh_downward_test_data): Likewise.
34997 (cosh_upward_test_data): Likewise.
34998 (cpow_test_data): Likewise.
34999 (cproj_test_data): Likewise.
35000 (creal_test_data): Likewise.
35001 (csin_test_data): Likewise.
35002 (csinh_test_data): Likewise.
35003 (csqrt_test_data): Likewise.
35004 (ctan_test_data): Likewise.
35005 (ctan_tonearest_test_data): Likewise.
35006 (ctan_towardzero_test_data): Likewise.
35007 (ctan_downward_test_data): Likewise.
35008 (ctan_upward_test_data): Likewise.
35009 (ctanh_test_data): Likewise.
35010 (ctanh_tonearest_test_data): Likewise.
35011 (ctanh_towardzero_test_data): Likewise.
35012 (ctanh_downward_test_data): Likewise.
35013 (ctanh_upward_test_data): Likewise.
35014 (erf_test_data): Likewise.
35015 (erfc_test_data): Likewise.
35016 (exp_test_data): Likewise.
35017 (exp_tonearest_test_data): Likewise.
35018 (exp_towardzero_test_data): Likewise.
35019 (exp_downward_test_data): Likewise.
35020 (exp_upward_test_data): Likewise.
35021 (exp10_test_data): Likewise.
35022 (exp2_test_data): Likewise.
35023 (expm1_test_data): Likewise.
35024 (fabs_test_data): Likewise.
35025 (fdim_test_data): Likewise.
35026 (finite_test_data): Likewise.
35027 (floor_test_data): Likewise.
35028 (fma_test_data): Likewise.
35029 (fma_towardzero_test_data): Likewise.
35030 (fma_downward_test_data): Likewise.
35031 (fma_upward_test_data): Likewise.
35032 (fmax_test_data): Likewise.
35033 (fmin_test_data): Likewise.
35034 (fmod_test_data): Likewise.
35035 (fpclassify_test_data): Likewise.
35036 (frexp_test_data): Likewise.
35037 (gamma_test_data): Likewise.
35038 (hypot_test_data): Likewise.
35039 (ilogb_test_data): Likewise.
35040 (isfinite_test_data): Likewise.
35041 (isgreater_test_data): Likewise.
35042 (isgreaterequal_test_data): Likewise.
35043 (isinf_test_data): Likewise.
35044 (isless_test_data): Likewise.
35045 (islessequal_test_data): Likewise.
35046 (islessgreater_test_data): Likewise.
35047 (isnan_test_data): Likewise.
35048 (isnormal_test_data): Likewise.
35049 (issignaling_test_data): Likewise.
35050 (isunordered_test_data): Likewise.
35051 (j0_test_data): Likewise.
35052 (j1_test_data): Likewise.
35053 (jn_test_data): Likewise.
35054 (ldexp_test_data): Likewise.
35055 (lgamma_test_data): Likewise.
35056 (lrint_test_data): Likewise.
35057 (lrint_tonearest_test_data): Likewise.
35058 (lrint_towardzero_test_data): Likewise.
35059 (lrint_downward_test_data): Likewise.
35060 (lrint_upward_test_data): Likewise.
35061 (llrint_test_data): Likewise.
35062 (llrint_tonearest_test_data): Likewise.
35063 (llrint_towardzero_test_data): Likewise.
35064 (llrint_downward_test_data): Likewise.
35065 (llrint_upward_test_data): Likewise.
35066 (log_test_data): Likewise.
35067 (log10_test_data): Likewise.
35068 (log1p_test_data): Likewise.
35069 (log2_test_data): Likewise.
35070 (logb_test_data): Likewise.
35071 (logb_downward_test_data): Likewise.
35072 (lround_test_data): Likewise.
35073 (llround_test_data): Likewise.
35074 (modf_test_data): Likewise.
35075 (nearbyint_test_data): Likewise.
35076 (nextafter_test_data): Likewise.
35077 (nexttoward_test_data): Likewise.
35078 (pow_test_data): Likewise.
35079 (pow_tonearest_test_data): Likewise.
35080 (pow_towardzero_test_data): Likewise.
35081 (pow_downward_test_data): Likewise.
35082 (pow_upward_test_data): Likewise.
35083 (remainder_test_data): Likewise.
35084 (remainder_tonearest_test_data): Likewise.
35085 (remainder_towardzero_test_data): Likewise.
35086 (remainder_downward_test_data): Likewise.
35087 (remainder_upward_test_data): Likewise.
35088 (remquo_test_data): Likewise.
35089 (rint_test_data): Likewise.
35090 (rint_tonearest_test_data): Likewise.
35091 (rint_towardzero_test_data): Likewise.
35092 (rint_downward_test_data): Likewise.
35093 (rint_upward_test_data): Likewise.
35094 (round_test_data): Likewise.
35095 (scalb_test_data): Likewise.
35096 (scalbn_test_data): Likewise.
35097 (scalbln_test_data): Likewise.
35098 (signbit_test_data): Likewise.
35099 (sin_test_data): Likewise.
35100 (sin_tonearest_test_data): Likewise.
35101 (sin_towardzero_test_data): Likewise.
35102 (sin_downward_test_data): Likewise.
35103 (sin_upward_test_data): Likewise.
35104 (sincos_test_data): Likewise.
35105 (sinh_test_data): Likewise.
35106 (sinh_tonearest_test_data): Likewise.
35107 (sinh_towardzero_test_data): Likewise.
35108 (sinh_downward_test_data): Likewise.
35109 (sinh_upward_test_data): Likewise.
35110 (sqrt_test_data): Likewise.
35111 (tan_test_data): Likewise.
35112 (tan_tonearest_test_data): Likewise.
35113 (tan_towardzero_test_data): Likewise.
35114 (tan_downward_test_data): Likewise.
35115 (tan_upward_test_data): Likewise.
35116 (tanh_test_data): Likewise.
35117 (tgamma_test_data): Likewise.
35118 (trunc_test_data): Likewise.
35119 (y0_test_data): Likewise.
35120 (y1_test_data): Likewise.
35121 (yn_test_data): Likewise.
35122 (significand_test_data): Likewise.
35123
35124 * math/gen-libm-test.pl (@functions): Remove variable.
35125 (generate_testfile): Don't handle START and END lines.
35126 * math/libm-test.inc (START): New macro.
35127 (END): Likewise.
35128 (END_COMPLEX): Likewise.
35129 (acos_test): Use END macro without arguments.
35130 (acos_test_tonearest): Likewise.
35131 (acos_test_towardzero): Likewise.
35132 (acos_test_downward): Likewise.
35133 (acos_test_upward): Likewise.
35134 (acosh_test): Likewise.
35135 (asin_test): Likewise.
35136 (asin_test_tonearest): Likewise.
35137 (asin_test_towardzero): Likewise.
35138 (asin_test_downward): Likewise.
35139 (asin_test_upward): Likewise.
35140 (asinh_test): Likewise.
35141 (atan_test): Likewise.
35142 (atanh_test): Likewise.
35143 (atan2_test): Likewise.
35144 (cabs_test): Likewise.
35145 (cacos_test): Use END_COMPLEX macro without arguments.
35146 (cacosh_test): Likewise.
35147 (carg_test): Use END macro without arguments.
35148 (casin_test): Use END_COMPLEX macro without arguments.
35149 (casinh_test): Likewise.
35150 (catan_test): Likewise.
35151 (catanh_test): Likewise.
35152 (cbrt_test): Use END macro without arguments.
35153 (ccos_test): Use END_COMPLEX macro without arguments.
35154 (ccosh_test): Likewise.
35155 (ceil_test): Use END macro without arguments.
35156 (cexp_test): Use END_COMPLEX macro without arguments.
35157 (cimag_test): Use END macro without arguments.
35158 (clog_test): Use END_COMPLEX macro without arguments.
35159 (clog10_test): Likewise.
35160 (conj_test): Likewise.
35161 (copysign_test): Use END macro without arguments.
35162 (cos_test): Likewise.
35163 (cos_test_tonearest): Likewise.
35164 (cos_test_towardzero): Likewise.
35165 (cos_test_downward): Likewise.
35166 (cos_test_upward): Likewise.
35167 (cosh_test): Likewise.
35168 (cosh_test_tonearest): Likewise.
35169 (cosh_test_towardzero): Likewise.
35170 (cosh_test_downward): Likewise.
35171 (cosh_test_upward): Likewise.
35172 (cpow_test): Use END_COMPLEX macro without arguments.
35173 (cproj_test): Likewise.
35174 (creal_test): Use END macro without arguments.
35175 (csin_test): Use END_COMPLEX macro without arguments.
35176 (csinh_test): Likewise.
35177 (csqrt_test): Likewise.
35178 (ctan_test): Likewise.
35179 (ctan_test_tonearest): Likewise.
35180 (ctan_test_towardzero): Likewise.
35181 (ctan_test_downward): Likewise.
35182 (ctan_test_upward): Likewise.
35183 (ctanh_test): Likewise.
35184 (ctanh_test_tonearest): Likewise.
35185 (ctanh_test_towardzero): Likewise.
35186 (ctanh_test_downward): Likewise.
35187 (ctanh_test_upward): Likewise.
35188 (erf_test): Use END macro without arguments.
35189 (erfc_test): Likewise.
35190 (exp_test): Likewise.
35191 (exp_test_tonearest): Likewise.
35192 (exp_test_towardzero): Likewise.
35193 (exp_test_downward): Likewise.
35194 (exp_test_upward): Likewise.
35195 (exp10_test): Likewise.
35196 (exp2_test): Likewise.
35197 (expm1_test): Likewise.
35198 (fabs_test): Likewise.
35199 (fdim_test): Likewise.
35200 (finite_test): Likewise.
35201 (floor_test): Likewise.
35202 (fma_test): Likewise.
35203 (fma_test_towardzero): Likewise.
35204 (fma_test_downward): Likewise.
35205 (fma_test_upward): Likewise.
35206 (fmax_test): Likewise.
35207 (fmin_test): Likewise.
35208 (fmod_test): Likewise.
35209 (fpclassify_test): Likewise.
35210 (frexp_test): Likewise.
35211 (gamma_test): Likewise.
35212 (hypot_test): Likewise.
35213 (ilogb_test): Likewise.
35214 (isfinite_test): Likewise.
35215 (isgreater_test): Likewise.
35216 (isgreaterequal_test): Likewise.
35217 (isinf_test): Likewise.
35218 (isless_test): Likewise.
35219 (islessequal_test): Likewise.
35220 (islessgreater_test): Likewise.
35221 (isnan_test): Likewise.
35222 (isnormal_test): Likewise.
35223 (issignaling_test): Likewise.
35224 (isunordered_test): Likewise.
35225 (j0_test): Likewise.
35226 (j1_test): Likewise.
35227 (jn_test): Likewise.
35228 (ldexp_test): Likewise.
35229 (lgamma_test): Likewise.
35230 (lrint_test): Likewise.
35231 (lrint_test_tonearest): Likewise.
35232 (lrint_test_towardzero): Likewise.
35233 (lrint_test_downward): Likewise.
35234 (lrint_test_upward): Likewise.
35235 (llrint_test): Likewise.
35236 (llrint_test_tonearest): Likewise.
35237 (llrint_test_towardzero): Likewise.
35238 (llrint_test_downward): Likewise.
35239 (llrint_test_upward): Likewise.
35240 (log_test): Likewise.
35241 (log10_test): Likewise.
35242 (log1p_test): Likewise.
35243 (log2_test): Likewise.
35244 (logb_test): Likewise.
35245 (logb_test_downward): Likewise.
35246 (lround_test): Likewise.
35247 (llround_test): Likewise.
35248 (modf_test): Likewise.
35249 (nearbyint_test): Likewise.
35250 (nextafter_test): Likewise.
35251 (nexttoward_test): Likewise.
35252 (pow_test): Likewise.
35253 (pow_test_tonearest): Likewise.
35254 (pow_test_towardzero): Likewise.
35255 (pow_test_downward): Likewise.
35256 (pow_test_upward): Likewise.
35257 (remainder_test): Likewise.
35258 (remainder_test_tonearest): Likewise.
35259 (remainder_test_towardzero): Likewise.
35260 (remainder_test_downward): Likewise.
35261 (remainder_test_upward): Likewise.
35262 (remquo_test): Likewise.
35263 (rint_test): Likewise.
35264 (rint_test_tonearest): Likewise.
35265 (rint_test_towardzero): Likewise.
35266 (rint_test_downward): Likewise.
35267 (rint_test_upward): Likewise.
35268 (round_test): Likewise.
35269 (scalb_test): Likewise.
35270 (scalbn_test): Likewise.
35271 (scalbln_test): Likewise.
35272 (signbit_test): Likewise.
35273 (sin_test): Likewise.
35274 (sin_test_tonearest): Likewise.
35275 (sin_test_towardzero): Likewise.
35276 (sin_test_downward): Likewise.
35277 (sin_test_upward): Likewise.
35278 (sincos_test): Likewise.
35279 (sinh_test): Likewise.
35280 (sinh_test_tonearest): Likewise.
35281 (sinh_test_towardzero): Likewise.
35282 (sinh_test_downward): Likewise.
35283 (sinh_test_upward): Likewise.
35284 (sqrt_test): Likewise.
35285 (tan_test): Likewise.
35286 (tan_test_tonearest): Likewise.
35287 (tan_test_towardzero): Likewise.
35288 (tan_test_downward): Likewise.
35289 (tan_test_upward): Likewise.
35290 (tanh_test): Likewise.
35291 (tgamma_test): Likewise.
35292 (trunc_test): Likewise.
35293 (y0_test): Likewise.
35294 (y1_test): Likewise.
35295 (yn_test): Likewise.
35296 (significand_test): Likewise.
35297
35298 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
35299
35300 [BZ #15381]
35301 * libio/genops.c (_IO_no_init): Initialize wide struct info.
35302
35303 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
35304
35305 [BZ #14894]
35306 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
35307 __ppc_mdoio and __ppc_mdoom.
35308 * manual/platform.texi: Document new functions __ppc_yield,
35309 __ppc_mdoio and __ppc_mdoom.
35310
35311 2013-05-22 Carlos O'Donell <carlos@redhat.com>
35312
35313 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
35314 (main): Mention "tls" pseudo-hwcap is legacy.
35315 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
35316
35317 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35318
35319 * math/gen-libm-test.pl (parse_args): Output only string of
35320 arguments as text for test name, not full call or descriptions of
35321 tests for extra outputs.
35322 (generate_testfile): Do not pass function name to parse_args.
35323 Generate this_func variable from START.
35324 * math/libm-test.inc (struct test_f_f_data): Rename test_name
35325 field to arg_str.
35326 (struct test_ff_f_data): Likewise.
35327 (test_ff_f_data_nexttoward): Likewise.
35328 (struct test_fi_f_data): Likewise.
35329 (struct test_fl_f_data): Likewise.
35330 (struct test_if_f_data): Likewise.
35331 (struct test_fff_f_data): Likewise.
35332 (struct test_c_f_data): Likewise.
35333 (struct test_f_f1_data): Likewise. Remove field extra_name.
35334 (struct test_fF_f1_data): Likewise.
35335 (struct test_ffI_f1_data): Likewise.
35336 (struct test_c_c_data): Rename test_name field to arg_str.
35337 (struct test_cc_c_data): Likewise.
35338 (struct test_f_i_data): Likewise.
35339 (struct test_ff_i_data): Likewise.
35340 (struct test_f_l_data): Likewise.
35341 (struct test_f_L_data): Likewise.
35342 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
35343 and extra2_name.
35344 (COMMON_TEST_SETUP): New macro.
35345 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
35346 (COMMON_TEST_CLEANUP): Likewise.
35347 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
35348 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
35349 macros.
35350 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
35351 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
35352 macros.
35353 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
35354 (RUN_TEST_fff_f): Take argument string. Call new setup and
35355 cleanup macros.
35356 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
35357 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
35358 macros.
35359 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
35360 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
35361 macros.
35362 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35363 (RUN_TEST_fF_f1): Take argument string. Call new setup and
35364 cleanup macros.
35365 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35366 (RUN_TEST_fI_f1): Take argument string. Call new setup and
35367 cleanup macros.
35368 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35369 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
35370 cleanup macros.
35371 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35372 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
35373 macros.
35374 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
35375 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
35376 macros.
35377 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
35378 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
35379 macros.
35380 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
35381 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
35382 cleanup macros.
35383 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
35384 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
35385 cleanup macros.
35386 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
35387 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
35388 macros.
35389 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
35390 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
35391 cleanup macros.
35392 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
35393 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
35394 macros.
35395 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
35396 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
35397 macros.
35398 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
35399 (RUN_TEST_fFF_11): Take argument string. Call new setup and
35400 cleanup macros.
35401 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
35402
35403 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
35404
35405 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
35406 to _sifields.sigfault.
35407 (si_addr_lsb): Define new macro.
35408 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35409 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35410 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
35411
35412 2013-05-03 Carlos O'Donell <carlos at redhat.com>
35413
35414 [BZ #15441]
35415 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
35416 returns -1.
35417 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
35418 null return -1.
35419 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
35420 loading the domain.
35421
35422 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35423
35424 * math/gen-libm-test.pl (parse_args): Do not include expected
35425 result in test name.
35426 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
35427 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35428 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35429 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35430 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35432
35433 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35434
35435 * benchtests/Makefile: Sort function entries.
35436
35437 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
35438 tanh, asinh, acosh, atanh.
35439 * benchtests/acos-inputs: New file.
35440 * benchtests/acosh-inputs: New file.
35441 * benchtests/asin-inputs: New file.
35442 * benchtests/asinh-inputs: New file.
35443 * benchtests/atanh-inputs: New file.
35444 * benchtests/cosh-inputs: New file.
35445 * benchtests/log-inputs: New file.
35446 * benchtests/sinh-inputs: New file.
35447 * benchtests/tanh-inputs: New file.
35448
35449 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
35450
35451 [BZ #15339]
35452 * posix/tst-getaddrinfo4.c: New test.
35453 * posix/Makefile (tests): Add it.
35454
35455 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35456
35457 [BZ #15339]
35458 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
35459 when no services were used.
35460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
35461 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
35462
35463 2013-05-21 Andreas Schwab <schwab@suse.de>
35464
35465 [BZ #15014]
35466 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
35467 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
35468 successful.
35469 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
35470 redundant variable declarations and reallocation of buffer when
35471 parsing as IPv6 address. Always set NSS status when called from
35472 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
35473 buffer too small. Correct computation of needed size.
35474 * nss/Makefile (tests): Add test-digits-dots.
35475 * nss/test-digits-dots.c: New test.
35476
35477 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35478
35479 * benchtests/Makefile: Remove instructions for adding
35480 benchmark tests.
35481 * benchtests/README: New file to explain how to execute and
35482 enhance the benchmark tests.
35483
35484 2013-05-21 Andreas Schwab <schwab@suse.de>
35485
35486 [BZ #15493]
35487 * setjmp/Makefile (tests): Add tst-sigsetjmp.
35488 * setjmp/tst-sigsetjmp.c: New test.
35489
35490 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35491
35492 * sysdeps/x86_64/memset.S (memset): New implementation.
35493 (__bzero): Likewise.
35494 (__memset_tail): New function.
35495
35496 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35497
35498 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
35499 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
35500 __memcpy_sse2_unaligned ifunc selection.
35501 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35502 Add memcpy-sse2-unaligned.S.
35503 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35504 Add: __memcpy_sse2_unaligned.
35505
35506 2013-05-19 Joseph Myers <joseph@codesourcery.com>
35507
35508 [BZ #15490]
35509 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35510 math_force_eval before restoring floating-point envrionment.
35511 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
35512 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35513 Likewise.
35514 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
35515 <math_private.h>.
35516 (__nearbyintl): Use math_force_eval before restoring
35517 floating-point environment.
35518 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
35519
35520 * math/gen-libm-test.pl (special_functions): Remove.
35521 (parse_args): Don't handle TEST_extra. Handle functions with no
35522 return value.
35523 * math/libm-test.inc (struct test_sincos_data): Replace with
35524 struct test_fFF_11_data.
35525 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
35526 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
35527 (sincos_test_data): Change element type to struct
35528 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
35529 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
35530 RUN_TEST_LOOP_sincos.
35531 * math/README.libm-test: Don't mention special handling of
35532 individual functions.
35533 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
35534 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35535 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35536 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35537 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35539
35540 * math/gen-libm-test.pl (get_variable): Remove function.
35541 (parse_args): Don't show pointer parameters to call in test
35542 names. Use "extra output N" in test names for extra outputs
35543 rather than naming variables.
35544
35545 2013-05-18 Joseph Myers <joseph@codesourcery.com>
35546
35547 [BZ #15488]
35548 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
35549 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
35550 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
35551 double tests.
35552 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
35553 disable.
35554 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
35555 check_long_double.
35556
35557 * math/gen-libm-test.pl (@tests): Remove variable.
35558 ($count): Likewise.
35559 (new_test): Remove function.
35560 (show_exceptions): New function.
35561 (special_functions): Use show_exceptions instead of new_test.
35562 (parse_args): Likewise.
35563 (generate_testfile): Pass only function name in generated call to
35564 print_max_error or print_complex_max_error.
35565 (get_ulps): Do not handle complex tests specially.
35566 (output_test): Rename to ...
35567 (get_all_ulps_for_test): ... this. Return a string rather than
35568 printing to a file. Require ulps to be present.
35569 (output_ulps): Generate arrays rather than #defines.
35570 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
35571 (struct ulp_data): New type.
35572 (BUILD_COMPLEX_ULP): Remove macro.
35573 (compare_ulp_data): New function.
35574 (find_ulps): Likewise.
35575 (find_test_ulps): Likewise.
35576 (find_function_ulps): Likewise.
35577 (find_complex_function_ulps): Likewise.
35578 (print_max_error): Determine allowed ulps using
35579 find_function_ulps.
35580 (print_complex_max_error): Determine allowed ulps using
35581 find_complex_function_ulps.
35582 (check_float_internal): Determine max ulps using find_test_ulps.
35583 (check_float): Do not take max_ulp parameter. Update call to
35584 check_float_internal.
35585 (check_complex): Likewise.
35586 (check_int): Do not take max_ulp parameter.
35587 (check_long): Likewise.
35588 (check_bool): Likewise.
35589 (check_longlong): Likewise.
35590 (struct test_f_f_data): Remove max_ulp field.
35591 (struct test_ff_f_data): Likewise.
35592 (struct test_ff_f_data_nexttoward): Likewise.
35593 (struct test_fi_f_data): Likewise.
35594 (struct test_fl_f_data): Likewise.
35595 (struct test_if_f_data): Likewise.
35596 (struct test_fff_f_data): Likewise.
35597 (struct test_c_f_data): Likewise.
35598 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
35599 (struct test_fF_f1_data): Likewise.
35600 (struct test_ffI_f1_data): Likewise.
35601 (struct test_c_c_data): Remove max_ulp field.
35602 (struct test_cc_c_data): Likewise.
35603 (struct test_f_i_data): Likewise.
35604 (struct test_ff_i_data): Likewise.
35605 (struct test_f_l_data): Likewise.
35606 (struct test_f_L_data): Likewise.
35607 (struct test_sincos_data): Likewise.
35608 (RUN_TEST_f_f): Do not handle ulps.
35609 (RUN_TEST_LOOP_f_f): Likewise.
35610 (RUN_TEST_2_f): Likewise.
35611 (RUN_TEST_LOOP_2_f): Likewise.
35612 (RUN_TEST_fff_f): Likewise.
35613 (RUN_TEST_LOOP_fff_f): Likewise.
35614 (RUN_TEST_c_f): Likewise.
35615 (RUN_TEST_LOOP_c_f): Likewise.
35616 (RUN_TEST_f_f1): Likewise.
35617 (RUN_TEST_LOOP_f_f1): Likewise.
35618 (RUN_TEST_fF_f1): Likewise.
35619 (RUN_TEST_LOOP_fF_f1): Likewise.
35620 (RUN_TEST_fI_f1): Likewise.
35621 (RUN_TEST_LOOP_fI_f1): Likewise.
35622 (RUN_TEST_ffI_f1): Likewise.
35623 (RUN_TEST_LOOP_ffI_f1): Likewise.
35624 (RUN_TEST_c_c): Likewise.
35625 (RUN_TEST_LOOP_c_c): Likewise.
35626 (RUN_TEST_cc_c): Likewise.
35627 (RUN_TEST_LOOP_cc_c): Likewise.
35628 (RUN_TEST_f_i): Likewise.
35629 (RUN_TEST_LOOP_f_i): Likewise.
35630 (RUN_TEST_f_i_tg): Likewise.
35631 (RUN_TEST_LOOP_f_i_tg): Likewise.
35632 (RUN_TEST_ff_i_tg): Likewise.
35633 (RUN_TEST_LOOP_ff_i_tg): Likewise.
35634 (RUN_TEST_f_b): Likewise.
35635 (RUN_TEST_LOOP_f_b): Likewise.
35636 (RUN_TEST_f_b_tg): Likewise.
35637 (RUN_TEST_LOOP_f_b_tg): Likewise.
35638 (RUN_TEST_f_l): Likewise.
35639 (RUN_TEST_LOOP_f_l): Likewise.
35640 (RUN_TEST_f_L): Likewise.
35641 (RUN_TEST_LOOP_f_L): Likewise.
35642 (RUN_TEST_sincos): Likewise.
35643 (RUN_TEST_LOOP_sincos): Likewise.
35644
35645 2013-05-17 Joseph Myers <joseph@codesourcery.com>
35646
35647 [BZ #15480]
35648 [BZ #15485]
35649 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
35650 main case of finite arguments, set rounding mode to FE_TONEAREST
35651 and discard exceptions.
35652 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
35653 exceptions.
35654 (remainder_tonearest_test_data): New variable.
35655 (remainder_test_tonearest): New function.
35656 (remainder_towardzero_test_data): New variable.
35657 (remainder_test_towardzero): New function.
35658 (remainder_downward_test_data): New variable.
35659 (remainder_test_downward): New function.
35660 (remainder_upward_test_data): New variable.
35661 (remainder_test_upward): New function.
35662 (main): Call the new test functions.
35663
35664 * math/libm-test.inc (struct test_f_f1_data): Remove field
35665 extra_init.
35666 (struct test_fF_f1_data): Likewise.
35667 (struct test_ffI_f1_data): Likewise.
35668 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
35669 based on value of EXTRA_EXPECTED.
35670 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35671 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
35672 EXTRA_VAR based on value of EXTRA_EXPECTED.
35673 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35674 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
35675 EXTRA_VAR based on value of EXTRA_EXPECTED.
35676 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35677 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
35678 EXTRA_VAR based on value of EXTRA_EXPECTED.
35679 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35680 * math/gen-libm-test.pl (parse_args): Don't output initializers
35681 for extra output values.
35682
35683 * math/libm-test.inc (check_int): Expect result to be exactly
35684 equal to expected value and do not handle ulps.
35685 (check_long): Likewise.
35686 (check_longlong): Likewise.
35687
35688 * math/libm-test.inc (ceil_test_data): Test for "inexact"
35689 exceptions.
35690 (cimag_test_data): Likewise.
35691 (conj_test_data): Likewise.
35692 (copysign_test_data): Likewise.
35693 (cproj_test_data): Likewise.
35694 (creal_test_data): Likewise.
35695 (fabs_test_data): Likewise.
35696 (fdim_test_data): Likewise.
35697 (finite_test_data): Likewise.
35698 (floor_test_data): Likewise.
35699 (fmax_test_data): Likewise.
35700 (fmin_test_data): Likewise.
35701 (fmod_test_data): Likewise.
35702 (fpclassify_test_data): Likewise.
35703 (frexp_test_data): Likewise.
35704 (ilogb_test_data): Likewise.
35705 (isfinite_test_data): Likewise.
35706 (isgreater_test_data): Likewise.
35707 (isgreaterequal_test_data): Likewise.
35708 (isinf_test_data): Likewise.
35709 (isless_test_data): Likewise.
35710 (islessequal_test_data): Likewise.
35711 (islessgreater_test_data): Likewise.
35712 (isnan_test_data): Likewise.
35713 (isnormal_test_data): Likewise.
35714 (issignaling_test_data): Likewise.
35715 (isunordered_test_data): Likewise.
35716 (ldexp_test_data): Likewise.
35717 (lrint_test_data): Likewise.
35718 (lrint_test_data) [TEST_FLOAT]: Disable one test.
35719 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
35720 (lrint_tonearest_test_data): Test for "inexact" exceptions.
35721 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35722 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
35723 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35724 test input.
35725 (lrint_towardzero_test_data): Test for "inexact" exceptions.
35726 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35727 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
35728 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
35729 that test input.
35730 (lrint_downward_test_data): Test for "inexact" exceptions.
35731 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35732 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
35733 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35734 test input.
35735 (lrint_upward_test_data): Test for "inexact" exceptions.
35736 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
35737 test input.
35738 (llrint_test_data): Test for "inexact" exceptions.
35739 (llrint_test_data) [TEST_FLOAT]: Disable one test.
35740 (llrint_tonearest_test_data): Test for "inexact" exceptions.
35741 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35742 (llrint_towardzero_test_data): Test for "inexact" exceptions.
35743 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35744 (llrint_downward_test_data): Test for "inexact" exceptions.
35745 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35746 (llrint_upward_test_data): Test for "inexact" exceptions.
35747 (logb_test_data): Likewise.
35748 (logb_downward_test_data): Likewise.
35749 (nextafter_test_data): Likewise.
35750 (nexttoward_test_data): Likewise.
35751 (remainder_test_data): Likewise.
35752 (remquo_test_data): Likewise.
35753 (scalbn_test_data): Likewise.
35754 (scalbln_test_data): Likewise.
35755 (signbit_test_data): Likewise.
35756 (sqrt_test_data): Likewise.
35757 (significand_test_data): Likewise.
35758
35759 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35760
35761 [BZ #15424]
35762 * benchtests/bench-modf.c (struct args): Mark arg0 as
35763 volatile.
35764 * scripts/bench.pl: Mark members of struct args as volatile.
35765
35766 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35767
35768 [BZ # 15497]
35769 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
35770 negative infinity on POWER6 or lower.
35771 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
35772
35773 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
35774
35775 [BZ #15442]
35776 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
35777 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
35778 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
35779 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
35780 (_FP_SETQNAN): New macro.
35781 (_FP_SETQNAN_SEMIRAW): Likewise.
35782 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
35783 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
35784 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
35785 (FP_EXTEND): Use _FP_FRAC_SNANP.
35786 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
35787 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
35788 into account.
35789 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35790 New macro.
35791 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35792 Likewise.
35793
35794 2013-05-16 Joseph Myers <joseph@codesourcery.com>
35795
35796 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
35797 with DIVIDE_BY_ZERO_EXCEPTION.
35798 (gamma_test_data): Likewise.
35799 (lgamma_test_data): Likewise.
35800 (log_test_data): Likewise.
35801 (log10_test_data): Likewise.
35802 (log2_test_data): Likewise.
35803 (tgamma_test_data): Likewise.
35804
35805 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
35806 (acos_test_tonearest): Likewise.
35807 (acos_test_towardzero): Likewise.
35808 (acos_test_downward): Likewise.
35809 (acos_test_upward): Likewise.
35810 (acosh_test): Likewise.
35811 (asin_test): Likewise.
35812 (asin_test_tonearest): Likewise.
35813 (asin_test_towardzero): Likewise.
35814 (asin_test_downward): Likewise.
35815 (asin_test_upward): Likewise.
35816 (asinh_test): Likewise.
35817 (atan_test): Likewise.
35818 (atanh_test): Likewise.
35819 (atan2_test): Likewise.
35820 (cabs_test): Likewise.
35821 (cacos_test): Likewise.
35822 (cacosh_test): Likewise.
35823 (casin_test): Likewise.
35824 (casinh_test): Likewise.
35825 (catan_test): Likewise.
35826 (catanh_test): Likewise.
35827 (cbrt_test): Likewise.
35828 (ccos_test): Likewise.
35829 (ccosh_test): Likewise.
35830 (cexp_test): Likewise.
35831 (clog_test): Likewise.
35832 (clog10_test): Likewise.
35833 (cos_test): Likewise.
35834 (cos_test_tonearest): Likewise.
35835 (cos_test_towardzero): Likewise.
35836 (cos_test_downward): Likewise.
35837 (cos_test_upward): Likewise.
35838 (cosh_test): Likewise.
35839 (cosh_test_tonearest): Likewise.
35840 (cosh_test_towardzero): Likewise.
35841 (cosh_test_downward): Likewise.
35842 (cosh_test_upward): Likewise.
35843 (cpow_test): Likewise.
35844 (csin_test): Likewise.
35845 (csinh_test): Likewise.
35846 (csqrt_test): Likewise.
35847 (ctan_test): Likewise.
35848 (ctan_test_tonearest): Likewise.
35849 (ctan_test_towardzero): Likewise.
35850 (ctan_test_downward): Likewise.
35851 (ctan_test_upward): Likewise.
35852 (ctanh_test): Likewise.
35853 (ctanh_test_tonearest): Likewise.
35854 (ctanh_test_towardzero): Likewise.
35855 (ctanh_test_downward): Likewise.
35856 (ctanh_test_upward): Likewise.
35857 (erf_test): Likewise.
35858 (erfc_test): Likewise.
35859 (exp_test): Likewise.
35860 (exp_test_tonearest): Likewise.
35861 (exp_test_towardzero): Likewise.
35862 (exp_test_downward): Likewise.
35863 (exp_test_upward): Likewise.
35864 (exp10_test): Likewise.
35865 (exp2_test): Likewise.
35866 (expm1_test): Likewise.
35867 (fmod_test): Likewise.
35868 (gamma_test): Likewise.
35869 (hypot_test): Likewise.
35870 (j0_test): Likewise.
35871 (j1_test): Likewise.
35872 (jn_test): Likewise.
35873 (lgamma_test): Likewise.
35874 (log_test): Likewise.
35875 (log10_test): Likewise.
35876 (log1p_test): Likewise.
35877 (log2_test): Likewise.
35878 (logb_test_downward): Likewise.
35879 (pow_test): Likewise.
35880 (pow_test_tonearest): Likewise.
35881 (pow_test_towardzero): Likewise.
35882 (pow_test_downward): Likewise.
35883 (pow_test_upward): Likewise.
35884 (remainder_test): Likewise.
35885 (remquo_test): Likewise.
35886 (sin_test): Likewise.
35887 (sin_test_tonearest): Likewise.
35888 (sin_test_towardzero): Likewise.
35889 (sin_test_downward): Likewise.
35890 (sin_test_upward): Likewise.
35891 (sincos_test): Likewise.
35892 (sinh_test): Likewise.
35893 (sinh_test_tonearest): Likewise.
35894 (sinh_test_towardzero): Likewise.
35895 (sinh_test_downward): Likewise.
35896 (sinh_test_upward): Likewise.
35897 (sqrt_test): Likewise.
35898 (tan_test): Likewise.
35899 (tan_test_tonearest): Likewise.
35900 (tan_test_towardzero): Likewise.
35901 (tan_test_downward): Likewise.
35902 (tan_test_upward): Likewise.
35903 (tanh_test): Likewise.
35904 (tgamma_test): Likewise.
35905 (y0_test): Likewise.
35906 (y1_test): Likewise.
35907 (yn_test): Likewise.
35908
35909 * math/gen-libm-test.pl (adjust_arg): Remove function.
35910 (special_function): Remove argument $in_func. Only handle
35911 generating output for tables of tests, not inside functions.
35912 (parse_args): Likewise.
35913 (generate_testfile): Remove variable $in_func. Update call to
35914 parse_args.
35915 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
35916 (MINUS_ZERO_INIT): Rename macro to minus_zero.
35917 (PLUS_INFTY_INIT): Rename macro to plus_infty.
35918 (MINUS_INFTY_INIT): Rename macro to minus_infty.
35919 (QNAN_VALUE_INIT): Rename macro to qnan_value.
35920 (MAX_VALUE_INIT): Rename macro to max_value.
35921 (MIN_VALUE_INIT): Rename macro to min_value.
35922 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
35923 (plus_zero): Remove variable.
35924 (minus_zero): Likewise.
35925 (plus_infty): Likewise.
35926 (minus_infty): Likewise.
35927 (qnan_value): Likewise.
35928 (max_value): Likewise.
35929 (min_value): Likewise.
35930 (min_subnorm_value): Likewise.
35931
35932 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35933
35934 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
35935 uint64_t or uint32_t usage.
35936 * crypt/sha256-block.c: Likewise.
35937 * crypt/sha256-crypt.c: Likewise.
35938 * crypt/sha256.c: Likewise.
35939 * crypt/sha512-block.c: Likewise.
35940 * crypt/sha512-crypt.c: Likewise.
35941 * crypt/sha512.c: Likewise.
35942 * debug/backtrace-tst.c: Likewise.
35943 * debug/pcprofiledump.c: Likewise.
35944 * elf/cache.c: Likewise.
35945 * elf/dl-cache.c: Likewise.
35946 * elf/dl-misc.c: Likewise.
35947 * elf/dl-profile.c: Likewise.
35948 * elf/dl-support.c: Likewise.
35949 * elf/ldconfig.c: Likewise.
35950 * elf/sprof.c: Likewise.
35951 * iconv/dummy-repertoire.c: Likewise.
35952 * iconv/iconv_charmap.c: Likewise.
35953 * iconv/skeleton.c: Likewise.
35954 * iconvdata/8bit-generic.c: Likewise.
35955 * iconvdata/cp737.h: Likewise.
35956 * iconvdata/cp775.h: Likewise.
35957 * iconvdata/ibm1008.h: Likewise.
35958 * iconvdata/ibm1025.h: Likewise.
35959 * iconvdata/ibm1046.h: Likewise.
35960 * iconvdata/ibm1097.h: Likewise.
35961 * iconvdata/ibm1112.h: Likewise.
35962 * iconvdata/ibm1122.h: Likewise.
35963 * iconvdata/ibm1123.h: Likewise.
35964 * iconvdata/ibm1124.h: Likewise.
35965 * iconvdata/ibm1129.h: Likewise.
35966 * iconvdata/ibm1130.h: Likewise.
35967 * iconvdata/ibm1132.h: Likewise.
35968 * iconvdata/ibm1133.h: Likewise.
35969 * iconvdata/ibm1137.h: Likewise.
35970 * iconvdata/ibm1140.h: Likewise.
35971 * iconvdata/ibm1141.h: Likewise.
35972 * iconvdata/ibm1142.h: Likewise.
35973 * iconvdata/ibm1143.h: Likewise.
35974 * iconvdata/ibm1144.h: Likewise.
35975 * iconvdata/ibm1145.h: Likewise.
35976 * iconvdata/ibm1146.h: Likewise.
35977 * iconvdata/ibm1147.h: Likewise.
35978 * iconvdata/ibm1148.h: Likewise.
35979 * iconvdata/ibm1149.h: Likewise.
35980 * iconvdata/ibm1153.h: Likewise.
35981 * iconvdata/ibm1154.h: Likewise.
35982 * iconvdata/ibm1155.h: Likewise.
35983 * iconvdata/ibm1156.h: Likewise.
35984 * iconvdata/ibm1157.h: Likewise.
35985 * iconvdata/ibm1158.h: Likewise.
35986 * iconvdata/ibm1160.h: Likewise.
35987 * iconvdata/ibm1161.h: Likewise.
35988 * iconvdata/ibm1162.h: Likewise.
35989 * iconvdata/ibm1163.h: Likewise.
35990 * iconvdata/ibm1164.h: Likewise.
35991 * iconvdata/ibm1166.h: Likewise.
35992 * iconvdata/ibm1167.h: Likewise.
35993 * iconvdata/ibm12712.h: Likewise.
35994 * iconvdata/ibm1390.h: Likewise.
35995 * iconvdata/ibm1399.h: Likewise.
35996 * iconvdata/ibm16804.h: Likewise.
35997 * iconvdata/ibm4517.h: Likewise.
35998 * iconvdata/ibm4899.h: Likewise.
35999 * iconvdata/ibm4909.h: Likewise.
36000 * iconvdata/ibm4971.h: Likewise.
36001 * iconvdata/ibm5347.h: Likewise.
36002 * iconvdata/ibm803.h: Likewise.
36003 * iconvdata/ibm856.h: Likewise.
36004 * iconvdata/ibm901.h: Likewise.
36005 * iconvdata/ibm902.h: Likewise.
36006 * iconvdata/ibm9030.h: Likewise.
36007 * iconvdata/ibm9066.h: Likewise.
36008 * iconvdata/ibm921.h: Likewise.
36009 * iconvdata/ibm922.h: Likewise.
36010 * iconvdata/ibm9448.h: Likewise.
36011 * iconvdata/isiri-3342.h: Likewise.
36012 * iconvdata/jis0201.h: Likewise.
36013 * include/link.h: Likewise.
36014 * include/netdb.h: Likewise.
36015 * inet/check_native.c: Likewise.
36016 * inet/check_pf.c: Likewise.
36017 * inet/getipv4sourcefilter.c: Likewise.
36018 * inet/getnameinfo.c: Likewise.
36019 * inet/getsourcefilter.c: Likewise.
36020 * inet/htonl.c: Likewise.
36021 * inet/setipv4sourcefilter.c: Likewise.
36022 * inet/setsourcefilter.c: Likewise.
36023 * inet/test-inet6_opt.c: Likewise.
36024 * inet/tst-network.c: Likewise.
36025 * locale/C-collate.c: Likewise.
36026 * locale/C-ctype.c: Likewise.
36027 * locale/C-time.c: Likewise.
36028 * locale/C-translit.h: Likewise.
36029 * locale/loadarchive.c: Likewise.
36030 * locale/programs/3level.h: Likewise.
36031 * locale/programs/charmap.c: Likewise.
36032 * locale/programs/charmap.h: Likewise.
36033 * locale/programs/ld-address.c: Likewise.
36034 * locale/programs/ld-collate.c: Likewise.
36035 * locale/programs/ld-ctype.c: Likewise.
36036 * locale/programs/ld-identification.c: Likewise.
36037 * locale/programs/ld-measurement.c: Likewise.
36038 * locale/programs/ld-messages.c: Likewise.
36039 * locale/programs/ld-monetary.c: Likewise.
36040 * locale/programs/ld-name.c: Likewise.
36041 * locale/programs/ld-numeric.c: Likewise.
36042 * locale/programs/ld-paper.c: Likewise.
36043 * locale/programs/ld-telephone.c: Likewise.
36044 * locale/programs/ld-time.c: Likewise.
36045 * locale/programs/linereader.c: Likewise.
36046 * locale/programs/locale.c: Likewise.
36047 * locale/programs/locarchive.c: Likewise.
36048 * locale/programs/locfile.h: Likewise.
36049 * locale/programs/repertoire.c: Likewise.
36050 * locale/programs/simple-hash.c: Likewise.
36051 * locale/programs/simple-hash.h: Likewise.
36052 * malloc/memusage.c: Likewise.
36053 * malloc/memusagestat.c: Likewise.
36054 * nis/nis_defaults.c: Likewise.
36055 * nis/nis_hash.c: Likewise.
36056 * nis/nis_print.c: Likewise.
36057 * nis/nis_xdr.c: Likewise.
36058 * nscd/connections.c: Likewise.
36059 * nscd/hstcache.c: Likewise.
36060 * nscd/nscd_gethst_r.c: Likewise.
36061 * nscd/nscd_getserv_r.c: Likewise.
36062 * nscd/nscd_helper.c: Likewise.
36063 * nscd/servicescache.c: Likewise.
36064 * nss/makedb.c: Likewise.
36065 * nss/nss_db/db-XXX.c: Likewise.
36066 * nss/nss_db/db-initgroups.c: Likewise.
36067 * nss/nss_db/db-netgrp.c: Likewise.
36068 * nss/nss_files/files-network.c: Likewise.
36069 * nss/nss_files/files-parse.c: Likewise.
36070 * posix/bug-regex5.c: Likewise.
36071 * posix/fnmatch_loop.c: Likewise.
36072 * posix/regcomp.c: Likewise.
36073 * posix/regexec.c: Likewise.
36074 * posix/tst-rfc3484-2.c: Likewise.
36075 * posix/tst-rfc3484-3.c: Likewise.
36076 * posix/tst-rfc3484.c: Likewise.
36077 * resolv/nss_dns/dns-canon.c: Likewise.
36078 * resolv/nss_dns/dns-network.c: Likewise.
36079 * resolv/res_init.c: Likewise.
36080 * resolv/res_mkquery.c: Likewise.
36081 * resolv/tst-aton.c: Likewise.
36082 * stdlib/cxa_atexit.c: Likewise.
36083 * stdlib/cxa_finalize.c: Likewise.
36084 * stdlib/gen-fpioconst.c: Likewise.
36085 * stdlib/strtol_l.c: Likewise.
36086 * string/tst-endian.c: Likewise.
36087 * sunrpc/auth_des.c: Likewise.
36088 * sunrpc/clnt_udp.c: Likewise.
36089 * sunrpc/rtime.c: Likewise.
36090 * sunrpc/svcauth_des.c: Likewise.
36091 * sunrpc/xdr.c: Likewise.
36092 * sunrpc/xdr_intXX_t.c: Likewise.
36093 * sunrpc/xdr_rec.c: Likewise.
36094 * sysdeps/generic/ldconfig.h: Likewise.
36095 * sysdeps/generic/ldsodefs.h: Likewise.
36096 * sysdeps/generic/memusage.h: Likewise.
36097 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36098 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
36099 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
36100 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36101 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36102 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36103 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36104 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36105 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36106 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
36107 * sysdeps/posix/getaddrinfo.c: Likewise.
36108 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36109 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36110 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
36111 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36112 * sysdeps/powerpc/test-gettimebase.c: Likewise.
36113 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36114 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
36115 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
36116 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
36117 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
36118 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36119 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36120 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
36121 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
36122 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
36123 * sysdeps/x86_64/dl-tls.h: Likewise.
36124 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
36125 * time/alt_digit.c: Likewise.
36126 * time/era.c: Likewise.
36127 * wcsmbs/tst-c16c32-1.c: Likewise.
36128
36129 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36130
36131 * math/libm-test.inc (struct test_sincos_data): New type.
36132 (RUN_TEST_LOOP_sincos): New macro.
36133 (sincos_test_data): New variable.
36134 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
36135
36136 2013-05-16 Richard Henderson <rth@redhat.com>
36137
36138 * math/atest-exp2.c (LIMB64): New macro.
36139 (CONSTSZ): New macro.
36140 (mp_exp1, mp_exp_m1, mp_log2): New variables.
36141 (hexdig): Move ...
36142 (print_mpn_fp): ... to function scope.
36143 (read_mpn_hex): Remove.
36144 (get_log2): Remove.
36145 (exp2_mpn): Use mp_log2.
36146 (main): Use mp_exp1.
36147
36148 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36149
36150 * math/libm-test.inc: Remove comment about not testing "inexact"
36151 exceptions.
36152 (INEXACT_EXCEPTION): New macro.
36153 (NO_INEXACT_EXCEPTION): Likewise.
36154 (INVALID_EXCEPTION_OK): Update value.
36155 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36156 (OVERFLOW_EXCEPTION_OK): Likewise.
36157 (UNDERFLOW_EXCEPTION_OK): Likewise.
36158 (IGNORE_ZERO_INF_SIGN): Likewise.
36159 (ERRNO_UNCHANGED): Likewise.
36160 (ERRNO_EDOM): Likewise.
36161 (ERRNO_ERANGE): Likewise.
36162 (test_exceptions): Handle testing "inexact" exceptions.
36163 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
36164 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
36165 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
36166 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
36167 INEXACT_EXCEPTION.
36168 (rint_towardzero_test_data): Likewise.
36169 (rint_downward_test_data): Likewise.
36170 (rint_upward_test_data): Likewise.
36171
36172 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
36173 with OVERFLOW_EXCEPTION.
36174 (exp10_test_data): Likewise.
36175 (exp2_test_data): Likewise.
36176 (expm1_test_data): Likewise.
36177 (lgamma_test_data): Likewise.
36178 (pow_test_data): Likewise.
36179 (tgamma_test_data): Likewise.
36180 (yn_test_data): Remove duplicate test of overflow.
36181
36182 * math/libm-test.inc (struct test_cc_c_data): New type.
36183 (RUN_TEST_LOOP_cc_c): New macro.
36184 (cpow_test_data): New variable.
36185 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
36186
36187 * math/libm-test.inc (struct test_f_L_data): New type.
36188 (RUN_TEST_LOOP_f_L): New macro.
36189 (llrint_test_data): New variable.
36190 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
36191 (llrint_tonearest_test_data): New variable.
36192 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
36193 (llrint_towardzero_test_data): New variable.
36194 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
36195 (llrint_downward_test_data): New variable.
36196 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
36197 (llrint_upward_test_data): New variable.
36198 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
36199 (llround_test_data): New variable.
36200 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
36201
36202 2013-05-13 Peter Collingbourne <pcc@google.com>
36203
36204 * math/atest-exp2.c (get_log2): Remove const attribute.
36205
36206 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36207
36208 * math/libm-test.inc (struct test_f_l_data): New type.
36209 (RUN_TEST_LOOP_f_l): New macro.
36210 (lrint_test_data): New variable.
36211 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
36212 (lrint_tonearest_test_data): New variable.
36213 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
36214 (lrint_towardzero_test_data): New variable.
36215 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
36216 (lrint_downward_test_data): New variable.
36217 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
36218 (lrint_upward_test_data): New variable.
36219 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
36220 (lround_test_data): New variable.
36221 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
36222
36223 2013-05-15 Peter Collingbourne <pcc@google.com>
36224
36225 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
36226 (EXTRACT_WORDS64) Use where appropriate.
36227 (INSERT_WORDS64) Likewise.
36228
36229 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
36230 constraints with x constraints.
36231 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
36232
36233 * malloc/obstack.c (_obstack_compat): Add initializer.
36234
36235 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
36236
36237 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
36238 si_trapno and add si_addr_lsb to _sifields.sigfault.
36239 (si_trapno): Remove macro.
36240 (si_addr_lsb): Define new macro.
36241 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36242
36243 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36244
36245 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
36246 instead of TEST_f_l.
36247 (llrint_test_tonearest): Likewise.
36248 (llrint_test_towardzero): Likewise.
36249 (llrint_test_downward): Likewise.
36250 (llrint_test_upward): Likewise.
36251 (llround_test): Likewise.
36252
36253 * math/libm-test.inc (struct test_f_i_data): Add comment.
36254 (RUN_TEST_LOOP_f_b): New macro.
36255 (RUN_TEST_LOOP_f_b_tg): Likewise.
36256 (finite_test_data): New variable.
36257 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
36258 (isfinite_test_data): New variable.
36259 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36260 (isinf_test_data): New variable.
36261 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36262 (isnan_test_data): New variable.
36263 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36264 (isnormal_test_data): New variable.
36265 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36266 (issignaling_test_data): New variable.
36267 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36268 (signbit_test_data): New variable.
36269 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36270
36271 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
36272 with INVALID_EXCEPTION.
36273 (acosh_test_data): Likewise.
36274 (asin_test_data): Likewise.
36275 (atanh_test_data): Likewise.
36276 (fmod_test_data): Likewise.
36277 (log_test_data): Likewise.
36278 (log10_test_data): Likewise.
36279 (log2_test_data): Likewise.
36280 (pow_test_data): Likewise.
36281 (sqrt_test_data): Likewise.
36282 (y0_test_data): Likewise.
36283 (y1_test_data): Likewise.
36284 (yn_test_data): Likewise.
36285
36286 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
36287 function contents.
36288
36289 * math/libm-test.inc (struct test_ff_i_data): New type.
36290 (RUN_TEST_LOOP_ff_i_tg): New macro.
36291 (isgreater_test_data): New variable.
36292 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36293 (isgreaterequal_test_data): New variable.
36294 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36295 (isless_test_data): New variable.
36296 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36297 (islessequal_test_data): New variable.
36298 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36299 (islessgreater_test_data): New variable.
36300 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36301 (isunordered_test_data): New variable.
36302 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36303
36304 2013-05-14 David S. Miller <davem@davemloft.net>
36305
36306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36307
36308 2013-05-14 Joseph Myers <joseph@codesourcery.com>
36309
36310 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
36311
36312 * math/libm-test.inc (struct test_fF_f1_data): Change type of
36313 extra_test to int.
36314 (struct test_f_i_data): Change type of max_ulp to int.
36315
36316 * math/libm-test.inc (test_ffI_f1_data): New type.
36317 (RUN_TEST_LOOP_ffI_f1): New macro.
36318 (remquo_test_data): New variable.
36319 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
36320
36321 * setjmp/tst-setjmp-fp.c: New file.
36322 * setjmp/Makefile (tests): Add tst-setjmp-fp.
36323 (link-libm): New variable.
36324 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
36325
36326 * math/libm-test.inc (struct test_f_i_data): New type.
36327 (RUN_TEST_LOOP_f_i): New macro.
36328 (RUN_TEST_LOOP_f_i_tg): Likewise.
36329 (fpclassify_test_data): New variable.
36330 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
36331 (ilogb_test_data): New variable.
36332 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
36333
36334 * math/libm-test.inc (scalbln_test): Correct function name in END
36335 call.
36336
36337 * math/libm-test.inc (struct test_f_f1_data): Add comment.
36338 (RUN_TEST_LOOP_fI_f1): New macro.
36339 (frexp_test_data): New variable.
36340 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
36341
36342 * math/libm-test.inc (struct test_fF_f1_data): New type.
36343 (RUN_TEST_LOOP_fF_f1): New macro.
36344 (modf_test_data): New variable.
36345 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
36346
36347 * math/libm-test.inc (struct test_f_f1_data): New type.
36348 (RUN_TEST_LOOP_f_f1): New macro.
36349 (gamma_test_data): New variable.
36350 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36351 (lgamma_test_data): New variable.
36352 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36353
36354 2013-05-13 Carlos O'Donell <carlos@redhat.com>
36355
36356 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
36357 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
36358 (main): Comment "tls" pseudo-hwcap.
36359
36360 2013-05-13 Joseph Myers <joseph@codesourcery.com>
36361
36362 * math/libm-test.inc (struct test_fl_f_data): New type.
36363 (RUN_TEST_LOOP_fl_f): New variable.
36364 (scalbln_test_data): New variable.
36365 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
36366
36367 * math/libm-test.inc (struct test_fi_f_data): New type.
36368 (RUN_TEST_LOOP_fi_f): New macro.
36369 (ldexp_test_data): New variable.
36370 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
36371 (scalbn_test_data): New variable.
36372 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
36373
36374 * math/libm-test.inc (struct test_c_f_data): New type.
36375 (RUN_TEST_LOOP_c_f): New macro.
36376 (cabs_test_data): New variable.
36377 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
36378 (carg_test_data): New variable.
36379 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
36380 (cimag_test_data): New variable.
36381 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
36382 (creal_test_data): New variable.
36383 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
36384
36385 * math/libm-test.inc (struct test_if_f_data): New type.
36386 (RUN_TEST_LOOP_if_f): New macro.
36387 (jn_test_data): New variable.
36388 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
36389 (yn_test_data): New variable.
36390 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
36391
36392 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
36393
36394 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36395
36396 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
36397 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
36398
36399 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36400
36401 * benchtests/Makefile (CPPFLAGS-nonlib): Add
36402 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
36403 (bench-deps): Add bench-timing.h.
36404 * benchtests-bench-skeleton.c: Include bench-timing.h.
36405 (main): Use TIMING_* macros instead of clock_gettime.
36406 * benchtests/bench-timing.h: New file.
36407
36408 [BZ #14582]
36409 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
36410 Renamed from _LIB_VERSION.
36411 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
36412
36413 2013-05-12 Joseph Myers <joseph@codesourcery.com>
36414
36415 * math/libm-test.inc (struct test_fff_f_data): New type.
36416 (RUN_TEST_LOOP_fff_f): New macro.
36417 (fma_test_data): New variable.
36418 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
36419 (fma_towardzero_test_data): New variable.
36420 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
36421 (fma_downward_test_data): New variable.
36422 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
36423 (fma_upward_test_data): New variable.
36424 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
36425
36426 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
36427 (struct test_c_c_data): New type.
36428 (RUN_TEST_LOOP_c_c): New macro.
36429 (cacos_test_data): New variable.
36430 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
36431 (cacosh_test_data): New variable.
36432 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
36433 (casin_test_data): New variable.
36434 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
36435 (casinh_test_data): New variable.
36436 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
36437 (catan_test_data): New variable.
36438 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
36439 (catanh_test_data): New variable.
36440 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
36441 (ccos_test_data): New variable.
36442 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
36443 (ccosh_test_data): New variable.
36444 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
36445 (cexp_test_data): New variable.
36446 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
36447 (clog_test_data): New variable.
36448 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
36449 (clog10_test_data): New variable.
36450 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
36451 (conj_test_data): New variable.
36452 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
36453 (cproj_test_data): New variable.
36454 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
36455 (csin_test_data): New variable.
36456 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
36457 (csinh_test_data): New variable.
36458 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
36459 (csqrt_test_data): New variable.
36460 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
36461 (ctan_test_data): New variable.
36462 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
36463 (ctan_tonearest_test_data): New variable.
36464 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36465 (ctan_towardzero_test_data): New variable.
36466 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36467 (ctan_downward_test_data): New variable.
36468 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36469 (ctan_upward_test_data): New variable.
36470 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36471 (ctanh_test_data): New variable.
36472 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
36473 (ctanh_tonearest_test_data): New variable.
36474 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36475 (ctanh_towardzero_test_data): New variable.
36476 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36477 (ctanh_downward_test_data): New variable.
36478 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36479 (ctanh_upward_test_data): New variable.
36480 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36481 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
36482 of BUILD_COMPLEX.
36483
36484 * math/libm-test.inc (struct test_ff_f_data): New type.
36485 (struct test_ff_f_data_nexttoward): Likewise.
36486 (RUN_TEST_LOOP_2_f): New macro.
36487 (RUN_TEST_LOOP_ff_f): Likewise.
36488 (atan2_test_data): New variable.
36489 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
36490 (copysign_test_data): New variable.
36491 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
36492 (fdim_test_data): New variable.
36493 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
36494 (fmax_test_data): New variable.
36495 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
36496 (fmin_test_data): New variable.
36497 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
36498 (fmod_test_data): New variable.
36499 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
36500 (hypot_test_data): New variable.
36501 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
36502 (nextafter_test_data): New variable.
36503 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
36504 (nexttoward_test_data): New variable.
36505 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
36506 (pow_test_data): New variable.
36507 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
36508 (pow_tonearest_test_data): New variable.
36509 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
36510 (pow_towardzero_test_data): New variable.
36511 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
36512 (pow_downward_test_data): New variable.
36513 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
36514 (pow_upward_test_data): New variable.
36515 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
36516 (remainder_test_data): New variable.
36517 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
36518 (scalb_test_data): New variable.
36519 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
36520 * sysdeps/i386/fpu/libm-test-ulps: Update.
36521
36522 2013-05-11 Joseph Myers <joseph@codesourcery.com>
36523
36524 * math/libm-test.inc (fma_test): Use max_value instead of local
36525 variable fltmax.
36526 (nextafter_test): Likewise.
36527
36528 * math/libm-test.inc (acos_towardzero_test_data): New variable.
36529 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36530 (acos_downward_test_data): New variable.
36531 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36532 (acos_upward_test_data): New variable.
36533 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36534 (acosh_test_data): New variable.
36535 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
36536 (asin_test_data): New variable.
36537 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
36538 (asin_tonearest_test_data): New variable.
36539 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36540 (asin_towardzero_test_data): New variable.
36541 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36542 (asin_downward_test_data): New variable.
36543 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36544 (asin_upward_test_data): New variable.
36545 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36546 (asinh_test_data): New variable.
36547 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
36548 (atan_test_data): New variable.
36549 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
36550 (atanh_test_data): New variable.
36551 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
36552 (cbrt_test_data): New variable.
36553 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
36554 (ceil_test_data): New variable.
36555 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
36556 (cos_test_data): New variable.
36557 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
36558 (cos_tonearest_test_data): New variable.
36559 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36560 (cos_towardzero_test_data): New variable.
36561 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36562 (cos_downward_test_data): New variable.
36563 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36564 (cos_upward_test_data): New variable.
36565 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36566 (cosh_test_data): New variable.
36567 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
36568 (cosh_tonearest_test_data): New variable.
36569 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36570 (cosh_towardzero_test_data): New variable.
36571 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36572 (cosh_downward_test_data): New variable.
36573 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36574 (cosh_upward_test_data): New variable.
36575 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36576 (erf_test_data): New variable.
36577 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
36578 (erfc_test_data): New variable.
36579 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
36580 (exp_test_data): New variable.
36581 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
36582 (exp_tonearest_test_data): New variable.
36583 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36584 (exp_towardzero_test_data): New variable.
36585 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36586 (exp_downward_test_data): New variable.
36587 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36588 (exp_upward_test_data): New variable.
36589 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36590 (exp10_test_data): New variable.
36591 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
36592 (exp2_test_data): New variable.
36593 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
36594 (expm1_test_data): New variable.
36595 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
36596 (fabs_test_data): New variable.
36597 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
36598 (floor_test_data): New variable.
36599 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
36600 (j0_test_data): New variable.
36601 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
36602 (j1_test_data): New variable.
36603 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
36604 (log_test_data): New variable.
36605 (log_test): Run tests with RUN_TEST_LOOP_f_f.
36606 (log10_test_data): New variable.
36607 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
36608 (log1p_test_data): New variable.
36609 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
36610 (log2_test_data): New variable.
36611 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
36612 (logb_test_data): New variable.
36613 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
36614 (logb_downward_test_data): New variable.
36615 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36616 (nearbyint_test_data): New variable.
36617 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
36618 (rint_test_data): New variable.
36619 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
36620 (rint_tonearest_test_data): New variable.
36621 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36622 (rint_towardzero_test_data): New variable.
36623 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36624 (rint_downward_test_data): New variable.
36625 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36626 (rint_upward_test_data): New variable.
36627 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36628 (round_test_data): New variable.
36629 (round_test): Run tests with RUN_TEST_LOOP_f_f.
36630 (sin_test_data): New variable.
36631 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
36632 (sin_tonearest_test_data): New variable.
36633 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36634 (sin_towardzero_test_data): New variable.
36635 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36636 (sin_downward_test_data): New variable.
36637 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36638 (sin_upward_test_data): New variable.
36639 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36640 (sinh_test_data): New variable.
36641 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
36642 (sinh_tonearest_test_data): New variable.
36643 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36644 (sinh_towardzero_test_data): New variable.
36645 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36646 (sinh_downward_test_data): New variable.
36647 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36648 (sinh_upward_test_data): New variable.
36649 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36650 (sqrt_test_data): New variable.
36651 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
36652 (tan_test_data): New variable.
36653 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
36654 (tan_tonearest_test_data): New variable.
36655 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36656 (tan_towardzero_test_data): New variable.
36657 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36658 (tan_downward_test_data): New variable.
36659 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36660 (tan_upward_test_data): New variable.
36661 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36662 (tanh_test_data): New variable.
36663 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
36664 (tgamma_test_data): New variable.
36665 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
36666 (trunc_test_data): New variable.
36667 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
36668 (y0_test_data): New variable.
36669 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
36670 (y1_test_data): New variable.
36671 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
36672 (significand_test_data): New variable.
36673 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
36674
36675 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
36676
36677 [BZ #12387]
36678 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
36679
36680 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
36681
36682 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
36683
36684 2013-05-10 Andreas Jaeger <aj@suse.de>
36685
36686 [BZ #15448]
36687 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
36688 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
36689
36690 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36691
36692 * math/gen-libm-test.pl (adjust_arg): New function.
36693 (special_functions): Handle generating output in both functions
36694 and arrays.
36695 (parse_args): Likewise.
36696 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
36697 $in_func argument to parse_args.
36698 * math/libm-test.inc (struct test_f_f_data): New type.
36699 (IF_ROUND_INIT_): New macro.
36700 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
36701 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
36702 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
36703 (IF_ROUND_INIT_FE_UPWARD): Likewise.
36704 (ROUND_RESTORE_): Likewise.
36705 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
36706 (ROUND_RESTORE_FE_TONEAREST): Likewise.
36707 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
36708 (ROUND_RESTORE_FE_UPWARD): Likewise.
36709 (RUN_TEST_LOOP_f_f): New macro.
36710 (acos_test_data): New variable.
36711 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
36712 (acos_tonearest_test_data): New variable.
36713 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36714
36715 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36716
36717 * benchtests/bench-skeleton.c (startup): Fix coding style.
36718
36719 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36720
36721 [BZ #6809]
36722 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
36723 negative infinity argument.
36724 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
36725 negative infinity argument.
36726 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
36727 negative infinity argument.
36728 * math/libm-test.inc (tgamma_test): Expect errno to be set for
36729 domain errors.
36730
36731 2013-05-10 Florian Weimer <fweimer@redhat.com>
36732
36733 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
36734 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
36735 * iconv/iconv_prog.c (main): Likewise.
36736 * locale/programs/charmap-dir.c (charmap_readdir)
36737 (fopen_uncompressed): Likewise.
36738 * locale/programs/locfile.c (siblings_uncached)
36739 (write_locale_data): Use lstat64 instead of lstat.
36740 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
36741 stat.
36742
36743 2013-05-10 Andreas Jaeger <aj@suse.de>
36744
36745 [BZ #15395]
36746 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
36747 localization.
36748 Include <locale.h>.
36749
36750 2013-05-09 Carlos O'Donell <carlos@redhat.com>
36751
36752 * elf/dl-close.c (_dl_close_worker): Add comments.
36753
36754 2013-05-09 Joseph Myers <joseph@codesourcery.com>
36755
36756 [BZ #15359]
36757 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
36758 high part of pi/2.
36759 (__ieee754_rem_pio2l): Update comments.
36760
36761 [BZ #15429]
36762 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
36763 high part of pi/2.
36764 (__ieee754_rem_pio2l): Update comments.
36765
36766 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
36767 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
36768
36769 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
36770 M_PI_4l.
36771
36772 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
36773 (M_PI_34_LOG10El): Likewise.
36774 (M_PI2_LOG10El): Likewise.
36775 (M_PI4_LOG10El): Likewise.
36776 (M_PI_LOG10El): Likewise.
36777
36778 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36779
36780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36781
36782 2013-05-08 Joseph Myers <joseph@codesourcery.com>
36783
36784 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
36785 (MINUS_ZERO_INIT): Likewise.
36786 (PLUS_INFTY_INIT): Likewise.
36787 (MINUS_INFTY_INIT): Likewise.
36788 (QNAN_VALUE_INIT): Likewise.
36789 (MAX_VALUE_INIT): Likewise.
36790 (MIN_VALUE_INIT): Likewise.
36791 (MIN_SUBNORM_VALUE_INIT): Likewise.
36792 (plus_zero): Initialize with PLUS_ZERO_INIT.
36793 (minus_zero): Initialize with MINUS_ZERO_INIT.
36794 (plus_infty): Initialize with PLUS_INFTY_INIT.
36795 (minus_infty): Initialize with MINUS_INFTY_INIT.
36796 (qnan_value): Initialize with QNAN_VALUE_INIT.
36797 (max_value): Initialize with MAX_VALUE_INIT.
36798 (min_value): Initialize with MIN_VALUE_INIT.
36799 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
36800
36801 * math/libm-test.inc (RUN_TEST_if_f): New macro.
36802 (jn_test): Use TEST_if_f instead of TEST_ff_f.
36803 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
36804 (yn_test): Use TEST_if_f instead of TEST_ff_f.
36805
36806 * math/libm-test.inc (RUN_TEST_f_f): New macro.
36807 (RUN_TEST_2_f): Likewise.
36808 (RUN_TEST_ff_f): Likewise.
36809 (RUN_TEST_fi_f): Likewise.
36810 (RUN_TEST_fl_f): Likewise.
36811 (RUN_TEST_fff_f): Likewise.
36812 (RUN_TEST_c_f): Likewise.
36813 (RUN_TEST_f_f1): Likewise.
36814 (RUN_TEST_fF_f1): Likewise.
36815 (RUN_TEST_fI_f1): Likewise.
36816 (RUN_TEST_ffI_f1): Likewise.
36817 (RUN_TEST_c_c): Likewise.
36818 (RUN_TEST_cc_c): Likewise.
36819 (RUN_TEST_f_i): Likewise.
36820 (RUN_TEST_f_i_tg): Likewise.
36821 (RUN_TEST_ff_i_tg): Likewise.
36822 (RUN_TEST_f_b): Likewise.
36823 (RUN_TEST_f_b_tg): Likewise.
36824 (RUN_TEST_f_l): Likewise.
36825 (RUN_TEST_f_L): Likewise.
36826 (RUN_TEST_sincos): Likewise.
36827 * math/gen-libm-test.pl (new_test): Take new argument to indicate
36828 whether to show exceptions. Do not include ");\n" in return
36829 value.
36830 (special_functions): Output call to RUN_TEST_sincos instead of
36831 check_float calls. Update calls to new_test.
36832 (parse_args): Output call to single RUN_TEST_* macro instead of
36833 check_* calls and other assignments. Update calls to new_test.
36834
36835 [BZ #2546]
36836 [BZ #2560]
36837 [BZ #5159]
36838 [BZ #15426]
36839 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
36840 input to result for tgamma overflow.
36841 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
36842 (gamma_coeff): New variable.
36843 (NCOEFF): New macro.
36844 (gamma_positive): New function.
36845 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
36846 underflow here. Use gamma_positive instead of exp (lgamma) for
36847 other arguments.
36848 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
36849 (gamma_coeff): New variable.
36850 (NCOEFF): New macro.
36851 (gammaf_positive): New function.
36852 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
36853 underflow here. Use gamma_positive instead of exp (lgamma) for
36854 other arguments.
36855 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
36856 (gamma_coeff): New variable.
36857 (NCOEFF): New macro.
36858 (gammal_positive): New function.
36859 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
36860 underflow here. Use gamma_positive instead of exp (lgamma) for
36861 other arguments.
36862 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
36863 (gamma_coeff): New variable.
36864 (NCOEFF): New macro.
36865 (gammal_positive): New function.
36866 (__ieee754_gammal_r): Handle positive infinity, overflow and
36867 underflow here. Handle NaN the same as positive infinity. Remove
36868 check x < 0xffffffff for negative integers. Use gamma_positive
36869 instead of exp (lgamma) for other arguments.
36870 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
36871 (gamma_coeff): New variable.
36872 (NCOEFF): New macro.
36873 (gammal_positive): New function.
36874 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
36875 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
36876 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
36877 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
36878 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
36879 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
36880 * sysdeps/generic/math_private.h (__gamma_productf): New
36881 prototype.
36882 (__gamma_product): Likewise.
36883 (__gamma_productl): Likewise.
36884 * math/Makefile (libm-calls): Add gamma_product.
36885 * math/libm-test.inc (tgamma_test): Add more tests.
36886 * sysdeps/i386/fpu/libm-test-ulps: Update.
36887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36888
36889 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
36890
36891 * benchtests/bench-skeleton.c (main): Preheat CPU.
36892
36893 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
36894
36895 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
36896
36897 2013-05-07 Roland McGrath <roland@hack.frob.com>
36898
36899 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
36900 and _dl_skip_args_internal.
36901
36902 2013-05-07 Carlos O'Donell <carlos@redhat.com>
36903
36904 * manual/message.texi (Message Translation): Talk about users.
36905 Message to key mapping impacts design.
36906
36907 2013-05-06 Roland McGrath <roland@hack.frob.com>
36908
36909 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
36910
36911 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
36912
36913 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
36914 * sysdeps/wordsize-64/glob64.c: ... here.
36915
36916 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
36917 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
36918 New macros.
36919
36920 * debug/getlogin_r_chk.c: Moved to ...
36921 * login/getlogin_r_chk.c: ... here.
36922 * debug/Makefile (routines): Move getlogin_r_chk to ...
36923 * login/Makefile (routines): ... here.
36924 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
36925 * login/Versions (libc: GLIBC_2.4): ... here.
36926
36927 * io/poll.c (__poll): Renamed from poll.
36928 Add libc_hidden_def.
36929 (poll): Define as weak alias.
36930
36931 * debug/ptsname_r_chk.c: Moved to ...
36932 * login/ptsname_r_chk.c: ... here.
36933 * debug/Makefile (routines): Move ptsname_r_chk to ...
36934 * login/Makefile (routines): ... here.
36935 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
36936 * login/Versions (libc: GLIBC_2.4): ... here.
36937
36938 * posix/getlogin.c: Moved to ...
36939 * login/getlogin.c: ... here.
36940 * posix/getlogin_r.c: Moved to ...
36941 * login/getlogin_r.c: ... here.
36942 * posix/getlogin_r.c: Moved to ...
36943 * login/getlogin_r.c: ... here.
36944 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
36945 * login/Makefile (routines): ... here.
36946 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
36947 * login/Versions (libc: GLIBC_2.0): ... here.
36948
36949 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
36950 (setrlimit): Define as weak alias.
36951
36952 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
36953 Call __ names for open, ftruncate, and close.
36954 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
36955 (truncate): Define as weak alias.
36956
36957 2013-05-06 Joseph Myers <joseph@codesourcery.com>
36958
36959 * math/gen-libm-test.pl (parse_args): Initialize x before each
36960 test of frexp, modf and remquo.
36961
36962 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
36963 test signgam value.
36964
36965 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36966
36967 [BZ #15418]
36968 [BZ #15419]
36969 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
36970 internal tests.
36971 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36972
36973 2013-05-06 Roland McGrath <roland@hack.frob.com>
36974
36975 * elf/dl-writev.h: New file.
36976 * elf/dl-misc.c: Include it.
36977 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
36978 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
36979
36980 2013-05-04 Joseph Myers <joseph@codesourcery.com>
36981
36982 * math/libm-test.inc (noXFails): Remove variable.
36983 (noXPasses): Likewise.
36984 (BUILD_COMPLEX_INT): Remove macro.
36985 (print_screen): Remove xfail argument.
36986 (print_screen_max_error): Likewise.
36987 (update_stats): Likewise.
36988 (print_max_error): Likewise. Update calls to other affected
36989 functions.
36990 (print_complex_max_error): Likewise.
36991 (test_single_exception): Update calls to print_screen.
36992 (test_single_errno): Likewise.
36993 (check_float_internal): Remove xfail argument. Update calls to
36994 other affected functions.
36995 (check_float): Likewise.
36996 (check_complex): Likewise.
36997 (check_int): Likewise.
36998 (check_long): Likewise.
36999 (check_bool): Likewise.
37000 (check_longlong): Likewise.
37001 (main): Don't print noXFails and noXPasses.
37002 * math/gen-libm-test.pl (top level): Don't mention expected
37003 failure handling in comment.
37004 (new_test): Don't handle expected failures.
37005 (parse_args): Don't mention expected failure handling in comment.
37006 (generate_testfile): Don't handle expected failures.
37007 (parse_ulps): Likewise.
37008 (print_ulps_file): Likewise.
37009 (get_failure): Remove function.
37010 (output_test): Don't handle expected failures.
37011 * make/README.libm-test: Don't mention expected failure handling.
37012
37013 * math/libm-test.inc (plus_zero): Make const. Add initializer.
37014 (minus_zero): Likewise.
37015 (plus_infty): Likewise.
37016 (minus_infty): Likewise.
37017 (qnan_value): Likewise.
37018 (max_value): Likewise.
37019 (min_value): Likewise.
37020 (min_subnorm_value): Likewise.
37021 (initialize): Do not initialize those variables dynamically.
37022
37023 2013-05-03 Roland McGrath <roland@hack.frob.com>
37024
37025 * io/open.c (__open_2): Moved to ...
37026 * io/open_2.c: ... this new file.
37027 * io/open64.c (__open64_2): Moved to ...
37028 * io/open64_2.c: ... this new file.
37029 * io/openat.c (__openat_2): Moved to ...
37030 * io/openat_2.c: ... this new file.
37031 * io/openat64.c (__openat64_2): Moved to ...
37032 * io/openat64_2.c: ... this new file.
37033 * io/Makefile (routines): Add them.
37034 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
37035 * sysdeps/unix/sysv/linux/open_2.c: File removed.
37036 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
37037 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
37038 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
37039 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
37040 (__openat64): Add hidden_ver.
37041 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
37042 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
37043
37044 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
37045 Separately conditionalize setting of GLRO(dl_sysinfo) so
37046 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
37047 as well, but the actual setting is only under [NEED_DL_SYSINFO].
37048
37049 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37050
37051 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
37052 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
37053 definition.
37054 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
37055 * sysdeps/unix/sysv/linux/powerpc/init-first.c
37056 (_libc_vdso_platform_setup): Add __vdso_time initialization.
37057 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
37058 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
37059
37060 2013-05-03 Joseph Myers <joseph@codesourcery.com>
37061
37062 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
37063 test signgam value.
37064
37065 * math/libm-test.inc (hypot_test): Do not use
37066 IGNORE_ZERO_INF_SIGN.
37067
37068 2013-05-03 Andreas Jaeger <aj@suse.de>
37069
37070 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
37071 Linux 3.9.
37072 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
37073 (PF_MAX): Adjust for VSOCK change.
37074
37075 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37076
37077 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37078
37079 2013-05-02 Carlos O'Donell <carlos@redhat.com>
37080
37081 [BZ #15264]
37082 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
37083 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
37084 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
37085
37086 2013-05-02 David S. Miller <davem@davemloft.net>
37087
37088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37089
37090 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
37091
37092 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
37093
37094 2013-05-01 Roland McGrath <roland@hack.frob.com>
37095
37096 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
37097
37098 2013-05-01 Richard Smith <richard@metafoo.co.uk>
37099
37100 [BZ #14952]
37101 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
37102 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37103 Use __attribute__ ((__gnu_inline__)).
37104 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37105 Don't use __attribute__ ((__gnu_inline__)).
37106
37107 2013-05-01 Joseph Myers <joseph@codesourcery.com>
37108
37109 [BZ #15423]
37110 * math/s_catan.c (__catan): Handle small real or imaginary part of
37111 input specially to avoid spurious underflow.
37112 * math/s_catanf.c (__catanf): Likewise.
37113 * math/s_catanh.c (__catanh): Likewise.
37114 * math/s_catanhf.c (__catanhf): Likewise.
37115 * math/s_catanhl.c (__catanhl): Likewise.
37116 * math/s_catanl.c (__catanl): Likewise.
37117 * math/libm-test.inc (catan_test): Add more tests.
37118 (catanh_test): Likewise.
37119 * sysdeps/i386/fpu/libm-test-ulps: Update.
37120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37121
37122 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37123
37124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37125
37126 2013-04-30 Joseph Myers <joseph@codesourcery.com>
37127
37128 [BZ #15416]
37129 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
37130 accurately for denominator in atan2.
37131 * math/s_catanf.c (__catanf): Likewise.
37132 * math/s_catanh.c (__catanh): Likewise.
37133 * math/s_catanhf.c (__catanhf): Likewise.
37134 * math/s_catanhl.c (__catanhl): Likewise.
37135 * math/s_catanl.c (__catanl): Likewise.
37136 * math/libm-test.inc (catan_test): Add more tests.
37137 (catanh_test): Likewise.
37138 * sysdeps/i386/fpu/libm-test-ulps: Update.
37139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37140
37141 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37142
37143 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
37144
37145 * benchtests/Makefile (bench): Remove slow benchmarks.
37146 * benchtests/atan-inputs: Add slow benchmark inputs.
37147 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
37148 (BENCH_FUNC): Accept variant offset.
37149 (VARIANT): Define.
37150 * benchtests/bench-skeleton.c (main): Run benchmark for each
37151 variant.
37152 * benchtests/cos-inputs: Add slow benchmark inputs.
37153 * benchtests/exp-inputs: Likewise.
37154 * benchtests/pow-inputs: Likewise.
37155 * benchtests/sin-inputs: Likewise.
37156 * benchtests/slowatan-inputs: Remove.
37157 * benchtests/slowatan.c: Remove.
37158 * benchtests/slowcos-inputs: Remove.
37159 * benchtests/slowcos.c: Remove.
37160 * benchtests/slowexp-inputs: Remove.
37161 * benchtests/slowexp.c: Remove.
37162 * benchtests/slowpow-inputs: Remove.
37163 * benchtests/slowpow.c: Remove.
37164 * benchtests/slowsin-inputs: Remove.
37165 * benchtests/slowsin.c: Remove.
37166 * benchtests/slowtan-inputs: Remove.
37167 * benchtests/slowtan.c: Remove.
37168 * benchtests/tan-inputs: Add slow benchmark inputs.
37169 * scripts/bench.pl: Parse comments and directives.
37170
37171 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
37172 in CPPFLAGS.
37173 ($(objpfx)bench-%.c): Remove *-ITER.
37174 * benchtests/bench-modf.c: Remove definition of ITER.
37175 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
37176 (main): Loop for DURATION seconds instead of fixed number of
37177 iterations.
37178 * scripts/bench.pl: Don't expect iterations in parameters.
37179
37180 2013-04-29 Roland McGrath <roland@hack.frob.com>
37181
37182 * io/fchdir.c (__fchdir): Renamed from fchdir.
37183 (fchdir): Define as weak alias.
37184
37185 2013-04-29 Joseph Myers <joseph@codesourcery.com>
37186
37187 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
37188 (ERRNO_EDOM): Likewise.
37189 (ERRNO_ERANGE): Likewise.
37190 (noErrnoTests): New variable.
37191 (init_max_error): Set errno to 0.
37192 (test_single_errno): New function.
37193 (test_errno): Likewise.
37194 (check_float_internal): Call test_errno. Set errno to 0.
37195 (check_complex): Refer to errno tests in comment.
37196 (check_int): Call test_errno. Set errno to 0.
37197 (check_long): Likewise.
37198 (check_bool): Likewise.
37199 (check_longlong): Likewise.
37200 (cos_test): Use ERRNO_* flags for errno tests instead of
37201 check_int.
37202 (expm1_test): Likewise.
37203 (fmod_test): Likewise.
37204 (ilogb_test): Likewise.
37205 (lgamma_test): Likewise.
37206 (pow_test): Likewise.
37207 (remainder_test): Likewise.
37208 (sin_test): Likewise.
37209 (tan_test): Likewise.
37210 (yn_test): Likewise.
37211 (initialize): Set errno to 0.
37212 (main): Print number of errno tests.
37213 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
37214
37215 2013-04-29 Andreas Jaeger <aj@suse.de>
37216
37217 [BZ #15084]
37218 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
37219 and RES_USEVC.
37220
37221 [BZ #15085]
37222 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
37223 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
37224 unimplemented.
37225
37226 [BZ #15380]
37227 * stdlib/random.c (__initstate): Return NULL if
37228 __initstate fails.
37229
37230 [BZ #15086]
37231 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
37232 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
37233 RES_SNGLKUPREOP.
37234
37235 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37236
37237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37238
37239 2013-04-29 Joseph Myers <joseph@codesourcery.com>
37240
37241 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
37242 of individual tests.
37243 (casin_test): Likewise.
37244 (casinh_test): Likewise.
37245
37246 2013-04-27 Joseph Myers <joseph@codesourcery.com>
37247
37248 [BZ #15409]
37249 * math/s_catan.c (__catan): Handle arguments with large real or
37250 imaginary part separately without squaring.
37251 * math/s_catanf.c (__catanf): Likewise.
37252 * math/s_catanh.c (__catanh): Likewise.
37253 * math/s_catanhf.c (__catanhf): Likewise.
37254 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37255 and redefine.
37256 (__catanhl): Handle arguments with large real or imaginary part
37257 separately without squaring.
37258 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37259 and redefine.
37260 (__catanl): Handle arguments with large real or imaginary part
37261 separately without squaring.
37262 * math/libm-test.inc (catan_test): Add more tests.
37263 (catanh_test): Likewise.
37264 * sysdeps/i386/fpu/libm-test-ulps: Update.
37265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37266
37267 2013-04-27 Andreas Jaeger <aj@suse.de>
37268
37269 [BZ #15007]
37270 * stdlib/stdlib.h: Update guards for qecvt.
37271 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
37272 <stdlib.h>.
37273
37274 2013-04-27 Allan McRae <allan@archlinux.org>
37275
37276 * sysdeps/i386/fpu/libm-test-ulps: Update.
37277
37278 2013-04-26 Joseph Myers <joseph@codesourcery.com>
37279
37280 [BZ #15406]
37281 * math/s_catan.c: Include <float.h>.
37282 (__catan): Ensure underflow exception occurs for underflowed
37283 result.
37284 * math/s_catanf.c: Include <float.h>.
37285 (__catanf): Ensure underflow exception occurs for underflowed
37286 result.
37287 * math/s_catanh.c: Include <float.h>.
37288 (__catanh): Ensure underflow exception occurs for underflowed
37289 result.
37290 * math/s_catanhf.c: Include <float.h>.
37291 (__catanhf): Ensure underflow exception occurs for underflowed
37292 result.
37293 * math/s_catanhl.c: Include <float.h>.
37294 (__catanhl): Ensure underflow exception occurs for underflowed
37295 result.
37296 * math/s_catanl.c: Include <float.h>.
37297 (__catanl): Ensure underflow exception occurs for underflowed
37298 result.
37299 * math/libm-test.inc (catan_test): Add more tests.
37300 (catanh_test): Likewise.
37301
37302 [BZ #15405]
37303 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
37304 underflowed result.
37305 * math/s_ccoshf.c (__ccoshf): Likewise.
37306 * math/s_ccoshl.c (__ccoshl): Likewise.
37307 * math/s_csin.c (__csin): Likewise.
37308 * math/s_csinf.c (__csinf): Likewise.
37309 * math/s_csinh.c (__csinh): Likewise.
37310 * math/s_csinhf.c (__csinhf): Likewise.
37311 * math/s_csinhl.c (__csinhl): Likewise.
37312 * math/s_csinl.c (__csinl): Likewise.
37313 * math/libm-test.inc (ccos_test): Add more tests.
37314 (ccosh_test): Likewise.
37315 (csin_test): Likewise.
37316 (csinh_test): Likewise.
37317
37318 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37319
37320 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
37321 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
37322 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
37323 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
37324 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
37325 powerpc/power5+/fpu folders.
37326 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
37327
37328
37329 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37330
37331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37332
37333 2013-04-25 Joseph Myers <joseph@codesourcery.com>
37334
37335 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
37336 additions to variable.
37337 [$(config-machine) = x86_64] (modules-names): Likewise.
37338 ($(objpfx)tst-audit3): Remove dependency.
37339 ($(objpfx)tst-audit3.out): Likewise.
37340 ($(objpfx)tst-audit4): Likewise.
37341 ($(objpfx)tst-audit4.out): Likewise.
37342 ($(objpfx)tst-audit5): Likewise.
37343 ($(objpfx)tst-audit5.out): Likewise.
37344 ($(objpfx)tst-audit6): Likewise.
37345 ($(objpfx)tst-audit6.out): Likewise.
37346 ($(objpfx)tst-audit7): Likewise.
37347 ($(objpfx)tst-audit7.out): Likewise.
37348 (tst-audit3-ENV): Remove variable.
37349 (tst-audit4-ENV): Likewise.
37350 (tst-audit5-ENV): Likewise.
37351 (tst-audit6-ENV): Likewise.
37352 (tst-audit7-ENV): Likewise.
37353 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
37354 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
37355 addition to variable.
37356 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
37357 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
37358 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
37359 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
37360 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
37361 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
37362 tst-audit3, tst-audit4 and tst-audit5.
37363 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
37364 tst-audit6 and tst-audit7.
37365 [$(subdir) = elf] (modules-names): Add audit modules for those
37366 tests.
37367 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
37368 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
37369 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
37370 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
37371 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
37372 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
37373 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
37374 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
37375 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
37376 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
37377 [$(subdir) = elf] (tst-audit3-ENV): New variable.
37378 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
37379 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
37380 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
37381 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
37382 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
37383 Likewise.
37384 [$(subdir) = elf && $(config-cflags-avx) = yes]
37385 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
37386 [$(subdir) = elf && $(config-cflags-avx) = yes]
37387 (CFLAGS-tst-auditmod4a.c): Likewise.
37388 [$(subdir) = elf && $(config-cflags-avx) = yes]
37389 (CFLAGS-tst-auditmod4b.c): Likewise.
37390 [$(subdir) = elf && $(config-cflags-avx) = yes]
37391 (CFLAGS-tst-auditmod6b.c): Likewise.
37392 [$(subdir) = elf && $(config-cflags-avx) = yes]
37393 (CFLAGS-tst-auditmod6c.c): Likewise.
37394 [$(subdir) = elf && $(config-cflags-avx) = yes]
37395 (CFLAGS-tst-auditmod7b.c): Likewise.
37396 * elf/tst-audit3.c: Move to ...
37397 * sysdeps/x86_64/tst-audit3.c: ... here.
37398 * elf/tst-audit4.c: Move to ...
37399 * sysdeps/x86_64/tst-audit4.c: ... here.
37400 * elf/tst-audit5.c: Move to ...
37401 * sysdeps/x86_64/tst-audit5.c: ... here.
37402 * elf/tst-audit6.c: Move to ...
37403 * sysdeps/x86_64/tst-audit6.c: ... here.
37404 * elf/tst-audit7.c: Move to ...
37405 * sysdeps/x86_64/tst-audit7.c: ... here.
37406 * elf/tst-auditmod3a.c: Move to ...
37407 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
37408 * elf/tst-auditmod3b.c: Move to ...
37409 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
37410 * elf/tst-auditmod4a.c: Move to ...
37411 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
37412 * elf/tst-auditmod4b.c: Move to ...
37413 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
37414 * elf/tst-auditmod5a.c: Move to ...
37415 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
37416 * elf/tst-auditmod5b.c: Move to ...
37417 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
37418 * elf/tst-auditmod6a.c: Move to ...
37419 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
37420 * elf/tst-auditmod6b.c: Move to ...
37421 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
37422 * elf/tst-auditmod6c.c: Move to ...
37423 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
37424 * elf/tst-auditmod7a.c: Move to ...
37425 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
37426 * elf/tst-auditmod7b.c: Move to ...
37427 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
37428
37429 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
37430
37431 [BZ #15366]
37432 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
37433 define unconditionally.
37434 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
37435 define unconditionally.
37436 (INT8_C, INT16_C, etc.): Likewise.
37437
37438 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
37439
37440 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
37441 __ehdr_start with hidden visibility.
37442
37443 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
37444
37445 2013-04-24 Carlos O'Donell <carlos@redhat.com>
37446
37447 * math/libm-test.inc (cos_test): Use accurate hex constants.
37448 (sincost_test): Likewise.
37449
37450 2013-04-24 Joseph Myers <joseph@codesourcery.com>
37451
37452 * math/libm-test.inc (catan_test): Add more tests.
37453 (catanh_test): Likewise.
37454
37455 * math/s_catanf.c (__catanf): Use suffixed floating-point
37456 constants.
37457 * math/s_catanhf.c (__catanhf): Likewise.
37458 * math/s_catanhl.c (__catanhl): Likewise.
37459 * math/s_catanl.c (__catanl): Likewise.
37460
37461 [BZ #15394]
37462 * math/s_catan.c (__catan): Calculate imaginary part of result
37463 with log1p not log unless computing log of number close to 0.
37464 * math/s_catanf.c (__catanf): Likewise.
37465 * math/s_catanl.c (__catanl): Likewise.
37466 * math/s_catanh.c (__catanh): Calculate real part of result with
37467 log1p not log unless computing log of number close to 0.
37468 * math/s_catanhf.c (__catanhf): Likewise.
37469 * math/s_catanhl.c (__catanhl): Likewise.
37470 * math/libm-test.inc (catan_test): Add more tests.
37471 (catanh_test): Likewise.
37472 * sysdeps/i386/fpu/libm-test-ulps: Update.
37473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37474
37475 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
37476
37477 * benchtests/Makefile: Mention files in which fast and slow
37478 paths of math functions are implemented.
37479
37480 2013-04-23 Roland McGrath <roland@hack.frob.com>
37481
37482 * sysdeps/posix/timespec_get.c: New file.
37483
37484 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37485
37486 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
37487 POWER.
37488 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
37489 for POWER.
37490 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
37491 powerpc/power5/fpu folders.
37492 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
37493 * benchtests/Makefile: Add modf testcase.
37494 * benchtests/bench-modf.c: New file: Benchmark test for mo
37495
37496 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
37497
37498 [BZ #14888]
37499 * time/Makefile (tests): Add tst-strptime-whitespace.
37500 * time/strptime_l.c (get_number): Use ISSPACE.
37501 (__strptime_internal): Likewise.
37502 * time/tst-strptime-whitespace.c: New test case.
37503
37504 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
37505
37506 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
37507 member.
37508 (_nss_files_init): Set it here.
37509
37510 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
37511
37512 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
37513 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
37514 unsigned.
37515
37516 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
37517
37518 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
37519
37520 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37521
37522 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
37523 size just once.
37524
37525 2013-04-21 David S. Miller <davem@davemloft.net>
37526
37527 * po/ru.po: Update Russion translation from translation project.
37528
37529 2013-04-17 Adam Conrad <adconrad@0c3.net>
37530
37531 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
37532 and setfsgid.
37533
37534 2013-04-17 Carlos O'Donell <carlos@redhat.com>
37535
37536 * configure.in: Remove i386 configure warning. Remove i386 case.
37537 * configure: Regenerate.
37538 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
37539 Add example to error message.
37540 * sysdeps/i386/configure: Regenerate.
37541
37542 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37543
37544 * benchtests/Makefile (bench): Add cos, tan, slowcos and
37545 slowtan.
37546 * benchtests/cos-inputs: New file.
37547 * benchtests/slowcos-inputs: New file.
37548 * benchtests/slowcos.c: New file.
37549 * benchtests/slowtan-inputs: New file.
37550 * benchtests/slowtan.c: New file.
37551 * benchtests/tan-inputs: New file.
37552
37553 2013-04-16 Roland McGrath <roland@hack.frob.com>
37554
37555 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
37556 considered kosher.
37557
37558 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37559
37560 * benchtests/Makefile: Include cppflags-iterator.mk to add
37561 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
37562
37563 * Makefile.in (bench-clean): New target.
37564 * benchtests/Makefile (bench-clean): Likewise.
37565
37566 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
37567
37568 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
37569
37570 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
37571
37572 * stdio-common/tstdiomisc.c: Fix coding-style violation.
37573
37574 2013-04-15 Andreas Schwab <schwab@suse.de>
37575
37576 * nscd/grpcache.c (cache_addgr): Properly check for short write.
37577 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37578 * nscd/pwdcache.c (cache_addpw): Likewise.
37579 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
37580 more than recsize.
37581
37582 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37583
37584 * benchtests/Makefile (bench): Write all output to
37585 bench-out.tmp together.
37586
37587 2013-04-15 Andreas Schwab <schwab@suse.de>
37588
37589 * nscd/nscd.c (main): Don't fork again after closing files.
37590
37591 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37592
37593 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
37594
37595 * benchtests/Rules (bench-deps): Collect dependencies into a
37596 single variable. Add Makefile to dependencies.
37597 ($(objpfx)bench-%.c): Depend on bench-deps.
37598
37599 2013-04-12 Roland McGrath <roland@hack.frob.com>
37600 Xavier Roche <roche+kml2@exalead.com>
37601
37602 [BZ #15361]
37603 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
37604 just that it's a file descriptor.
37605 * manual/llio.texi (Synchronizing AIO Operations): Update description
37606 for EBADF error from aio_fsync.
37607
37608 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
37609
37610 * Rules (bench): Move target definition...
37611 * benchtests/Makefile: ... here.
37612
37613 2013-04-11 Carlos O'Donell <carlos@redhat.com>
37614
37615 * math/libm-test.inc (cos_test): Fix PI/2 test.
37616 (sincos_test): Likewise.
37617 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37618 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
37619
37620 2013-04-11 Andreas Schwab <schwab@suse.de>
37621
37622 [BZ #13988]
37623 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
37624 accept exponent character only when digits were seen.
37625 * stdio-common/Makefile (tests): Add bug26.
37626 * stdio-common/bug26.c: New file.
37627
37628 [BZ #14293]
37629 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
37630 non-freeable.
37631
37632 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
37633
37634 * Makeconfig (rtld-prefix): Define built linker prefix.
37635 * Rules (run-bench): Use it.
37636 * math/Makefile (run-regen-ulps): Likewise.
37637
37638 * Rules (bench): Remove eval.
37639
37640 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37641 Roland McGrath <roland@hack.frob.com>
37642 Ondrej Bilka <neleai@seznam.cz>
37643
37644 [BZ #15346]
37645 * time/getdate.c: Include ctype.h and alloca.h.
37646 (__getdate_r): Trim leading and trailing spaces of input.
37647 * time/tst-getdate.c (tests): Add tests with leading and
37648 trailing spaces.
37649
37650 2013-04-08 Roland McGrath <roland@hack.frob.com>
37651
37652 [BZ #14280]
37653 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
37654 when computing value.
37655
37656 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37657
37658 * math/README.libm-test (How can I generate "libm-test-ulps"?):
37659 Use testrun.sh to run libm tests.
37660
37661 [BZ #15309]
37662 * elf/dl-open.c (dl_open_worker): memset all of seen array.
37663
37664 2013-04-06 Marko Myllynen <myllynen@redhat.com>
37665
37666 [BZ #15264]
37667 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
37668
37669 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37670
37671 * Makefile.in (regen-ulps): New target.
37672 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
37673 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
37674 [ifneq (no,$(PERL)] (regen-ulps): New target.
37675 [ifeq (no,$(PERL)] (regen-ulps): New target.
37676 * math/libm-test.inc (ulps_file_name): Define.
37677 (output_dir): New variable.
37678 (options): Add "output-dir" option.
37679 (parse_opt): Handle 'o' case.
37680 (main): If output_dir is non-NULL use it as a prefix
37681 otherwise use "".
37682 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
37683
37684 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37685
37686 [BZ #10060, #10062]
37687 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
37688 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
37689 fail configure if __sync_val_compare_and_swap is not inlined.
37690 * sysdeps/i386/configure: Regenerate.
37691 * configure.in: Build for i686 when configured for i386.
37692 * configure: Regenerate.
37693 * README: Remove i386 reference.
37694
37695 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37696
37697 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
37698 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37699
37700 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
37701
37702 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
37703 (lmsnanval): New variables.
37704 (F): Add conversion tests.
37705 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
37706 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
37707
37708 * stdio-common/tstdiomisc.c (F): Properly collect individual
37709 tests' results.
37710
37711 [BZ #14686, #15336]
37712 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
37713 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
37714 Instead, use input NaN values or generate a qNaN by arithmetic
37715 operation. Also fix bugs to comply with the standard.
37716 * math/libm-test.inc (remainder_test): Add more tests.
37717
37718 [BZ #15335, #15342]
37719 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
37720 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
37721 input NaN values or generate a qNaN by arithmetic operation.
37722
37723 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
37724 unreachable code.
37725
37726 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
37727 definitions.
37728
37729 2013-04-03 Joseph Myers <joseph@codesourcery.com>
37730
37731 [BZ #14478]
37732 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
37733 underflowed result.
37734 * math/s_cexpf.c (__cexpf): Likewise.
37735 * math/s_cexpl.c (__cexpl): Likewise.
37736 * math/libm-test.inc (cexp_test): Add more tests.
37737
37738 2013-04-03 Andreas Schwab <schwab@suse.de>
37739
37740 [BZ #15330]
37741 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
37742 order arrays from heap if bigger than alloca cutoff.
37743
37744 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
37745
37746 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
37747 (SNAN_TESTS_double): Refer to GCC PR56831.
37748 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
37749 GCC PR56828.
37750
37751 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
37752
37753 * Rules (bench): Move bench.out after the run is complete.
37754
37755 * Rules (bench): Echo currently running benchmark.
37756
37757 * benchtests/Makefile (bench): Add atan and slowatan.
37758 * benchtests/atan-inputs: New file.
37759 * benchtests/slowatan-inputs: New file.
37760 * benchtests/slowatan.c: New file.
37761
37762 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
37763 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
37764 its value.
37765
37766 [BZ #15305]
37767 * sysdeps/unix/sysv/linux/kernel-features.h
37768 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
37769 __ASSUME_XFS_RESTRICTED_CHOWN.
37770 * sysdeps/unix/sysv/linux/pathconf.c
37771 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
37772 Save and restore errno.
37773
37774 2013-04-02 Joseph Myers <joseph@codesourcery.com>
37775
37776 [BZ #15327]
37777 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
37778 arguments using __kernel_casinh.
37779 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
37780 arguments using __kernel_casinhf.
37781 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
37782 arguments using __kernel_casinhl.
37783 * math/libm-test.inc (cacosh_test): Add more tests.
37784 * sysdeps/i386/fpu/libm-test-ulps: Update.
37785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37786
37787 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37788
37789 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
37790 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
37791
37792 * bench/Makefile (bench): Add sin and slowsin.
37793 * benchtests/sin-inputs: New file.
37794 * benchtests/slowsin-inputs: New file.
37795 * benchtests/slowsin.c: New file.
37796
37797 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
37798 (bench): Add slowexp and slowpow.
37799 (exp-ITER): Increase iterations.
37800 (pow-ITER): Likewise.
37801 * benchtests/exp-inputs: Change input.
37802 * benchtests/pow-inputs: Likewise.
37803 * benchtests/slowexp-inputs: New file.
37804 * benchtests/slowexp.c: New file.
37805 * benchtests/slowpow-inputs: New file.
37806 * benchtests/slowpow.c: New file.
37807
37808 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37809
37810 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
37811 instructions.
37812 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37813 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
37814 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
37815 * benchtests/Makefile: Add rint benchtest.
37816 * benchtests/rint-inputs: Input for rint benchtest.
37817
37818 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
37819
37820 * Versions.def (libm): Add GLIBC_2.18.
37821 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
37822 hidden libm prototypes.
37823 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
37824 * math/Makefile (libm-calls): Add s_issignaling.
37825 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
37826 __issignalingf, __issignalingl. Adjust all libm.abilist files.
37827 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
37828 declaration.
37829 * math/math.h [__USE_GNU] (issignaling): New macro.
37830 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
37831 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
37832 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
37833 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
37834 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
37835 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
37836 * manual/arith.texi (issignaling): New section.
37837 * manual/libm-err-tab.pl (@all_functions): Update comment.
37838 * math/gen-libm-test.pl (parse_args): Apply special handling for
37839 issignaling.
37840 * math/libm-test.inc (print_float, issignaling_test): New
37841 functions.
37842 (check_float_internal): Add issignaling checks.
37843 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
37844 default definition.
37845 * sysdeps/powerpc/math-tests.h: New file.
37846 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
37847 tests.
37848 * math/test-snan.c (TEST_FUNC): Likewise.
37849
37850 2013-03-30 David S. Miller <davem@davemloft.net>
37851
37852 * po/de.po: Update from translation team.
37853
37854 2013-03-30 Joseph Myers <joseph@codesourcery.com>
37855
37856 [BZ #10357]
37857 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37858 imaginary part less than 1.0 and real part less than 0.5
37859 specially.
37860 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37861 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37862 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
37863 (cacos_test): Add more tests.
37864 (casin_test): Likewise.
37865 (casinh_test): Likewise.
37866 * sysdeps/i386/fpu/libm-test-ulps: Update.
37867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37868
37869 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37870
37871 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
37872 ONE with its value.
37873
37874 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
37875 (__pow_mp): Replace ONE and MONE with their values.
37876 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37877 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
37878 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37879 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
37880 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37881 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37882
37883 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
37884
37885 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
37886 (__pow_mp): Replace ZERO and MZERO with their values.
37887 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37888 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37889 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37890 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37891 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37892 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
37893 (__sqr): Likewise.
37894
37895 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
37896
37897 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
37898
37899 2013-03-28 Roland McGrath <roland@hack.frob.com>
37900
37901 * include/stdlib.h [!SHARED] (__call_tls_dtors):
37902 Declare with __attribute__ ((weak)).
37903 * stdlib/exit.c (__libc_atexit) [!SHARED]:
37904 Call __call_tls_dtors only if it's not NULL.
37905
37906 2013-03-28 Roland McGrath <roland@hack.frob.com>
37907
37908 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
37909 didn't do it already, then set _dl_phdr and _dl_phnum based on the
37910 magic __ehdr_start linker symbol if it's defined.
37911 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
37912 them up here if it was already done.
37913
37914 * elf/dl-support.c (_dl_phdr): Make pointer to const.
37915 (_dl_aux_init): Use const in cast when setting it.
37916 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
37917 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
37918 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
37919
37920 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
37921 Declare them here.
37922 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
37923 * csu/libc-tls.c: Nor here.
37924 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
37925
37926 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
37927 (__libc_message): Never call vsyslog.
37928
37929 2013-03-28 Alan Modra <amodra@gmail.com>
37930
37931 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
37932 Define as empty.
37933 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
37934 Likewise.
37935
37936 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37937
37938 [BZ #15214]
37939 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
37940 underflow.
37941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37942
37943 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37944
37945 [BZ #15304]
37946 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37947 Don't add gid passed as argument.
37948
37949 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
37950
37951 2013-03-27 Joseph Myers <joseph@codesourcery.com>
37952
37953 [BZ #15307]
37954 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37955 imaginary part between 1.0 and 1.5 and real part less than 0.5
37956 specially.
37957 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37958 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37959 * math/libm-test.inc (cacos_test): Add more tests.
37960 (casin_test): Likewise.
37961 (casinh_test): Likewise.
37962 * sysdeps/i386/fpu/libm-test-ulps: Update.
37963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37964
37965 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37966
37967 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
37968 constants.
37969 (norm): Likewise.
37970 (denorm): Likewise.
37971 (__dbl_mp): Likewise.
37972 (add_magnitudes): Likewise.
37973 (sub_magnitudes): Likewise.
37974 (__add): Likewise.
37975 (__sub): Likewise.
37976 (__mul): Likewise.
37977 (__sqr): Likewise.
37978 (__inv): Likewise.
37979 (__dvd): Likewise.
37980
37981 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
37982 commented code.
37983 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
37984 (__dubcos): Likewise.
37985 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
37986 (__ieee754_acos): Likewise.
37987 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37988 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
37989 (__exp1): Likewise.
37990 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37991 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37992 (log1): Likewise.
37993 (my_log2): Likewise.
37994 (checkint): Likewise.
37995 * sysdeps/ieee754/dbl-64/e_remainder.c
37996 (__ieee754_remainder): Likewise.
37997 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37998 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
37999 (bsloww): Likewise.
38000 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38001
38002 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38003 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
38004 MANTISSA_STORE_T to store computations on mantissa. Use
38005 macros for rounding and division.
38006 (denorm): Likewise.
38007 (__dbl_mp): Likewise.
38008 (add_magnitudes): Likewise.
38009 (sub_magnitudes): Likewise.
38010 (__mul): Likewise.
38011 (__sqr): Likewise.
38012 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38013 powers of two in terms of TWOPOW macro.
38014 (mp_no): Make type of mantissa as MANTISSA_T.
38015 [!RADIXI]: Define RADIXI.
38016 [!TWO52]: Define TWO52.
38017 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38018
38019 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38020
38021 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
38022 llroundl symbol when building for PPC32.
38023
38024 2013-03-24 Mark H Weaver <mhw@netris.org>
38025
38026 * manual/arith.texi (Normalization Functions): Fix prototypes for
38027 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
38028
38029 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38030
38031 [BZ #13889]
38032 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
38033 high value to check if expl overflow.
38034 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
38035 to check for underflow and overflow.
38036 * math/libm-test.inc: Add exp test.
38037
38038 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
38039
38040 [BZ #11120]
38041 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
38042 with NOT_IN_libc.
38043
38044 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38045
38046 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
38047 symbol.
38048
38049 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
38050
38051 * math/gen-libm-test.pl (parse_args, special_functions): Properly
38052 wrap blocks consisting of several statements.
38053
38054 * sysdeps/generic/math-tests.h: New file.
38055 * sysdeps/i386/fpu/math-tests.h: Likewise.
38056 * math/test-snan.c: Include it.
38057 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
38058
38059 2013-03-21 Joseph Myers <joseph@codesourcery.com>
38060
38061 [BZ #15285]
38062 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
38063 (__ieee754_j0l): Do not improve calculations using cos of twice
38064 input for inputs above LDBL_MAX / 2.0L.
38065 (__ieee754_y0l): Likewise.
38066 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
38067 (__ieee754_j1l): Do not improve calculations using cos of twice
38068 input for inputs above LDBL_MAX / 2.0L.
38069 (__ieee754_y1l): Likewise.
38070 * math/libm-test.inc (j0_test): Add another test.
38071 (j1_test): Likewise.
38072 (y0_test): Likewise.
38073 (y1_test): Likewise.
38074 * sysdeps/i386/fpu/libm-test-ulps: Update.
38075
38076 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38077
38078 * Rules ($(objpfx)bench-%.c): Include code from a C source
38079 file.
38080
38081 2013-03-21 Joseph Myers <joseph@codesourcery.com>
38082
38083 [BZ #15287]
38084 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38085 imaginary part 1.0 and real part less than 0.5 specially.
38086 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38087 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38088 * math/libm-test.inc (cacos_test): Add more tests.
38089 (casin_test): Likewise.
38090 (casinh_test): Likewise.
38091 * sysdeps/i386/fpu/libm-test-ulps: Update.
38092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38093
38094 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38095
38096 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
38097 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
38098
38099 2013-03-20 Joseph Myers <joseph@codesourcery.com>
38100
38101 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
38102 * config.make.in (config-cflags-sse4): Remove variable.
38103 (config-cflags-avx): Likewise.
38104 (config-cflags-sse2avx): Likewise.
38105 (config-cflags-novzeroupper): Likewise.
38106 (config-asflags-i686): Likewise.
38107 (have-mfma4): Likewise.
38108 (have-as-vis3): Likewise.
38109 (MIG): Likewise.
38110 * configure.in (MIG): Do not AC_SUBST.
38111 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
38112 (libc_cv_cc_sse4): Do not AC_SUBST.
38113 (libc_cv_cc_avx): Likewise.
38114 (libc_cv_cc_sse2avx): Likewise.
38115 (libc_cv_cc_novzeroupper): Likewise.
38116 (libc_cv_cc_fma4): Likewise.
38117 (libc_cv_as_i686): Likewise.
38118 (libc_cv_sparc_as_vis3): Likewise.
38119 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
38120 LIBC_CONFIG_VAR.
38121 (config-asflags-i686): Likewise.
38122 (config-cflags-avx): Likewise.
38123 (config-cflags-sse2avx): Likewise.
38124 (have-mfma4): Likewise.
38125 (config-cflags-novzeroupper): Likewise.
38126 * sysdeps/mach/configure.in (MIG): Likewise.
38127 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
38128 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
38129 LIBC_CONFIG_VAR.
38130 (config-cflags-avx): Likewise.
38131 (config-cflags-sse2avx): Likewise.
38132 (have-mfma4): Likewise.
38133 (config-cflags-novzeroupper): Likewise.
38134 * configure: Regenerated.
38135 * sysdeps/i386/configure: Likewise.
38136 * sysdeps/mach/configure: Likewise.
38137 * sysdeps/sparc/configure: Likewise.
38138 * sysdeps/x86_64/configure: Likewise.
38139
38140 2013-03-20 Roland McGrath <roland@hack.frob.com>
38141
38142 [BZ #14812]
38143 * locale/programs/localedef.c (options): Put N_ translation marker
38144 on argument names, not just descriptions.
38145
38146 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38147
38148 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
38149
38150 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
38151
38152 [BZ #14176]
38153 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
38154
38155 2013-03-19 Roland McGrath <roland@hack.frob.com>
38156
38157 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
38158 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
38159 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
38160 [!BEFORE_ABORT] (before_abort): New function.
38161 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
38162 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
38163 (writev_for_fatal): New function.
38164 (WRITEV_FOR_FATAL): New macro; call that.
38165 (backtrace_and_maps): New function.
38166 (BEFORE_ABORT): New macro; call that.
38167 (struct str_list): Type removed.
38168 (__libc_message, __libc_fatal): Functions removed.
38169 Include <sysdeps/posix/libc_fatal.c> instead.
38170
38171 2013-03-19 Joseph Myers <joseph@codesourcery.com>
38172
38173 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
38174 constants.
38175 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
38176 double constants.
38177
38178 2013-03-19 Andreas Schwab <schwab@suse.de>
38179
38180 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
38181 * sysdeps/gnu/configure: Regenerate.
38182
38183 * configure.in: Substitute libc_cv_rtlddir.
38184 * configure: Regenerate.
38185 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
38186 * Makeconfig (rtlddir, inst_rtlddir): New variables.
38187 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
38188 * elf/Makefile (install-others, CFLAGS-interp.c)
38189 (ldso_install, common-ldd-rewrite): Likewise.
38190 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
38191 $(inst_slibdir)/$(rtld-installed-name).
38192 * scripts/rellns-sh: Add -p option.
38193 * Makerules (make-shlib-link): Use rellns-sh to get relative name
38194 for source.
38195
38196 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38197
38198 * manual/nptl.texi: Renamed to ...
38199 * manual/threads.texi: ... this.
38200 * manual/Makefile (chapters): Update.
38201
38202 2013-03-18 Roland McGrath <roland@hack.frob.com>
38203
38204 [BZ #14812]
38205 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
38206 on argument names, not just descriptions.
38207 * malloc/memusagestat.c (options): Likewise.
38208 * nss/getent.c (options): Likewise.
38209
38210 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
38211
38212 [BZ #14812]
38213 * iconv/iconv_prog.c (options): Put N_ translation marker
38214 on argument names, not just descriptions.
38215 * iconv/iconvconfig.c (options): Likewise.
38216
38217 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
38218
38219 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
38220 implementation which is faster on all x86_64 architectures.
38221 Tested on AMD, Intel Nehalem, SNB, IVB.
38222 * sysdeps/x86_64/strnlen.S: Likewise.
38223
38224 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38225 Remove all multiarch strlen and strnlen versions.
38226 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38227 Remove strlen and strnlen related parts.
38228
38229 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
38230 Inline strlen part.
38231 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
38232
38233 * sysdeps/x86_64/multiarch/strlen.S: Remove.
38234 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
38235 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
38236 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
38237 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38238 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
38239
38240 2013-03-17 Carlos O'Donell <carlos@redhat.com>
38241
38242 * manual/memory.texi (Malloc Tunable Parameters):
38243 Sort parameters alphabetically. Add comments for missing entries.
38244
38245 2013-03-17 David S. Miller <davem@davemloft.net>
38246
38247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38248
38249 2013-03-16 Joseph Myers <joseph@codesourcery.com>
38250
38251 [BZ #15283]
38252 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
38253 for arguments at most half maximum finite value.
38254 * math/libm-test.inc (j0_test): Add more tests.
38255 (j1_test): Likewise.
38256 (y0_test): Likewise.
38257 (y1_test): Likewise.
38258 * sysdeps/i386/fpu/libm-test-ulps: Update.
38259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38260
38261 [BZ #14155]
38262 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
38263 1 / x and functions P and Q for arguments above 0x1p256L.
38264 (__ieee754_y0l): Likewise.
38265 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
38266 (__ieee754_y1l): Likewise.
38267 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
38268 (j1_test): Likewise.
38269 (y0_test): Likewise.
38270 (y1_test): Likewise.
38271
38272 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
38273
38274 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
38275 variable.
38276
38277 2013-03-15 Roland McGrath <roland@hack.frob.com>
38278
38279 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
38280 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
38281 zero since it's initialized to EXEC_PAGESIZE.
38282
38283 * sysdeps/unix/sysv/linux/ldsodefs.h
38284 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
38285 * sysdeps/generic/ldsodefs.h: ... here.
38286
38287 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
38288
38289 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
38290
38291 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
38292 math/test-snan.c.
38293 * math/test-snan.c: Renamed from
38294 sysdeps/powerpc/fpu/test-powerpc-snan.c.
38295 * math/Makefile (tests): Add test-snan.
38296 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
38297 test-powerpc-snan.
38298
38299 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
38300 SUFFIX. Initialize qNaN_var with __builtin_nan family of
38301 functions.
38302 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
38303 __builtin_nan family of functions.
38304 * math/libm-test.inc (initialize): Initialize qnan_value with
38305 __builtin_nan family of functions.
38306 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
38307 Remove variables.
38308 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
38309 Remove functions.
38310 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
38311 storage class. Initialize qNaN_var and sNaN_var with
38312 __builtin_nan and __builtin_nans families of functions,
38313 respectively.
38314
38315 * math/libm-test.inc (acosh_test): Also test with qNaN input.
38316 (sqrt_test): Remove duplicate test with qNaN input.
38317 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
38318 (round_test, signbit_test, significand_test): Note missing +/-Inf
38319 as well as qNaN tests.
38320
38321 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
38322 qNaN_var. Fix a few strings, too.
38323 * math/libm-test.inc (nan_value): Rename to qnan_value.
38324 * math/gen-libm-test.pl (%beautify): Adjust to that.
38325 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
38326 * math/test-misc.c (main): Likewise.
38327 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
38328 to __qnan_bytes, and __qnan_union, respectively.
38329 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
38330 Likewise.
38331 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
38332 and lqnanval, respectively.
38333 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
38334 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
38335 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
38336 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
38337
38338 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
38339 * math/test-misc.c (main) [__x86_64__]: Enable test for long
38340 doubles.
38341
38342 * math/test-misc.c (main): Fix copy'n'pastos.
38343 * misc/tst-efgcvt.c (special): Likewise.
38344
38345 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
38346 Remove declarations.
38347
38348 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38349
38350 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
38351 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
38352 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
38353 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
38354
38355 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38356
38357 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
38358 macro to return vdso values correctly in IFUNC implementations.
38359 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38360 Optimization by using IFUNC.
38361
38362 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38363 Richard Henderson <rth@redhat.com>
38364 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38365
38366 * Makefile.in (bench): New target.
38367 * NEWS: Mention the benchmark framework.
38368 * Rules (bench): Likewise.
38369 (binaries-bench): Generate binaries for functions to
38370 benchmark.
38371 * benchtests/Makefile: New makefile for benchmark tests.
38372 * benchtests/bench-skeleton.c: New skeleton file for benchmark
38373 programs.
38374 * benchtests/exp-inputs: New input file for EXP function.
38375 * benchtests/pow-inputs: New input file for POW function.
38376 * scripts/bench.pl: New script to generate source files for
38377 benchmark programs.
38378
38379 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38380
38381 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38382 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
38383 computations on mantissa. Use macros for rounding and
38384 division.
38385 (denorm): Likewise.
38386 (__dbl_mp): Likewise.
38387 (add_magnitudes): Likewise.
38388 (sub_magnitudes): Likewise.
38389 (__mul): Likewise.
38390 (__sqr): Likewise.
38391 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38392 powers of two in terms of TWOPOW macro.
38393 (mp_no): Make type of mantissa as MANTISSA_T.
38394 [!RADIXI]: Define RADIXI.
38395 [!TWO52]: Define TWO52.
38396 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38397
38398 * manual/nptl.texi (cindex): Modify threads to pthreads.
38399
38400 2013-03-15 Joseph Myers <joseph@codesourcery.com>
38401
38402 * sysdeps/x86_64/preconfigure: Regenerated.
38403
38404 2013-03-14 Joseph Myers <joseph@codesourcery.com>
38405
38406 [BZ #14155]
38407 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
38408 0x1p28 and above.
38409 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
38410 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
38411 0x1p28 and above.
38412 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
38413 * math/libm-test.inc (j0_test): Do not allow one spurious
38414 underflow exception.
38415 (y1_test): Likewise.
38416
38417 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38418
38419 * manual/Makefile (chapters): Add nptl.
38420 * manual/debug.texi (Debugging Support): Add link to Threads
38421 chapter.
38422 * manual/nptl.texi: New file.
38423
38424 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
38425
38426 2013-03-14 Petr Baudis <pasky@ucw.cz>
38427
38428 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
38429 for non-NULL pointer before the memory validity test. Pointed
38430 out by Holger Brunck <holger.brunck@keymile.com>.
38431
38432 2013-03-13 Andreas Schwab <schwab@suse.de>
38433
38434 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
38435 instead of .os.
38436
38437 2013-03-13 Joseph Myers <joseph@codesourcery.com>
38438
38439 * timezone/zic.c: Update from tzcode 2013b.
38440
38441 2013-03-12 Carlos O'Donell <carlos@redhat.com>
38442
38443 * manual/install.texi (Configuring and compiling):
38444 Mention i686 and i586.
38445 * INSTALL: Regenerate.
38446
38447 2013-03-12 Roland McGrath <roland@hack.frob.com>
38448
38449 * sysdeps/init_array/elf-init.c: New file.
38450 * csu/elf-init.c
38451 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
38452 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
38453
38454 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
38455 __gmon_start__ as global, but as static with a .preinit_array pointer.
38456 * sysdeps/init_array/gmon-start.c: New file. Use that.
38457 * sysdeps/init_array/crti.S: New file, empty except for comments.
38458 * sysdeps/init_array/crtn.S: Likewise.
38459
38460 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
38461
38462 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
38463 definining bcopy.
38464 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38465 Remove Prefer_SSE_for_memop.
38466 * sysdeps/x86_64/multiarch/init-arch.h: Remove
38467 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
38468 HAS_PREFER_SSE_FOR_MEMOP.
38469 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
38470 memset-x86-64.
38471 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38472 Remove bzero, memset ifunc support.
38473 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
38474 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
38475 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38476 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38477
38478 2013-03-11 Andreas Schwab <schwab@suse.de>
38479
38480 [BZ #15234]
38481 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
38482 by SHLIB_COMPAT.
38483 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
38484 (GLIBC_2.16): Remove pthread_atfork.
38485
38486 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
38487
38488 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
38489 (ptestcases.h): Likewise.
38490
38491 2013-03-08 Roland McGrath <roland@hack.frob.com>
38492
38493 * Makeconfig ($(common-objpfx)config.status): Depend on
38494 sysdeps/*/preconfigure{,.in} too.
38495
38496 2013-03-08 Joseph Myers <joseph@codesourcery.com>
38497
38498 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
38499 (__free_hook): Use void * instead of __malloc_ptr_t.
38500 (__malloc_hook): Likewise.
38501 (__realloc_hook): Likewise.
38502 (__memalign_hook): Likewise.
38503 (__after_morecore_hook): Likewise.
38504 * malloc/arena.c (save_malloc_hook): Likewise.
38505 (save_free_hook): Likewise.
38506 * malloc/hooks.c (malloc_hook_ini): Likewise.
38507 (realloc_hook_ini): Likewise.
38508 (memalign_hook_ini): Likewise.
38509 * malloc/malloc.c (malloc_hook_ini): Likewise.
38510 (realloc_hook_ini): Likewise.
38511 (memalign_hook_ini): Likewise.
38512 (__free_hook): Likewise.
38513 (__malloc_hook): Likewise.
38514 (__realloc_hook): Likewise.
38515 (__memalign_hook): Likewise.
38516 (__libc_malloc): Likewise.
38517 (__libc_free): Likewise.
38518 (__libc_realloc): Likewise.
38519 (__libc_memalign): Likewise.
38520 (__libc_valloc): Likewise.
38521 (__libc_pvalloc): Likewise.
38522 (__libc_calloc): Likewise.
38523 (__posix_memalign): Likewise.
38524 * malloc/morecore.c (__sbrk): Likewise.
38525 (__default_morecore): Likewise.
38526
38527 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
38528
38529 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
38530 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
38531 __malloc_ptrdiff_t.
38532
38533 * malloc/malloc.h (__malloc_size_t): Remove macro.
38534 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
38535 __malloc_size_t.
38536 (old_memalign_hook): Likewise.
38537 (old_realloc_hook): Likewise.
38538 (struct hdr): Likewise.
38539 (flood): Likewise.
38540 (mallochook): Likewise.
38541 (memalignhook): Likewise.
38542 (reallochook): Likewise.
38543 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
38544 (tr_old_realloc_hook): Likewise.
38545 (tr_old_memalign_hook): Likewise.
38546 (tr_mallochook): Likewise.
38547 (tr_reallochook): Likewise.
38548 (tr_memalignhook): Likewise.
38549
38550 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38551
38552 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
38553 default_ldbl_pack and using as default implementation.
38554 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
38555 implementation.
38556 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
38557 redundant definition.
38558 (ldbl_insert_mantissa): Likewise.
38559 (ldbl_canonicalize): Likewise.
38560 (ldbl_nearbyint): Likewise.
38561 (ldbl_pack): Rename to ldbl_pack_ppc.
38562 (ldbl_unpack): Rename to ldbl_unpack_ppc.
38563 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
38564 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
38565
38566 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38567
38568 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
38569 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
38570 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
38571 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
38572 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
38573 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
38574 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
38575 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
38576
38577 2013-03-07 Andreas Jaeger <aj@suse.de>
38578
38579 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38580 bits/mman-linux.h.
38581
38582 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38583
38584 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
38585 Include mpa.h and declare __MPEXP.
38586 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
38587 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38588 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38589 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
38590 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38591 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38592 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
38593
38594 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
38595 (__slowpow): Use long double EXPL and LOGL functions to
38596 compute POW.
38597 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38598 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38599 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
38600 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38601 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38602 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
38603
38604 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
38605 intermediate variable to calculate exponent.
38606 (__sqr): Likewise.
38607 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38608 Likewise.
38609 (__sqr): Likewise.
38610
38611 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
38612 [!NO__SQR]: Define __sqr.
38613 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
38614 and NO__SQR. Remove all code except __mul and __sqr. Include
38615 sysdeps/ieee754/dbl-64/mpa.c.
38616 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38617
38618 [BZ #12723]
38619 * posix/Makefile (tests): Add tst-pathconf.
38620 * posix/tst-pathconf.c: New test case.
38621 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
38622 _PC_PIPE_BUF.
38623 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
38624
38625 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
38626
38627 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
38628
38629 2013-03-06 Andreas Jaeger <aj@suse.de>
38630
38631 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
38632 definition via __MAP_ANONYMOUS.
38633
38634 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
38635 it's not part of Linux headers.
38636
38637 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
38638 (MAP_HUGE_MASK): Define.
38639
38640 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38641 Define.
38642 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38643 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38644 Define.
38645 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38646 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38647 Define.
38648 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38649 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
38650 Define.
38651 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38652
38653 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
38654 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
38655 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
38656 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
38657 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
38658 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
38659
38660 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38661 Handle f2fs.
38662
38663 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38664 Handle f2fs and efivarfs.
38665
38666 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
38667 f2fs.
38668
38669 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
38670 (EFIVARFS_MAGIC): Add.
38671 (F2FS_LINK_MAX): Add.
38672
38673 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38674
38675 * stdio-common/vfprintf.c: Replace __builtin_expect with
38676 __glibc_unlikely.
38677
38678 2013-03-06 Joseph Myers <joseph@codesourcery.com>
38679
38680 [BZ #13550]
38681 * sysdeps/generic/bp-sym.h: Remove file.
38682 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
38683 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
38684 <bp-sym.h> and <bp-asm.h>.
38685 (__longjmp): Don't use BP_SYM.
38686 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
38687 and <bp-asm.h>.
38688 (memcpy): Don't use BP_SYM.
38689 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
38690 <bp-sym.h> and <bp-asm.h>.
38691 (memcpy): Don't use BP_SYM.
38692 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
38693 <bp-asm.h>.
38694 (memcpy): Don't use BP_SYM.
38695 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
38696 <bp-asm.h>.
38697 (memset): Don't use BP_SYM.
38698 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38699 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38700 (__bzero): Don't use BP_SYM.
38701 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38702 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38703 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
38704 <bp-sym.h> and <bp-asm.h>.
38705 (memcmp): Don't use BP_SYM. Remove comment about bounded
38706 pointers.
38707 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
38708 <bp-sym.h> and <bp-asm.h>.
38709 (memcpy): Don't use BP_SYM.
38710 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
38711 <bp-sym.h> and <bp-asm.h>.
38712 (memset): Don't use BP_SYM.
38713 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38714 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38715 (__bzero): Don't use BP_SYM.
38716 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38717 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38718 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
38719 <bp-sym.h> and <bp-asm.h>.
38720 (strncmp): Don't use BP_SYM. Remove comment about bounded
38721 pointers.
38722 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
38723 <bp-sym.h> and <bp-asm.h>.
38724 (memcpy): Don't use BP_SYM.
38725 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
38726 <bp-sym.h> and <bp-asm.h>.
38727 (memset): Don't use BP_SYM.
38728 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38729 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38730 (__bzero): Don't use BP_SYM.
38731 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38732 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38733 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
38734 <bp-sym.h> and <bp-asm.h>.
38735 (__memchr): Don't use BP_SYM.
38736 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
38737 <bp-sym.h> and <bp-asm.h>.
38738 (memcmp): Don't use BP_SYM. Remove comment about bounded
38739 pointers.
38740 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
38741 <bp-sym.h> and <bp-asm.h>.
38742 (memcpy): Don't use BP_SYM.
38743 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
38744 <bp-sym.h> and <bp-asm.h>.
38745 (__mempcpy): Don't use BP_SYM.
38746 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
38747 <bp-sym.h> and <bp-asm.h>.
38748 (__memrchr): Don't use BP_SYM.
38749 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
38750 <bp-sym.h> and <bp-asm.h>.
38751 (memset): Don't use BP_SYM.
38752 (__bzero): Likewise.
38753 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
38754 <bp-sym.h> and <bp-asm.h>.
38755 (__rawmemchr): Don't use BP_SYM.
38756 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
38757 <bp-sym.h> and <bp-asm.h>.
38758 (__STRCMP): Don't use BP_SYM.
38759 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
38760 <bp-sym.h> and <bp-asm.h>.
38761 (strchr): Don't use BP_SYM.
38762 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
38763 <bp-sym.h> and <bp-asm.h>.
38764 (__strchrnul): Don't use BP_SYM.
38765 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
38766 <bp-sym.h> and <bp-asm.h>.
38767 (strlen): Don't use BP_SYM.
38768 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
38769 <bp-sym.h> and <bp-asm.h>.
38770 (strncmp): Don't use BP_SYM. Remove comment about bounded
38771 pointers.
38772 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
38773 <bp-sym.h> and <bp-asm.h>.
38774 (__strnlen): Don't use BP_SYM.
38775 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
38776 <bp-sym.h> and <bp-asm.h>.
38777 (__GI__setjmp): Don't use BP_SYM.
38778 (_setjmp): Likewise.
38779 (__sigsetjmp): Likewise.
38780 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
38781 (L(start_addresses)): Don't use BP_SYM.
38782 (_start): Likewise.
38783 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
38784 <bp-asm.h>.
38785 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
38786 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
38787 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38788 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38789 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
38790 <bp-asm.h>.
38791 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
38792 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
38793 about bounded pointers.
38794 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38795 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38796 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
38797 <bp-asm.h>.
38798 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
38799 about bounded pointers. Remove GKM FIXME comments.
38800 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38801 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
38802 <bp-asm.h>.
38803 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
38804 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
38805 Remove GKM FIXME comments.
38806 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38807 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38808 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
38809 <bp-asm.h>.
38810 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
38811 about bounded pointers. Remove GKM FIXME comment.
38812 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
38813 and <bp-asm.h>.
38814 (strncmp): Don't use BP_SYM. Remove comment about bounded
38815 pointers.
38816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
38817 <bp-sym.h> and <bp-asm.h>.
38818 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
38820 <bp-sym.h> and <bp-asm.h>.
38821 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
38822 comment.
38823
38824 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38825
38826 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
38827 call free(NULL).
38828
38829 2013-03-05 David S. Miller <davem@davemloft.net>
38830
38831 * po/es.po: Update from translation team.
38832
38833 2013-03-05 Andreas Jaeger <aj@suse.de>
38834
38835 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
38836 <bits/mman-linux.h>.
38837 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38838 is fine.
38839 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
38840 <bits/mman-linux.h> to end of file.
38841 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38842 is fine.
38843 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
38844 <bits/mman-linux.h> to end of file.
38845 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38846 is fine.
38847 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
38848 <bits/mman-linux.h> to end of file.
38849
38850 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
38851 (MCL_CURRENT, MCL_FUTURE): Define here.
38852
38853 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38854
38855 [BZ #15232]
38856 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
38857 attribute_hidden.
38858 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38859
38860 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38861
38862 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
38863 fourth parameter needed for rt_sigprocmask syscall.
38864 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
38865 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
38866 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
38867 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
38868 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
38869 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
38870
38871 2013-03-04 Joseph Myers <joseph@codesourcery.com>
38872
38873 [BZ #13550]
38874 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
38875 comment about bounded pointers.
38876 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
38877 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
38878
38879 2013-03-04 Andreas Jaeger <aj@suse.de>
38880
38881 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
38882 common definitions.
38883
38884 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
38885 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
38886 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
38887 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38888 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38889 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38890
38891 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38892
38893 [BZ #15055]
38894 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
38895 __ieee754_sqrl instead of __sqrl.
38896
38897 2013-03-01 Joseph Myers <joseph@codesourcery.com>
38898
38899 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
38900 * sysdeps/powerpc/fpu_control.h: ... here.
38901 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
38902 * sysdeps/powerpc/bits/fenvinline.h: ... here.
38903 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
38904 * sysdeps/powerpc/bits/mathinline.h: ... here.
38905
38906 2013-03-01 Roland McGrath <roland@hack.frob.com>
38907
38908 * elf/dl-hwcaps.c (_dl_important_hwcaps):
38909 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
38910 to just [NEED_DL_SYSINFO_DSO].
38911 * elf/dl-support.c: Likewise.
38912 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
38913 * elf/rtld.c (dl_main): Likewise.
38914 * elf/setup-vdso.h (setup_vdso): Likewise.
38915 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
38916 * sysdeps/unix/sysv/linux/dl-sysdep.c
38917 (_dl_discover_osversion): Likewise.
38918
38919 2013-03-01 Carlos O'Donell <carlos@redhat.com>
38920
38921 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
38922 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38923
38924 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
38925
38926 * NEWS: Mention libm performance improvements and non-x86 PI
38927 futex support.
38928
38929 * csu/libc-start.c (__pthread_initialize_minimal): Change
38930 function arguments.
38931 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38932
38933 2013-02-28 Joseph Myers <joseph@codesourcery.com>
38934
38935 [BZ #13550]
38936 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
38937 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
38938 <bp-sym.h> and <bp-asm.h>.
38939 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38940 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
38941 and <bp-asm.h>.
38942 (memcpy): Don't use BP_SYM.
38943 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
38944 <bp-asm.h>.
38945 (__mpn_add_n): Don't use BP_SYM.
38946 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
38947 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
38948 and <bp-asm.h>.
38949 (__mpn_addmul_1): Don't use BP_SYM.
38950 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38951 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
38952 <bp-sym.h>.
38953 (_setjmp): Don't use BP_SYM.
38954 (__novmx_setjmp): Likewise.
38955 (__GI__setjmp): Likewise.
38956 (__vmx_setjmp): Likewise.
38957 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
38958 <bp-sym.h>.
38959 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
38960 (__bzero): Don't use BP_SYM.
38961 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38962 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38963 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
38964 <bp-sym.h> and <bp-asm.h>.
38965 (memcpy): Don't use BP_SYM.
38966 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
38967 <bp-sym.h> and <bp-asm.h>.
38968 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38969 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
38970 <bp-sym.h> and <bp-asm.h>.
38971 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38972 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
38973 <bp-asm.h>.
38974 (__mpn_lshift): Don't use BP_SYM.
38975 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38976 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
38977 <bp-asm.h>.
38978 (memset): Don't use BP_SYM.
38979 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38980 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38981 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
38982 <bp-asm.h>.
38983 (__mpn_mul_1): Don't use BP_SYM.
38984 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38985 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
38986 <bp-sym.h> and <bp-asm.h>.
38987 (memcmp): Don't use BP_SYM.
38988 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
38989 <bp-sym.h> and <bp-asm.h>.
38990 (memcpy): Don't use BP_SYM.
38991 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
38992 <bp-sym.h> and <bp-asm.h>.
38993 (memset): Don't use BP_SYM.
38994 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
38995 <bp-sym.h> and <bp-asm.h>.
38996 (strncmp): Don't use BP_SYM.
38997 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
38998 <bp-sym.h> and <bp-asm.h>.
38999 (memcpy): Don't use BP_SYM.
39000 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
39001 <bp-sym.h> and <bp-asm.h>.
39002 (memset): Don't use BP_SYM.
39003 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
39004 <bp-sym.h> and <bp-asm.h>.
39005 (__memchr): Don't use BP_SYM.
39006 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
39007 <bp-sym.h> and <bp-asm.h>.
39008 (memcmp): Don't use BP_SYM.
39009 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
39010 <bp-sym.h> and <bp-asm.h>.
39011 (memcpy): Don't use BP_SYM.
39012 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
39013 <bp-sym.h> and <bp-asm.h>.
39014 (__mempcpy): Don't use BP_SYM.
39015 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
39016 <bp-sym.h> and <bp-asm.h>.
39017 (__memrchr): Don't use BP_SYM.
39018 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
39019 <bp-sym.h> and <bp-asm.h>.
39020 (memset): Don't use BP_SYM.
39021 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
39022 <bp-sym.h> and <bp-asm.h>.
39023 (__rawmemchr): Don't use BP_SYM.
39024 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
39025 <bp-sym.h> and <bp-asm.h>.
39026 (__STRCMP): Don't use BP_SYM.
39027 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
39028 <bp-sym.h> and <bp-asm.h>.
39029 (strchr): Don't use BP_SYM.
39030 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
39031 <bp-sym.h> and <bp-asm.h>.
39032 (__strchrnul): Don't use BP_SYM.
39033 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
39034 <bp-sym.h> and <bp-asm.h>.
39035 (strlen): Don't use BP_SYM.
39036 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
39037 <bp-sym.h> and <bp-asm.h>.
39038 (strncmp): Don't use BP_SYM.
39039 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
39040 <bp-sym.h> and <bp-asm.h>.
39041 (__strnlen): Don't use BP_SYM.
39042 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
39043 <bp-asm.h>.
39044 (__mpn_rshift): Don't use BP_SYM.
39045 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39046 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
39047 <bp-sym.h> and <bp-asm.h>.
39048 (__sigsetjmp): Don't use BP_SYM.
39049 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
39050 (L(start_addresses)): Don't use BP_SYM.
39051 (_start): Likewise.
39052 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
39053 <bp-asm.h>.
39054 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
39055 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39056 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39057 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
39058 <bp-asm.h>.
39059 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
39060 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39061 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39062 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
39063 <bp-asm.h>.
39064 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
39065 comments.
39066 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39067 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
39068 <bp-asm.h>.
39069 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
39070 FIXME comments.
39071 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39072 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39073 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
39074 <bp-asm.h>.
39075 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
39076 comment.
39077 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
39078 and <bp-asm.h>.
39079 (strncmp): Don't use BP_SYM,
39080 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
39081 <bp-asm.h>.
39082 (__mpn_sub_n): Don't use BP_SYM.
39083 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39084 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
39085 and <bp-asm.h>.
39086 (__mpn_submul_1): Don't use BP_SYM.
39087 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
39089 <bp-sym.h> and <bp-asm.h>.
39090 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
39092 <bp-sym.h> and <bp-asm.h>.
39093 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
39094 comment.
39095
39096 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39097
39098 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
39099 Use ZK to minimize writes to Z.
39100 (sub_magnitudes): Simplify code a bit.
39101 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
39102 Use ZK to minimize writes to Z.
39103 (sub_magnitudes): Simplify code a bit.
39104
39105 2013-02-27 Roland McGrath <roland@hack.frob.com>
39106
39107 * csu/gmon-start.c: Add special exception to license text.
39108
39109 2013-02-27 Richard Henderson <rth@redhat.com>
39110
39111 * scripts/config.guess: Update from config.git.
39112 * scripts/config.sub: Likewise.
39113
39114 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39115
39116 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
39117
39118 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
39119
39120 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
39121
39122 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
39123
39124 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
39125
39126 2013-02-26 Roland McGrath <roland@hack.frob.com>
39127
39128 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
39129 [$(build-shared = yes].
39130
39131 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39132
39133 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
39134 (__mul): Reduce iterations for calculating mantissa.
39135
39136 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
39137 MPTWO.
39138 (__mpranred): Likewise.
39139
39140 [BZ #15160]
39141 * malloc/memusagestat.c (main): Draw graphs for heap and stack
39142 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
39143
39144 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
39145
39146 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
39147 Define __attribute__.
39148
39149 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39150
39151 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
39152 unused.
39153 * posix/regex_internal.h (__attribute): Remove.
39154 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
39155 (re_string_context_at): Likewise.
39156 (bitset_not): Use __attribute__ and mark function as possibly
39157 unused.
39158 (bitset_merge): Likewise.
39159 (bitset_mask): Likewise.
39160 (re_string_char_size_at): Likewise.
39161 (re_string_wchar_at): Likewise.
39162 (re_string_elem_size_at): Likewise.
39163
39164 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39165
39166 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
39167 code.
39168 (cc32): Likewise.
39169
39170 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
39171 (__acr): Likewise.
39172 (__cpy): Likewise.
39173 (norm): Likewise.
39174 (denorm): Likewise.
39175 (__dbl_mp): Likewise.
39176 (add_magnitudes): Likewise.
39177 (sub_magnitudes): Likewise.
39178 (__mul): Likewise.
39179 (__inv): Likewise.
39180
39181 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
39182 style.
39183
39184 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
39185 style.
39186
39187 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
39188 code.
39189
39190 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
39191 up changes with default code.
39192 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
39193 Likewise.
39194
39195 2013-02-24 Allan McRae <allan@archlinux.org>
39196
39197 * manual/socket.texi (The Internet Namespace): Order menu items
39198 to match that in the file.
39199
39200 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
39201 node listing of the info page menu.
39202
39203 2013-02-21 Joseph Myers <joseph@codesourcery.com>
39204
39205 [BZ #13550]
39206 * sysdeps/i386/bp-asm.h: Remove file.
39207 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39208 (PARMS): Do not use macros from bp-asm.h.
39209 (S1): Likewise.
39210 (S2): Likewise.
39211 (SIZE): Likewise.
39212 (__mpn_add_n): Do not use BP_SYM
39213 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
39214 "bp-asm.h".
39215 (PARMS): Do not use macros from bp-asm.h.
39216 (S1): Likewise.
39217 (SIZE): Likewise.
39218 (__mpn_addmul_1): Do not use BP_SYM
39219 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
39220 "bp-asm.h".
39221 (PARMS): Do not use macros from bp-asm.h.
39222 (SIGMSK): Likewise.
39223 (_setjmp): Likewise. Do not use BP_SYM.
39224 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
39225 "bp-asm.h".
39226 (PARMS): Do not use macros from bp-asm.h.
39227 (SIGMSK): Likewise.
39228 (setjmp): Likewise. Do not use BP_SYM.
39229 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
39230 "bp-asm.h".
39231 (PARMS): Do not use macros from bp-asm.h.
39232 (__frexp): Do not use BP_SYM.
39233 (frexp): Likewise.
39234 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
39235 "bp-asm.h".
39236 (PARMS): Do not use macros from bp-asm.h.
39237 (__frexpf): Do not use BP_SYM.
39238 (frexpf): Likewise.
39239 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
39240 "bp-asm.h".
39241 (PARMS): Do not use macros from bp-asm.h.
39242 (__frexpl): Do not use BP_SYM.
39243 (frexpl): Likewise.
39244 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
39245 "bp-asm.h".
39246 (PARMS): Do not use macros from bp-asm.h.
39247 (__remquo): Do not use BP_SYM.
39248 (remquo): Likewise.
39249 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
39250 "bp-asm.h".
39251 (PARMS): Do not use macros from bp-asm.h.
39252 (__remquof): Do not use BP_SYM.
39253 (remquof): Likewise.
39254 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
39255 "bp-asm.h".
39256 (PARMS): Do not use macros from bp-asm.h.
39257 (__remquol): Do not use BP_SYM.
39258 (remquol): Likewise.
39259 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
39260 "bp-asm.h".
39261 (PARMS): Do not use macros from bp-asm.h.
39262 (DEST): Likewise.
39263 (SRC): Likewise.
39264 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
39265 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
39266 "bp-asm.h".
39267 (PARMS): Do not use macros from bp-asm.h.
39268 (strlen): Do not use BP_SYM.
39269 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
39270 "bp-asm.h".
39271 (PARMS): Do not use macros from bp-asm.h.
39272 (S1): Likewise.
39273 (S2): Likewise.
39274 (SIZE): Likewise.
39275 (__mpn_add_n): Do not use BP_SYM.
39276 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
39277 "bp-asm.h".
39278 (PARMS): Do not use macros from bp-asm.h.
39279 (S1): Likewise.
39280 (SIZE): Likewise.
39281 (__mpn_addmul_1): Do not use BP_SYM.
39282 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
39283 weak_alias.
39284 (bzero): Likewise.
39285 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
39286 "bp-asm.h".
39287 (PARMS): Do not use macros from bp-asm.h.
39288 (S): Likewise.
39289 (SIZE): Likewise.
39290 (__mpn_lshift): Do not use BP_SYM.
39291 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
39292 "bp-asm.h".
39293 (PARMS): Do not use macros from bp-asm.h.
39294 (DEST): Likewise.
39295 (SRC): Likewise.
39296 (LEN): Likewise.
39297 (memcpy): Likewise. Do not use BP_SYM.
39298 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
39299 libc_hidden_def and weak_alias.
39300 (mempcpy): Do not use BP_SYM in weak_alias.
39301 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
39302 "bp-asm.h".
39303 (PARMS): Do not use macros from bp-asm.h.
39304 (DEST): Likewise.
39305 (LEN): Likewise.
39306 [!BZERO_P] (CHR): Likewise.
39307 (memset): Likewise. Do not use BP_SYM.
39308 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
39309 "bp-asm.h".
39310 (PARMS): Do not use macros from bp-asm.h.
39311 (S1): Likewise.
39312 (SIZE): Likewise.
39313 (__mpn_mul_1): Do not use BP_SYM.
39314 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
39315 "bp-asm.h".
39316 (PARMS): Do not use macros from bp-asm.h.
39317 (S): Likewise.
39318 (SIZE): Likewise.
39319 (__mpn_rshift): Do not use BP_SYM.
39320 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
39321 "bp-asm.h".
39322 (PARMS): Do not use macros from bp-asm.h.
39323 (STR): Likewise.
39324 (CHR): Likewise.
39325 (strchr): Likewise. Do not use BP_SYM.
39326 (index): Do not use BP_SYM in weak_alias.
39327 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
39328 "bp-asm.h".
39329 (PARMS): Do not use macros from bp-asm.h.
39330 (DEST): Likewise.
39331 (SRC): Likewise.
39332 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
39333 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
39334 "bp-asm.h".
39335 (PARMS): Do not use macros from bp-asm.h.
39336 (strlen): Do not use BP_SYM.
39337 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
39338 "bp-asm.h".
39339 (PARMS): Do not use macros from bp-asm.h.
39340 (S1): Likewise.
39341 (S2): Likewise.
39342 (SIZE): Likewise.
39343 (__mpn_sub_n): Do not use BP_SYM.
39344 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
39345 "bp-asm.h".
39346 (PARMS): Do not use macros from bp-asm.h.
39347 (S1): Likewise.
39348 (SIZE): Likewise.
39349 (__mpn_submul_1): Do not use BP_SYM.
39350 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
39351 "bp-asm.h".
39352 (PARMS): Do not use macros from bp-asm.h.
39353 (S1): Likewise.
39354 (S2): Likewise.
39355 (SIZE): Likewise.
39356 (__mpn_add_n): Do not use BP_SYM.
39357 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
39358 weak_alias.
39359 (bzero): Likewise.
39360 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
39361 "bp-asm.h".
39362 (PARMS): Do not use macros from bp-asm.h.
39363 (BLK2): Likewise.
39364 (LEN): Likewise.
39365 (memcmp): Do not use BP_SYM.
39366 (bcmp): Do not use BP_SYM in weak_alias.
39367 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
39368 "bp-asm.h".
39369 (PARMS): Do not use macros from bp-asm.h.
39370 (DEST): Likewise.
39371 (SRC): Likewise.
39372 (LEN): Likewise.
39373 (memcpy): Likewise. Do not use BP_SYM.
39374 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
39375 "bp-asm.h".
39376 (PARMS): Do not use macros from bp-asm.h.
39377 (DEST): Likewise.
39378 (SRC): Likewise.
39379 (LEN): Likewise.
39380 (memmove): Likewise. Do not use BP_SYM.
39381 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
39382 "bp-asm.h".
39383 (PARMS): Do not use macros from bp-asm.h.
39384 (DEST): Likewise.
39385 (SRC): Likewise.
39386 (LEN): Likewise.
39387 (__mempcpy): Likewise. Do not use BP_SYM.
39388 (mempcpy): Do not use BP_SYM in weak_alias.
39389 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
39390 "bp-asm.h".
39391 (PARMS): Do not use macros from bp-asm.h.
39392 (DEST): Likewise.
39393 (LEN): Likewise.
39394 [!BZERO_P] (CHR): Likewise.
39395 (memset): Likewise. Do not use BP_SYM.
39396 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
39397 "bp-asm.h".
39398 (PARMS): Do not use macros from bp-asm.h.
39399 (STR2): Likewise.
39400 (strcmp): Do not use BP_SYM.
39401 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
39402 "bp-asm.h".
39403 (PARMS): Do not use macros from bp-asm.h.
39404 (STR): Likewise.
39405 (DELIM): Likewise.
39406 [USE_AS_STRTOK_R] (SAVE): Likewise.
39407 (FUNCTION): Likewise. Do not use BP_SYM.
39408 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
39409 aliases.
39410 (strtok_r): Likewise.
39411 (__GI___strtok_r): Likewise.
39412 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39413 (PARMS): Do not use macros from bp-asm.h.
39414 (S): Likewise.
39415 (SIZE): Likewise.
39416 (__mpn_lshift): Do not use BP_SYM.
39417 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39418 (PARMS): Do not use macros from bp-asm.h.
39419 (STR): Likewise.
39420 (CHR): Likewise.
39421 (__memchr): Do not use BP_SYM.
39422 (memchr): Do not use BP_SYM in weak_alias.
39423 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39424 (PARMS): Do not use macros from bp-asm.h.
39425 (BLK2): Likewise.
39426 (LEN): Likewise.
39427 (memcmp): Do not use BP_SYM.
39428 (bcmp): Do not use BP_SYM in weak_alias.
39429 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
39430 (PARMS): Do not use macros from bp-asm.h.
39431 (S1): Likewise.
39432 (SIZE): Likewise.
39433 (__mpn_mul_1): Do not use BP_SYM.
39434 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
39435 "bp-asm.h".
39436 (PARMS): Do not use macros from bp-asm.h.
39437 (STR): Likewise.
39438 (CHR): Likewise.
39439 (__rawmemchr): Do not use BP_SYM.
39440 (rawmemchr): Do not use BP_SYM in weak_alias.
39441 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39442 (PARMS): Do not use macros from bp-asm.h.
39443 (S): Likewise.
39444 (SIZE): Likewise.
39445 (__mpn_rshift): Do not use BP_SYM.
39446 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39447 (PARMS): Do not use macros from bp-asm.h.
39448 (SIGMSK): Likewise.
39449 (__sigsetjmp): Likewise. Do not use BP_SYM.
39450 * sysdeps/i386/start.S: Do not include "bp-sym.h".
39451 (_start): Do not use BP_SYM.
39452 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
39453 (PARMS): Do not use macros from bp-asm.h.
39454 (DEST): Likewise.
39455 (SRC): Likewise.
39456 (__stpcpy): Likewise. Do not use BP_SYM.
39457 (stpcpy): Do not use BP_SYM in weak_alias.
39458 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
39459 "bp-asm.h".
39460 (PARMS): Do not use macros from bp-asm.h.
39461 (DEST): Likewise.
39462 (SRC): Likewise.
39463 (LEN): Likewise.
39464 (__stpncpy): Likewise. Do not use BP_SYM.
39465 (stpncpy): Do not use BP_SYM in weak_alias.
39466 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39467 (PARMS): Do not use macros from bp-asm.h.
39468 (STR): Likewise.
39469 (CHR): Likewise.
39470 (strchr): Likewise. Do not use BP_SYM.
39471 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
39472 "bp-asm.h".
39473 (PARMS): Do not use macros from bp-asm.h.
39474 (STR): Likewise.
39475 (CHR): Likewise.
39476 (__strchrnul): Likewise. Do not use BP_SYM.
39477 (strchrnul): Do not use BP_SYM in weak_alias.
39478 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
39479 "bp-asm.h".
39480 (PARMS): Do not use macros from bp-asm.h.
39481 (STOP): Likewise.
39482 (strcspn): Do not use BP_SYM.
39483 * sysdeps/i386/strpbrk.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 (STOP): Likewise.
39488 (strpbrk): Likewise. Do not use BP_SYM.
39489 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
39490 "bp-asm.h".
39491 (PARMS): Do not use macros from bp-asm.h.
39492 (STR): Likewise.
39493 (CHR): Likewise.
39494 (strrchr): Likewise. Do not use BP_SYM.
39495 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
39496 (PARMS): Do not use macros from bp-asm.h.
39497 (SKIP): Likewise.
39498 (strspn): Do not use BP_SYM.
39499 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
39500 (PARMS): Do not use macros from bp-asm.h.
39501 (STR): Likewise.
39502 (DELIM): Likewise.
39503 (SAVE): Likewise.
39504 (FUNCTION): Likewise. Do not use BP_SYM.
39505 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
39506 aliases.
39507 (strtok_r): Likewise.
39508 (__GI___strtok_r): Likewise.
39509 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39510 (PARMS): Do not use macros from bp-asm.h.
39511 (S1): Likewise.
39512 (S2): Likewise.
39513 (SIZE): Likewise.
39514 (__mpn_sub_n): Do not use BP_SYM.
39515 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
39516 "bp-asm.h".
39517 (PARMS): Do not use macros from bp-asm.h.
39518 (S1): Likewise.
39519 (SIZE): Likewise.
39520 (__mpn_submul_1): Do not use BP_SYM.
39521 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
39522 <bp-sym.h>.
39523 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
39524 and <bp-asm.h>.
39525 (PARMS): Do not use macros from bp-asm.h.
39526 (FLAGS): Likewise.
39527 (PTID): Likewise.
39528 (TLS): Likewise.
39529 (CTID): Likewise.
39530 (__clone): Do not use BP_SYM.
39531 (clone): Do not use BP_SYM in weak_alias.
39532 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
39533 and <bp-asm.h>.
39534 (PARMS): Do not use macros from bp-asm.h.
39535 (LEN): Likewise.
39536 (__mmap64): Do not use BP_SYM.
39537 (mmap64): Do not use BP_SYM in weak_alias.
39538 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39539 <bp-sym.h> and <bp-asm.h>.
39540 (PARMS): Do not use macros from bp-asm.h.
39541 (__posix_fadvise64_l64): Do not use BP_SYM.
39542 * sysdeps/unix/sysv/linux/i386/semtimedop.S
39543 (PARMS): Do not use macros from bp-asm.h.
39544 (NSOPS): Likewise.
39545 (semtimedop): Do not use BP_SYM.
39546 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
39547 and <bp-asm.h>.
39548
39549 2013-02-21 Allan McRae <allan@archlinux.org>
39550
39551 * manual/message.texi (Charset conversion in gettext):
39552 Move @end statement to beginning of line.
39553
39554 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39555
39556 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
39557 static.
39558 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39559 Likewise.
39560
39561 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
39562 (denorm): Likewise.
39563 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
39564 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
39565
39566 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39567
39568 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
39569 tail-call to the resolved function if pltexit isn't needed.
39570
39571 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39572
39573 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
39574 or Y being zero as being unlikely.
39575 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39576 Likewise.
39577
39578 2013-02-20 Carlos O'Donell <carlos@redhat.com>
39579
39580 * manual/nss.texi (System Databases and Name Service Switch):
39581 Remove frobnicate @pxref.
39582
39583 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39584
39585 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39586 __attribute__ ((unused)) to __attribute__ ((__unused__)).
39587
39588 2013-02-20 Petr Machata <pmachata@redhat.com>
39589
39590 * elf/elf.h (R_ARM_TARGET1): New macro.
39591 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
39592 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
39593 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
39594 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
39595 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
39596 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
39597 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
39598 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
39599 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
39600 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
39601 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
39602 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
39603 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
39604 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
39605 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
39606 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
39607 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
39608 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
39609 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
39610 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
39611 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
39612 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
39613 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
39614 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
39615 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
39616 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
39617 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
39618 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
39619 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
39620 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
39621 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
39622 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
39623 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
39624 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
39625 (R_ARM_THM_GOT_BREL12): Likewise.
39626 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
39627 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
39628 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
39629 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
39630 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
39631 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
39632 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
39633 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
39634 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
39635
39636 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39637
39638 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39639 __attribute_used__ to __attribute__ ((unused)).
39640
39641 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39642
39643 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
39644 powerpc mpa.c.
39645 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
39646 comment formatting.
39647 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
39648
39649 2013-02-19 Joseph Myers <joseph@codesourcery.com>
39650
39651 [BZ #13550]
39652 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
39653 Remove macro.
39654 (ENTER): Remove both macro definitions.
39655 (LEAVE): Likewise.
39656 (CHECK_BOUNDS_LOW): Likewise.
39657 (CHECK_BOUNDS_HIGH): Likewise.
39658 (CHECK_BOUNDS_BOTH): Likewise.
39659 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
39660 (RETURN_BOUNDED_POINTER): Likewise.
39661 (RETURN_NULL_BOUNDED_POINTER): Likewise.
39662 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
39663 (POP_ERRNO_LOCATION_RETURN): Likewise.
39664 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
39665 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39666 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
39667 macros.
39668 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39669 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
39670 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
39671 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
39672 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
39673 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
39674 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
39675 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
39676 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
39677 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
39678 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
39679 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
39680 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39681 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
39682 removed macros.
39683 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39684 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
39685 macros.
39686 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39687 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
39688 * sysdeps/i386/i586/memset.S (memset): Likewise.
39689 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
39690 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39691 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
39692 macros.
39693 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39694 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
39695 Change uses of L(2) to L(out).
39696 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
39697 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
39698 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
39699 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39700 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
39701 removed macros.
39702 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39703 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
39704 macros.
39705 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39706 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
39707 (RETURN): Do not use macro LEAVE.
39708 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
39709 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
39710 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
39711 * sysdeps/i386/i686/memset.S (memset): Likewise.
39712 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
39713 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
39714 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39715 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
39716 Likewise.
39717 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39718 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
39719 L(1_2) and L(1_3) into L(1).
39720 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39721 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
39722 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39723 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
39724 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39725 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
39726 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
39727 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39728 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
39729 macros.
39730 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
39731 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39732 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
39733 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
39734 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
39735 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39736 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
39737 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
39738 * sysdeps/i386/strcspn.S (strcspn): Likewise.
39739 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
39740 * sysdeps/i386/strrchr.S (strrchr): Likewise.
39741 * sysdeps/i386/strspn.S (strspn): Likewise.
39742 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
39743 conditional code.
39744 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39745 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
39746 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39747 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
39748 L(1_3) into L(1_1).
39749 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
39750 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39751 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
39752 macros.
39753 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39754
39755 2013-02-19 Jakub Jelinek <jakub@redhat.com>
39756
39757 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
39758 macro.
39759
39760 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39761
39762 * math/atest-exp.c (exp_mpn): Remove ROUND.
39763 * math/atest-exp2.c (exp_mpn): Likewise.
39764 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
39765
39766 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
39767 * stdlib/tst-tls-atexit-lib.c: Likewise.
39768 * stdlib/tst-tls-atexit.c: Likewise.
39769
39770 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39771
39772 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
39773 and __attribute_alloc_size__.
39774
39775 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39776
39777 * include/programs/xmalloc.h: Change __attribute_alloc_size to
39778 __attribute_alloc_size__.
39779 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
39780 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
39781
39782 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39783
39784 * include/programs/xmalloc.h: New file.
39785 * catgets/gencat.c: Include it.
39786 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
39787 * elf/pldd.c: Likewise.
39788 * iconv/iconv_charmap.c: Likewise.
39789 * iconv/iconvconfig.c: Likewise.
39790 * iconv/strtab.c: Likewise.
39791 * locale/programs/locale.c: Likewise.
39792 * locale/programs/localedef.h: Likewise.
39793 * locale/programs/simple-hash.c: Likewise.
39794 * nscd/nscd.h: Likewise.
39795 * nss/makedb.c: Likewise.
39796 * sysdeps/generic/ldconfig.h: Likewise.
39797
39798 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39799
39800 * Versions.def: Add GLIBC_2.18.
39801 * include/link.h (struct link_map): New member l_tls_dtor_count.
39802 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
39803 (__call_tls_dtors): Likewise.
39804 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
39805 __cxa_thread_atexit_impl.
39806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39807 Likewise.
39808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39809 Likewise.
39810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39811 Likewise.
39812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39813 Likewise.
39814 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
39816 Likewise.
39817 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
39818 Likewise.
39819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39820 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39821 Likewise.
39822 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
39823 (tests): Add test case tst-tls-atexit.
39824 (modules-names): Add shared library for tst-tls-atexit.
39825 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
39826 (GLIBC_PRIVATE): Add __call_tls_dtors.
39827 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
39828 for libstdc++.
39829 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
39830 * stdlib/tst-tls-atexit.c: New test case.
39831 * stdlib/tst-tls-atexit-lib.c: New test case.
39832
39833 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
39834
39835 * elf/Versions (ld): Add _dl_find_dso_for_object.
39836 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
39837 * elf/dl-open.c (_dl_find_dso_for_object): New function.
39838 (dl_open_worker): Use _dl_find_dso_for_object.
39839 * elf/dl-sym.c (do_sym): Likewise.
39840 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
39841
39842 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39843
39844 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
39845 Syntactic changes only.
39846 (_dl_runtime_profile): Do a tail-call to the resolved function.
39847
39848 2013-02-17 Joseph Myers <joseph@codesourcery.com>
39849
39850 [BZ #13550]
39851 * sysdeps/x86_64/bp-asm.h: Remove file.
39852 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
39853 <bp-sym.h> and <bp-asm.h>.
39854 (__clone): Do not use BP_SYM.
39855 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
39856 <bp-sym.h> and <bp-asm.h>.
39857 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39858 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
39859 "bp-asm.h".
39860 (_setjmp): Do not use BP_SYM.
39861 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
39862 "bp-asm.h".
39863 (setjmp): Do not use BP_SYM.
39864 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
39865 libc_hidden_def.
39866 (mempcpy): Do not use BP_SYM in weak_alias.
39867 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
39868 "bp-asm.h".
39869 (strchr): Do not use BP_SYM.
39870 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
39871 "bp-asm.h".
39872 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
39873 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
39874 (_start): Do not use BP_SYM.
39875 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
39876 "bp-asm.h".
39877 (strcat): Do not use BP_SYM.
39878 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
39879 "bp-asm.h".
39880 (STRCMP): Do not use BP_SYM.
39881 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
39882 "bp-asm.h".
39883 (STRCPY): Do not use BP_SYM.
39884 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
39885 "bp-asm.h".
39886 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
39887 "bp-asm.h".
39888 (FUNCTION): Do not use BP_SYM.
39889 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
39890 weak_alias.
39891 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
39892
39893 2013-02-17 Andreas Jaeger <aj@suse.de>
39894
39895 * time/Versions: Sort entries.
39896 * string/Versions: Likewise.
39897 * resolv/Versions: Likewise.
39898 * posix/Versions: Likewise.
39899 * iconv/Versions: Likewise.
39900 * elf/Versions: Likewise.
39901 * wcsmbs/Versions: Likewise.
39902
39903 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39904
39905 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
39906 loop termination condition.
39907
39908 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
39909 variable to calculate EZ.
39910 (__sqr): Likewise.
39911
39912 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
39913 the lower precision input.
39914
39915 2013-02-15 Joseph Myers <joseph@codesourcery.com>
39916
39917 [BZ #13550]
39918 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
39919 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
39920 (run-via-rtld-prefix): Do not handle %-bp tests.
39921 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
39922 (all-object-suffixes): Remove .ob.
39923 (bppfx): Remove variable.
39924 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
39925 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
39926 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
39927 [$(build-bounded) = yes] (libtype.ob): Likewise.
39928 * Makerules (elide-routines.ob): Remove variable.
39929 (do-tests-clean): Do not handle *-bp.out.
39930 (common-mostlyclean): Do not handle *-bp and *-bp.out.
39931 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
39932 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
39933 (tests): Do not include $(tests-bp.out).
39934 (xtests): Do not include $(xtests-bp.out).
39935 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
39936 [$(build-bounded) = yes] ($(addprefix
39937 $(objpfx),$(binaries-bounded))): Remove rule.
39938 ($(objpfx)%-bp.out): Remove rule.
39939 * config.make.in (build-bounded): Remove variable.
39940 * crypt/Makefile [$(build-bounded) = yes]
39941 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
39942 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
39943 append to variable.
39944 [$(build-bounded) = yes] (install-lib): Likewise.
39945 [$(build-bounded) = yes] (generated): Likewise.
39946 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
39947 Remove rule.
39948 * intl/Makefile [$(build-bounded) = yes]
39949 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
39950 * math/Makefile [$(build-bounded) = yes]
39951 ($(tests:%=$(objpfx)%-bp): Likewise.
39952 * misc/Makefile [$(build-bounded) = yes]
39953 ($(objpfx)tst-tsearch-bp): Likewise.
39954 * nptl/Makeconfig (bounded-thread-library): Remove variable.
39955 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
39956 Remove dependency.
39957 * string/Makefile (o-objects.ob): Remove variable.
39958 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
39959 (CFLAGS-.ob): Remove variable.
39960 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
39961 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
39962 both definitions of variable.
39963 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
39964 (ASFLAGS-.ob): Remove variable.
39965
39966 2013-02-14 Joseph Myers <joseph@codesourcery.com>
39967
39968 [BZ #13550]
39969 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
39970 Remove __BOUNDED_POINTERS__ from condition.
39971 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
39972 * string/bits/string2.h [!__NO_STRING_INLINES &&
39973 !__BOUNDED_POINTERS__]: Likewise.
39974 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
39975 Likewise.
39976 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
39977 Remove conditional code.
39978 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
39979 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
39980 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
39981 condition.
39982
39983 [BZ #13550]
39984 * csu/libc-start.c: Do not include <bp-sym.h>.
39985 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
39986 * elf/dl-open.c: Do not include <bp-sym.h>.
39987 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
39988 * math/fegetenv.c: Do not include <bp-sym.h>.
39989 (fegetenv): Do not use BP_SYM in versioned symbols.
39990 * nptl/sysdeps/pthread/bits/libc-lockP.h
39991 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
39992 <bp-sym.h>.
39993 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39994 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
39995 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39996 (__pthread_mutex_destroy): Likewise.
39997 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39998 (__pthread_mutex_lock): Likewise.
39999 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40000 (__pthread_mutex_trylock): Likewise.
40001 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40002 (__pthread_mutex_unlock): Likewise.
40003 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40004 (__pthread_mutexattr_init): Likewise.
40005 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40006 (__pthread_mutexattr_destroy): Likewise.
40007 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40008 (__pthread_mutexattr_settype): Likewise.
40009 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40010 (__pthread_rwlock_init): Likewise.
40011 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40012 (__pthread_rwlock_destroy): Likewise.
40013 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40014 (__pthread_rwlock_rdlock): Likewise.
40015 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40016 (__pthread_rwlock_tryrdlock): Likewise.
40017 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40018 (__pthread_rwlock_wrlock): Likewise.
40019 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40020 (__pthread_rwlock_trywrlock): Likewise.
40021 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40022 (__pthread_rwlock_unlock): Likewise.
40023 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40024 (__pthread_key_create): Likewise.
40025 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40026 (__pthread_setspecific): Likewise.
40027 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40028 (__pthread_getspecific): Likewise.
40029 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
40030 Likewise.
40031 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40032 (_pthread_cleanup_push_defer): Likewise.
40033 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40034 (_pthread_cleanup_pop_restore): Likewise.
40035 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40036 (pthread_setcancelstate): Likewise.
40037 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
40038 <bp-sym.h>.
40039 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
40040 (memchr): Do not use BP_SYM in weak_alias.
40041 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
40042 (fegetenv): Do not use BP_SYM in versioned symbols.
40043 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
40044 (fesetenv): Do not use BP_SYM in versioned symbols.
40045 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40046 (feupdateenv): Do not use BP_SYM in versioned symbols.
40047 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40048 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40049 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
40050 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
40051 (open64): Do not use BP_SYM in weak_alias.
40052 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
40053 (fegetenv): Do not use BP_SYM in versioned symbols.
40054 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
40055 (fesetenv): Do not use BP_SYM in versioned symbols.
40056 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40057 (feupdateenv): Do not use BP_SYM in versioned symbols.
40058 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
40059 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
40060 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
40061 (feraiseexcept): Do not use BP_SYM in versioned symbols.
40062 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40063 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40064 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
40065 <bp-sym.h>.
40066 (__libc_start_main): Do not use BP_SYM.
40067
40068 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40069
40070 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
40071 redundant return line.
40072 (norm): Likewise.
40073 (denorm): Likewise.
40074 (dbl_mp): Likewise.
40075 (sub_magnitudes): Likewise.
40076 (__add): Likewise.
40077 (__sub): Likewise.
40078 (__mul): Likewise.
40079 (__inv): Likewise.
40080 (__dvd): Likewise.
40081 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
40082 (norm): Likewise.
40083 (denorm): Likewise.
40084 (dbl_mp): Likewise.
40085 (sub_magnitudes): Likewise.
40086 (__add): Likewise.
40087 (__sub): Likewise.
40088 (__mul): Likewise.
40089 (__inv): Likewise.
40090 (__dvd): Likewise.
40091
40092 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
40093 instead of __mul.
40094 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40095 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
40096 (cc32): Likewise.
40097
40098 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
40099 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
40100 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
40101 of __mul for squares.
40102 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
40103 function
40104 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
40105 Likewise.
40106 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
40107 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40108
40109 2013-02-13 Joseph Myers <joseph@codesourcery.com>
40110
40111 [BZ #13550]
40112 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
40113 code.
40114 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
40115 prototype or function definition. Rename ubp_* variables and
40116 parameters. Remove argv definitions conditional on
40117 [__BOUNDED_POINTERS__].
40118 * debug/backtrace.c (__backtrace): Do not use __unbounded.
40119 * elf/dl-runtime.c (_dl_fixup): Likewise.
40120 * include/set-hooks.h (RUN_HOOK): Likewise.
40121 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
40122 definition.
40123 * string/strcpy.c (strcpy): Do not use __unbounded.
40124 * sysdeps/generic/frame.h (struct layout): Likewise.
40125 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
40126 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
40127 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
40128 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
40129 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
40130 (__backtrace): Likewise.
40131 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
40132 use __ptrvalue.
40133 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
40134 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
40135 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
40136 Likewise.
40137 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
40138 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
40139 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
40140 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40141 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
40142 Do not use __unbounded.
40143 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
40144 Rename __unboundedrlimits parameter to rlimits in prototype.
40145 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
40146 Do not use __unbounded.
40147 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
40148 not use __ptrvalue.
40149 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40150 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
40151 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40152 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
40153 __ptrvalue or __unbounded.
40154 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
40155 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
40156 use __unbounded.
40157 (__new_msgctl): Do not use __ptrvalue.
40158 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
40159 __unbounded.
40160 (__libc_msgrcv): Do not use __ptrvalue.
40161 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
40162 startup_info): Do not use __unbounded.
40163 (__libc_start_main): Likewise. Rename ubp_* variables and
40164 parameters. Remove argv definitions conditional on
40165 [__BOUNDED_POINTERS__].
40166 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
40167 __ptrvalue.
40168 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
40169 use __unbounded.
40170 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
40171 or __ptrvalue.
40172 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
40173 use __unbounded.
40174 (__new_shmctl): Do not use __ptrvalue.
40175 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
40176 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
40177 Likewise.
40178 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
40179 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
40180 (__libc_sigaction): Likewise.
40181 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
40182 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
40183 Likewise.
40184 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40185
40186 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
40187
40188 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
40189
40190 * string/mempcpy.c: Implement by calling memcpy.
40191
40192 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
40193
40194 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
40195
40196 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
40197 evaluation.
40198
40199 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
40200 values in the mantissa.
40201
40202 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
40203 minimize writes to Z.
40204 (sub_magnitudes): Simplify code a bit.
40205
40206 2013-02-12 Roland McGrath <roland@hack.frob.com>
40207
40208 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
40209 from the message. The linker prefixes all warnings with that already.
40210
40211 2013-02-12 Andreas Schwab <schwab@suse.de>
40212
40213 [BZ #15078]
40214 * posix/regexec.c (extend_buffers): Add parameter min_len.
40215 (check_matching): Pass minimum needed length.
40216 (clean_state_log_if_needed): Likewise.
40217 (get_subexp): Likewise.
40218 * posix/Makefile (tests): Add bug-regex34.
40219 (bug-regex34-ENV): Define.
40220 * posix/bug-regex34.c: New file.
40221
40222 [BZ #11561]
40223 * posix/regcomp.c (parse_bracket_exp): When looking up collating
40224 elements compare against the byte sequence of it, not its name.
40225 * posix/Makefile (tests): Add bug-regex35.
40226 (bug-regex35-ENV): Define.
40227 * posix/bug-regex35.c: New file.
40228
40229 2013-02-11 Tom de Vries <tom@codesourcery.com>
40230
40231 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
40232 comment.
40233 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
40234 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
40235 (CHECK_EOL): Add undef.
40236
40237 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
40238
40239 * bits/stdlib-bsearch.h: New file.
40240 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
40241 * stdlib/stdlib.h: Likewise.
40242
40243 2013-02-11 Roland McGrath <roland@hack.frob.com>
40244
40245 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
40246 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
40247 declaration.
40248 * manual/search.texi (Array Search Function): Add missing const in
40249 lfind prototype.
40250 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
40251 declaration to use rlim_t.
40252 (Basic Scheduling Functions): Remove erroneous const from
40253 sched_getparam prototype. Remove erroneous * from
40254 sched_get_priority_max and sched_get_priority_min prototypes.
40255 (Resource Usage): Fix summary @comment on vtimes to refer to
40256 sys/vtimes.h rather than vtimes.h.
40257 Add missing *s in vtimes prototype.
40258 (Limits on Resources): Fix ulimit prototype to return long int.
40259 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
40260 prototypes to use long int rather than double.
40261 (BSD Random): Fix initstate and setstate to use char *, not void *.
40262 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
40263 prototype to make second argument 'struct aiocb64 *const[]'.
40264 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
40265 (Status of AIO Operations): Remove erroneous const in aio_return and
40266 aio_return64 prototypes.
40267 (Synchronizing I/O): Fix sync prototype to return void.
40268 * manual/startup.texi (Suboptions): Remove an erroneous const in
40269 getsubopt prototype.
40270 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
40271 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
40272 use size_t rather than int.
40273 (Scanning All Users): Likewise for getpwent_r.
40274 (Setting Groups): Add missing const to setgroups prototype.
40275 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
40276 * manual/socket.texi (Host Names): Fix gethostbyaddr and
40277 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
40278 'const void *' rather than 'const char *'.
40279 (Host Address Functions): Likewise for inet_ntop.
40280 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
40281 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
40282 ssize_t for return value.
40283 (Sending Data): Likewise for send, sendto, sendmsg.
40284 (Socket Option Functions): Add a missing const in setsockopt prototype.
40285 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
40286 use wchar_t for the argument.
40287 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
40288 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
40289 take no arguments.
40290 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
40291 double/float/long double for second argument.
40292 Fix return types of significand, significandf, significandl.
40293 * manual/filesys.texi (Setting Permissions): Use mode_t for second
40294 argument in fchmod prototype.
40295 (File Owner): Use uid_t and gid_t in fchown prototype.
40296 (File Times): Add const to utimes, futimes, and lutimes prototypes.
40297 (Making Special Files): Use mode_t and dev_t in mknod prototype.
40298 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
40299 use 'const struct dirent **' as argument types to CMP function pointer
40300 argument.
40301 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
40302 (File Times): Fix summary magic @comment for struct utimbuf and utime
40303 to refer to utime.h, not time.h.
40304 * manual/string.texi (Argz Functions): Add missing const in
40305 argz_extract and argz_next prototypes.
40306 (Finding Tokens in a String): Likewise for basename.
40307 (String/Array Comparison): Fix typo in wcscasecmp prototype.
40308 (Copying and Concatenation): Fix typo in wmemmove prototype.
40309 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
40310 (Signal Stack): Remove erroneous const in sigstack prototype.
40311 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
40312 prototype.
40313 (Simple Calendar Time): Likewise for stime.
40314 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
40315 prototype.
40316 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
40317 say sys/sysctl.h instead.
40318 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
40319 and vsyslog prototypes.
40320
40321 2013-02-11 Tom de Vries <tom@codesourcery.com>
40322
40323 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
40324 Remove.
40325
40326 2013-02-11 Roland McGrath <roland@hack.frob.com>
40327
40328 * misc/sys/mman.h: Fix typo in mremap comment.
40329
40330 2013-02-08 Roland McGrath <roland@hack.frob.com>
40331
40332 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
40333 the '\0' terminator.
40334
40335 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40336
40337 [BZ #13550]
40338 * debug/segfault.c: Don't include <bp-checks.h>.
40339 * sysdeps/generic/bp-checks.h: Remove file.
40340 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
40341 (__GETDENTS): Don't use CHECK_N.
40342 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
40343 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
40344 (__getgroups): Don't use CHECK_N.
40345 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
40346 (setgroups): Don't use CHECK_N.
40347 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
40348 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
40349 (__libc_msgrcv): Don't use CHECK_N.
40350 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
40351 (__libc_msgsnd): Don't use CHECK_N.
40352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
40353 <bp-checks.h>.
40354 (__libc_pread): Don't use CHECK_N.
40355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
40356 include <bp-checks.h>.
40357 (__libc_pread64): Don't use CHECK_N.
40358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
40359 include <bp-checks.h>.
40360 (__libc_pwrite): Don't use CHECK_N.
40361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
40362 include <bp-checks.h>.
40363 (__libc_pwrite64): Don't use CHECK_N.
40364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
40365 <bp-checks.h>.
40366 (__libc_pread): Don't use CHECK_N.
40367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
40368 include <bp-checks.h>.
40369 (__libc_pread64): Don't use CHECK_N.
40370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
40371 include <bp-checks.h>.
40372 (__libc_pwrite): Don't use CHECK_N.
40373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
40374 include <bp-checks.h>.
40375 (__libc_pwrite64): Don't use CHECK_N.
40376 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
40377 (do_pread): Don't use CHECK_N.
40378 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
40379 (do_pread64): Don't use CHECK_N.
40380 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
40381 (do_pwrite): Don't use CHECK_N.
40382 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
40383 (do_pwrite64): Don't use CHECK_N.
40384 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
40385 (__libc_readv): Don't use CHECK_N.
40386 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
40387 (semop): Don't use CHECK_N.
40388 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
40389 <bp-checks.h>.
40390 (semtimedop): Don't use CHECK_N.
40391 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
40392 (__libc_pread): Don't use CHECK_N.
40393 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
40394 <bp-checks.h>.
40395 (__libc_pread64): Don't use CHECK_N.
40396 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
40397 <bp-checks.h>.
40398 (__libc_pwrite): Don't use CHECK_N.
40399 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
40400 <bp-checks.h>.
40401 (__libc_pwrite64): Don't use CHECK_N.
40402 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
40403 <bp-checks.h>.
40404 (__libc_msgrcv): Don't use CHECK_N.
40405 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
40406 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
40407 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
40408 (__libc_writev): Don't use CHECK_N.
40409
40410 2013-02-08 Roland McGrath <roland@hack.frob.com>
40411
40412 * string/strcpy.c: Removed unused variable.
40413
40414 * Makeconfig (+sysdep-includes): Define with := rather than =.
40415 Use an existing include/ subdir of each sysdeps dir before it.
40416
40417 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40418
40419 * nscd/connection.c (register_traced_file): Comment function.
40420 [HAVE_INOTIFY] (union __inev): Define.
40421 [HAVE_INOTIFY] (inotify_check_files): New function.
40422 [HAVE_INOTIFY] (clear_db_cache): Likewise.
40423 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
40424 clear_db_cache.
40425 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
40426
40427 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40428
40429 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
40430 loaded if not already and that a failure is permanent.
40431
40432 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40433
40434 [BZ #15006]
40435 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
40436 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
40437
40438 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40439
40440 [BZ #13550]
40441 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
40442 (CHECK_1_NULL_OK): Likewise.
40443 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
40444 (__fxstat): Do not use CHECK_1.
40445 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
40446 <bp-checks.h>.
40447 (___fxstat64): Do not use CHECK_1.
40448 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
40449 <bp-checks.h>.
40450 (__fxstatat): Do not use CHECK_1.
40451 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
40452 <bp-checks.h>.
40453 (__fxstatat64): Do not use CHECK_1.
40454 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
40455 <bp-checks.h>.
40456 (__fxstat): Do not use CHECK_1.
40457 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
40458 <bp-checks.h>.
40459 (__fxstatat): Do not use CHECK_1.
40460 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40461 <bp-checks.h>.
40462 (__getresgid): Do not use CHECK_1.
40463 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40464 <bp-checks.h>.
40465 (__getresuid): Do not use CHECK_1.
40466 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
40467 <bp-checks.h>.
40468 (__lxstat): Do not use CHECK_1.
40469 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40470 <bp-checks.h>.
40471 (__old_msgctl): Do not use CHECK_1.
40472 (__new_msgctl): Likewise.
40473 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
40474 <bp-checks.h>.
40475 (__new_setrlimit): Do not use CHECK_1.
40476 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40477 <bp-checks.h>.
40478 (__old_shmctl): Do not use CHECK_1.
40479 (__new_shmctl): Likewise.
40480 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
40481 <bp-checks.h>.
40482 (__xstat): Do not use CHECK_1.
40483 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
40484 (__lxstat): Do not use CHECK_1.
40485 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
40486 <bp-checks.h>.
40487 (___lxstat64): Do not use CHECK_1.
40488 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
40489 (__old_msgctl): Do not use CHECK_1.
40490 (__new_msgctl): Likewise.
40491 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
40492 <bp-checks.h>.
40493 (__gettimeofday): Do not use CHECK_1.
40494 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
40495 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
40496 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
40497 <bp-checks.h>.
40498 (__gettimeofday): Do not use CHECK_1.
40499 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
40500 (__old_shmctl): Do not use CHECK_1_NULL_OK.
40501 (__new_shmctl): Do not use CHECK_1.
40502 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
40503 <bp-checks.h>.
40504 (do_sigtimedwait): Do not use CHECK_1.
40505 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
40506 <bp-checks.h>.
40507 (do_sigwaitinfo): Do not use CHECK_1.
40508 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
40509 <bp-checks.h>.
40510 (msgctl): Do not use CHECK_1.
40511 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
40512 <bp-checks.h>.
40513 (shmctl): Do not use CHECK_1.
40514 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
40515 (ustat): Do not use CHECK_1.
40516 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
40517 <bp-checks.h>.
40518 (__fxstat): Do not use CHECK_1.
40519 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
40520 <bp-checks.h>.
40521 (__fxstatat): Do not use CHECK_1.
40522 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
40523 <bp-checks.h>.
40524 (__lxstat): Do not use CHECK_1.
40525 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
40526 <bp-checks.h>.
40527 (__xstat): Do not use CHECK_1.
40528 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
40529 (__xstat): Do not use CHECK_1.
40530 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
40531 (___xstat64): Do not use CHECK_1.
40532
40533 [BZ #13550]
40534 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
40535 definitions.
40536 (CHECK_BOUNDS_HIGH): Likewise.
40537 * string/strcpy.c: Do not include <bp-checks.h>.
40538 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
40539
40540 2013-02-07 Roland McGrath <roland@hack.frob.com>
40541
40542 * nscd/nscd-client.h (__nscd_drop_map_ref):
40543 Add __attribute__ ((unused)).
40544 * nis/nss-nisplus.h (niserr2nss): Likewise.
40545
40546 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
40547 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
40548
40549 * csu/libc-tls.c (init_static_tls, init_slotinfo):
40550 Remove inline keyword.
40551 * include/rounding-mode.h (round_away): Likewise.
40552 * libio/wfileops.c (adjust_wide_data): Likewise.
40553 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
40554 (__m128i_strloadu_tolower): Likewise.
40555 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
40556 (__m128i_strloadu_tolower): Likewise.
40557 * time/mktime.c (ydhms_diff): Likewise.
40558 * locale/elem-hash.h (elem_hash): Likewise.
40559 * locale/setlocale.c (setdata): Likewise.
40560 * posix/regex_internal.h (re_string_char_size_at): Likewise.
40561 (re_string_wchar_at): Likewise.
40562 (bitset_not, bitset_merge, bitset_mask): Likewise.
40563 [!(__GNUC__ > 3)] (inline): Remove macro.
40564 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
40565 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
40566 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
40567 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
40568 * string/memcmp.c (memcmp_bytes): Likewise.
40569 * locale/programs/locarchive.c (compute_hashval): Likewise.
40570 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
40571 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
40572 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
40573 * nss/getent.c (print_rpc, print_protocols): Likewise.
40574 (print_passwd, print_group, print_aliases): Likewise.
40575 * nis/nss-nisplus.h (niserr2nss): Likewise.
40576 * nscd/connections.c (restart_p): Likewise.
40577 Change return type to bool.
40578
40579 2013-02-05 Roland McGrath <roland@hack.frob.com>
40580
40581 * Makeconfig (all-Depend-files): Add existing
40582 $(sorted-subdirs:=/Depend) files.
40583 (all-subdirs): Remove nss.
40584 * sysdeps/unix/inet/Subdirs: Add it here instead.
40585 * hesiod/Depend: New file.
40586
40587 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
40588 instead of calling alloca.
40589
40590 * io/lseek.c (__lseek): Rename to __libc_lseek.
40591 Define __lseek as an alias.
40592
40593 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
40594
40595 2013-02-04 Carlos O'Donell <carlos@redhat.com>
40596
40597 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
40598 else clause and remove check for non-standard endianness.
40599
40600 2013-02-04 David S. Miller <davem@davemloft.net>
40601
40602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40603
40604 2013-02-04 Joseph Myers <joseph@codesourcery.com>
40605
40606 [BZ #13550]
40607 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
40608 (__ubp_memchr): Remove prototype.
40609 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
40610 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40611 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
40612 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40613 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
40614 Remove alias.
40615 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
40616 (__ubp_memchr): Likewise.
40617 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
40618 (__ubp_memchr): Likewise.
40619 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
40620 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
40621 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
40622 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
40623 CHECK_STRING.
40624 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40625 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
40626 (__getcwd): Do not use CHECK_STRING.
40627 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40628 <bp-checks.h>.
40629 (__real_chown): Do not use CHECK_STRING.
40630 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
40631 <bp-checks.h>.
40632 (fchownat): Do not use CHECK_STRING.
40633 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
40634 CHECK_STRING.
40635 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40636 <bp-checks.h>.
40637 (__lchown): Do not use CHECK_STRING.
40638 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40639 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40640 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40641 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
40642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40643 include <bp-checks.h>.
40644 (truncate64): Do not use CHECK_STRING.
40645 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40646 <bp-checks.h>.
40647 (__real_chown): Do not use CHECK_STRING.
40648 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40649 <bp-checks.h>.
40650 (__lchown): Do not use CHECK_STRING.
40651 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40652 <bp-checks.h>.
40653 (__chown): Do not use CHECK_STRING.
40654 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
40655 <bp-checks.h>.
40656 (truncate64): Do not use CHECK_STRING.
40657 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
40658 Likewise.
40659 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
40660 (__xmknod): Do not use CHECK_STRING.
40661 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
40662 <bp-checks.h>.
40663 (__xmknodat): Do not use CHECK_STRING.
40664 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40665 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
40666
40667 2013-02-04 Andreas Schwab <schwab@suse.de>
40668
40669 [BZ #14142]
40670 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
40671 * include/netdb.h: Likewise for h_errno.
40672 * elf/tst-stackguard1.c: Include <tls.h>.
40673
40674 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
40675
40676 * elf/link.h (struct link_map): Extend the l_addr comment.
40677 * include/link.h (struct link_map): Likewise.
40678
40679 2013-02-01 Joseph Myers <joseph@codesourcery.com>
40680
40681 [BZ #13550]
40682 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
40683 (BOUNDED_1): Remove macro.
40684 * debug/backtrace.c: Don't include <bp-checks.h>.
40685 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
40686 (__backtrace): Likewise.
40687 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
40688 <bp-checks.h>.
40689 (__backtrace): Don't use BOUNDED_1.
40690 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
40691 <bp-checks.h>.
40692 (__backtrace): Don't use BOUNDED_1.
40693 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
40694 (__backtrace): Don't use BOUNDED_1.
40695 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
40696 (shmat): Don't use BOUNDED_N.
40697
40698 2013-01-31 Joseph Myers <joseph@codesourcery.com>
40699
40700 [BZ #13550]
40701 * sysdeps/generic/bp-start.h: Remove file.
40702 * csu/libc-start.c: Don't include <bp-start.h>.
40703 (LIBC_START_MAIN): Set up __environ directly instead of using
40704 INIT_ARGV_and_ENVIRON.
40705 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
40706 <bp-start.h>.
40707
40708 [BZ #13550]
40709 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
40710 definitions.
40711 (CHECK_FCNTL): Likewise.
40712 (CHECK_N_PAGES): Likewise.
40713
40714 [BZ #13550]
40715 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
40716 definitions.
40717 (CHECK_SIGSET_NULL_OK): Likewise.
40718 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
40719 <bp-checks.h>.
40720 (sigpending): Don't use CHECK_SIGSET.
40721 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
40722 <bp-checks.h>.
40723 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40724 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
40725 <bp-checks.h>.
40726 (do_sigsuspend): Don't use CHECK_SIGSET.
40727 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
40728 use CHECK_SIGSET.
40729 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
40730 (do_sigwait): Don't use CHECK_SIGSET.
40731 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
40732 use CHECK_SIGSET.
40733 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
40734 include <bp-checks.h>.
40735 (sigpending): Don't use CHECK_SIGSET.
40736 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
40737 include <bp-checks.h>.
40738 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40739 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
40740 <bp-checks.h>.
40741 (sigpending): Don't use CHECK_SIGSET.
40742 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
40743 <bp-checks.h>.
40744 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40745
40746 [BZ #13550]
40747 * sysdeps/generic/bp-semctl.h: Remove file.
40748 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
40749 <bp-checks.h> and <bp-semctl.h>.
40750 (__old_semctl): Don't use CHECK_SEMCTL.
40751 (__new_semctl): Likewise.
40752 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
40753 and <bp-semctl.h>.
40754 (__old_semctl): Don't use CHECK_SEMCTL.
40755 (__new_semctl): Likewise.
40756 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
40757 <bp-checks.h> and <bp-semctl.h>.
40758 (__old_semctl): Don't use CHECK_SEMCTL.
40759 (__new_semctl): Likewise.
40760 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
40761 <bp-checks.h> and <bp-semctl.h>.
40762 (semctl): Don't use CHECK_SEMCTL.
40763
40764 [BZ #13550]
40765 * Makerules (elide-bp-thunks): Remove variable.
40766 (elide-routines.oS): Don't use $(elide-bp-thunks).
40767 (elide-routines.os): Likewise.
40768 (elide-routines.o): Likewise.
40769 (elide-routines.op): Likewise.
40770 (elide-routines.og): Likewise.
40771 (objects): Don't use $(bp-thunks).
40772 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
40773 include.
40774 (common-generated): Do not add s-proto-bp.d.
40775 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
40776 (int): Likewise.
40777 (typ): Likewise.
40778 Do not generate makefile rules for bounded-pointer thunks.
40779 * sysdeps/generic/bp-thunks.h: Remove file.
40780 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
40781 * sysdeps/unix/s-proto-bp.S: Likewise.
40782
40783 [BZ #15062]
40784 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
40785 parts of result separately when argument is not close to line from
40786 -i to i and one part of argument is small.
40787 * math/k_casinhf.c (__kernel_casinhf): Likewise.
40788 * math/k_casinhl.c (__kernel_casinhl): Likewise.
40789 * math/libm-test.inc (cacos_test): Add more tests.
40790 (casin_test): Likewise.
40791 (casinh_test): Likewise.
40792 * sysdeps/i386/fpu/libm-test-ulps: Update.
40793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40794
40795 2013-01-31 David S. Miller <davem@davemloft.net>
40796
40797 * po/de.po: Update from translation team.
40798
40799 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
40800
40801 * time/tzfile.c: Include stdint.h for SIZE_MAX.
40802
40803 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
40804
40805 * configure.in (_AC_PROG_CC_C89): New definition.
40806 * configure: Regenerate.
40807
40808 * configure.in (AC_PROG_CPP): New definition.
40809 * configure: Regenerate.
40810
40811 2013-01-23 Joseph Myers <joseph@codesourcery.com>
40812
40813 * debug/tst-backtrace.h: New file.
40814 * debug/tst-backtrace2.c: Include tst-backtrace.h.
40815 (ret): Remove variable.
40816 (x): Likewise.
40817 (FAIL): Remove macro.
40818 (NO_INLINE): Likewise.
40819 (fn1): Use match function instead of strstr.
40820 * debug/tst-backtrace3.c: Include tst-backtrace.h.
40821 (ret): Remove variable.
40822 (x): Likewise.
40823 (FAIL): Remove macro.
40824 (NO_INLINE): Likewise.
40825 (fn): Use match function instead of strstr.
40826 * debug/tst-backtrace4.c: Include tst-backtrace.h.
40827 (ret): Remove variable.
40828 (x): Likewise.
40829 (FAIL): Remove macro.
40830 (NO_INLINE): Likewise.
40831 (handle_signal): Use match function instead of strstr.
40832 * debug/tst-backtrace5.c: Include tst-backtrace.h.
40833 (ret): Remove variable.
40834 (x): Likewise.
40835 (FAIL): Remove macro.
40836 (NO_INLINE): Likewise.
40837 (handle_signal): Use match function instead of strstr.
40838
40839 2013-01-23 Roland McGrath <roland@hack.frob.com>
40840
40841 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
40842
40843 2013-01-23 David S. Miller <davem@davemloft.net>
40844
40845 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
40846 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
40847 argument of CAS if possible.
40848 * sysdeps/sparc/sparc64/bits/atomic.h
40849 (__arch_compare_and_exchange_val_32_acq): Likewise.
40850 (__arch_compare_and_exchange_val_64_acq): Likewise.
40851
40852 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
40853
40854 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
40855 * sysdeps/posix/ulimit.c: ... this.
40856 Include <limits.h>.
40857 * sysdeps/unix/bsd/ulimit.c: Remove file.
40858
40859 2013-01-23 Adam Conrad <adconrad@0c3.net>
40860
40861 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
40862 (LDFLAGS-tst-array5): Likewise.
40863
40864 2013-01-23 Joseph Myers <joseph@codesourcery.com>
40865
40866 [BZ #15036]
40867 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
40868 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
40869 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
40870 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
40871
40872 2013-01-21 David S. Miller <davem@davemloft.net>
40873
40874 * sysdeps/sparc/backtrace.c: New file.
40875 * sysdeps/sparc/sparc32/backtrace.h: New file.
40876 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
40877 * sysdeps/sparc/sparc64/backtrace.h: New file.
40878 * sysdeps/sparc/sparc64/backtrace.c: Delete.
40879 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
40880 -funwind-tables.
40881
40882 2013-01-21 Andreas Schwab <schwab@suse.de>
40883
40884 [BZ #15020]
40885 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
40886 closed its stdout.
40887
40888 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
40889
40890 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
40891 "mpa2.h".
40892 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40893
40894 2013-01-18 Joseph Myers <joseph@codesourcery.com>
40895 Mark Mitchell <mark@codesourcery.com>
40896 Tom de Vries <tom@codesourcery.com>
40897 Paul Pluzhnikov <ppluzhnikov@google.com>
40898
40899 * debug/tst-backtrace2.c: New file.
40900 * debug/tst-backtrace3.c: Likewise.
40901 * debug/tst-backtrace4.c: Likewise.
40902 * debug/tst-backtrace5.c: Likewise.
40903 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
40904 (CFLAGS-tst-backtrace3.c): Likewise.
40905 (CFLAGS-tst-backtrace4.c): Likewise.
40906 (CFLAGS-tst-backtrace5.c): Likewise.
40907 (LDFLAGS-tst-backtrace2): Likewise.
40908 (LDFLAGS-tst-backtrace3): Likewise.
40909 (LDFLAGS-tst-backtrace4): Likewise.
40910 (LDFLAGS-tst-backtrace5): Likewise.
40911 (tests): Add new tests tst-backtrace2, tst-backtrace3,
40912 tst-backtrace4 and tst-backtrace5.
40913
40914 2013-01-18 Anton Blanchard <anton@samba.org>
40915 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40916
40917 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
40918 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
40919 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
40920 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
40921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40922 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
40923 "+r" and remove output regs list as redundant. Add explicit inline
40924 asm to specify register of return val to work around compiler codegen
40925 bug. Remove (int) cast on return value. Add return type parameter to
40926 use in macro so that this macro does not truncate return value for
40927 64-bit values.
40928 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
40929 pass to INTERNAL_VSYSCALL_NCS.
40930 (INLINE_VSYSCALL): Add 'long int' as return type to
40931 INTERNAL_VSYSCALL_NCS macro invocation.
40932 (INTERNAL_VSYSCALL): Add 'long int' as return type to
40933 INTERNAL_VSYSCALL_NCS macro invocation.
40934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40935
40936 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40937
40938 [BZ #14496]
40939 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
40940 Fix application of SIMD FP exception mask.
40941
40942 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
40943 mp_no from a power of two.
40944 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
40945 __mpexp_twomm1. Use __pow_mp.
40946
40947 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
40948 multiplication.
40949
40950 2013-01-17 David S. Miller <davem@davemloft.net>
40951
40952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40953
40954 2013-01-17 Joseph Myers <joseph@codesourcery.com>
40955
40956 [BZ #15023]
40957 * include/complex.h: Condition contents on [!_COMPLEX_H].
40958 (__kernel_casinhf): New prototype.
40959 (__kernel_casinh): Likewise.
40960 (__kernel_casinhl): Likewise.
40961 * math/Makefile (libm_calls): Add k_casinh.
40962 * math/k_casinh.c: New file.
40963 * math/k_casinhf.c: Likewise.
40964 * math/k_casinhl.c: Likewise.
40965 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
40966 finite nonzero arguments.
40967 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
40968 finite nonzero arguments.
40969 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
40970 finite nonzero arguments.
40971 * math/s_casinh.c: Do not include <float.h>.
40972 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
40973 * math/s_casinhf.c: Do not include <float.h>.
40974 (__casinhf): Move code for finite nonzero arguments to
40975 k_casinhf.c.
40976 * math/s_casinhl.c: Do not include <float.h>.
40977 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
40978 redefine.
40979 (__casinhl): Move code for finite nonzero arguments to
40980 k_casinhl.c.
40981 * math/libm-test.inc (cacos_test): Add more tests.
40982 * sysdeps/i386/fpu/libm-test-ulps: Update.
40983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40984
40985 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
40986
40987 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
40988 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
40989 [!HAVE_MREMAP]: Remove [defined linux] case.
40990 * malloc/arena.c: Do not include <malloc-sysdep.h>.
40991
40992 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
40993
40994 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
40995
40996 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
40997
40998 * elf/elf.h (R_386_SIZE32): New relocation.
40999 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
41000 R_386_SIZE32.
41001 (elf_machine_rela): Likewise.
41002 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41003 R_X86_64_SIZE64 and R_X86_64_SIZE32.
41004
41005 2013-01-17 Joseph Myers <joseph@codesourcery.com>
41006
41007 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
41008 (FP_FAST_FMA): Do not define.
41009 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
41010 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
41011 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
41012 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
41013 !_SOFT_FLOAT]: Likewise.
41014 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
41015 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
41016 value.
41017 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
41018 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
41019 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
41020 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
41021 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
41022 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
41023 file.
41024
41025 2013-01-16 Andreas Schwab <schwab@suse.de>
41026
41027 [BZ #14327]
41028 * include/stdlib.h (__mktemp): Add declaration.
41029 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
41030 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
41031
41032 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
41033
41034 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
41035 definitions.
41036 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41037 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
41038 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
41039 definitions here.
41040 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
41041 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
41042 definitions.
41043 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
41044 and ONE.
41045 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
41046 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
41047 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
41048 definitions.
41049 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
41050 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
41051 definitions.
41052 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41053
41054 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
41055
41056 2013-01-15 David S. Miller <davem@davemloft.net>
41057
41058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41059 trunc{,f} to libm-sysdep_routes.
41060 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
41062 file.
41063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
41064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
41065 file.
41066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
41067 file.
41068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
41069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
41070 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
41071 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
41072 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
41073 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
41074 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
41075 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
41076
41077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41078 nearbyint{,f} to libm-sysdep_routes.
41079 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
41081 New file.
41082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
41083 file.
41084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
41085 New file.
41086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
41087 file.
41088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
41089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
41090 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
41091 file.
41092 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
41093 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
41094 file.
41095 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
41096 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
41097 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
41098
41099 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
41100 libc_feholdexcept and libc_fesetenv.
41101
41102 2013-01-15 Mike Frysinger <vapier@gentoo.org>
41103
41104 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
41105
41106 2013-01-14 David S. Miller <davem@davemloft.net>
41107
41108 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
41109 (SPARC_ASM_VIS2_IFUNC): Likewise.
41110 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
41111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
41112 use of 'siam' instruction.
41113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
41114 Likewise.
41115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
41116 Likewise.
41117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
41118 Likewise.
41119 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
41120 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
41121 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
41122 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
41123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
41124 file.
41125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
41126 file.
41127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
41128 file.
41129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
41130 file.
41131 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
41132 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
41133 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
41134 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
41135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
41136 new VIS2 routines.
41137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41140 Likewise.
41141 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41142 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41143 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41144 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
41146 routines to libm-sysdep_routines.
41147 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41148
41149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41150 fdim/fdimf to libm-sysdep_routines.
41151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
41152 file.
41153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
41154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
41155 file.
41156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
41157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
41158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
41159 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
41160 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
41161 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
41162 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
41163
41164 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
41165
41166 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
41167 to optimize copies.
41168
41169 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
41170 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41171 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41172
41173 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
41174 local variable MPTWO.
41175 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
41176 Likewise.
41177
41178 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41179
41180 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
41181 GLOB_NOESCAPE.
41182
41183 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41184
41185 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
41186
41187 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41188
41189 * manual/pattern.texi (glob_t): Document gl_flags.
41190 (glob64_t): Likewise.
41191
41192 2013-01-11 David S. Miller <davem@davemloft.net>
41193
41194 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
41195 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
41196 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
41197 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
41198 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
41199 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
41200 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
41201 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
41202 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
41203 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
41204 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
41205 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
41206 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
41207
41208 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41209 sparc V9 rather than using V8 code.
41210 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41211 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41212
41213 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41214 Move to...
41215 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
41216 Here.
41217
41218 2013-01-11 Roland McGrath <roland@hack.frob.com>
41219
41220 [BZ #14941]
41221 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
41222 not in the main loop.
41223 * configure: Regenerated.
41224
41225 2013-01-11 Joseph Myers <joseph@codesourcery.com>
41226
41227 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
41228 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
41229 to just #else.
41230 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
41231 [!__GLIBC_HAVE_LONG_LONG] case.
41232 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
41233 condition to just #else.
41234 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
41235 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
41236 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
41237 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
41238 unconditional.
41239 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
41240 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41241 #elif condition to just #else.
41242 * sysdeps/unix/sysv/linux/sys/sysmacros.h
41243 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
41244 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41245 #elif condition to just #else.
41246
41247 2013-01-11 Steve Ellcey <sellcey@mips.com>
41248
41249 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
41250 (EF_MIPS_ARCH_64): Fix value.
41251 (EF_MIPS_ARCH_32R2): New.
41252 (EF_MIPS_ARCH_64R2): New.
41253
41254 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
41255
41256 * Makeconfig (+link-pie-before-libc): New.
41257 (+link-pie-after-libc): Likewise.
41258 (+link-pie-tests): Likewise.
41259 (+link-pie): Rewritten.
41260 (link-before-libc): Remove $(config-LDFLAGS).
41261 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
41262 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
41263 (config-LDFLAGS): Renamed to ...
41264 (rtld-LDFLAGS): This.
41265 (rtld-tests-LDFLAGS): New macro.
41266 (link-libc-rpath-link): Likewise.
41267 (link-libc-tests-rpath-link): Likewise.
41268 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
41269 (link-libc): Prepand $(link-libc-rpath-link).
41270 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
41271 (test-program-prefix): New macro.
41272 (test-via-rtld-prefix): Likewise.
41273 (test-program-cmd): Likewise.
41274 (host-test-program-cmd): Likewise.
41275 * Makefile ($(common-objpfx)testrun.sh): Replace
41276 $(run-program-prefix) with $(test-program-prefix).
41277 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
41278 $(rtld-LDFLAGS).
41279 ($(common-objpfx)shlib.lds): Likewise.
41280 (build-module-helper): Likewise.
41281 ($(common-objpfx)format.lds): Likewise.
41282 * Rules (binaries-pie-tests): New.
41283 (binaries-pie-notests): Likewise.
41284 (binaries-pie): Rewritten.
41285 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
41286 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
41287 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
41288 (make-test-out): Replace $(host-built-program-cmd) with
41289 $(host-test-program-cmd).
41290 * config.make.in (build-hardcoded-path-in-tests): New variable.
41291 * configure.in (--enable-hardcoded-path-in-tests): New configure
41292 option.
41293 (hardcoded_path_in_tests): New AC_SUBST.
41294 * configure: Regenerated.
41295 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
41296 $(built-program-cmd) with $(test-program-cmd).
41297 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
41298 (test_program_cmd): This.
41299 * elf/Makefile ($(objpfx)order.out): Run test with
41300 $(test-program-prefix).
41301 ($(objpfx)order2.out): Likewise.
41302 ($(objpfx)tst-initorder.out): Likewise.
41303 ($(objpfx)tst-initorder2.out): Likewise.
41304 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
41305 $(test-program-cmd).
41306 ($(objpfx)tst-array1-static.out): Likewise.
41307 ($(objpfx)tst-array2.out): Likewise.
41308 ($(objpfx)tst-array3.out): Likewise.
41309 ($(objpfx)tst-array4.out): Likewise.
41310 ($(objpfx)tst-array5.out): Likewise.
41311 ($(objpfx)tst-array5-static.out): Likewise.
41312 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
41313 $(test-program-cmd).
41314 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
41315 $(run-program-prefix) with $(test-program-prefix).
41316 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
41317 (test_program_prefix): This.
41318 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
41319 $(run-program-prefix) with $(test-program-prefix).
41320 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
41321 (test_program_prefix): This.
41322 * iconvdata/tst-tables.sh: Likewise.
41323 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
41324 $(run-program-prefix) with $(test-program-prefix).
41325 ($(objpfx)tst-translit.out): Likewise.
41326 ($(objpfx)tst-gettext2.out): Likewise.
41327 ($(objpfx)tst-gettext4.out): Likewise.
41328 ($(objpfx)tst-gettext6.out): Likewise.
41329 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
41330 (test_program_prefix): This.
41331 * intl/tst-gettext2.sh: Likewise.
41332 * intl/tst-gettext4.sh Likewise.
41333 * intl/tst-gettext6.sh: Likewise.
41334 * intl/tst-translit.sh: Likewise.
41335 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
41336 with $(test-program-cmd).
41337 * libio/Makefile ($(objpfx)test-freopen.out): Replace
41338 $(run-program-prefix) with $(test-program-prefix).
41339 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
41340 (test_program_prefix): This.
41341 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
41342 $(run-program-prefix) with $(test-program-prefix).
41343 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
41344 (test_program_prefix): This.
41345 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
41346 * posix/Makefile ($(objpfx)globtest.out): Replace
41347 $(run-via-rtld-prefix) and $(test-wrapper) with
41348 $(test-program-prefix) and $(test-via-rtld-prefix).
41349 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
41350 $(test-program-prefix).
41351 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
41352 $(host-test-program-cmd).
41353 (tst-spawn-ARGS): Likewise.
41354 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
41355 $(test-program-prefix).
41356 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
41357 (test_via_rtld_prefix): This.
41358 (test_wrapper): Renamed to ...
41359 (test_program_prefix): This.
41360 (run_program_prefix): Replaced by test_program_prefix.
41361 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
41362 (test_program_prefix): This.
41363 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
41364 with $(host-test-program-cmd).
41365 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
41366 $(run-program-prefix) with $(test-program-prefix).
41367 ($(objpfx)tst-printf.out): Likewise.
41368 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
41369 $(test-program-cmd).
41370 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
41371 (test_program_prefix): This.
41372 * stdio-common/tst-unbputc.sh: Likewise.
41373 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
41374 $(run-program-prefix) with $(test-program-prefix).
41375 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
41376 (test_program_prefix): This.
41377 * string/Makefile ($(objpfx)tst-svc.out): Replace
41378 $(built-program-cmd) with $(test-program-cmd).
41379
41380 2013-01-11 Andreas Jaeger <aj@suse.de>
41381
41382 [BZ #15003]
41383 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
41384 value. Sync with Linux 3.7.
41385
41386 2013-01-10 David S. Miller <davem@davemloft.net>
41387
41388 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
41389 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41390 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41391
41392 2013-01-10 Roland McGrath <roland@hack.frob.com>
41393
41394 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
41395 never set.
41396 * configure: Regenerated.
41397
41398 2013-01-10 David S. Miller <davem@davemloft.net>
41399
41400 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41401 sparc V9 rather than using V8 code.
41402 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41403 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41404
41405 2013-01-10 Roland McGrath <roland@hack.frob.com>
41406
41407 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
41408 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
41409 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
41410 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
41411 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
41412 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
41413 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
41414 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
41415 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
41416 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
41417 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
41418 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
41419 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
41420 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
41421 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
41422 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
41423 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
41424 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
41425 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
41426 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
41427 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
41428 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
41429 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
41430 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
41431 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
41432 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
41433 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
41434
41435 2013-01-10 David S. Miller <davem@davemloft.net>
41436
41437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41438
41439 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41440
41441 * posix/Makefile (tests-static): New variable.
41442 (tests): Add $(tests-static).
41443 (tst-exec-static-ARGS): New variable.
41444 (tst-spawn-static-ARGS): Likewise.
41445 * posix/tst-exec-static.c: New file.
41446 * posix/tst-spawn-static.c: Likewise.
41447 * posix/tst-exec.c: Support run directly.
41448 * posix/tst-spawn.c: Likewise.
41449
41450 2013-01-10 Joseph Myers <joseph@codesourcery.com>
41451
41452 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
41453 long.
41454 * math/bits/mathcalls.h (llrint): Likewise.
41455 (llround): Likewise.
41456 * stdlib/stdlib.h (struct drand48_data): Likewise.
41457 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
41458 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
41459 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
41460 Likewise.
41461 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
41462 Likewise.
41463 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
41464 (elf_greg_t): Likewise.
41465 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
41466 (__jmp_buf): Likewise.
41467 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
41468 definitions.
41469 (llrint): Likewise, for all definitions.
41470 (llrintl): Likewise.
41471
41472 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
41473 Remove [__GNUC__] condition.
41474 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
41475 condition to just [__USE_ISOC99].
41476 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
41477
41478 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41479
41480 [BZ #14200]
41481 * sysdeps/unix/sysv/linux/x86/bits/environments.h
41482 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
41483 defined.
41484 (_POSIX_V6_ILP32_OFF32): Likewise.
41485 (_XBS5_ILP32_OFF32): Likewise.
41486 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
41487 (__ILP32_OFFBIG_LDFLAGS): Likewise.
41488
41489 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41490
41491 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
41492
41493 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
41494 doubles __mpexp_twomm1. Adjust usage.
41495 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
41496 Remove.
41497
41498 2013-01-10 Andreas Schwab <schwab@suse.de>
41499
41500 [BZ #14964]
41501 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
41502 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
41503
41504 2013-01-09 David S. Miller <davem@davemloft.net>
41505
41506 [BZ #15003]
41507 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
41508 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
41509 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
41510 (TCP_FASTOPEN): Define.
41511 (tcp_repair_opt): New structure.
41512 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
41513 enum values.
41514 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
41515 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
41516 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
41517 (tcp_cookie_transactions): New structure.
41518
41519 2013-01-09 Anton Blanchard <anton@samba.org>
41520
41521 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
41522 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
41523 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
41524 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
41525
41526 2013-01-09 Joseph Myers <joseph@codesourcery.com>
41527
41528 * include/features.h (__USE_ANSI): Remove.
41529
41530 2013-01-09 Roland McGrath <roland@hack.frob.com>
41531
41532 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
41533
41534 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
41535
41536 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
41537
41538 * sysdeps/s390/fpu/libm-test-ulps: Update.
41539
41540 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41541
41542 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
41543 (__acr): Likewise.
41544 (__cpy): Likewise.
41545 (norm): Likewise.
41546 (denorm): Likewise.
41547 (__mp_dbl): Likewise.
41548 (__dbl_mp): Likewise.
41549 (add_magnitudes): Likewise.
41550 (sub_magnitudes): Likewise.
41551 (__add): Likewise.
41552 (__sub): Likewise.
41553 (__mul): Likewise.
41554 (__inv): Likewise.
41555 (__dvd): Likewise.
41556 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
41557 (__acr): Likewise.
41558 (__cpy): Likewise.
41559 (norm): Likewise.
41560 (denorm): Likewise.
41561 (__mp_dbl): Likewise.
41562 (__dbl_mp): Likewise.
41563 (add_magnitudes): Likewise.
41564 (sub_magnitudes): Likewise.
41565 (__add): Likewise.
41566 (__sub): Likewise.
41567 (__mul): Likewise.
41568 (__inv): Likewise.
41569 (__dvd): Likewise.
41570 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
41571 (__acr): Likewise.
41572 (__cpy): Likewise.
41573 (norm): Likewise.
41574 (denorm): Likewise.
41575 (__mp_dbl): Likewise.
41576 (__dbl_mp): Likewise.
41577 (add_magnitudes): Likewise.
41578 (sub_magnitudes): Likewise.
41579 (__add): Likewise.
41580 (__sub): Likewise.
41581 (__mul): Likewise.
41582 (__inv): Likewise.
41583 (__dvd): Likewise.
41584
41585 2013-01-08 Joseph Myers <joseph@codesourcery.com>
41586
41587 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
41588 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
41589 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
41590 2 && __USE_EXTERN_INLINES]: Likewise.
41591
41592 2013-01-08 Andreas Jaeger <aj@suse.de>
41593
41594 [BZ# 14985]
41595 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
41596 Remove.
41597 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41598 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41599
41600 2013-01-07 Anton Blanchard <anton@samba.org>
41601
41602 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
41603 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41604 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
41605 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41606 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41607 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41608 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
41609 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41610 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41611 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41612 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41613 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41614 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41615 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41616 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41617 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41618 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41619 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41620 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41621 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41622 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41623 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
41624 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41625 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41626 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
41627 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41628 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41629 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41630 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
41631 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41632 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41633 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41634 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41635 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41636 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41637 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41638 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41639 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41640 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
41641 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41642 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
41643 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41644 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41645
41646 2013-01-07 Joseph Myers <joseph@codesourcery.com>
41647
41648 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
41649 (__MALLOC_PMT): Likewise.
41650 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
41651 [__GNUC__], only on [_LIBC].
41652 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41653 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
41654 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41655 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
41656 forward declaration.
41657 (realloc_hook_ini): Likewise.
41658 (memalign_hook_ini): Likewise.
41659 (__libc_memalign): Do not use __MALLOC_PMT in variable
41660 declaration.
41661 (__libc_valloc): Likewise.
41662 (__libc_pvalloc): Likewise.
41663 (__libc_calloc): Likewise.
41664 (__posix_memalign): Likewise.
41665
41666 [BZ #14996]
41667 * math/s_casinh.c: Include <float.h>.
41668 (__casinh): Do not do computation with squaring and square root
41669 for large arguments.
41670 * math/s_casinhf.c: Include <float.h>.
41671 (__casinhf): Do not do computation with squaring and square root
41672 for large arguments.
41673 * math/s_casinhl.c: Include <float.h>.
41674 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
41675 (__casinhl): Do not do computation with squaring and square root
41676 for large arguments.
41677 * math/libm-test.inc (casin_test): Add more tests.
41678 (casinh_test): Likewise.
41679 * sysdeps/i386/fpu/libm-test-ulps: Update.
41680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41681
41682 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
41683
41684 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
41685 (__x86_64_raw_data_cache_size): Likewise.
41686 (__x86_64_data_cache_size_half): Likewise.
41687 (__x86_64_raw_data_cache_size_half): Likewise.
41688 (__x86_64_shared_cache_size): Likewise.
41689 (__x86_64_raw_shared_cache_size): Likewise.
41690 (__x86_64_shared_cache_size_half): Likewise.
41691 (__x86_64_raw_shared_cache_size_half): Likewise.
41692 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
41693 to ...
41694 (__x86_data_cache_size): This.
41695 (__x86_64_raw_data_cache_size): Renamed to ...
41696 (__x86_raw_data_cache_size): This.
41697 (__x86_64_data_cache_size_half): Renamed to ...
41698 (__x86_data_cache_size_half): This.
41699 (__x86_64_raw_data_cache_size_half): Renamed to ...
41700 (__x86_raw_data_cache_size_half): This.
41701 (__x86_64_shared_cache_size): Renamed to ...
41702 (__x86_shared_cache_size): This.
41703 (__x86_64_raw_shared_cache_size): Renamed to ...
41704 (__x86_raw_shared_cache_size): This.
41705 (__x86_64_shared_cache_size_half): Renamed to ...
41706 (__x86_shared_cache_size_half): This.
41707 (__x86_64_raw_shared_cache_size_half): Renamed to ...
41708 (__x86_raw_shared_cache_size_half): This.
41709 * sysdeps/x86_64/memcpy.S: Updated.
41710 * sysdeps/x86_64/memset.S: Likewise.
41711 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41712 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41713 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41714
41715 2013-01-04 David S. Miller <davem@davemloft.net>
41716
41717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41718
41719 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
41720
41721 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
41722 1 to avoid redefinition warning.
41723 (__USE_GNU): Don't define.
41724 (init_signaling_nan): Protoize.
41725
41726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41727
41728 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41729
41730 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
41731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
41732 (__cpymn): Likewise.
41733 (norm): Remove commented code.
41734 (denorm): Likewise.
41735 (__mp_dbl): Likewise.
41736 (__inv): Likewise.
41737 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
41738 (__cpymn): Likewise.
41739 (norm): Remove commented code.
41740 (denorm): Likewise.
41741 (__mp_dbl): Likewise.
41742 (__inv): Likewise.
41743
41744 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
41745 mp_no value for 1.0 and 2.0.
41746 (norm): Use RADIXI instead of radixi.d.
41747 (denorm): Likewise.
41748 (__mul): Use 0.0 instead of zero.d.
41749 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
41750 mp_no value for 1.0 and 2.0.
41751 (norm): Use RADIXI instead of radixi.d.
41752 (denorm): Likewise.
41753 (__mul): Use 0.0 instead of zero.d.
41754
41755 2013-01-04 Joseph Myers <joseph@codesourcery.com>
41756
41757 [BZ #14994]
41758 * math/s_casinh.c (__casinh): Reduce finite argument to first
41759 quadrant then set signs of results at the end.
41760 * math/s_casinhf.c (__casinhf): Likewise.
41761 * math/s_casinhl.c (__casinhl): Likewise.
41762 * math/libm-test.inc (casin_test): Add more tests.
41763 (casinh_test): Likewise.
41764 * sysdeps/i386/fpu/libm-test-ulps: Update.
41765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41766
41767 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41768
41769 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
41770
41771 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
41772
41773 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
41774 declarations.
41775 (denorm): Likewise.
41776 (__mp_dbl): Likewise.
41777 (__inv): Likewise.
41778
41779 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
41780 and adjust the header comment.
41781
41782 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
41783 variable name from declaration.
41784
41785 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
41786
41787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41788 Initialize COMMON_CPUID_INDEX_7 element.
41789 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
41790 (CPUID_RTM): Likewise.
41791 (HAS_RTM): Likewise.
41792 (COMMON_CPUID_INDEX_7): New enum.
41793
41794 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
41795
41796 [BZ #14981]
41797 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
41798 size is zero, record memory as freed.
41799
41800 2013-01-03 Andreas Jaeger <aj@suse.de>
41801
41802 * po/ia.po: Add new Interlingua translation.
41803
41804 2012-01-03 Allan McRae <allan@archlinux.org>
41805
41806 * locale/programs/localedef.c: Fix description of '--posix' flag.
41807
41808 2013-01-02 Joseph Myers <joseph@codesourcery.com>
41809
41810 * NEWS: Update dates in second copyright notice.
41811 * README: Update copyright dates in example.
41812 * manual/libc.texinfo: Update copyright dates.
41813 * scripts/test-installation.pl: Update copyright date in --version
41814 output.
41815
41816 * hurd/ctty-input.c: Fix copyright notice formatting.
41817 * hurd/ctty-output.c: Likewise.
41818 * hurd/dtable.c: Likewise.
41819 * hurd/hurd-raise.c: Likewise.
41820 * hurd/hurdprio.c: Likewise.
41821 * hurd/msgportdemux.c: Likewise.
41822 * misc/sys/file.h: Likewise.
41823 * misc/sys/ioctl.h: Likewise.
41824 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41825 * sysdeps/mach/hurd/chdir.c: Likewise.
41826 * sysdeps/mach/hurd/fchdir.c: Likewise.
41827 * sysdeps/mach/hurd/rename.c: Likewise.
41828 * sysdeps/mach/hurd/rmdir.c: Likewise.
41829 * sysdeps/mach/hurd/seekdir.c: Likewise.
41830 * sysdeps/mach/hurd/setsid.c: Likewise.
41831 * sysdeps/posix/wait3.c: Likewise.
41832
41833 * All files with FSF copyright notices: Update copyright dates
41834 using scripts/update-copyrights.
41835 * intl/plural.c: Regenerated.
41836 * locale/programs/charmap-kw.h: Likewise.
41837 * locale/programs/locfile-kw.h: Likewise.
41838
41839 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41840
41841 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
41842 four values.
41843
41844 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
41845 calculation loop and add branch prediction.
41846
41847 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
41848 check access beyond bounds of m1np.
41849
41850 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41851 MPTWO.
41852 (__inv): Remove local variable MPTWO to use the global
41853 constant.
41854 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
41855 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41856 variable MPTWO.
41857 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
41858 MP3HALFS static const.
41859
41860 2013-01-01 David S. Miller <davem@davemloft.net>
41861
41862 * po/ca.po: Update from translation team.
41863
41864 2013-01-01 Joseph Myers <joseph@codesourcery.com>
41865
41866 * scripts/update-copyrights: New file.
41867 * Makeconfig: Reformat copyright notice.
41868 * ctype/ctype.h: Likewise.
41869 * debug/swprintf_chk.c: Likewise.
41870 * elf/dl-cache.c: Likewise.
41871 * elf/dl-debug.c: Likewise.
41872 * elf/dl-object.c: Likewise.
41873 * grp/initgroups.c: Likewise.
41874 * hurd/Makefile: Likewise.
41875 * hurd/hurd/signal.h: Likewise.
41876 * hurd/hurdfault.c: Likewise.
41877 * hurd/hurdioctl.c: Likewise.
41878 * hurd/hurdlookup.c: Likewise.
41879 * hurd/intr-msg.c: Likewise.
41880 * iconv/gconv_open.c: Likewise.
41881 * libio/swprintf.c: Likewise.
41882 * locale/lc-ctype.c: Likewise.
41883 * locale/nl_langinfo.c: Likewise.
41884 * mach/Machrules: Likewise.
41885 * mach/Makefile: Likewise.
41886 * malloc/obstack.h: Likewise.
41887 * manual/Makefile: Likewise.
41888 * manual/tsort.awk: Likewise.
41889 * misc/bits/stab.def: Likewise.
41890 * nis/nis_print_group_entry.c: Likewise.
41891 * nis/nis_table.c: Likewise.
41892 * nis/nss_compat/compat-pwd.c: Likewise.
41893 * nis/nss_compat/compat-spwd.c: Likewise.
41894 * po/Makefile: Likewise.
41895 * posix/fnmatch.c: Likewise.
41896 * posix/regex.h: Likewise.
41897 * resolv/Makefile: Likewise.
41898 * resolv/nss_dns/dns-network.c: Likewise.
41899 * resolv/res_hconf.c: Likewise.
41900 * scripts/gen-sorted.awk: Likewise.
41901 * soft-fp/soft-fp.h: Likewise.
41902 * stdio-common/printf.h: Likewise.
41903 * stdlib/monetary.h: Likewise.
41904 * stdlib/random.c: Likewise.
41905 * stdlib/random_r.c: Likewise.
41906 * sysdeps/generic/Makefile: Likewise.
41907 * sysdeps/gnu/Makefile: Likewise.
41908 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41909 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41910 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41911 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41912 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41913 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41914 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41915 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41916 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41917 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41918 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41919 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41920 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41921 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41922 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
41923 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41924 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41925 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41926 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41927 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41928 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41929 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41930 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41931 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41932 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
41933 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41934 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
41935 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
41936 * sysdeps/mach/hurd/errnos.awk: Likewise.
41937 * sysdeps/mach/hurd/fork.c: Likewise.
41938 * sysdeps/mach/hurd/getcwd.c: Likewise.
41939 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
41940 * sysdeps/mach/hurd/mmap.c: Likewise.
41941 * sysdeps/mach/hurd/utimes.c: Likewise.
41942 * sysdeps/mach/hurd/xmknod.c: Likewise.
41943 * sysdeps/posix/profil.c: Likewise.
41944 * sysdeps/posix/readdir_r.c: Likewise.
41945 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41946 * sysdeps/powerpc/bits/setjmp.h: Likewise.
41947 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
41948 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41949 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41950 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41951 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41952 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41953 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41954 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41955 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41956 * sysdeps/pthread/lio_listio.c: Likewise.
41957 * sysdeps/sparc/dl-procinfo.h: Likewise.
41958 * sysdeps/unix/i386/sysdep.S: Likewise.
41959 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
41960 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
41961 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
41962 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
41963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41964 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
41965 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
41966 * sysdeps/unix/sysv/linux/speed.c: Likewise.
41967 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
41968 * sysdeps/wordsize-32/divdi3.c: Likewise.
41969 * time/sys/time.h: Likewise.
41970 * wcsmbs/Makefile: Likewise.
41971
41972 2013-01-01 David S. Miller <davem@davemloft.net>
41973
41974 * po/fr.po: Update from translation team.
41975
41976 * catgets/gencat.c: Update copyright year.
41977 * csu/version.c: Likewise.
41978 * debug/catchsegv.sh: Likewise.
41979 * debug/pcprofiledump.c: Likewise.
41980 * debug/xtrace.sh: Likewise.
41981 * elf/ldconfig.c: Likewise.
41982 * elf/ldd.bash.in: Likewise.
41983 * elf/pldd.c: Likewise.
41984 * elf/sotruss.ksh: Likewise.
41985 * elf/sprof.c: Likewise.
41986 * iconv/iconv_prog.c: Likewise.
41987 * iconv/iconvconfig.c: Likewise.
41988 * locale/programs/locale.c: Likewise.
41989 * locale/programs/localedef.c: Likewise.
41990 * login/programs/pt_chown.c: Likewise.
41991 * malloc/memusage.sh: Likewise.
41992 * malloc/memusagestat.c: Likewise.
41993 * malloc/mtrace.pl: Likewise.
41994 * nscd/nscd.c: Likewise.
41995 * nss/getent.c: Likewise.
41996 * nss/makedb.c: Likewise.
41997 * posix/getconf.c: Likewise.
41998
41999 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42000
42001 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
42002 numbers.
42003
42004 2012-12-30 Mike Frysinger <vapier@gentoo.org>
42005
42006 * math/bits/mathcalls.h (modf): Use __nonnull.
42007
42008 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42009
42010 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
42011 (split): Use macro CN instead of the bare value.
42012 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
42013 could be used.
42014 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
42015 instead of the bare value.
42016 (power1): Likewise.
42017
42018 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42019
42020 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
42021 __ATAN_TWOM.
42022 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42023
42024 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
42025 their values.
42026 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
42027 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
42028 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
42029 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
42030
42031 2012-12-28 Andreas Jaeger <aj@suse.de>
42032
42033 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
42034 values are from Linux 3.7.
42035
42036 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
42037 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
42038
42039 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42040
42041 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
42042 TRUE case.
42043
42044 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
42045 (norm): Likewise.
42046 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
42047 variables with preprocessor constants.
42048 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42049 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42050 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42051
42052 2012-12-27 Bruno Haible <bruno@clisp.org>
42053
42054 [BZ #14317]
42055 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
42056 only if needed.
42057
42058 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42059
42060 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
42061 and use variable directly.
42062 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
42063
42064 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42065 MPONE.
42066 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
42067 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42068 variable MPONE.
42069 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42070 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42071 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
42072 include directive. Remove local variable MPONE.
42073 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
42074 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
42075 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42076
42077 2012-12-25 David S. Miller <davem@davemloft.net>
42078
42079 * version.h (RELEASE): Set to "development".
42080 (VERSION): Set to "2.17.90".
42081 * NEWS: Add 2.18 section.
42082
42083 2012-12-21 David S. Miller <davem@davemloft.net>
42084
42085 * po/hr.po: Update from translation team.
42086
42087 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42088
42089 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
42090
42091 2012-12-19 Steve Ellcey <sellcey@mips.com>
42092
42093 * NEWS: Mention new memcpy for MIPS.
42094
42095 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42096
42097 * manual/contrib.texi (Contributors): Spelling correction.
42098
42099 2012-12-15 David S. Miller <davem@davemloft.net>
42100
42101 * po/ru.po: Update from translation team.
42102
42103 2012-12-13 David S. Miller <davem@davemloft.net>
42104
42105 * NEWS: Mention IFUNC testsuite enhancements.
42106
42107 * po/pl.po: Update from translation team.
42108 * po/bg.po: Likewise.
42109
42110 * manual/contrib.texi (Contributors): Update entries for Hongjiu
42111 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
42112
42113 2012-12-11 David S. Miller <davem@davemloft.net>
42114
42115 * po/sv.po: Update from translation team.
42116
42117 * po/vi.po: Update from translation team.
42118
42119 * po/cs.po: Update from translation team.
42120
42121 * po/de.po: Update from translation team.
42122 * po/eo.po: Likewise.
42123 * po/nl.po: Likewise.
42124
42125 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
42126
42127 [BZ #14246]
42128 * manual/argp.texi (Argp Helper Functions): Move node to follow
42129 Argp Parsing State.
42130
42131 [BZ #14872]
42132 * manual/conf.texi (Limits on File System Capacity): Mention if
42133 terminating null is included in the max size.
42134
42135 2012-12-10 Andreas Jaeger <aj@suse.de>
42136
42137 * po/cs.po: Update from translation team.
42138
42139 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
42140
42141 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
42142 void pointer and cast to uintptr_t.
42143 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
42144 path.
42145 * sysdeps/s390/s390-64/memcpy.S: Likewise.
42146 * sysdeps/s390/s390-64/memset.S: Likewise.
42147
42148 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
42149
42150 [BZ #14833]
42151 * menual/message.texi (Message Translation): Fix typos.
42152 (Helper programs for gettext): Likewise.
42153
42154 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
42155
42156 [BZ #14898]
42157 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
42158 Change to -1.
42159
42160 2012-12-07 David S. Miller <davem@davemloft.net>
42161
42162 * po/libc.pot: Update.
42163
42164 2012-12-07 Richard Henderson <rth@redhat.com>
42165
42166 [BZ #10114]
42167 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
42168 normal/normal case to before the switch.
42169 (_FP_DIV): Likewise.
42170
42171 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
42172 Mike Frysinger <vapier@gentoo.org>
42173
42174 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
42175 check for __NR_fadvise64_64.
42176
42177 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
42178
42179 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
42180 0, not just to plain "0" as a statement.
42181 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
42182 with cw.
42183
42184 2012-12-06 Joseph Myers <joseph@codesourcery.com>
42185
42186 * NEWS: Use sourceware.org in Bugzilla URL.
42187
42188 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
42189
42190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
42191 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42192
42193 * stdio-common/tst-put-error.c (do_test): Add newline to the
42194 padded test to ensure flush.
42195
42196 2012-12-05 Jeff Law <law@redhat.com>
42197
42198 * sunrpc/etc.rpc (fedfs_admin): Add entry.
42199
42200 2012-12-05 Joseph Myers <joseph@codesourcery.com>
42201
42202 * README: Don't refer to ports add-on as distributed separately.
42203 Mention AArch64 in list of systems supported in the ports add-on.
42204
42205 * LICENSES: Add more non-FSF copyright and license notices.
42206
42207 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
42208 ((unused)).
42209
42210 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
42211
42212 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
42213 10000 as width of padded output.
42214
42215 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42216
42217 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
42218
42219 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
42220 variable LX with __attribute__ ((unused)).
42221 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42222 Likewise.
42223 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42224 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42225 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
42226 with __attribute__ ((unused)).
42227
42228 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
42229
42230 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
42231
42232 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42233
42234 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
42235 (CFLAGS-nldbl-acos.c): New variable.
42236 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
42237 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
42238 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
42239 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
42240 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
42241 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
42242 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
42243 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
42244 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
42245 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
42246 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
42247 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
42248 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
42249 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
42250 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
42251 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
42252 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
42253 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
42254 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
42255 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
42256 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
42257 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
42258 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
42259 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
42260 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
42261 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
42262 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
42263 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
42264 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
42265 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
42266 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
42267 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
42268 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
42269 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
42270 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
42271 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
42272 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
42273 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
42274 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
42275 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
42276 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
42277 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
42278 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
42279 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
42280 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
42281 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
42282 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
42283 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
42284 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
42285 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
42286 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
42287 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
42288 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
42289 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
42290 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
42291 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
42292 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
42293 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
42294 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
42295 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
42296 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
42297 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
42298 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
42299 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
42300 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
42301 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
42302 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
42303 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
42304 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
42305 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
42306 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
42307 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
42308 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
42309 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
42310 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
42311 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
42312 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
42313 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
42314 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
42315 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
42316 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
42317 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
42318 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
42319 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
42320 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
42321 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
42322 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
42323 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
42324 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
42325 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
42326 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
42327 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
42328 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
42329 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
42330 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
42331 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
42332 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
42333
42334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42335 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42336
42337 [BZ #14914]
42338 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
42339 whole low double instead of just low 47 bits when splitting values
42340 into two parts.
42341
42342 2012-12-03 Allan McRae <allan@archlinux.org>
42343
42344 * manual/stdio.texi (Predefined Printf Handlers): Remove
42345 @hsep and @vsep usage.
42346
42347 2012-12-03 Mike Frysinger <vapier@gentoo.org>
42348
42349 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
42350 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
42351
42352 2012-12-03 Jeff Law <law@redhat.com>
42353
42354 * time/sys/time.h (settimeofday): Do not mark TV argument
42355 as __nonnull.
42356
42357 2012-12-01 Mike Frysinger <vapier@gentoo.org>
42358
42359 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
42360 when currently writing and seek to current position when not.
42361 * libio/Makefile (tests): Remove bug-fclose1.
42362 * libio/bug-fclose1.c: Delete.
42363
42364 2012-12-01 Joseph Myers <joseph@codesourcery.com>
42365
42366 * manual/arith.texi (feenableexcept): Fix typo.
42367 (fedisableexcept): Likewise.
42368
42369 2012-11-30 Roland McGrath <roland@hack.frob.com>
42370
42371 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
42372 second, differently-typed declaration, rather than a cast.
42373
42374 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42375
42376 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
42377 * include/rpc/svc.h: ... here.
42378
42379 2012-11-30 Aurelien Jarno <aurel32@debian.org>
42380
42381 [BZ #13013]
42382 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
42383 depending n and resplen2 to catch cases where answer
42384 equals answerp2.
42385
42386 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
42387
42388 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
42389 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
42390
42391 2012-11-29 Mike Frysinger <vapier@gentoo.org>
42392
42393 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
42394
42395 2012-11-29 Roland McGrath <roland@hack.frob.com>
42396
42397 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
42398
42399 2012-11-28 Jeff Law <law@redhat.com>
42400
42401 [BZ #13761]
42402 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
42403 dataset_temporary. Track alloca usage into alloca_used.
42404 If dataset is large allocate and release it via malloc/free.
42405
42406 2012-06-04 Florian Weimer <fweimer@redhat.com>
42407
42408 [BZ #14197]
42409 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
42410
42411 2012-11-28 David S. Miller <davem@davemloft.net>
42412
42413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42414
42415 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42416
42417 [BZ #14803]
42418 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
42419 of pi/2 rounded to nearest to 64 bits.
42420 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
42421 nearest to 64 bits.
42422 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
42423 bits.
42424
42425 2012-11-28 Jeff Law <law@redhat.com>
42426 Martin Osvald <mosvald@redhat.com>
42427
42428 [BZ #14889]
42429 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
42430 * sunrpc/svc.c: Include time.h.
42431 (__svc_accept_failed): New function.
42432 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
42433 any reason other than EINTR, call __svc_accept_failed.
42434 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
42435 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
42436
42437 2012-11-28 Andreas Schwab <schwab@suse.de>
42438
42439 * scripts/abilist.awk: Also handle indirect functions in .opd
42440 section.
42441
42442 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42443
42444 [BZ #13881]
42445 * sysdeps/x86/fpu/powl_helper.c: New file.
42446 * sysdeps/x86/fpu/Makefile: Likewise.
42447 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
42448 (p3): New object.
42449 (__ieee754_powl): Use __powl_helper for finite arguments except
42450 integer exponents below 8.
42451 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
42452 (p3): New object.
42453 (__ieee754_powl): Use __powl_helper for finite arguments except
42454 integer exponents below 8.
42455 * math/libm-test.inc (pow_test): Add more tests and enable some
42456 previously disabled tests.
42457 * sysdeps/i386/fpu/libm-test-ulps: Update.
42458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42459
42460 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42461 Carlos O'Donell <carlos_odonell@mentor.com>
42462
42463 * nss/makedb.c (is_prime): Assert that input is odd and greater
42464 than 4. Note that fact in a comment too.
42465 (next_prime): Add 4 to input.
42466
42467 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42468
42469 [BZ #11741]
42470 * libio/Makefile (tests): Add test case tst-fwrite-error.
42471 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
42472 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
42473 * libio/tst-fwrite-error.c: New test case.
42474
42475 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
42476
42477 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
42478 before casting to void *.
42479 * include/libc-internal.h (__pointer_type): New macro.
42480 (__integer_if_pointer_type_sub): Likewise.
42481 (__integer_if_pointer_type): Likewise.
42482 (cast_to_integer): Likewise.
42483 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
42484 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
42485 before casting to atomic64_t.
42486 (atomic_exchange_acq): Likewise.
42487 (__arch_exchange_and_add_body): Likewise.
42488 (__arch_add_body): Likewise.
42489 (atomic_add_negative): Likewise.
42490 (atomic_add_zero): Likewise.
42491
42492 2012-11-26 Joseph Myers <joseph@codesourcery.com>
42493
42494 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
42495 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
42496 (add_fdes): Likewise.
42497 (linear_search_fdes): Likewise.
42498 (binary_search_unencoded_fdes): Likewise.
42499
42500 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
42501
42502 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
42503
42504 2012-11-24 Adam Conrad <adconrad@0c3.net>
42505
42506 * configure.in: Autodetect C++ header directories.
42507 * configure: Regenerated.
42508
42509 2012-11-23 Mike Frysinger <vapier@gentoo.org>
42510
42511 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
42512
42513 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
42514
42515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42516
42517 2012-11-22 Joseph Myers <joseph@codesourcery.com>
42518
42519 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
42520 LDBL_MANT_DIG == 106]: Disable some tests.
42521 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42522 Likewise.
42523 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42524 Likewise.
42525
42526 [BZ #14871]
42527 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
42528 input for small inputs. Return +/- pi/2 for large inputs.
42529 * math/libm-test.inc (atan_test): Add more tests.
42530
42531 * sysdeps/generic/unwind-dw2-fde-glibc.c
42532 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
42533 __attribute__ ((unused)).
42534
42535 [BZ #14645]
42536 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
42537 x * y if x and y are nonzero and z is zero.
42538
42539 [BZ #14811]
42540 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
42541 nonzero exponents with absolute value below 0x1p-117 to +/-
42542 0x1p-117.
42543
42544 [BZ #14869]
42545 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
42546 up arguments below 2**-450, not just those below 2**-500.
42547 * math/libm-test.inc (hypot_test): Add another test.
42548
42549 [BZ #14868]
42550 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
42551 Return a+b for ratio over 2**120, not 2**60.
42552 * math/libm-test.inc (hypot_test): Add another test.
42553
42554 * math/libm-test.inc (clog_test): Use
42555 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
42556 (clog10_test): Likewise.
42557
42558 [BZ #6778]
42559 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
42560
42561 2012-11-22 Andreas Schwab <schwab@suse.de>
42562
42563 * sysdeps/i386/fpu/libm-test-ulps: Update.
42564
42565 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
42566
42567 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
42568 printf output with newline.
42569
42570 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
42571
42572 [BZ #14865]
42573 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
42574 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
42575 -z nodlopen, -z initfirst and -z execstack support.
42576 * configure: Regenerated.
42577
42578 * elf/elf.h (DF_1_NODIRECT): New macro.
42579 (DF_1_IGNMULDEF): Likewise.
42580 (DF_1_NOKSYMS): Likewise.
42581 (DF_1_NOHDR): Likewise.
42582 (DF_1_EDITED): Likewise.
42583 (DF_1_NORELOC): Likewise.
42584 (DF_1_SYMINTPOSE): Likewise.
42585 (DF_1_GLOBAUDIT): Likewise.
42586 (DF_1_SINGLETON): Likewise.
42587 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
42588 DT_1_SUPPORTED_MASK bits.
42589 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
42590
42591 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
42592
42593 * sysdeps/unix/make-syscalls.sh: Document prefixes.
42594
42595 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
42596
42597 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
42598 macro.
42599
42600 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
42601 (sendmmsg): Move declarations...
42602 * socket/sys/socket.h: ... here.
42603 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
42604 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
42605 include it from...
42606 * socket/recvmmsg.c: ... this new file.
42607 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
42608 (sendmmsg): Rename to __sendmmsg, create weak alias and make
42609 definition of __sendmmsg hidden.
42610 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
42611 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
42612 Move ENOSYS stub into and include it from...
42613 * socket/sendmmsg.c: ... this new file.
42614 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
42615 (sysdep_routines): Move recvmmsg and sendmmsg...
42616 * socket/Makefile (routines): ... here.
42617 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
42618 (GLIBC_PRIVATE): Add __sendmmsg.
42619 * include/sys/socket.h (__sendmmsg): Add declarations.
42620 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
42621 sendmmsg.
42622
42623 2012-11-20 Joseph Myers <joseph@codesourcery.com>
42624
42625 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
42626 variable I1 with __attribute__ ((unused)).
42627 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42628
42629 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42630
42631 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
42632 DUMMY variables with __attribute__ ((unused)).
42633
42634 * bits/byteswap.h: Include <bits/types.h>.
42635 (__bswap_64): Use __uint64_t instead of unsigned long long int.
42636
42637 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
42638
42639 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
42640 string_t. Do not manually set errno.
42641 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
42642 length with __strnlen. Make sure to both set errno and return it on
42643 failure.
42644
42645 2012-11-19 David S. Miller <davem@davemloft.net>
42646
42647 With help from Joseph Myers.
42648 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
42649 very large arguments properly.
42650 * math/libm-test.inc (atan_test): New tests.
42651 (atan2_test): New tests.
42652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42653 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42654
42655 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42656
42657 [BZ #14856]
42658 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
42659 Define to 3.
42660
42661 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
42662 [POSIX] (EADDRNOTAVAIL): Likewise.
42663 [POSIX] (EAFNOSUPPORT): Likewise.
42664 [POSIX] (EALREADY): Likewise.
42665 [POSIX] (ECONNABORTED): Likewise.
42666 [POSIX] (ECONNREFUSED): Likewise.
42667 [POSIX] (ECONNRESET): Likewise.
42668 [POSIX] (EDESTADDRREQ): Likewise.
42669 [POSIX] (EDQUOT): Likewise.
42670 [POSIX] (EHOSTUNREACH): Likewise.
42671 [POSIX] (EIDRM): Likewise.
42672 [POSIX] (EISCONN): Likewise.
42673 [POSIX] (ELOOP): Likewise.
42674 [POSIX] (EMULTIHOP): Likewise.
42675 [POSIX] (ENETDOWN): Likewise.
42676 [POSIX] (ENETUNREACH): Likewise.
42677 [POSIX] (ENOBUFS): Likewise.
42678 [POSIX] (ENODATA): Likewise.
42679 [POSIX] (ENOLINK): Likewise.
42680 [POSIX] (ENOMSG): Likewise.
42681 [POSIX] (ENOPROTOOPT): Likewise.
42682 [POSIX] (ENOSR): Likewise.
42683 [POSIX] (ENOSTR): Likewise.
42684 [POSIX] (ENOTCONN): Likewise.
42685 [POSIX] (ENOTSOCK): Likewise.
42686 [POSIX] (EOPNOTSUPP): Likewise.
42687 [POSIX] (EOVERFLOW): Likewise.
42688 [POSIX] (EPROTO): Likewise.
42689 [POSIX] (EPROTONOSUPPORT): Likewise.
42690 [POSIX] (EPROTOTYPE): Likewise.
42691 [POSIX] (ESTALE): Likewise.
42692 [POSIX] (ETIME): Likewise.
42693 [POSIX] (ETXTBSY): Likewise.
42694 [POSIX] (EWOULDBLOCK): Likewise.
42695 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
42696 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
42697 [POSIX] (SEEK_CUR): Likewise.
42698 [POSIX] (SEEK_END): Likewise.
42699 [POSIX || UNIX98] (mode_t): Do not require.
42700 [POSIX] (off_t): Likewise.
42701 [POSIX] (pid_t): Likewise.
42702 [POSIX] (sys/stat.h): Do not allow header.
42703 [POSIX] (unistd.h): Likewise.
42704 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
42705 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
42706 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
42707 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
42708 require.
42709 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
42710 sigevent): Specify elements.
42711 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
42712 entry.
42713 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
42714 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
42715
42716 * conform/data/cpio.h-data [POSIX]: Disable whole file.
42717 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
42718 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
42719 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
42720 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
42721 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
42722 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
42723 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
42724 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
42725 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
42726 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
42727 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
42728 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
42729 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
42730 Likewise.
42731 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
42732 Likewise.
42733 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
42734 Likewise.
42735 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
42736 Likewise.
42737 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
42738 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
42739 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
42740 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
42741 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
42742 Specify lower bound on value.
42743 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
42744 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
42745 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
42746 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
42747 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
42748 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
42749 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
42750 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
42751 value.
42752 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
42753 as optional.
42754 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
42755 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
42756 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
42757 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
42758 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
42759 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
42760 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
42761 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
42762 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
42763 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
42764 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
42765 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
42766 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
42767 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
42768 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
42769 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
42770 entry.
42771 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
42772 optional.
42773 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
42774 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
42775 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
42776 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
42777 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
42778 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
42779 Likewise.
42780 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
42781 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
42782 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
42783 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
42784 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
42785 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
42786 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
42787 as optional.
42788 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
42789 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
42790 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
42791 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
42792 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
42793 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
42794 specify as optional.
42795 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
42796 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
42797 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
42798 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
42799 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
42800 [XPG3] (NL_LANGMAX): Likewise.
42801 [POSIX || XPG3] (NL_MSGMAX): Likewise.
42802 [POSIX || XPG3] (NL_NMAX): Likewise.
42803 [POSIX || XPG3] (NL_SETMAX): Likewise.
42804 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
42805 [XPG3] (NZERO): Likewise.
42806 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
42807 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
42808 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
42809 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
42810 (REG_ERANGE): Expect.
42811 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
42812 optional-constant.
42813 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
42814 Use (void) in prototype.
42815 [POSIX] (*_t): Allow.
42816 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
42817 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
42818 (WRDE_BADVAL): Expect.
42819
42820 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
42821 expect.
42822 [XPG3 || XPG4] (O_RSYNC): Likewise.
42823 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
42824 Likewise.
42825 [XPG3 || XPG4] (pthread_sigmask): Likewise.
42826 [XPG3 || XPG4] (sigqueue): Likewise.
42827 [XPG3 || XPG4] (sigtimedwait): Likewise.
42828 [XPG3 || XPG4] (sigwaitinfo): Likewise.
42829 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
42830 [XPG3 || XPG4] (vsnprintf): Likewise.
42831 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
42832 Likewise.
42833 [XPG3 || XPG4] (blksize_t): Likewise.
42834 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
42835 Likewise.
42836 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
42837 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
42838 [XPG3 || XPG4] (struct itimerspec): Likewise.
42839 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
42840 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
42841 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
42842 [XPG3 || XPG4] (clockid_t): Likewise.
42843 [XPG3 || XPG4] (timer_t): Likewise.
42844 [XPG3 || XPG4] (clock_getres): Likewise.
42845 [XPG3 || XPG4] (clock_gettime): Likewise.
42846 [XPG3 || XPG4] (clock_settime): Likewise.
42847 [XPG3 || XPG4] (nanosleep): Likewise.
42848 [XPG3 || XPG4] (timer_create): Likewise.
42849 [XPG3 || XPG4] (timer_delete): Likewise.
42850 [XPG3 || XPG4] (timer_gettime): Likewise.
42851 [XPG3 || XPG4] (timer_getoverrun): Likewise.
42852 [XPG3 || XPG4] (timer_settime): Likewise.
42853 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
42854 [XPG3 || XPG4] (getlogin_r): Likewise.
42855 [XPG3 || XPG4] (pread): Likewise.
42856 [XPG3 || XPG4] (pthread_atfork): Likewise.
42857 [XPG3 || XPG4] (pwrite): Likewise.
42858
42859 [BZ #14835]
42860 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
42861 <bits/siginfo.h>.
42862
42863 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
42864
42865 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
42866 finalizing MALLSTREAM.
42867
42868 * sysdeps/mach/hurd/syncfs.c: New file.
42869
42870 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
42871
42872 [BZ #14719]
42873 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
42874 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
42875 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
42876 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
42877 (_nss_dns_gethostbyname4_r): Likewise.
42878 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
42879 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
42880
42881 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
42882
42883 [BZ #13763]
42884 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
42885
42886 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
42887
42888 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
42889 * elf/cache.c (print_entry): Print ",AArch64" for
42890 FLAG_AARCH64_LIB64
42891
42892 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
42893 * elf/cache.c (print_entry): Print ",hard-float" for
42894 FLAG_ARM_LIBHF.
42895
42896 2012-11-18 David S. Miller <davem@davemloft.net>
42897
42898 With help from Joseph Myers.
42899 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
42900 cutoff to 2**-13.
42901 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
42902 cutoff to 2**-25.
42903 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
42904 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
42905 small.
42906 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
42907 * math/libm-test.inc (y0_test): New tests.
42908 (y1_test): New tests.
42909 * sysdeps/i386/fpu/libm-test-ulps: Update.
42910 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42912
42913 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
42914
42915 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
42916 64-bit targets.
42917 * configure: Regenerated.
42918
42919 2012-11-17 David S. Miller <davem@davemloft.net>
42920
42921 [BZ #14811]
42922 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
42923 nonzero exponents with absolute value below 0x1p-128 to +/-
42924 0x1p-128.
42925
42926 2012-11-17 Joseph Myers <joseph@codesourcery.com>
42927
42928 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
42929
42930 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
42931
42932 * posix/getconf-speclist.c: New file.
42933 * posix/posix-envs.def: Likewise.
42934 * posix/confstr.c (START_ENV_GROUP): New macro.
42935 (END_ENV_GROUP): Likewise.
42936 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42937 (KNOWN_PRESENT_ENV_STRING): Likewise.
42938 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42939 (UNKNOWN_ENVIRONMENT): Likewise.
42940 (confstr): Include posix-envs.def instead of handling
42941 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
42942 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
42943 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
42944 (END_ENV_GROUP): Likewise.
42945 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42946 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42947 (UNKNOWN_ENVIRONMENT): Likewise.
42948 (__sysconf): Include posix-envs.def instead of handling associated
42949 cases directly here.
42950 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
42951 preprocessing getconf-speclist.c rather than running getconf or
42952 generating empty file.
42953
42954 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
42955
42956 * scripts/check-local-headers.sh: Ignore 'mach' headers.
42957
42958 2012-11-16 Andrej Lajovic <natrij@gmail.com>
42959
42960 [BZ #14672]
42961 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
42962
42963 2012-11-16 David S. Miller <davem@davemloft.net>
42964
42965 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
42966 smaller than LDBL_EPSILON/2.0L, just return xm1.
42967
42968 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
42969
42970 * elf/tst-array1.c (init): Set constructor priority to 1000.
42971 (fini): Set destructor priority to 1000.
42972 * elf/tst-array2dep.c: Likewise.
42973
42974 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42975
42976 [BZ #11741]
42977 * libio/fileops.c (_IO_new_file_write): Correctly return error.
42978 (_IO_new_file_xsputn): Also return EOF if none of the input
42979 data was written when overflow failed.
42980 * libio/iopadn.c (_IO_padn): Likewise.
42981 * libio/iowpadn.c (_IO_wpadn): Likewise.
42982 * stdio-common/tst-put-error.c: Add copyright notice.
42983 (do_test): Add case for printing padded string.
42984 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
42985 _IO_padn returned error.
42986 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
42987 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
42988 return EOF.
42989
42990 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42991
42992 * libio/libioP.h: Add comment note that the references to C++
42993 bits are now obsolete.
42994
42995 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42996
42997 * math/libm-test.inc (check_complex): Use asprintf.
42998
42999 2012-11-14 Joseph Myers <joseph@codesourcery.com>
43000
43001 * debug/pcprofiledump.c (print_version): Update copyright year.
43002 * malloc/memusagestat.c (print_version): Likewise.
43003
43004 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
43005
43006 [BZ #14831]
43007 * elf/Makefile (tests): Add tst-audit8.
43008 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
43009 ($(objpfx)tst-audit8.out): New target.
43010 (tst-audit8-ENV): New variable.
43011 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
43012 audit if l_reloc_result is NULL.
43013 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
43014 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
43015 * elf/tst-audit8.c: New file.
43016
43017 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43018
43019 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
43020 * misc/Makefile (CFLAGS-select.c): Define.
43021 * posix/Makefile (CFLAGS-pause.c): Define.
43022
43023 2012-11-13 David S. Miller <davem@davemloft.net>
43024
43025 * crypt/Makefile: Move test targets after toplevel Rules
43026 inclusion. Grab any necessary sysdep routines when linking.
43027 * crypt/md5.c (md5_process_block): Remove define, we will always
43028 name it __md5_process_block.
43029 (md5_finish_ctx): Update md5_process_block call.
43030 (md5_stream): Likewise.
43031 (md5_process_bytes): Likewise.
43032 (md5_process_block): Rename to __md5_process_block and move to ...
43033 * crypt/md5-block.c: ... here.
43034 * crypt/sha256.c (sha256_process_block): Move to ...
43035 * crypt/sha256-block.c: ... here.
43036 * crypt/sha512.c (sha512_process_block): Move to ...
43037 * crypt/sha512-block.c: ... here.
43038 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
43039 path.
43040 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
43041 * sysdeps/sparc/sparc64/multiarch/Makefile
43042 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
43043 crypt subdir.
43044 (localedef-aux): Add md5 crypto assembler when in locale subdir.
43045 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
43046 multiarch changes.
43047 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
43048 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
43049 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
43050 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
43051 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
43052 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
43053 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
43054 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
43055 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
43056 file.
43057 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
43058 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
43059 file.
43060 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
43061
43062 2012-11-13 Joseph Myers <joseph@codesourcery.com>
43063
43064 * timezone/tzselect.ksh: Update from tzcode git revision
43065 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
43066 * timezone/zdump.c: Likewise.
43067 * timezone/zic.c: Likewise.
43068 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
43069 in TZVERSION setting, not $(PKGVERSION).
43070 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
43071 REPORT_BUGS_TO settings.
43072
43073 [BZ #14838]
43074 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
43075 macro.
43076
43077 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43078
43079 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
43080 detection to immediately after _FP_ROUND().
43081 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
43082 bits are 0.
43083
43084 2012-11-11 David S. Miller <davem@davemloft.net>
43085
43086 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
43087 inttypes.h
43088 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
43089 __close rather than their public counterparts.
43090
43091 2012-11-10 Joseph Myers <joseph@codesourcery.com>
43092
43093 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
43094 file.
43095 [UNIX98] (sem_timedwait): Do not expect.
43096 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
43097 [XPG4 || UNIX98] (sockatmark): Do not expect.
43098 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
43099 (clock_getcpuclockid): Do not expect.
43100 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
43101 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
43102 Do not expect.
43103 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
43104 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
43105 [UNIX98] (vwscanf): Likewise.
43106 [UNIX98] (vswscanf): Likewise.
43107
43108 2012-11-09 Joseph Myers <joseph@codesourcery.com>
43109
43110 * timezone/version.h: Remove file.
43111 * timezone/README: Do not refer to version.h.
43112 * timezone/Makefile ($(objpfx)zic.o): New dependency on
43113 $(objpfx)version.h.
43114 ($(objpfx)zdump.o): Likewise.
43115 ($(objpfx)version.h): New target.
43116
43117 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
43118 2012i.
43119 * timezone/README: Don't mention modification to tzselect.ksh.
43120 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
43121 work on unmodified tzselect.ksh. Substitute version numbers in
43122 tzselect.ksh.
43123
43124 * Makefile (format-me): Remove.
43125 (INSTALL): Adjust indentation. Use commands directly instead of
43126 using $(format-me).
43127
43128 * aclocal.m4 (ACX_PKGVERSION): New macro.
43129 (ACX_BUGURL): Likewise.
43130 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
43131 (PKGVERSION): New AC_DEFINE_UNQUOTED.
43132 (REPORT_BUGS_TO): Likewise.
43133 * configure: Regenerated.
43134 * config.h.in (PKGVERSION): New macro.
43135 (REPORT_BUGS_TO): Likewise.
43136 * config.make.in (PKGVERSION): New variable.
43137 (PKGVERSION_TEXI): Likewise.
43138 (REPORT_BUGS_TO): Likewise.
43139 (REPORT_BUGS_TEXI): Likewise.
43140 * Makefile (format-me): Use -I$(common-objpfx)manual.
43141 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
43142 ($(common-objpfx)manual/%): New target.
43143 (manual/%): Remove target.
43144 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
43145 (print_version): Use PKGVERSION.
43146 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
43147 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
43148 and REPORT_BUGS_TO.
43149 ($(objpfx)xtrace): Likewise.
43150 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
43151 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
43152 (print_version): Use PKGVERSION.
43153 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
43154 (do_version): Use PKGVERSION.
43155 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
43156 REPORT_BUGS_TO.
43157 (common-ldd-rewrite): Likewise.
43158 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
43159 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
43160 (print_version): Use PKGVERSION.
43161 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
43162 * elf/pldd.c (argp_program_bug_address): Remove variable.
43163 (more_help): New function.
43164 (argp): Use more_help.
43165 (print_version): Use PKGVERSION.
43166 * elf/sln.c (main): Use PKGVERSION.
43167 (usage): Use REPORT_BUGS_TO.
43168 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
43169 (top level): Use PKGVERSION.
43170 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
43171 (print_version): Use PKGVERSION.
43172 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
43173 (print_version): Use PKGVERSION.
43174 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
43175 (print_version): Use PKGVERSION.
43176 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
43177 (print_version): Use PKGVERSION.
43178 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
43179 (print_version): Use PKGVERSION.
43180 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
43181 (print_version): Use PKGVERSION.
43182 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
43183 and BUGURL.
43184 ($(objpfx)memusage): Likewise.
43185 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
43186 (do_version): Use PKGVERSION.
43187 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
43188 (print_version): Use PKGVERSION.
43189 * malloc/mtrace.pl ($PACKAGE): Remove variable.
43190 ($PKGVERSION): New variable.
43191 ($REPORT_BUGS_TO): Likewise.
43192 (usage): Use $REPORT_BUGS_TO.
43193 (top level): Use $PKGVERSION.
43194 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
43195 ($(objpfx)pkgvers.texi): New rule.
43196 ($(objpfx)stamp-pkgvers): Likewise.
43197 * manual/install.texi: Include pkgvers.texi.
43198 (--with-pkgversion): Document new configure option.
43199 (--with-bugurl): Likewise.
43200 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
43201 than necessarily for this particular distribution. Use
43202 REPORT_BUGS_TO for where to report bugs.
43203 * INSTALL: Regenerated.
43204 * manual/libc.texinfo: Include pkgvers.texi.
43205 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
43206 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
43207 (print_version): Use PKGVERSION.
43208 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
43209 (print_version): Use PKGVERSION.
43210 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
43211 (print_version): Use PKGVERSION.
43212 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
43213 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
43214 macro.
43215 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
43216 (print_version): Use PKGVERSION.
43217 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
43218 (print_version): Use PKGVERSION.
43219 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
43220 and PKGVERSION.
43221
43222 * timezone/checktab.awk: Update from tzcode 2012i.
43223 * timezone/ialloc.c: Likewise.
43224 * timezone/private.h: Likewise.
43225 * timezone/scheck.c: Likewise.
43226 * timezone/tzfile.h: Likewise.
43227 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
43228 (TZVERSION): Hardcode tzcode version number.
43229 * timezone/zdump.c: Update from tzcode 2012i.
43230 * timezone/zic.c: Likewise.
43231 * timezone/version.h: New file.
43232 * timezone/README: Describe version.h. Update upstream location.
43233
43234 [BZ #14824]
43235 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
43236 (mktemp): Enable declaration.
43237 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
43238 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
43239 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
43240 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
43241 Likewise.
43242 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
43243 Likewise.
43244 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
43245 Likewise.
43246 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
43247 Likewise.
43248 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
43249 Likewise.
43250 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
43251 Likewise.
43252
43253 [BZ #14821]
43254 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
43255 offset in buffer as u_int32_t not u_long. Consistently use memcpy
43256 for copies of such integer values.
43257 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43258 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43259
43260 2012-11-09 Andreas Jaeger <aj@suse.de>
43261
43262 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
43263 definitions and declarations that are provided by
43264 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43265
43266 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43267
43268 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
43269 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
43270 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
43271 definition.
43272
43273 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43274
43275 * elf/elf.h: Update comment before AArch64 relocations.
43276
43277 2012-11-07 David S. Miller <davem@davemloft.net>
43278
43279 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
43280 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43281 (__start_context): Declare.
43282 (__makecontext_ret): Delete.
43283 (__makecontext): Hook up __start_context instead of
43284 __makecontext_ret.
43285 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
43286 (sysdep_routines): Add __start_context when in stdlib.
43287
43288 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43289
43290 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
43291 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
43292 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
43293 hardcoded "nm".
43294 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
43295 (READELF): New variable. Use it instead of hardcoded "readelf".
43296
43297 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
43298
43299 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
43300 * sysdeps/x86/Makefile: Here.
43301 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
43302 * sysdeps/x86/tst-xmmymm.sh: This.
43303
43304 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43305
43306 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
43307 expectations.
43308 [UNIX98] (pthread_barrier_t): Do not expect.
43309 [UNIX98] (pthread_barrierattr_t): Likewise.
43310 [UNIX98] (pthread_spinlock_t): Likewise.
43311 [UNIX98] (pthread_barrier_destroy): Likewise.
43312 [UNIX98] (pthread_barrier_init): Likewise.
43313 [UNIX98] (pthread_barrier_wait): Likewise.
43314 [UNIX98] (pthread_barrierattr_destroy): Likewise.
43315 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
43316 [UNIX98] (pthread_barrierattr_init): Likewise.
43317 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
43318 [UNIX98] (pthread_getcpuclockid): Likewise.
43319 [UNIX98] (pthread_mutex_timedlock): Likewise.
43320 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
43321 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
43322 [UNIX98] (pthread_sigmask): Likewise.
43323 [UNIX98] (pthread_spin_destroy): Likewise.
43324 [UNIX98] (pthread_spin_init): Likewise.
43325 [UNIX98] (pthread_spin_lock): Likewise.
43326 [UNIX98] (pthread_spin_trylock): Likewise.
43327 [UNIX98] (pthread_spin_unlock): Likewise.
43328 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
43329 Do not expect.
43330 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
43331 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
43332 [XPG3 || XPG4] (pthread_cond_t): Likewise.
43333 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
43334 [XPG3 || XPG4] (pthread_key_t): Likewise.
43335 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
43336 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
43337 [XPG3 || XPG4] (pthread_once_t): Likewise.
43338 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
43339 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
43340 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
43341 [XPG3 || XPG4] (pthread_t): Likewise.
43342
43343 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
43344 not expect.
43345 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
43346
43347 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
43348 Change function return type to int.
43349
43350 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
43351 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
43352 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
43353 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
43354 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
43355 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
43356 [!POSIX] (posix_madvise): Likewise.
43357 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
43358 && !UNIX98].
43359 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
43360 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
43361 (mode_t): Likewise.
43362 (posix_mem_offset): Likewise.
43363 (posix_typed_mem_get_info): Likewise.
43364 (posix_typed_mem_open): Likewise.
43365
43366 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
43367 Change condition to [XOPEN2K8].
43368
43369 * conform/conformtest.pl: Preprocess allow-header data with -x c
43370 instead of from stdin.
43371 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
43372 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
43373 [C99-based standards] (cerfc): Likewise.
43374 [C99-based standards] (cexp2): Likewise.
43375 [C99-based standards] (cexpm1): Likewise.
43376 [C99-based standards] (clog10): Likewise.
43377 [C99-based standards] (clog1p): Likewise.
43378 [C99-based standards] (clog2): Likewise.
43379 [C99-based standards] (clgamma): Likewise.
43380 [C99-based standards] (ctgamma): Likewise.
43381 [C99-based standards] (cerff): Likewise.
43382 [C99-based standards] (cerfcf): Likewise.
43383 [C99-based standards] (cexp2f): Likewise.
43384 [C99-based standards] (cexpm1f): Likewise.
43385 [C99-based standards] (clog10f): Likewise.
43386 [C99-based standards] (clog1pf): Likewise.
43387 [C99-based standards] (clog2f): Likewise.
43388 [C99-based standards] (clgammaf): Likewise.
43389 [C99-based standards] (ctgammaf): Likewise.
43390 [C99-based standards] (cerfl): Likewise.
43391 [C99-based standards] (cerfcl): Likewise.
43392 [C99-based standards] (cexp2l): Likewise.
43393 [C99-based standards] (cexpm1l): Likewise.
43394 [C99-based standards] (clog10l): Likewise.
43395 [C99-based standards] (clog1pl): Likewise.
43396 [C99-based standards] (clog2l): Likewise.
43397 [C99-based standards] (clgammal): Likewise.
43398 [C99-based standards] (ctgammal): Likewise.
43399 * conform/data/inttypes.h-data [C99-based standards]: Include
43400 stdint.h-data. Remove all expectations for stdint.h contents.
43401 [C99-based standards] (PRI*): Do not allow.
43402 [C99-based standards] (SCN*): Likewise.
43403 [C99-based standards] (*_t): Likewise.
43404 [C99-based-standards] (PRId8): Expect macro.
43405 [C99-based-standards] (PRIi8): Likewise.
43406 [C99-based-standards] (PRIo8): Likewise.
43407 [C99-based-standards] (PRIu8): Likewise.
43408 [C99-based-standards] (PRIx8): Likewise.
43409 [C99-based-standards] (PRIX8): Likewise.
43410 [C99-based-standards] (SCNd8): Likewise.
43411 [C99-based-standards] (SCNi8): Likewise.
43412 [C99-based-standards] (SCNo8): Likewise.
43413 [C99-based-standards] (SCNu8): Likewise.
43414 [C99-based-standards] (SCNx8): Likewise.
43415 [C99-based-standards] (PRIdLEAST8): Likewise.
43416 [C99-based-standards] (PRIiLEAST8): Likewise.
43417 [C99-based-standards] (PRIoLEAST8): Likewise.
43418 [C99-based-standards] (PRIuLEAST8): Likewise.
43419 [C99-based-standards] (PRIxLEAST8): Likewise.
43420 [C99-based-standards] (PRIXLEAST8): Likewise.
43421 [C99-based-standards] (SCNdLEAST8): Likewise.
43422 [C99-based-standards] (SCNiLEAST8): Likewise.
43423 [C99-based-standards] (SCNoLEAST8): Likewise.
43424 [C99-based-standards] (SCNuLEAST8): Likewise.
43425 [C99-based-standards] (SCNxLEAST8): Likewise.
43426 [C99-based-standards] (PRIdFAST8): Likewise.
43427 [C99-based-standards] (PRIiFAST8): Likewise.
43428 [C99-based-standards] (PRIoFAST8): Likewise.
43429 [C99-based-standards] (PRIuFAST8): Likewise.
43430 [C99-based-standards] (PRIxFAST8): Likewise.
43431 [C99-based-standards] (PRIXFAST8): Likewise.
43432 [C99-based-standards] (SCNdFAST8): Likewise.
43433 [C99-based-standards] (SCNiFAST8): Likewise.
43434 [C99-based-standards] (SCNoFAST8): Likewise.
43435 [C99-based-standards] (SCNuFAST8): Likewise.
43436 [C99-based-standards] (SCNxFAST8): Likewise.
43437 [C99-based-standards] (PRId16): Likewise.
43438 [C99-based-standards] (PRIi16): Likewise.
43439 [C99-based-standards] (PRIo16): Likewise.
43440 [C99-based-standards] (PRIu16): Likewise.
43441 [C99-based-standards] (PRIx16): Likewise.
43442 [C99-based-standards] (PRIX16): Likewise.
43443 [C99-based-standards] (SCNd16): Likewise.
43444 [C99-based-standards] (SCNi16): Likewise.
43445 [C99-based-standards] (SCNo16): Likewise.
43446 [C99-based-standards] (SCNu16): Likewise.
43447 [C99-based-standards] (SCNx16): Likewise.
43448 [C99-based-standards] (PRIdLEAST16): Likewise.
43449 [C99-based-standards] (PRIiLEAST16): Likewise.
43450 [C99-based-standards] (PRIoLEAST16): Likewise.
43451 [C99-based-standards] (PRIuLEAST16): Likewise.
43452 [C99-based-standards] (PRIxLEAST16): Likewise.
43453 [C99-based-standards] (PRIXLEAST16): Likewise.
43454 [C99-based-standards] (SCNdLEAST16): Likewise.
43455 [C99-based-standards] (SCNiLEAST16): Likewise.
43456 [C99-based-standards] (SCNoLEAST16): Likewise.
43457 [C99-based-standards] (SCNuLEAST16): Likewise.
43458 [C99-based-standards] (SCNxLEAST16): Likewise.
43459 [C99-based-standards] (PRIdFAST16): Likewise.
43460 [C99-based-standards] (PRIiFAST16): Likewise.
43461 [C99-based-standards] (PRIoFAST16): Likewise.
43462 [C99-based-standards] (PRIuFAST16): Likewise.
43463 [C99-based-standards] (PRIxFAST16): Likewise.
43464 [C99-based-standards] (PRIXFAST16): Likewise.
43465 [C99-based-standards] (SCNdFAST16): Likewise.
43466 [C99-based-standards] (SCNiFAST16): Likewise.
43467 [C99-based-standards] (SCNoFAST16): Likewise.
43468 [C99-based-standards] (SCNuFAST16): Likewise.
43469 [C99-based-standards] (SCNxFAST16): Likewise.
43470 [C99-based-standards] (PRId32): Likewise.
43471 [C99-based-standards] (PRIi32): Likewise.
43472 [C99-based-standards] (PRIo32): Likewise.
43473 [C99-based-standards] (PRIu32): Likewise.
43474 [C99-based-standards] (PRIx32): Likewise.
43475 [C99-based-standards] (PRIX32): Likewise.
43476 [C99-based-standards] (SCNd32): Likewise.
43477 [C99-based-standards] (SCNi32): Likewise.
43478 [C99-based-standards] (SCNo32): Likewise.
43479 [C99-based-standards] (SCNu32): Likewise.
43480 [C99-based-standards] (SCNx32): Likewise.
43481 [C99-based-standards] (PRIdLEAST32): Likewise.
43482 [C99-based-standards] (PRIiLEAST32): Likewise.
43483 [C99-based-standards] (PRIoLEAST32): Likewise.
43484 [C99-based-standards] (PRIuLEAST32): Likewise.
43485 [C99-based-standards] (PRIxLEAST32): Likewise.
43486 [C99-based-standards] (PRIXLEAST32): Likewise.
43487 [C99-based-standards] (SCNdLEAST32): Likewise.
43488 [C99-based-standards] (SCNiLEAST32): Likewise.
43489 [C99-based-standards] (SCNoLEAST32): Likewise.
43490 [C99-based-standards] (SCNuLEAST32): Likewise.
43491 [C99-based-standards] (SCNxLEAST32): Likewise.
43492 [C99-based-standards] (PRIdFAST32): Likewise.
43493 [C99-based-standards] (PRIiFAST32): Likewise.
43494 [C99-based-standards] (PRIoFAST32): Likewise.
43495 [C99-based-standards] (PRIuFAST32): Likewise.
43496 [C99-based-standards] (PRIxFAST32): Likewise.
43497 [C99-based-standards] (PRIXFAST32): Likewise.
43498 [C99-based-standards] (SCNdFAST32): Likewise.
43499 [C99-based-standards] (SCNiFAST32): Likewise.
43500 [C99-based-standards] (SCNoFAST32): Likewise.
43501 [C99-based-standards] (SCNuFAST32): Likewise.
43502 [C99-based-standards] (SCNxFAST32): Likewise.
43503 [C99-based-standards] (PRId64): Likewise.
43504 [C99-based-standards] (PRIi64): Likewise.
43505 [C99-based-standards] (PRIo64): Likewise.
43506 [C99-based-standards] (PRIu64): Likewise.
43507 [C99-based-standards] (PRIx64): Likewise.
43508 [C99-based-standards] (PRIX64): Likewise.
43509 [C99-based-standards] (SCNd64): Likewise.
43510 [C99-based-standards] (SCNi64): Likewise.
43511 [C99-based-standards] (SCNo64): Likewise.
43512 [C99-based-standards] (SCNu64): Likewise.
43513 [C99-based-standards] (SCNx64): Likewise.
43514 [C99-based-standards] (PRIdLEAST64): Likewise.
43515 [C99-based-standards] (PRIiLEAST64): Likewise.
43516 [C99-based-standards] (PRIoLEAST64): Likewise.
43517 [C99-based-standards] (PRIuLEAST64): Likewise.
43518 [C99-based-standards] (PRIxLEAST64): Likewise.
43519 [C99-based-standards] (PRIXLEAST64): Likewise.
43520 [C99-based-standards] (SCNdLEAST64): Likewise.
43521 [C99-based-standards] (SCNiLEAST64): Likewise.
43522 [C99-based-standards] (SCNoLEAST64): Likewise.
43523 [C99-based-standards] (SCNuLEAST64): Likewise.
43524 [C99-based-standards] (SCNxLEAST64): Likewise.
43525 [C99-based-standards] (PRIdFAST64): Likewise.
43526 [C99-based-standards] (PRIiFAST64): Likewise.
43527 [C99-based-standards] (PRIoFAST64): Likewise.
43528 [C99-based-standards] (PRIuFAST64): Likewise.
43529 [C99-based-standards] (PRIxFAST64): Likewise.
43530 [C99-based-standards] (PRIXFAST64): Likewise.
43531 [C99-based-standards] (SCNdFAST64): Likewise.
43532 [C99-based-standards] (SCNiFAST64): Likewise.
43533 [C99-based-standards] (SCNoFAST64): Likewise.
43534 [C99-based-standards] (SCNuFAST64): Likewise.
43535 [C99-based-standards] (SCNxFAST64): Likewise.
43536 [C99-based-standards] (PRIdMAX): Likewise.
43537 [C99-based-standards] (PRIiMAX): Likewise.
43538 [C99-based-standards] (PRIoMAX): Likewise.
43539 [C99-based-standards] (PRIuMAX): Likewise.
43540 [C99-based-standards] (PRIxMAX): Likewise.
43541 [C99-based-standards] (PRIXMAX): Likewise.
43542 [C99-based-standards] (SCNdMAX): Likewise.
43543 [C99-based-standards] (SCNiMAX): Likewise.
43544 [C99-based-standards] (SCNoMAX): Likewise.
43545 [C99-based-standards] (SCNuMAX): Likewise.
43546 [C99-based-standards] (SCNxMAX): Likewise.
43547 [C99-based-standards] (PRIdPTR): Likewise.
43548 [C99-based-standards] (PRIiPTR): Likewise.
43549 [C99-based-standards] (PRIoPTR): Likewise.
43550 [C99-based-standards] (PRIuPTR): Likewise.
43551 [C99-based-standards] (PRIxPTR): Likewise.
43552 [C99-based-standards] (PRIXPTR): Likewise.
43553 [C99-based-standards] (SCNdPTR): Likewise.
43554 [C99-based-standards] (SCNiPTR): Likewise.
43555 [C99-based-standards] (SCNoPTR): Likewise.
43556 [C99-based-standards] (SCNuPTR): Likewise.
43557 [C99-based-standards] (SCNxPTR): Likewise.
43558 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
43559 allow.
43560 * conform/data/stdint.h-data: Update comments to clarify
43561 requirements.
43562 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
43563 type.
43564 [C99-based standards] (INT8_MAX): Likewise.
43565 [C99-based standards] (INT16_MIN): Likewise.
43566 [C99-based standards] (INT16_MAX): Likewise.
43567 [C99-based standards] (INT32_MIN): Likewise.
43568 [C99-based standards] (INT32_MAX): Likewise.
43569 [C99-based standards] (INT64_MIN): Likewise.
43570 [C99-based standards] (INT64_MAX): Likewise.
43571 [C99-based standards] (UINT8_MAX): Likewise.
43572 [C99-based standards] (UINT16_MAX): Likewise.
43573 [C99-based standards] (UINT32_MAX): Likewise.
43574 [C99-based standards] (UINT64_MAX): Likewise.
43575 [C99-based standards] (INT_LEAST8_MIN): Likewise.
43576 [C99-based standards] (INT_LEAST8_MAX): Likewise.
43577 [C99-based standards] (INT_LEAST16_MIN): Likewise.
43578 [C99-based standards] (INT_LEAST16_MAX): Likewise.
43579 [C99-based standards] (INT_LEAST32_MIN): Likewise.
43580 [C99-based standards] (INT_LEAST32_MAX): Likewise.
43581 [C99-based standards] (INT_LEAST64_MIN): Likewise.
43582 [C99-based standards] (INT_LEAST64_MAX): Likewise.
43583 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
43584 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
43585 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
43586 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
43587 [C99-based standards] (INT_FAST8_MIN): Likewise.
43588 [C99-based standards] (INT_FAST8_MAX): Likewise.
43589 [C99-based standards] (INT_FAST16_MIN): Likewise.
43590 [C99-based standards] (INT_FAST16_MAX): Likewise.
43591 [C99-based standards] (INT_FAST32_MIN): Likewise.
43592 [C99-based standards] (INT_FAST32_MAX): Likewise.
43593 [C99-based standards] (INT_FAST64_MIN): Likewise.
43594 [C99-based standards] (INT_FAST64_MAX): Likewise.
43595 [C99-based standards] (UINT_FAST8_MAX): Likewise.
43596 [C99-based standards] (UINT_FAST16_MAX): Likewise.
43597 [C99-based standards] (UINT_FAST32_MAX): Likewise.
43598 [C99-based standards] (UINT_FAST64_MAX): Likewise.
43599 [C99-based standards] (INTPTR_MIN): Likewise.
43600 [C99-based standards] (INTPTR_MAX): Likewise.
43601 [C99-based standards] (UINTPTR_MAX): Likewise.
43602 [C99-based standards] (INTMAX_MIN): Likewise.
43603 [C99-based standards] (INTMAX_MAX): Likewise.
43604 [C99-based standards] (UINTMAX_MAX): Likewise.
43605 [C99-based standards] (PTRDIFF_MIN): Likewise.
43606 [C99-based standards] (PTRDIFF_MAX): Likewise.
43607 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
43608 [C99-based standards] (SIZE_MAX): Likewise.
43609 [C99-based standards] (WCHAR_MAX): Likewise.
43610 [C99-based standards] (WINT_MAX): Likewise.
43611 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
43612 constraint on value.
43613 [C99-based standards] (WCHAR_MIN): Likewise.
43614 [C99-based standards] (WINT_MIN): Likewise.
43615 [C99-based standards] (*_t): Allow.
43616 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
43617 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
43618 Include math.h-data and complex.h-data. Remove all expectations
43619 of math.h and complex.h contents.
43620 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
43621 at end of line.
43622 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
43623 (struct tm): Expect tag.
43624 [C99-based-standards] (wcstof): Expect function.
43625 [C99-based-standards] (wcstold): Likewise.
43626 [C99-based-standards] (wcstoll): Likewise.
43627 [C99-based-standards] (wcstoull): Likewise.
43628 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
43629 macro-int-constant. Specify type.
43630 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
43631 constraint on value.
43632 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43633 Specify type.
43634 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
43635 Specify value.
43636 [ISO C standards]: Do not allow headers.
43637 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
43638 wcs[abcdefghijklmnopqrstuvwxyz]*.
43639 [ISO C standards] (*_t): Do not allow.
43640 * conform/data/wctype.h-data [C99-based standards] (iswblank):
43641 Expect function.
43642 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
43643 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43644 Specify type.
43645 [ISO C standards]: Do not allow headers.
43646 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
43647 is[abcdefghijklmnopqrstuvwxyz]*.
43648 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
43649 to[abcdefghijklmnopqrstuvwxyz]*.
43650 [ISO C standards] (*_t): Do not allow.
43651 * conform/data/stdalign.h-data: New file.
43652 * conform/data/stdbool.h-data: Likewise.
43653 * conform/data/stdnoreturn.h-data: Likewise.
43654
43655 2012-11-07 Roland McGrath <roland@hack.frob.com>
43656
43657 [BZ #14815]
43658 * manual/filesys.texi (Directory Entries): Typo fix.
43659 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
43660
43661 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43662
43663 * elf/elf.h (EM_AARCH64): New macro.
43664 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
43665 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
43666 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
43667 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
43668 (R_AARCH64_TLSDESC): Likewise.
43669 (NT_ARM_TLS): Likewise.
43670 (NT_ARM_HW_BREAK): Likewise.
43671 (NT_ARM_HW_WATCH): Likewise.
43672
43673 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43674
43675 [BZ #14811]
43676 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
43677 (__ieee754_powl): Saturate nonzero exponents with absolute value
43678 below 0x1p-79 to +/- 0x1p-79.
43679 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
43680 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
43681 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
43682 nonzero exponents with absolute value below 0x1p-32 to +/-
43683 0x1p-32.
43684 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
43685 (__ieee754_powl): Saturate nonzero exponents with absolute value
43686 below 0x1p-79 to +/- 0x1p-79.
43687 * math/libm-test.inc (pow_test): Add more tests.
43688
43689 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43690
43691 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
43692 _dl_s390_cap_flags with kernel. Increase string length.
43693 (_dl_s390_platforms): Add z196 and zEC12.
43694
43695 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43696
43697 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
43698 Change XOPEN21K to XOPEN2K.
43699
43700 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
43701
43702 * string/memmove.c: Use memcpy when possible.
43703
43704 2012-11-06 Andreas Jaeger <aj@suse.de>
43705
43706 * po/eo.po: Update from translation team.
43707
43708 2012-11-06 Joseph Myers <joseph@codesourcery.com>
43709
43710 [BZ #14793]
43711 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
43712 exponent and small x and y exponents, scale x or y up. Increase
43713 by 2 the exponent used in scaling up.
43714 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43715 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43716 * math/libm-test.inc (fma_test): Add more tests.
43717 (fma_test_towardzero): Likewise.
43718 (fma_test_downward): Likewise.
43719 (fma_test_upward): Likewise.
43720
43721 2012-11-05 Joseph Myers <joseph@codesourcery.com>
43722
43723 [BZ #14805]
43724 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
43725 fenv_t *.
43726
43727 [BZ #14801]
43728 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
43729 namespace for names of struct fields.
43730 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
43731 fenv_t fields.
43732 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
43733 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
43734
43735 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
43736
43737 [BZ #3665]
43738 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
43739
43740 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43741
43742 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
43743 PTR_DEMANGLE.
43744
43745 [BZ #5246]
43746 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
43747 PTR_DEMANGLE.
43748
43749 2012-11-04 Joseph Myers <joseph@codesourcery.com>
43750
43751 [BZ #14797]
43752 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
43753 definitely overflow as x * y not x * y + z.
43754 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43755 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43756 * math/libm-test.inc (fma_test): Add more tests.
43757 (fma_test_towardzero): Likewise.
43758 (fma_test_downward): Likewise.
43759 (fma_test_upward): Likewise.
43760
43761 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43762
43763 [BZ #157]
43764
43765 * include/stub-tag.h: Remove file.
43766 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
43767 '#include' of it.
43768 * manual/maint.texi (Porting): Don't reference it.
43769 * Makerules ($(objpfx)stubs): Likewise.
43770 * dirent/closedir.c: Don't include <stub-tag.h>.
43771 * dirent/dirfd.c: Likewise.
43772 * dirent/fdopendir.c: Likewise.
43773 * dirent/getdents.c: Likewise.
43774 * dirent/getdents64.c: Likewise.
43775 * dirent/opendir.c: Likewise.
43776 * dirent/readdir.c: Likewise.
43777 * dirent/readdir64.c: Likewise.
43778 * dirent/readdir64_r.c: Likewise.
43779 * dirent/readdir_r.c: Likewise.
43780 * dirent/rewinddir.c: Likewise.
43781 * dirent/seekdir.c: Likewise.
43782 * dirent/telldir.c: Likewise.
43783 * gmon/profil.c: Likewise.
43784 * grp/setgroups.c: Likewise.
43785 * inet/if_index.c: Likewise.
43786 * io/access.c: Likewise.
43787 * io/chdir.c: Likewise.
43788 * io/chmod.c: Likewise.
43789 * io/chown.c: Likewise.
43790 * io/close.c: Likewise.
43791 * io/dup.c: Likewise.
43792 * io/dup2.c: Likewise.
43793 * io/dup3.c: Likewise.
43794 * io/euidaccess.c: Likewise.
43795 * io/faccessat.c: Likewise.
43796 * io/fchdir.c: Likewise.
43797 * io/fchmod.c: Likewise.
43798 * io/fchmodat.c: Likewise.
43799 * io/fchown.c: Likewise.
43800 * io/fchownat.c: Likewise.
43801 * io/fcntl.c: Likewise.
43802 * io/flock.c: Likewise.
43803 * io/fstatfs.c: Likewise.
43804 * io/fstatfs64.c: Likewise.
43805 * io/fstatvfs.c: Likewise.
43806 * io/fstatvfs64.c: Likewise.
43807 * io/futimens.c: Likewise.
43808 * io/fxstat.c: Likewise.
43809 * io/fxstat64.c: Likewise.
43810 * io/fxstatat.c: Likewise.
43811 * io/fxstatat64.c: Likewise.
43812 * io/getcwd.c: Likewise.
43813 * io/isatty.c: Likewise.
43814 * io/lchmod.c: Likewise.
43815 * io/lchown.c: Likewise.
43816 * io/link.c: Likewise.
43817 * io/linkat.c: Likewise.
43818 * io/lseek.c: Likewise.
43819 * io/lseek64.c: Likewise.
43820 * io/lxstat64.c: Likewise.
43821 * io/mkdir.c: Likewise.
43822 * io/mkdirat.c: Likewise.
43823 * io/mkfifo.c: Likewise.
43824 * io/mkfifoat.c: Likewise.
43825 * io/open.c: Likewise.
43826 * io/open64.c: Likewise.
43827 * io/openat.c: Likewise.
43828 * io/openat64.c: Likewise.
43829 * io/pipe.c: Likewise.
43830 * io/pipe2.c: Likewise.
43831 * io/poll.c: Likewise.
43832 * io/posix_fadvise.c: Likewise.
43833 * io/posix_fadvise64.c: Likewise.
43834 * io/posix_fallocate.c: Likewise.
43835 * io/posix_fallocate64.c: Likewise.
43836 * io/read.c: Likewise.
43837 * io/readlink.c: Likewise.
43838 * io/readlinkat.c: Likewise.
43839 * io/rmdir.c: Likewise.
43840 * io/sendfile.c: Likewise.
43841 * io/sendfile64.c: Likewise.
43842 * io/statfs.c: Likewise.
43843 * io/statfs64.c: Likewise.
43844 * io/statvfs.c: Likewise.
43845 * io/statvfs64.c: Likewise.
43846 * io/symlink.c: Likewise.
43847 * io/symlinkat.c: Likewise.
43848 * io/ttyname.c: Likewise.
43849 * io/ttyname_r.c: Likewise.
43850 * io/umask.c: Likewise.
43851 * io/unlink.c: Likewise.
43852 * io/unlinkat.c: Likewise.
43853 * io/utime.c: Likewise.
43854 * io/utimensat.c: Likewise.
43855 * io/write.c: Likewise.
43856 * io/xmknod.c: Likewise.
43857 * io/xmknodat.c: Likewise.
43858 * io/xstat.c: Likewise.
43859 * io/xstat64.c: Likewise.
43860 * login/getpt.c: Likewise.
43861 * login/grantpt.c: Likewise.
43862 * login/unlockpt.c: Likewise.
43863 * math/e_acoshl.c: Likewise.
43864 * math/e_acosl.c: Likewise.
43865 * math/e_asinl.c: Likewise.
43866 * math/e_atan2l.c: Likewise.
43867 * math/e_atanhl.c: Likewise.
43868 * math/e_coshl.c: Likewise.
43869 * math/e_expl.c: Likewise.
43870 * math/e_fmodl.c: Likewise.
43871 * math/e_gammal_r.c: Likewise.
43872 * math/e_hypotl.c: Likewise.
43873 * math/e_j0l.c: Likewise.
43874 * math/e_j1l.c: Likewise.
43875 * math/e_jnl.c: Likewise.
43876 * math/e_lgammal_r.c: Likewise.
43877 * math/e_log10l.c: Likewise.
43878 * math/e_log2l.c: Likewise.
43879 * math/e_logl.c: Likewise.
43880 * math/e_powl.c: Likewise.
43881 * math/e_rem_pio2l.c: Likewise.
43882 * math/e_sinhl.c: Likewise.
43883 * math/e_sqrtl.c: Likewise.
43884 * math/fclrexcpt.c: Likewise.
43885 * math/fedisblxcpt.c: Likewise.
43886 * math/feenablxcpt.c: Likewise.
43887 * math/fegetenv.c: Likewise.
43888 * math/fegetexcept.c: Likewise.
43889 * math/fegetround.c: Likewise.
43890 * math/feholdexcpt.c: Likewise.
43891 * math/fesetenv.c: Likewise.
43892 * math/fesetround.c: Likewise.
43893 * math/feupdateenv.c: Likewise.
43894 * math/fgetexcptflg.c: Likewise.
43895 * math/fraiseexcpt.c: Likewise.
43896 * math/fsetexcptflg.c: Likewise.
43897 * math/ftestexcept.c: Likewise.
43898 * math/k_cosl.c: Likewise.
43899 * math/k_rem_pio2l.c: Likewise.
43900 * math/k_sinl.c: Likewise.
43901 * math/k_tanl.c: Likewise.
43902 * math/s_asinhl.c: Likewise.
43903 * math/s_atanl.c: Likewise.
43904 * math/s_cbrtl.c: Likewise.
43905 * math/s_erfl.c: Likewise.
43906 * math/s_expm1l.c: Likewise.
43907 * math/s_log1pl.c: Likewise.
43908 * math/s_tanhl.c: Likewise.
43909 * misc/acct.c: Likewise.
43910 * misc/brk.c: Likewise.
43911 * misc/chflags.c: Likewise.
43912 * misc/chroot.c: Likewise.
43913 * misc/fchflags.c: Likewise.
43914 * misc/fgetxattr.c: Likewise.
43915 * misc/flistxattr.c: Likewise.
43916 * misc/fremovexattr.c: Likewise.
43917 * misc/fsetxattr.c: Likewise.
43918 * misc/fsync.c: Likewise.
43919 * misc/ftruncate.c: Likewise.
43920 * misc/futimes.c: Likewise.
43921 * misc/futimesat.c: Likewise.
43922 * misc/getdomain.c: Likewise.
43923 * misc/getdtsz.c: Likewise.
43924 * misc/gethostid.c: Likewise.
43925 * misc/gethostname.c: Likewise.
43926 * misc/getloadavg.c: Likewise.
43927 * misc/getpagesize.c: Likewise.
43928 * misc/getsysstats.c: Likewise.
43929 * misc/getxattr.c: Likewise.
43930 * misc/gtty.c: Likewise.
43931 * misc/ioctl.c: Likewise.
43932 * misc/lgetxattr.c: Likewise.
43933 * misc/listxattr.c: Likewise.
43934 * misc/llistxattr.c: Likewise.
43935 * misc/lremovexattr.c: Likewise.
43936 * misc/lsetxattr.c: Likewise.
43937 * misc/lutimes.c: Likewise.
43938 * misc/madvise.c: Likewise.
43939 * misc/mincore.c: Likewise.
43940 * misc/mlock.c: Likewise.
43941 * misc/mlockall.c: Likewise.
43942 * misc/mmap.c: Likewise.
43943 * misc/mprotect.c: Likewise.
43944 * misc/msync.c: Likewise.
43945 * misc/munlock.c: Likewise.
43946 * misc/munlockall.c: Likewise.
43947 * misc/munmap.c: Likewise.
43948 * misc/preadv.c: Likewise.
43949 * misc/preadv64.c: Likewise.
43950 * misc/ptrace.c: Likewise.
43951 * misc/pwritev.c: Likewise.
43952 * misc/pwritev64.c: Likewise.
43953 * misc/readv.c: Likewise.
43954 * misc/reboot.c: Likewise.
43955 * misc/remap_file_pages.c: Likewise.
43956 * misc/removexattr.c: Likewise.
43957 * misc/revoke.c: Likewise.
43958 * misc/select.c: Likewise.
43959 * misc/setdomain.c: Likewise.
43960 * misc/setegid.c: Likewise.
43961 * misc/seteuid.c: Likewise.
43962 * misc/sethostid.c: Likewise.
43963 * misc/sethostname.c: Likewise.
43964 * misc/setregid.c: Likewise.
43965 * misc/setreuid.c: Likewise.
43966 * misc/setxattr.c: Likewise.
43967 * misc/sstk.c: Likewise.
43968 * misc/stty.c: Likewise.
43969 * misc/swapoff.c: Likewise.
43970 * misc/swapon.c: Likewise.
43971 * misc/sync.c: Likewise.
43972 * misc/syncfs.c: Likewise.
43973 * misc/syscall.c: Likewise.
43974 * misc/truncate.c: Likewise.
43975 * misc/ualarm.c: Likewise.
43976 * misc/usleep.c: Likewise.
43977 * misc/ustat.c: Likewise.
43978 * misc/utimes.c: Likewise.
43979 * misc/vhangup.c: Likewise.
43980 * misc/writev.c: Likewise.
43981 * posix/_exit.c: Likewise.
43982 * posix/alarm.c: Likewise.
43983 * posix/execve.c: Likewise.
43984 * posix/fexecve.c: Likewise.
43985 * posix/fork.c: Likewise.
43986 * posix/fpathconf.c: Likewise.
43987 * posix/getaddrinfo.c: Likewise.
43988 * posix/getegid.c: Likewise.
43989 * posix/geteuid.c: Likewise.
43990 * posix/getgid.c: Likewise.
43991 * posix/getgroups.c: Likewise.
43992 * posix/getlogin.c: Likewise.
43993 * posix/getlogin_r.c: Likewise.
43994 * posix/getpgid.c: Likewise.
43995 * posix/getpid.c: Likewise.
43996 * posix/getppid.c: Likewise.
43997 * posix/getresgid.c: Likewise.
43998 * posix/getresuid.c: Likewise.
43999 * posix/getsid.c: Likewise.
44000 * posix/getuid.c: Likewise.
44001 * posix/glob64.c: Likewise.
44002 * posix/nanosleep.c: Likewise.
44003 * posix/pathconf.c: Likewise.
44004 * posix/pause.c: Likewise.
44005 * posix/posix_madvise.c: Likewise.
44006 * posix/pread.c: Likewise.
44007 * posix/pread64.c: Likewise.
44008 * posix/pwrite.c: Likewise.
44009 * posix/pwrite64.c: Likewise.
44010 * posix/sched_getaffinity.c: Likewise.
44011 * posix/sched_getp.c: Likewise.
44012 * posix/sched_gets.c: Likewise.
44013 * posix/sched_primax.c: Likewise.
44014 * posix/sched_primin.c: Likewise.
44015 * posix/sched_rr_gi.c: Likewise.
44016 * posix/sched_setaffinity.c: Likewise.
44017 * posix/sched_setp.c: Likewise.
44018 * posix/sched_sets.c: Likewise.
44019 * posix/sched_yield.c: Likewise.
44020 * posix/setgid.c: Likewise.
44021 * posix/setlogin.c: Likewise.
44022 * posix/setpgid.c: Likewise.
44023 * posix/setresgid.c: Likewise.
44024 * posix/setresuid.c: Likewise.
44025 * posix/setsid.c: Likewise.
44026 * posix/setuid.c: Likewise.
44027 * posix/sleep.c: Likewise.
44028 * posix/spawni.c: Likewise.
44029 * posix/sysconf.c: Likewise.
44030 * posix/times.c: Likewise.
44031 * posix/wait.c: Likewise.
44032 * posix/wait3.c: Likewise.
44033 * posix/wait4.c: Likewise.
44034 * posix/waitpid.c: Likewise.
44035 * resolv/gai_sigqueue.c: Likewise.
44036 * resource/getpriority.c: Likewise.
44037 * resource/getrlimit.c: Likewise.
44038 * resource/getrusage.c: Likewise.
44039 * resource/nice.c: Likewise.
44040 * resource/setpriority.c: Likewise.
44041 * resource/setrlimit.c: Likewise.
44042 * resource/ulimit.c: Likewise.
44043 * rt/aio_cancel.c: Likewise.
44044 * rt/aio_fsync.c: Likewise.
44045 * rt/aio_read.c: Likewise.
44046 * rt/aio_sigqueue.c: Likewise.
44047 * rt/aio_suspend.c: Likewise.
44048 * rt/aio_write.c: Likewise.
44049 * rt/clock_getres.c: Likewise.
44050 * rt/clock_gettime.c: Likewise.
44051 * rt/clock_nanosleep.c: Likewise.
44052 * rt/clock_settime.c: Likewise.
44053 * rt/lio_listio.c: Likewise.
44054 * rt/mq_close.c: Likewise.
44055 * rt/mq_getattr.c: Likewise.
44056 * rt/mq_notify.c: Likewise.
44057 * rt/mq_open.c: Likewise.
44058 * rt/mq_receive.c: Likewise.
44059 * rt/mq_send.c: Likewise.
44060 * rt/mq_setattr.c: Likewise.
44061 * rt/mq_timedreceive.c: Likewise.
44062 * rt/mq_timedsend.c: Likewise.
44063 * rt/mq_unlink.c: Likewise.
44064 * rt/shm_open.c: Likewise.
44065 * rt/shm_unlink.c: Likewise.
44066 * rt/timer_create.c: Likewise.
44067 * rt/timer_delete.c: Likewise.
44068 * rt/timer_getoverr.c: Likewise.
44069 * rt/timer_gettime.c: Likewise.
44070 * rt/timer_settime.c: Likewise.
44071 * setjmp/__longjmp.c: Likewise.
44072 * setjmp/setjmp.c: Likewise.
44073 * signal/kill.c: Likewise.
44074 * signal/killpg.c: Likewise.
44075 * signal/raise.c: Likewise.
44076 * signal/sigaction.c: Likewise.
44077 * signal/sigaltstack.c: Likewise.
44078 * signal/sigblock.c: Likewise.
44079 * signal/sigignore.c: Likewise.
44080 * signal/sigintr.c: Likewise.
44081 * signal/signal.c: Likewise.
44082 * signal/sigpause.c: Likewise.
44083 * signal/sigpending.c: Likewise.
44084 * signal/sigqueue.c: Likewise.
44085 * signal/sigreturn.c: Likewise.
44086 * signal/sigset.c: Likewise.
44087 * signal/sigsetmask.c: Likewise.
44088 * signal/sigstack.c: Likewise.
44089 * signal/sigsuspend.c: Likewise.
44090 * signal/sigtimedwait.c: Likewise.
44091 * signal/sigvec.c: Likewise.
44092 * signal/sigwait.c: Likewise.
44093 * signal/sigwaitinfo.c: Likewise.
44094 * signal/sysv_signal.c: Likewise.
44095 * socket/accept.c: Likewise.
44096 * socket/accept4.c: Likewise.
44097 * socket/bind.c: Likewise.
44098 * socket/connect.c: Likewise.
44099 * socket/getpeername.c: Likewise.
44100 * socket/getsockname.c: Likewise.
44101 * socket/getsockopt.c: Likewise.
44102 * socket/isfdtype.c: Likewise.
44103 * socket/listen.c: Likewise.
44104 * socket/recv.c: Likewise.
44105 * socket/recvfrom.c: Likewise.
44106 * socket/recvmsg.c: Likewise.
44107 * socket/send.c: Likewise.
44108 * socket/sendmsg.c: Likewise.
44109 * socket/sendto.c: Likewise.
44110 * socket/setsockopt.c: Likewise.
44111 * socket/shutdown.c: Likewise.
44112 * socket/sockatmark.c: Likewise.
44113 * socket/socket.c: Likewise.
44114 * socket/socketpair.c: Likewise.
44115 * stdio-common/ctermid.c: Likewise.
44116 * stdio-common/cuserid.c: Likewise.
44117 * stdio-common/remove.c: Likewise.
44118 * stdio-common/rename.c: Likewise.
44119 * stdio-common/renameat.c: Likewise.
44120 * stdio-common/tempname.c: Likewise.
44121 * stdlib/getcontext.c: Likewise.
44122 * stdlib/makecontext.c: Likewise.
44123 * stdlib/setcontext.c: Likewise.
44124 * stdlib/swapcontext.c: Likewise.
44125 * stdlib/system.c: Likewise.
44126 * streams/fattach.c: Likewise.
44127 * streams/fdetach.c: Likewise.
44128 * streams/getmsg.c: Likewise.
44129 * streams/getpmsg.c: Likewise.
44130 * streams/putmsg.c: Likewise.
44131 * streams/putpmsg.c: Likewise.
44132 * sysdeps/unix/bsd/getpt.c: Likewise.
44133 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
44134 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
44135 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44137 Likewise.
44138 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
44139 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44140 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
44141 * sysvipc/msgctl.c: Likewise.
44142 * sysvipc/msgget.c: Likewise.
44143 * sysvipc/msgrcv.c: Likewise.
44144 * sysvipc/msgsnd.c: Likewise.
44145 * sysvipc/semctl.c: Likewise.
44146 * sysvipc/semget.c: Likewise.
44147 * sysvipc/semop.c: Likewise.
44148 * sysvipc/semtimedop.c: Likewise.
44149 * sysvipc/shmat.c: Likewise.
44150 * sysvipc/shmctl.c: Likewise.
44151 * sysvipc/shmdt.c: Likewise.
44152 * sysvipc/shmget.c: Likewise.
44153 * termios/tcdrain.c: Likewise.
44154 * termios/tcflow.c: Likewise.
44155 * termios/tcflush.c: Likewise.
44156 * termios/tcgetattr.c: Likewise.
44157 * termios/tcgetpgrp.c: Likewise.
44158 * termios/tcsendbrk.c: Likewise.
44159 * termios/tcsetattr.c: Likewise.
44160 * termios/tcsetpgrp.c: Likewise.
44161 * time/adjtime.c: Likewise.
44162 * time/clock.c: Likewise.
44163 * time/getitimer.c: Likewise.
44164 * time/gettimeofday.c: Likewise.
44165 * time/setitimer.c: Likewise.
44166 * time/settimeofday.c: Likewise.
44167 * time/stime.c: Likewise.
44168 * time/time.c: Likewise.
44169
44170 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
44171
44172 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
44173 /usr/old/bin.
44174
44175 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
44176 instead of spaces.
44177 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
44178
44179 2012-11-03 Joseph Myers <joseph@codesourcery.com>
44180
44181 [BZ #14796]
44182 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
44183 FE_TONEAREST before applying Dekker multiplication and Knuth
44184 addition. Clear inexact exceptions and check for exact zero
44185 results afterwards.
44186 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44187 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44188 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44189 * math/libm-test.inc (fma_test): Add more tests.
44190 (fma_test_towardzero): Likewise.
44191 (fma_test_downward): Likewise.
44192 (fma_test_upward): Likewise.
44193 * sysdeps/generic/math_private.h (default_libc_fesetround): New
44194 function.
44195 (libc_fesetround): New macro.
44196 (libc_fesetroundf): Likewise.
44197 (libc_fesetroundl): Likewise.
44198 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
44199 function.
44200 (libc_fesetround_387): Likewise.
44201 (libc_fesetroundf): New macro.
44202 (libc_fesetround): Likewise.
44203 (libc_fesetroundl): Likewise.
44204 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
44205 function.
44206 (libc_fesetroundf): New macro.
44207 (libc_fesetround): Likewise.
44208 (libc_fesetroundl): Likewise.
44209 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
44210 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
44211 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
44212 libm_hidden_ver.
44213 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
44214 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
44215 libm_hidden_def.
44216 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
44217 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
44218 libm_hidden_ver.
44219 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
44220 libm_hidden_def.
44221
44222 [BZ #3439]
44223 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
44224 integer constant usable in #if and use that to give value to enum
44225 constant.
44226 (FE_DIVBYZERO): Likewise.
44227 (FE_UNDERFLOW): Likewise.
44228 (FE_OVERFLOW): Likewise.
44229 (FE_INVALID): Likewise.
44230 (FE_INVALID_SNAN): Likewise.
44231 (FE_INVALID_ISI): Likewise.
44232 (FE_INVALID_IDI): Likewise.
44233 (FE_INVALID_ZDZ): Likewise.
44234 (FE_INVALID_IMZ): Likewise.
44235 (FE_INVALID_COMPARE): Likewise.
44236 (FE_INVALID_SOFTWARE): Likewise.
44237 (FE_INVALID_SQRT): Likewise.
44238 (FE_INVALID_INTEGER_CONVERSION): Likewise.
44239 (FE_TONEAREST): Likewise.
44240 (FE_TOWARDZERO): Likewise.
44241 (FE_UPWARD): Likewise.
44242 (FE_DOWNWARD): Likewise.
44243 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
44244 (FE_DIVBYZERO): Likewise.
44245 (FE_OVERFLOW): Likewise.
44246 (FE_UNDERFLOW): Likewise.
44247 (FE_INEXACT): Likewise.
44248 (FE_TONEAREST): Likewise.
44249 (FE_DOWNWARD): Likewise.
44250 (FE_UPWARD): Likewise.
44251 (FE_TOWARDZERO): Likewise.
44252 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
44253 (FE_UNDERFLOW): Likewise.
44254 (FE_OVERFLOW): Likewise.
44255 (FE_DIVBYZERO): Likewise.
44256 (FE_INVALID): Likewise.
44257 (FE_TONEAREST): Likewise.
44258 (FE_TOWARDZERO): Likewise.
44259 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
44260 (FE_OVERFLOW): Likewise.
44261 (FE_UNDERFLOW): Likewise.
44262 (FE_DIVBYZERO): Likewise.
44263 (FE_INEXACT): Likewise.
44264 (FE_TONEAREST): Likewise.
44265 (FE_TOWARDZERO): Likewise.
44266 (FE_UPWARD): Likewise.
44267 (FE_DOWNWARD): Likewise.
44268 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
44269 (FE_DIVBYZERO): Likewise.
44270 (FE_OVERFLOW): Likewise.
44271 (FE_UNDERFLOW): Likewise.
44272 (FE_INEXACT): Likewise.
44273 (FE_TONEAREST): Likewise.
44274 (FE_DOWNWARD): Likewise.
44275 (FE_UPWARD): Likewise.
44276 (FE_TOWARDZERO): Likewise.
44277
44278 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
44279
44280 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
44281
44282 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
44283
44284 * scripts/cross-test-ssh.sh (command): Use newlines to separate
44285 commands. Quote $PWD.
44286 (blacklist_exports): Don't use remove_newlines. Replace "declare
44287 -x" by "export".
44288 (remove_newlines): Remove.
44289
44290 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
44291
44292 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
44293 * stdlib/stdlib.h (atof): Moved to ...
44294 * include/bits/stdlib-float.h: Here. New file.
44295 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
44296 * stdlib/bits/stdlib-float.h: New file.
44297 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
44298 -mno-sse -mno-mmx.
44299 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
44300 <xmmintrin.h>.
44301
44302 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44303
44304 * conform/conformtest.pl (@headers): Add fenv.h.
44305 * conform/data/fenv.h-data: New file.
44306 * include/fenv.h [_ISOMAC]: Disable all contents of file except
44307 include of <math/fenv.h>.
44308
44309 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
44310 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
44311 && !UNIX98]. Enables tests for XOPEN2K8.
44312 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
44313 POSIX2008]: Likewise.
44314
44315 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
44316 (struct rusage): Do not expect type or its members.
44317
44318 [BZ #3439]
44319 * math/math.h (FP_NAN): Define macro to integer constant usable in
44320 #if and use that to give value to enum constant.
44321 (FP_INFINITE): Likewise.
44322 (FP_ZERO): Likewise.
44323 (FP_SUBNORMAL): Likewise.
44324 (FP_NORMAL): Likewise.
44325
44326 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
44327
44328 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
44329 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
44330 arguments.
44331
44332 2012-11-02 Roland McGrath <roland@hack.frob.com>
44333
44334 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
44335 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
44336 autoconf-time if not.
44337 * configure.in: Remove AC_PREREQ.
44338
44339 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44340
44341 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
44342 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
44343 of the internal implementation.
44344
44345 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44346
44347 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
44348 except include of <misc/sys/syslog.h>.
44349
44350 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44351
44352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
44353 function returns with a NULL context exit with zero.
44354
44355 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44356
44357 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
44358
44359 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
44360
44361 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
44362 (run_program_cmd): This.
44363 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
44364 (tst_langinfo): New variable. Use it.
44365
44366 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
44367
44368 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
44369 floating point opcodes.
44370
44371 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44372
44373 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
44374 variable.
44375
44376 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
44377
44378 * sysdeps/mach/hurd/powerpc: Remove directory.
44379 * sysdeps/mach/powerpc: Likewise.
44380
44381 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44382
44383 * scripts/check-local-headers.sh: Ignore c++ headers.
44384
44385 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44386
44387 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
44388 __libc_cleanup_region_start argument.
44389
44390 2012-11-01 Joseph Myers <joseph@codesourcery.com>
44391
44392 [BZ #14784]
44393 [BZ #14785]
44394 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
44395 x * y using scaling, not as x * y + z.
44396 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44397 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44398 * math/libm-test.inc (fma_test): Add more tests.
44399 (fma_test_towardzero): Likewise.
44400 (fma_test_downward): Likewise.
44401 (fma_test_upward): Likewise.
44402
44403 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44404
44405 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
44406
44407 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44408
44409 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
44410 New variable.
44411
44412 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
44413
44414 * rt/tst-shm.c (worker): Correct checking for mmap failure.
44415
44416 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44417
44418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44419 Fix sort order.
44420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44421 Likewise.
44422
44423 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44424
44425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44426 Fix the order of the list for glibc 2.17.
44427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44428 Likewise.
44429
44430 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44431
44432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44433
44434 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44435
44436 [BZ #14610]
44437 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
44438 for low part of x being zero before using __atanl (y).
44439 * math/libm-test.inc (atan2_test): Add another test.
44440
44441 * manual/install.texi (Configuring and compiling): Document
44442 general use of test-wrapper and test-wrapper-env.
44443 * INSTALL: Regenerated.
44444
44445 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
44446 (__fma): Do not extract and scale down low bits on after-rounding
44447 systems when result rounded to normal precision would have normal
44448 exponent.
44449 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
44450 (__fmal): Do not extract and scale down low bits on after-rounding
44451 systems when result rounded to normal precision would have normal
44452 exponent.
44453 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
44454 (__fmal): Do not extract and scale down low bits on after-rounding
44455 systems when result rounded to normal precision would have normal
44456 exponent.
44457 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
44458 macro.
44459 (fma_test): Add more tests.
44460 (fma_test_towardzero): Likewise.
44461 (fma_test_downward): Likewise.
44462 (fma_test_upward): Likewise.
44463
44464 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
44465
44466 * sysdeps/i386/tininess.h: Renamed to ...
44467 * sysdeps/x86/tininess.h: This.
44468 * sysdeps/x86_64/tininess.h: Removed.
44469
44470 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44471
44472 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
44473 input. Use $(build-program-cmd).
44474 ($(objpfx)tst-array1-static.out): Likewise.
44475 ($(objpfx)tst-array2.out): Likewise.
44476 ($(objpfx)tst-array3.out): Likewise.
44477 ($(objpfx)tst-array4.out): Likewise.
44478 ($(objpfx)tst-array5.out): Likewise.
44479 ($(objpfx)tst-array5-static.out): Likewise.
44480
44481 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
44482
44483 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
44484 if defined.
44485
44486 * nss/nsswitch.h (nss_interface_function): Provide new
44487 macro for use with NSS functions.
44488 * grp/initgroups.c: Use new macro.
44489 * nss/getXXbyYY.c: Likewise.
44490 * nss/getXXbyYY_r.c: Likewise.
44491 * nss/getXXent.c: Likewise.
44492 * nss/getXXent_r.c: Likewise.
44493 * sysdeps/posix/getaddrinfo.c: Likewise.
44494
44495 2012-10-30 Andreas Jaeger <aj@suse.de>
44496
44497 * po/ru.po: Update Russion translation from translation project.
44498
44499 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44500
44501 [BZ #14152]
44502 [BZ #14783]
44503 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
44504 result and shift together with sticky bit instead of replicating
44505 round-to-nearest rounding.
44506 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44507 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44508 * math/libm-test.inc (fma_test): Add more tests. Do not permit
44509 missing underflow exceptions.
44510 (fma_test_towardzero): Add more tests.
44511 (fma_test_downward): Likewise.
44512 (fma_test_upward): Likewise.
44513
44514 [BZ #14047]
44515 * sysdeps/generic/tininess.h: New file.
44516 * sysdeps/i386/tininess.h: Likewise.
44517 * sysdeps/sh/tininess.h: Likewise.
44518 * sysdeps/x86_64/tininess.h: Likewise.
44519 * stdlib/tst-strtod-underflow.c: Likewise.
44520 * stdlib/tst-tininess.c: Likewise.
44521 * stdlib/strtod_l.c: Include <tininess.h>.
44522 (round_and_return): Do not set errno for exact underflow cases.
44523 Force an underflow exception when setting errno for underflow.
44524 Determine underflow based on rounding to normal precision if
44525 TININESS_AFTER_ROUNDING.
44526 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
44527 ERANGE for exact underflow cases.
44528 * stdlib/Makefile (tests): Add tst-tininess and
44529 tst-strtod-underflow.
44530 ($(objpfx)tst-tininess): Use $(link-libm).
44531 ($(objpfx)tst-strtod-underflow): Likewise.
44532
44533 2012-10-30 Andreas Jaeger <aj@suse.de>
44534
44535 [BZ#14767]
44536 * elf/Makefile (tests): Remove conditional for have-initfini-array
44537 since this is now always required and the variable does not exist
44538 anymore.
44539 (tests-static): Likewise.
44540 (modules-names): Likewise.
44541
44542 * po/eo.po: Add Esperanto translation from translation project.
44543
44544 * elf/tst-array1.c (fini_array): Make writeable so that it can be
44545 merged with constructor/destructor.
44546 (init_array): Likewise.
44547 * elf/tst-array2dep.c (fini_array): Likewise.
44548 (init_array): Likewise.
44549
44550 2012-10-29 Mike Frysinger <vapier@gentoo.org>
44551
44552 * manual/message.texi: Delete @cartouche tags.
44553
44554 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
44555
44556 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
44557 EOPNOTSUPP.
44558 * sysdeps/mach/hurd/fsync.c: Likewise.
44559
44560 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
44561 [_POSIX_REALTIME_SIGNALS]: Change condition to
44562 [_POSIX_REALTIME_SIGNALS > 0].
44563
44564 2012-10-27 Andreas Jaeger <aj@suse.de>
44565
44566 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
44567 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
44568 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
44569 [__WORDSIZE != 64]: Likewise.
44570
44571 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
44572
44573 * iconvdata/tst-table.sh: Remove ${SHELL}.
44574 * iconvdata/tst-tables.sh: Likewise.
44575
44576 2012-10-25 David S. Miller <davem@davemloft.net>
44577
44578 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44579 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
44580 of strtoull.
44581
44582 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
44583 ifunc-impl-list.c
44584 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44585 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
44586 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
44587 file.
44588
44589 2012-10-25 Roland McGrath <roland@hack.frob.com>
44590
44591 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44592 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
44593 __getdirentries.
44594
44595 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44596 Jim Blandy <jimb@codesourcery.com>
44597
44598 * scripts/cross-test-ssh.sh: New file.
44599 * manual/install.texi (Configuring and compiling): Document use of
44600 cross-test-ssh.sh.
44601 * INSTALL: Regenerated.
44602
44603 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
44604
44605 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
44606 EOPNOTSUPP.
44607
44608 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44609
44610 * Makeconfig (run-program-prefix): Fix comment.
44611
44612 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44613 Jim Blandy <jimb@codesourcery.com>
44614
44615 * Makeconfig (test-wrapper): New variable,
44616 (test-wrapper-env): Likewise.
44617 [$(cross-compiling) = yes && $(test-wrapper) != ""]
44618 (run-built-tests): Define to yes.
44619 (run-program-prefix): Use $(test-wrapper).
44620 (built-program-cmd): Likewise.
44621 * Rules (make-test-out): Use $(test-wrapper-env) and
44622 $(host-built-program-cmd).
44623 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
44624 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
44625 tst-pathopt.sh.
44626 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
44627 $(test-wrapper-env) to tst-rtld-load-self.sh.
44628 ($(objpfx)order2.out): Use $(test-wrapper).
44629 ($(objpfx)tst-initorder.out): Likewise.
44630 ($(objpfx)tst-initorder2.out): Likewise.
44631 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
44632 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
44633 (test_wrapper_env): New variable. Use it to run ld.so.
44634 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
44635 Use it to run ld.so.
44636 (test_wrapper_env): Likewise.
44637 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
44638 $(test-wrapper) to run-iconv-test.sh.
44639 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
44640 (ICONV): Use $test_wrapper.
44641 * posix/Makefile ($(objpfx)globtest.out): Pass
44642 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
44643 globtest.sh, not $(run-program-prefix).
44644 * posix/globtest.sh (run_via_rtld_prefix): New variable.
44645 (test_wrapper): Likewise.
44646 (test_wrapper_env): Likewise. Use it to run globtest with HOME
44647 set together with run_via_rtld_prefix.
44648 (run_program_prefix): Define in terms of test_wrapper and
44649 run_via_rtld_prefix.
44650
44651 2012-10-24 Roland McGrath <roland@hack.frob.com>
44652
44653 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
44654 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
44655 Targets removed.
44656
44657 [BZ #14743]
44658 * include/time.h: Remove librt_hidden_proto (clock_gettime).
44659 Declare __clock_getres, __clock_gettime, __clock_settime,
44660 __clock_nanosleep, and __clock_getcpuclockid.
44661 * rt/clock_gettime.c: Define __clock_gettime as an alias.
44662 Remove librt_hidden_def (clock_gettime).
44663 * sysdeps/unix/clock_gettime.c: Likewise.
44664 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
44665 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
44666 * rt/clock_getres.c: Define __clock_getres as an alias.
44667 * sysdeps/posix/clock_getres.c: Likewise.
44668 * rt/clock_settime.c: Define __clock_settime as an alias.
44669 * sysdeps/unix/clock_settime.c: Likewise.
44670 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
44671 * sysdeps/unix/clock_nanosleep.c: Likewise.
44672 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
44673 * rt/clock-compat.c: New file.
44674 * rt/Makefile (librt-routines): Add clock-compat and move
44675 $(clock-routines) to ...
44676 (routines): ... here, new variable.
44677 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
44678 Don't add get_clockfreq here.
44679 * rt/Versions (libc: GLIBC_2.17): New version set.
44680 Add clock_* symbols here.
44681 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
44682 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
44683 (GLIBC_2.17): Add clock_* symbols.
44684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44686 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44688 Likewise.
44689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44690 Likewise.
44691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44692 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44695 * NEWS: Mention the move.
44696
44697 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44698 Use __open, __read, __close rather than their public counterparts.
44699 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44700 (__get_clockfreq_via_cpuinfo): Likewise.
44701 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
44702 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
44703
44704 * config.h.in (HAVE_IFUNC): New #undef.
44705 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
44706 was successful.
44707 * configure: Regenerated.
44708
44709 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44710
44711 * configure.in: Move READELF check to start of file.
44712 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
44713 libc_cv_asm_gnu_indirect_function in the process.
44714 * configure: Regenerated.
44715
44716 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44717
44718 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
44719 send the output to /dev/null.
44720 (libc_cv_cc_with_libunwind): Likewise.
44721 (libc_cv_as_noexecstack): Likewise.
44722 * configure: Regenerate.
44723
44724 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44725
44726 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
44727
44728 * posix/globtest.sh (TMPDIR): Do not set.
44729 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
44730 (testout): Likewise.
44731
44732 2012-10-24 Andreas Jaeger <aj@suse.de>
44733
44734 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
44735 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
44736 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
44737 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
44738 posix_fadvise64, posix_fallocate64.
44739
44740 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
44741 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
44742 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
44743 Likewise.
44744 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
44745 Likewise.
44746 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
44747
44748 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
44749 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
44750 <bits/fcntl-linux.h>.
44751 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
44752
44753 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
44754 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
44755 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
44756 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
44757 [__WORDSIZE != 64]: Likewise.
44758
44759 2012-10-23 Joseph Myers <joseph@codesourcery.com>
44760
44761 * Makeconfig (run-built-tests): New variable.
44762 * Rules [$(cross-compiling) = yes]: Change condition to
44763 [$(run-built-tests) = no].
44764 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
44765 to [$(run-built-tests) = yes].
44766 * elf/Makefile [$(cross-compiling) = no]: Likewise
44767 * grp/Makefile [$(cross-compiling) = no]: Likewise.
44768 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
44769 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
44770 * intl/Makefile [$(cross-compiling) = no]: Likewise.
44771 * io/Makefile [$(cross-compiling) = no]: Likewise.
44772 * libio/Makefile [$(cross-compiling) = no]: Likewise.
44773 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
44774 * misc/Makefile [$(cross-compiling) = no]: Likewise.
44775 * posix/Makefile [$(cross-compiling) = no]: Likewise.
44776 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
44777 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
44778 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
44779 * string/Makefile [$(cross-compiling) = no]: Likewise.
44780
44781 * posix/Makefile ($(objpfx)globtest.out): Pass
44782 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
44783 $(rtld-installed-name).
44784 * posix/globtest.sh (elf_objpfx): Remove variable.
44785 (rtld_installed_name): Likewise.
44786 (library_path): Likewise.
44787 (run_program_prefix): New variable. Use for running globtest
44788 binary.
44789
44790 2012-10-23 Jim Blandy <jimb@codesourcery.com>
44791 Joseph Myers <joseph@codesourcery.com>
44792
44793 * Makeconfig (host-built-program-cmd): New variable.
44794 * elf/Makefile (tst-stackguard1-ARGS): Use
44795 $(host-built-program-cmd).
44796 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
44797 (tst-spawn-ARGS): Likewise.
44798 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
44799
44800 2012-10-23 Joseph Myers <joseph@codesourcery.com>
44801 Jim Blandy <jimb@codesourcery.com>
44802
44803 * Makeconfig (run-via-rtld-prefix): New variable.
44804 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
44805 (built-program-cmd): Likewise.
44806
44807 2012-10-22 Andreas Jaeger <aj@suse.de>
44808
44809 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
44810 __O_RSYNC if it exists, otherwise to O_SYNC.
44811
44812 2012-10-22 Jim Blandy <jimb@codesourcery.com>
44813 Joseph Myers <joseph@codesourcery.com>
44814
44815 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
44816 /dev/null.
44817 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
44818 from /dev/null
44819 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
44820 /dev/null.
44821
44822 2012-10-22 Andreas Jaeger <aj@suse.de>
44823
44824 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
44825 Define always.
44826 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
44827
44828 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44829 bits/fcntl-linux.h.
44830
44831 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
44832 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
44833
44834 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
44835 to __O_LARGEFILE.
44836 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
44837 to __O_LARGEFILE.
44838
44839 2012-10-21 Jim Blandy <jimb@codesourcery.com>
44840 Joseph Myers <joseph@codesourcery.com>
44841
44842 * config.make.in (NM): New variable.
44843
44844 2012-10-21 Andreas Jaeger <aj@suse.de>
44845
44846 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
44847 definitions and declarations that are provided by
44848 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44849
44850 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
44851
44852 [BZ #14683]
44853 * elf/Makefile (tests-static): Add tst-leaks1-static.
44854 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
44855 ($(objpfx)tst-leaks1-static): New rule.
44856 ($(objpfx)tst-leaks1-static-mem): Likewise.
44857 (tst-leaks1-static-ENV): New macro.
44858 * elf/dl-open.c (dl_open_worker): Check the main application
44859 only if SHARED is defined.
44860 * elf/tst-leaks1-static.c: New file.
44861
44862 2012-10-20 Andreas Jaeger <aj@suse.de>
44863
44864 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
44865 generic values for Linux.
44866 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
44867 and declarations that are provided by <bits/fcntl-linux.h> and
44868 include <bits/fcntl-linux.h>.
44869 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44870 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44871
44872 2012-10-20 Roland McGrath <roland@hack.frob.com>
44873
44874 * io/fcntl.h: Move include of <bits/types.h> to the top and
44875 include it unconditionally.
44876
44877 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
44878
44879 * wcsmbs/Makefile (tests-ifunc): New variable.
44880 (tests): Add $(tests-ifunc).
44881 * wcsmbs/test-wcschr-ifunc.c: New file.
44882 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
44883 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
44884 * wcsmbs/test-wcslen-ifunc.c: Likewise.
44885 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
44886 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
44887
44888 * string/Makefile (tests-ifunc): New variable.
44889 (tests): Add $(tests-ifunc).
44890 * string/test-memccpy.c (TEST_NAME): New macro.
44891 * string/test-memchr.c (TEST_NAME): Likewise.
44892 * string/test-memcmp.c (TEST_NAME): Likewise.
44893 * string/test-memcpy.c (TEST_NAME): Likewise.
44894 * string/test-memmem.c (TEST_NAME): Likewise.
44895 * string/test-memmove.c (TEST_NAME): Likewise.
44896 * string/test-memset.c (TEST_NAME): Likewise.
44897 * string/test-rawmemchr.c (TEST_NAME): Likewise.
44898 * string/test-stpcpy.c (TEST_NAME): Likewise.
44899 * string/test-stpncpy.c (TEST_NAME): Likewise.
44900 * string/test-strcasecmp.c (TEST_NAME): Likewise.
44901 * string/test-strcasestr.c (TEST_NAME): Likewise.
44902 * string/test-strcat.c (TEST_NAME): Likewise.
44903 * string/test-strchr.c (TEST_NAME): Likewise.
44904 * string/test-strcmp.c(TEST_NAME): Likewise.
44905 * string/test-strcpy.c (TEST_NAME): Likewise.
44906 * string/test-strcspn.c (TEST_NAME): Likewise.
44907 * string/test-strlen.c (TEST_NAME): Likewise.
44908 * string/test-strncasecmp.c (TEST_NAME): Likewise.
44909 * string/test-strncmp.c (TEST_NAME): Likewise.
44910 * string/test-strncpy.c (TEST_NAME): Likewise.
44911 * string/test-strnlen.c (TEST_NAME): Likewise.
44912 * string/test-strpbrk.c (TEST_NAME): Likewise.
44913 * string/test-strrchr.c (TEST_NAME): Likewise.
44914 * string/test-strspn.c (TEST_NAME): Likewise.
44915 * string/test-strstr.c (TEST_NAME): Likewise.
44916 * string/test-bcopy-ifunc.c: New file.
44917 * string/test-bzero-ifunc.c: Likewise.
44918 * string/test-memccpy-ifunc.c: Likewise.
44919 * string/test-memchr-ifunc.c: Likewise.
44920 * string/test-memcmp-ifunc.c: Likewise.
44921 * string/test-memcpy-ifunc.c: Likewise.
44922 * string/test-memmem-ifunc.c: Likewise.
44923 * string/test-memmove-ifunc.c: Likewise.
44924 * string/test-mempcpy-ifunc.c: Likewise.
44925 * string/test-memset-ifunc.c: Likewise.
44926 * string/test-rawmemchr-ifunc.c: Likewise.
44927 * string/test-stpcpy-ifunc.c: Likewise.
44928 * string/test-stpncpy-ifunc.c: Likewise.
44929 * string/test-strcasecmp-ifunc.c: Likewise.
44930 * string/test-strcasestr-ifunc.c: Likewise.
44931 * string/test-strcat-ifunc.c: Likewise.
44932 * string/test-strchr-ifunc.c: Likewise.
44933 * string/test-strchrnul-ifunc.c: Likewise.
44934 * string/test-strcmp-ifunc.c: Likewise.
44935 * string/test-strcpy-ifunc.c: Likewise.
44936 * string/test-strcspn-ifunc.c: Likewise.
44937 * string/test-strlen-ifunc.c: Likewise.
44938 * string/test-strncasecmp-ifunc.c: Likewise.
44939 * string/test-strncat-ifunc.c: Likewise.
44940 * string/test-strncmp-ifunc.c: Likewise.
44941 * string/test-strncpy-ifunc.c: Likewise.
44942 * string/test-strnlen-ifunc.c: Likewise.
44943 * string/test-strpbrk-ifunc.c: Likewise.
44944 * string/test-strrchr-ifunc.c: Likewise.
44945 * string/test-strspn-ifunc.c: Likewise.
44946 * string/test-strstr-ifunc.c: Likewise.
44947
44948 * debug/Makefile (tests-ifunc): New variable.
44949 (tests): Add $(tests-ifunc).
44950 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
44951 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
44952 * debug/test-stpcpy_chk-ifunc.c: New file.
44953 * debug/test-strcpy_chk-ifunc.c: Likewise.
44954
44955 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
44956
44957 [BZ #13601]
44958 * elf/dl-load.c (open_verify): Retry read if the entire ELF
44959 header is not read in.
44960
44961 2012-10-19 Joseph Myers <joseph@codesourcery.com>
44962
44963 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
44964 script to $(SHELL) as $<. Pass $(common-objpfx) to script
44965 directly. Pass built executable to script as
44966 $(built-program-cmd).
44967 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
44968 $testprogram without using LD_LIBRARY_PATH and $ldso.
44969
44970 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
44971 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
44972 $(rtld-installed-name).
44973 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
44974 (rtld_installed_name): Likewise.
44975 (library_path): Likewise.
44976 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
44977 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
44978 $(run-program-prefix) to tst-tables.sh.
44979 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
44980 it to run tst-table-from and tst-table-to.
44981 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
44982 Pass it to tst-table.sh.
44983 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
44984 $(run-program-prefix) to tst-gettext.sh.
44985 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
44986 tst-translit.sh.
44987 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
44988 tst-gettext2.sh.
44989 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
44990 to run tst-gettext.
44991 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
44992 to run tst-gettext2.
44993 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
44994 to run tst-translit.
44995 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
44996 $(run-program-prefix) to tst-mtrace.sh.
44997 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
44998 to run tst-mtrace.
44999 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
45000 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
45001 $(rtld-installed-name).
45002 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
45003 (rtld_installed_name): Likewise.
45004 (run_program_prefix): New variable. Use it to run wordexp-test.
45005
45006 * Makeconfig (ARCH): Remove all definitions.
45007 (machine): Likewise.
45008 [ARCH]: Remove conditional code.
45009 [!objdir]: Give error.
45010 [!objdir] (objpfx): Remove.
45011 [!objdir] (common-objpfx): Likewise.
45012 [!objdir] (common-objdir): Likewise.
45013 * configure.in (config_makefile): Remove. Hardcode Makefile in
45014 AC_CONFIG_FILES call.
45015 * configure: Regenerated.
45016
45017 [BZ #13888]
45018 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
45019 or TMPDIR.
45020 (testout): Likewise.
45021
45022 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
45023 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
45024 $(rtld-installed-name).
45025 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
45026 (rtld_installed_name): Likwise.
45027 (runit): Remove function.
45028 (run_getconf): New variable, Use it for running getconf binary.
45029
45030 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
45031
45032 [BZ #14716]
45033 * string/test-memmem.c (check_result): New function.
45034 (do_one_test): Use it.
45035 (check1): New function.
45036 (test_main): Use it.
45037
45038 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
45039
45040 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
45041
45042 2012-10-18 Joseph Myers <joseph@codesourcery.com>
45043
45044 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
45045 (_G_LSEEK64): Likewise.
45046 (_G_MMAP64): Likewise.
45047 (_G_FSTAT64): Likewise.
45048 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
45049 (_G_LSEEK64): Likewise.
45050 (_G_MMAP64): Likewise.
45051 (_G_FSTAT64): Likewise.
45052 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
45053 unconditional. Call __mmap64 directly.
45054 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
45055 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
45056 __lseek64 directly.
45057 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
45058 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
45059 __mmap64 directly.
45060 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
45061 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
45062 __lseek64 directly.
45063 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
45064 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
45065 __lseek64 directly.
45066 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
45067 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
45068 __lseek64 directly.
45069 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
45070 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
45071 __fxstat64 directly.
45072 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
45073 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
45074 unconditional.
45075 (freopen64) [!_G_OPEN64]: Remove conditional code.
45076 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
45077 unconditional.
45078 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
45079 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
45080 unconditional.
45081 (ftello64) [!_G_LSEEK64]: Remove conditional code.
45082 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
45083 unconditional.
45084 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45085 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
45086 unconditional.
45087 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
45088 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
45089 unconditional.
45090 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45091 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
45092 unconditional.
45093 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45094 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
45095 unconditional.
45096 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45097
45098 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
45099
45100 [BZ #12140]
45101 * manual/memory.texi (Malloc Tunable Parameters): Add note
45102 about free list pointers overwriting some perturb bytes.
45103 Wording suggested by Roland McGrath.
45104
45105 2012-10-17 Joseph Myers <joseph@codesourcery.com>
45106
45107 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
45108 (lgamma_test): Likewise.
45109 (tgamma_test): Likewise.
45110
45111 2012-10-16 Florian Weimer <fweimer@redhat.com>
45112
45113 [BZ #14700]
45114 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
45115 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
45116
45117 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
45118
45119 * NEWS: Mention BZ #14716.
45120 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
45121 when removing AVAILABLE1_USES_J macro.
45122
45123 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
45124
45125 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
45126 (__bswap_64): __uint64_t for unsigned 64-bit int.
45127
45128 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
45129
45130 * include/string.h (memmem): Declare libc hidden alias.
45131 * string/memmem.c (memmem): Define libc hidden alias.
45132 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
45133 __read, __close instead of open, read, close.
45134
45135 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
45136
45137 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
45138 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
45139 global and hidden.
45140 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
45141 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
45142 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
45143 Likewise.
45144 (__rawmemchr_sse2): Likewise.
45145 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
45146 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
45147 (__strchr_sse2): Likewise.
45148 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
45149 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
45150 (__strcasecmp_sse2): Likewise.
45151 (__strncasecmp_sse2): Likewise.
45152 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
45153 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
45154 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
45155 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
45156 (__strrchr_sse2): Likewise.
45157 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
45158 ifunc-impl-list.c.
45159 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
45160 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
45161 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
45162 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45163 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
45164 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
45165 * sysdeps/x86_64/multiarch/memset.S: Likewise.
45166 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45167 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
45168 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
45169 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
45170 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
45171 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
45172 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
45173 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
45174 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45175 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
45176 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
45177 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
45178 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
45179 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
45180 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
45181 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
45182 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
45183 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
45184 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45185 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
45186 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45187 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
45188 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
45189
45190 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
45191 global and hidden.
45192 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
45193 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
45194 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
45195 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
45196 Likewise.
45197 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
45198 Likewise.
45199 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
45200 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
45201 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
45202 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
45203 ifunc-impl-list.c.
45204 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45205 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45206 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45207 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45208 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45209 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45210 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45211 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45212 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45213 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45214 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45215 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45216 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45217 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
45218 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
45219 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45220 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
45221 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
45222 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45223 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45224 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45225 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45226 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45227 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45228 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45229 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
45230 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
45231 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
45232 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
45233 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45234 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
45235 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45236 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45237 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
45238 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45239 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45240 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45241 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45242 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45243 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45244 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
45245
45246 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
45247 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
45248 * include/ifunc-impl-list.h: New file.
45249 * misc/ifunc-impl-list.c: Likewise.
45250 * misc/Makefile (routines): Add ifunc-impl-list.
45251 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
45252 * string/test-string.h: Include <ifunc-impl-list.h>.
45253 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
45254 TEST_NAME]: New variables.
45255 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
45256 are defined.
45257 (test_init): Call __libc_ifunc_impl_list to initialize
45258 func_list if TEST_IFUNC and TEST_NAME are defined.
45259
45260 * string/Makefile (strop-tests): Add bcopy and bzero.
45261 * string/test-bcopy.c: New file.
45262 * string/test-bzero.c: Likewise.
45263 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
45264 defined.
45265 * string/test-memset.c: Support bzero test if TEST_BZERO is
45266 defined.
45267 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
45268 __libc_memmove.
45269 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
45270 __libc_memset.
45271 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
45272 of memset.
45273
45274 2012-10-10 Joseph Myers <joseph@codesourcery.com>
45275
45276 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
45277 * configure: Regenerated.
45278
45279 * Makeconfig (+link-static-before-libc): Don't include
45280 $(link-static-libc).
45281
45282 * libio/libio.h (_IO_pos_t): Remove.
45283
45284 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45285
45286 * NEWS: Add note about FIPS mode. Wording suggested by Roland
45287 McGrath.
45288
45289 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45290
45291 * crypt/crypt-entry.c: Include fips-private.h.
45292 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
45293 * crypt/md5c-test.c (main): Tolerate disabled MD5.
45294 * sysdeps/unix/sysv/linux/fips-private.h: New file.
45295 * sysdeps/generic/fips-private.h: New file, dummy fallback.
45296
45297 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45298
45299 * crypt/crypt-private.h: Include stdbool.h.
45300 (_ufc_setup_salt_r): Return bool.
45301 * crypt/crypt-entry.c: Include errno.h.
45302 (__crypt_r): Return NULL with EINVAL for bad salt.
45303 * crypt/crypt_util.c (bad_for_salt): New.
45304 (_ufc_setup_salt_r): Check that salt is long enough and within
45305 the specified alphabet.
45306 * crypt/badsalttest.c: New file.
45307 * crypt/Makefile (tests): Add it.
45308 ($(objpfx)badsalttest): New.
45309
45310 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
45311
45312 * NEWS: Add entry for BZ #14602.
45313
45314 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45315
45316 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
45317 type-generic.
45318 * math/libm-test.inc: Update comment listing what functions and
45319 macros are tested.
45320 (isgreater_test): New function.
45321 (isgreaterequal_test): Likewise.
45322 (isless_test): Likewise.
45323 (islessequal_test): Likewise.
45324 (islessgreater_test): Likewise.
45325 (isunordered_test): Likewise.
45326 (main): Call the new functions.
45327
45328 2012-10-09 Roland McGrath <roland@hack.frob.com>
45329
45330 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
45331 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
45332 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
45333 * sysdeps/i386/configure: Regenerated.
45334 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
45335 * sysdeps/mach/configure: Regenerated.
45336 * sysdeps/mach/hurd/configure: Regenerated.
45337 * sysdeps/powerpc/configure: Regenerated.
45338 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45339 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45340 * sysdeps/s390/s390-32/configure: Regenerated.
45341 * sysdeps/s390/s390-64/configure: Regenerated.
45342 * sysdeps/sh/configure: Regenerated.
45343 * sysdeps/sparc/configure: Regenerated.
45344 * sysdeps/unix/sysv/linux/configure: Regenerated.
45345 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
45346 * sysdeps/x86_64/configure: Regenerated.
45347
45348 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
45349 defined. Don't check if MAP is NULL.
45350
45351 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45352
45353 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
45354 (_G_stat64): Likewise.
45355 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
45356 (_G_stat64): Likewise.
45357 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
45358 instead of struct _G_stat64.
45359 * libio/fileops.c (mmap_remap_check): Likewise.
45360 (decide_maybe_mmap): Likewise.
45361 (_IO_new_file_seekoff): Likewise.
45362 (_IO_file_stat): Likewise.
45363 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
45364 _G_off64_t.
45365 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
45366 instead of struct _G_stat64.
45367 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45368
45369 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
45370
45371 [BZ #14602]
45372 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45373 Replace with ...
45374 (CHECK_EOL): New macro.
45375 (two_way_short_needle): Check beginning of haystack for EOL. Use
45376 CHECK_EOL.
45377 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45378 Replace with CHECK_EOL.
45379 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45380 Replace with CHECK_EOL.
45381
45382 2012-10-08 Joseph Myers <joseph@codesourcery.com>
45383
45384 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
45385 type-generic.
45386 * math/libm-test.inc: Update comment listing what functions and
45387 macros are tested.
45388 (finite_test): New function.
45389 (isinf_test): Likewise.
45390 (isnan_test): Likewise.
45391 (fpclassify_test): Test subnormal input.
45392 (isfinite_test): Likewise.
45393 (isnormal_test): Likewise.
45394 (main): Call the new functions.
45395
45396 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
45397
45398 [BZ #14660]
45399 * Makerules (%.dynsym): Force C locale when running
45400 $(OBJDUMP) --dynamic-syms.
45401
45402 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
45403
45404 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
45405 <stdint.h>.
45406
45407 2012-10-06 David S. Miller <davem@davemloft.net>
45408
45409 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
45410 upper 32-bits of the length value in %o2 since we use branch-on-register
45411 tests which consider the entire 64-bit register.
45412
45413 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
45414
45415 * string/test-strstr.c (check2): Add a test for page boundary.
45416
45417 2012-10-05 David S. Miller <davem@davemloft.net>
45418
45419 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
45420 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
45421 file.
45422 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45423 sysdep_routines.
45424 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45425 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
45426 and bzero when HWCAP_SPARC_CRYPTO is present.
45427
45428 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
45429
45430 [BZ #14602]
45431 * string/test-strstr.c (check2): New function.
45432 (test_main): Call check2.
45433
45434 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
45435 and bug-strchr1.
45436 * string/bug-strcasestr1.c (do_test): Moved to ...
45437 * string/test-strcasestr.c (check1): Here. New function.
45438 (do_one_test): Break out result checking code into ...
45439 (check_result): This. New function.
45440 (do_one_test): Call check_result.
45441 (test_main): Call check1.
45442 * string/bug-strchr1.c (do_test): Moved to ...
45443 * string/test-strchr.c (check1): Here. New function.
45444 (do_one_test): Break out result checking code into ...
45445 (check_result): This. New function.
45446 (do_one_test): Call check_result.
45447 (test_main): Call check1.
45448 * string/bug-strstr1.c (main): Moved to ...
45449 * string/test-strstr.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-strcasestr1.c: Removed.
45455 * string/bug-strchr1.c: Likewise.
45456 * string/bug-strstr1.c: Likewise.
45457
45458 * elf/Makefile (dl-routines): Add hwcaps.
45459 * elf/dl-support.c (_dl_important_hwcaps): Removed.
45460 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
45461 (_dl_important_hwcaps): Moved to ...
45462 * elf/dl-hwcaps.c: Here. New file.
45463 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
45464
45465 [BZ #14557]
45466 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
45467 if IS_IN_rtld isn't defined.
45468
45469 * elf/dl-support.c (_dl_sysinfo_map): New.
45470 Include "get-dynamic-info.h" and "setup-vdso.h".
45471 (_dl_non_dynamic_init): Call setup_vdso.
45472 * elf/dynamic-link.h: Don't include <assert.h>.
45473 (elf_get_dynamic_info): Moved to ...
45474 * elf/get-dynamic-info.h: Here. New file.
45475 * elf/dynamic-link.h: Include "get-dynamic-info.h".
45476 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
45477 * elf/setup-vdso.h: Here. New file.
45478 * elf/rtld.c: Include "setup-vdso.h".
45479 (dl_main): Call setup_vdso.
45480
45481 2012-10-05 Joseph Myers <joseph@codesourcery.com>
45482
45483 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
45484 creal in comment listing functions tested. List finite, isinf,
45485 isnan, isless, islessequal, isgreater, isgreaterequal,
45486 islessgreater, isunordered, lgamma_r and pow10 as functions and
45487 macros not tested. Mention which functions not tested are aliases
45488 for other functions. Fix typo. Note that signs of NaNs are not
45489 tested.
45490
45491 * scripts/config.guess: Update from config.git.
45492 * scripts/config.sub: Likewise.
45493
45494 2012-10-04 Roland McGrath <roland@hack.frob.com>
45495
45496 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
45497 * misc/madvise.c (madvise): Renamed to __madvise.
45498 Make madvise a weak alias.
45499 * include/sys/mman.h: Declare __madvise.
45500 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
45501 * sysdeps/unix/syscalls.list
45502 (madvise): Make __madvise the strong name, and madvise a weak alias.
45503 * sysdeps/unix/sysv/linux/syscalls.list
45504 (madvise, mmap): Remove redundant entries.
45505 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
45506 * malloc/malloc.c (mtrim): Likewise.
45507 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
45508
45509 2012-10-03 Roland McGrath <roland@hack.frob.com>
45510
45511 * sysdeps/mach/hurd/dl-cache.c: File removed.
45512 * config.h.in (USE_LDCONFIG): New #undef.
45513 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
45514 * configure: Regenerated.
45515 * elf/Makefile (dl-routines): Add dl-cache only under
45516 [$(use-ldconfig) = yes].
45517 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
45518 cache on [USE_LDCONFIG].
45519 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
45520 [USE_LDCONFIG].
45521 * elf/rtld.c (dl_main): Likewise.
45522
45523 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
45524
45525 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
45526 _SC_LEVEL4_CACHE_LINESIZE.
45527
45528 2012-10-03 Roland McGrath <roland@hack.frob.com>
45529
45530 * sysdeps/unix/bsd/confstr.h: File removed.
45531
45532 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
45533
45534 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
45535 sys/sdt-config.h.
45536
45537 2012-10-02 Roland McGrath <roland@hack.frob.com>
45538
45539 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
45540 Make 'mapoff' field ElfW(Off) rather than off_t.
45541
45542 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
45543
45544 * nscd/Makefile: Remove nscd-cflags and all its users.
45545 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
45546 (CFLAGS-nonlib): Add compiler flags for nscd modules.
45547
45548 [BZ #10631]
45549 * malloc.c (malloc_printerr): Clarify error message.
45550
45551 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
45552
45553 [BZ #14648]
45554 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45555 Set bit_FMA_Usable if FMA is supported.
45556 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
45557 macro.
45558 (bit_FMA4_Usable): Updated.
45559 (index_FMA_Usable): New macro.
45560 (CPUID_FMA): Likewise
45561 (HAS_FMA): Defined with bit_FMA_Usable.
45562
45563 2012-10-01 Roland McGrath <roland@hack.frob.com>
45564
45565 * bits/types.h (__swblk_t): Type removed.
45566 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
45567 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
45568 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45569 (__SWBLK_T_TYPE): Likewise.
45570 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45571 (__SWBLK_T_TYPE): Likewise.
45572 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45573 (__SWBLK_T_TYPE): Likewise.
45574 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45575 (__SWBLK_T_TYPE): Likewise.
45576
45577 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
45578 Honza Horak <hhorak@redhat.com>
45579
45580 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
45581 (xdr_mapname): Use YPMAXMAP as maxsize.
45582 (xdr_peername): Use YPMAXPEER as maxsize.
45583 (xdr_keydat): Use YPAXRECORD as maxsize.
45584 (xdr_valdat): Use YPMAXRECORD as maxsize.
45585
45586 2012-10-01 Roland McGrath <roland@hack.frob.com>
45587
45588 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
45589
45590 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
45591 * csu/init-first.c: ... here.
45592 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
45593 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
45594 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
45595 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
45596 * sysdeps/i386/init-first.c: File removed.
45597 * sysdeps/sh/init-first.c: File removed.
45598
45599 2012-10-01 Joseph Myers <joseph@codesourcery.com>
45600
45601 [BZ #14645]
45602 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
45603 if x * y might underflow to zero and z is zero.
45604 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45605 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45606 * math/libm-test.inc (min_subnorm_value): New variable.
45607 (fma_test): Add more tests.
45608 (fma_test_towardzero): Likewise.
45609 (fma_test_downward): Likewise
45610 (fma_test_upward): Likewise.
45611 (initialize): Set min_subnorm_value.
45612
45613 2012-09-29 Joseph Myers <joseph@codesourcery.com>
45614
45615 [BZ #14638]
45616 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
45617 0 + 0.
45618 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
45619 mode for addition resulting in exact zero.
45620 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
45621 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
45622 exact 0 + 0.
45623 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45624 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45625 * math/libm-test.inc (fma_test): Add more tests.
45626 (fma_test_towardzero): New function.
45627 (fma_test_downward): Likewise.
45628 (fma_test_upward): Likewise.
45629 (main): Call the new functions.
45630
45631 2012-09-28 David S. Miller <davem@davemloft.net>
45632
45633 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
45634
45635 2012-09-28 Roland McGrath <roland@hack.frob.com>
45636
45637 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
45638 instead of SIGALRM.
45639
45640 * sysdeps/gnu/_G_config.h: Moved to ...
45641 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
45642 * sysdeps/mach/hurd/_G_config.h: Moved to ...
45643 * sysdeps/generic/_G_config.h: ... here.
45644
45645 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
45646
45647 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
45648
45649 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
45650 Conditionalize target on [libnss_test1.so-version].
45651
45652 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
45653
45654 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
45655 (elfobjdir): Move out of conditionals.
45656
45657 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
45658 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
45659 (__nss_lookup_function): Conditionalize label remove_from_tree on
45660 [!DO_STATIC_NSS || SHARED], matching its only use.
45661
45662 2012-09-28 David S. Miller <davem@davemloft.net>
45663
45664 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
45665 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
45666 file.
45667 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45668 sysdep_routines.
45669 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45670 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
45671 when HWCAP_SPARC_CRYPTO is present.
45672
45673 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45674
45675 * io/tst-mknodat.c: Create a FIFO instead of a socket.
45676
45677 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
45678
45679 [BZ #6530]
45680 * stdio-common/vfprintf.c (process_string_arg): Revert
45681 2000-07-22 change.
45682
45683 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
45684
45685 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
45686 for testcase.
45687 * stdio-common/tst-sprintf.c: Include <locale.h>
45688 (main): Test sprintf's handling of incomplete multibyte
45689 characters.
45690
45691 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
45692
45693 * elf/dl-runtime.c (VERSYMIDX): Removed.
45694 * elf/dl-version.c (VERSYMIDX): Likewise.
45695 * elf/do-rel.h (VERSYMIDX): Likewise.
45696 (VALIDX): Likewise.
45697 * elf/dynamic-link.h (VERSYMIDX): Likewise.
45698 * elf/rtld.c (VALIDX): Likewise.
45699 (ADDRIDX): Likewise.
45700 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
45701 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
45702 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
45703 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
45704 (VALIDX): Likewise.
45705 (ADDRIDX): Likewise.
45706
45707 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45708
45709 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
45710
45711 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
45712
45713 [BZ #11438]
45714 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
45715 to global scope.
45716 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
45717 addresses are in the same scope as 192.0.2/24.
45718 * posix/gai.conf: Document new scope table defaults.
45719
45720 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45721
45722 [BZ #5298]
45723 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
45724 for ftell. Compute offsets from write pointers instead.
45725 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45726
45727 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45728
45729 [BZ #14543]
45730 * libio/Makefile (tests): New test case tst-fseek.
45731 * libio/tst-fseek.c: New test case to verify that fseek/ftell
45732 combination works in wide mode.
45733 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
45734 state when the external buffer state changes.
45735
45736 2012-09-27 David S. Miller <davem@davemloft.net>
45737
45738 [BZ #14376]
45739 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
45740 pass reloc->r_addend in as the 'high' argument to
45741 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
45742
45743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45744
45745 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45746
45747 * rt/tst-aio2.c: Include <pthread.h>.
45748 * rt/tst-aio3.c: Likewise.
45749
45750 2012-09-27 Steve Ellcey <sellcey@mips.com>
45751
45752 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
45753
45754 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
45755
45756 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
45757 contents on [SHARED].
45758
45759 2012-09-26 Marek Polacek <polacek@redhat.com>
45760
45761 [BZ #14530]
45762 [BZ #13741]
45763 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
45764 for C++ and GCC <4.3 as well as for non GCC compilers.
45765
45766 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
45767
45768 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45769
45770 2012-09-25 Roland McGrath <roland@hack.frob.com>
45771
45772 * Makefile.in (all, install): Declare with .PHONY.
45773 Reported by Michael Hope <michael.hope@linaro.org>.
45774
45775 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45776
45777 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
45778 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
45779 system header.
45780 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
45781 Likewise.
45782 (sydep_routines): Add the new and the internal functions.
45783 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
45784 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
45785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
45786 (GLIBC_2.17): Add the new function.
45787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45788 (GLIBC_2.17): Likewise.
45789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
45790 (GLIBC_2.17): Likewise.
45791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
45792 (GLIBC_2.17): Likewise.
45793 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
45794
45795 2012-09-25 Alan Modra <amodra@gmail.com>
45796
45797 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
45798 Add release barrier before setting once_control to say
45799 initialisation is done. Add hints on lwarx. Use macro in
45800 place of isync.
45801 (clear_once_control): Add release barrier.
45802
45803 2012-09-25 Joseph Myers <joseph@codesourcery.com>
45804
45805 [BZ #13629]
45806 * math/s_clog.c (__clog): Handle more values close to |z| = 1
45807 specially.
45808 * math/s_clog10.c (__clog10): Likewise.
45809 * math/s_clog10f.c (__clog10f): Likewise.
45810 * math/s_clog10l.c (__clog10l): Likewise.
45811 * math/s_clogf.c (__clogf): Likewise.
45812 * math/s_clogl.c (__clogl): Likewise.
45813 * math/Makefile (libm-calls): Add x2y2m1.
45814 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
45815 (__x2y2m1): Likewise.
45816 (__x2y2m1l): Likewise.
45817 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
45818 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
45819 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
45820 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45821 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
45822 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
45823 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
45824 * sysdeps/i386/fpu/libm-test-ulps: Update.
45825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45826
45827 [BZ #14621]
45828 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
45829 int as type of variable DEPTH.
45830 (glob): Use size_t instead of int as type of variables NEWCOUNT
45831 and OLD_PATHC.
45832
45833 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45834
45835 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45836 Add s_sincosf-sse2.
45837 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
45838 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
45839 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
45840 macros for using routine as __sincosf_ia32.
45841 Use macro for function declaration and weak_alias.
45842 * sysdeps/i386/fpu/libm-test-ulps: Update.
45843
45844 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
45845 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45846
45847 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
45848 subnormal argument.
45849 * math/s_cexpf.c (__cexpf): Likewise.
45850 * math/s_csinf.c (__csinf): Likewise.
45851 * math/s_csinhf.c (__csinhf): Likewise.
45852 * math/s_ctanf.c (__ctanf): Likewise.
45853 * math/s_ctanhf.c (__ctanhf): Likewise.
45854 * math/s_ccosh.c (__ccoshf): Likewise.
45855 * math/s_cexp.c (__cexpl): Likewise.
45856 * math/s_csin.c (__csin): Likewise.
45857 * math/s_csinh.c (__csinh): Likewise.
45858 * math/s_ctan.c (__ctan): Likewise.
45859 * math/s_ctanh.c (ctanh): Likewise.
45860 * math/s_ccoshl.c (__ccoshl): Likewise.
45861 * math/s_cexpl.c (__cexpl): Likewise.
45862 * math/s_csinl.c (__csinl): Likewise.
45863 * math/s_csinhl.c (__csinhl): Likewise.
45864 * math/s_ctanl.c (__ctanl): Likewise.
45865 * math/s_ctanhl.c (__ctanhl): Likewise.
45866
45867 2012-09-25 Joseph Myers <joseph@codesourcery.com>
45868
45869 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
45870 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
45871 (_IO_off_t): Define to __off_t, not _G_off_t.
45872 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
45873 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
45874 (_IO_wint_t): Define to wint_t, not _G_wint_t.
45875 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
45876 type of __dummy and __dummy2 fields.
45877 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
45878 (_G_ssize_t): Likewise.
45879 (_G_off_t): Likewise.
45880 (_G_pid_t): Likewise.
45881 (_G_uid_t): Likewise.
45882 (_G_wchar_t): Likewise.
45883 (_G_wint_t): Likewise.
45884 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
45885 (_G_ssize_t): Likewise.
45886 (_G_off_t): Likewise.
45887 (_G_pid_t): Likewise.
45888 (_G_uid_t): Likewise.
45889 (_G_wchar_t): Likewise.
45890 (_G_wint_t): Likewise.
45891 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
45892 (_G_ssize_t): Likewise.
45893 (_G_off_t): Likewise.
45894 (_G_pid_t): Likewise.
45895 (_G_uid_t): Likewise.
45896 (_G_wchar_t): Likewise.
45897 (_G_wint_t): Likewise.
45898
45899 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45900
45901 * malloc/arena.c: Include malloc-sysdep.h.
45902 (shrink_heap): Use check_may_shrink_heap to decide if madvise
45903 is sufficient to shrink the heap or an unmap is needed.
45904 * sysdeps/generic/malloc-sysdep.h: New file. Define
45905 new function check_may_shrink_heap.
45906 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
45907 new function check_may_shrink_heap.
45908
45909 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45910
45911 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
45912 comments.
45913
45914 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
45915
45916 * catgets/test-gencat.sh: Add "set -e".
45917 * elf/tst-pathopt.sh: Likewise.
45918 * grp/tst_fgetgrent.sh: Likewise.
45919 * iconvdata/run-iconv-test.sh: Likewise.
45920 * intl/tst-gettext.sh: Likewise.
45921 * intl/tst-gettext2.sh: Likewise.
45922 * intl/tst-gettext4.sh: Likewise.
45923 * intl/tst-gettext6.sh: Likewise.
45924 * intl/tst-translit.sh: Likewise.
45925 * io/ftwtest-sh: Likewise.
45926 * libio/test-freopen.sh: Likewise.
45927 * malloc/tst-mtrace.sh: Likewise.
45928 * posix/globtest.sh: Likewise.
45929 * posix/tst-getconf.sh: Likewise.
45930 * posix/wordexp-tst.sh: Likewise.
45931 * stdio-common/tst-printf.sh: Likewise.
45932 * stdio-common/tst-unbputc.sh: Likewise.
45933 * stdlib/tst-fmtmsg.sh: Likewise.
45934 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45935 * catgets/Makefile: Do not specify -e option when running
45936 testsuite shell scripts.
45937 * elf/Makefile: Likewise.
45938 * grp/Makefile: Likewise.
45939 * iconvdata/Makefile: Likewise.
45940 * intl/Makefile: Likewise.
45941 * io/Makefile: Likewise.
45942 * libio/Makefile: Likewise.
45943 * malloc/Makefile: Likewise.
45944 * posix/Makefile: Likewise.
45945 * stdio-common/Makefile: Likewise.
45946 * stdlib/Makefile: Likewise.
45947 * sysdeps/x86_64/Makefile: Likewise.
45948
45949 * io/ftwtest-sh: Add copyright header.
45950 * posix/globtest.sh: Likewise.
45951 * posix/tst-getconf.sh: Likewise.
45952 * posix/wordexp-tst.sh: Likewise.
45953 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45954
45955 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
45956
45957 [BZ #13679]
45958 * Makeconfig (+link): Defined as $(+link-static) if
45959 $(build-shared) isn't yes.
45960 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
45961 isn't yes.
45962 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
45963
45964 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
45965
45966 [BZ #14562]
45967 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
45968 new chunk size with MALLOC_ALIGN_MASK.
45969
45970 2012-09-24 Joseph Myers <joseph@codesourcery.com>
45971
45972 [BZ #5044]
45973 * stdio-common/printf_fphex.c: Include <stdbool.h> and
45974 <rounding-mode.h>.
45975 (__printf_fphex): Determine rounding using get_rounding_mode and
45976 round_away.
45977 * stdio-common/tst-printf-round.c (struct hex_test): New
45978 structure.
45979 (hex_tests): New variable.
45980 (test_hex_in_one_mode): New function.
45981 (do_test): Also run tests for hex float output.
45982
45983 2012-09-21 Joseph Myers <joseph@codesourcery.com>
45984
45985 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45986 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45987 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
45988 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45989 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45990 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
45991 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45992 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45993
45994 2012-09-20 Joseph Myers <joseph@codesourcery.com>
45995
45996 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
45997 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
45998 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
45999 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
46000
46001 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
46002
46003 [BZ #14579]
46004 * elf/rtld.c (dl_main): Limit the check for self loading to normal
46005 mode only.
46006 * elf/tst-rtld-load-self.sh: New test.
46007 * elf/Makefile: Run it.
46008
46009 2012-09-18 Joseph Myers <joseph@codesourcery.com>
46010
46011 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
46012 (tst-writev-ENV): Remove.
46013 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
46014
46015 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
46016
46017 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
46018
46019 2012-09-17 Joseph Myers <joseph@codesourcery.com>
46020
46021 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
46022 unconditional.
46023 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
46024 Likewise.
46025 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
46026 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
46027 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
46028 Likewise.
46029
46030 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
46031
46032 [BZ #14587]
46033 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
46034 * config.make.in (have-cpp-asm-debuginfo): Removed.
46035 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
46036 * configure: Regenerated.
46037
46038 2012-09-14 Joseph Myers <joseph@codesourcery.com>
46039
46040 [BZ #5044]
46041 * stdio-common/printf_fp.c: Include <stdbool.h> and
46042 <rounding-mode.h>.
46043 (___printf_fp): Determine rounding using get_rounding_mode and
46044 round_away.
46045 * stdio-common/tst-printf-round.c: New file.
46046 * stdio-common/Makefile (tests): Add tst-printf-round.
46047 (link-libm): New variable.
46048 ($(objpfx)tst-printf-round): Depend in $(link-libm).
46049
46050 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
46051
46052 [BZ #14576]
46053 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
46054 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
46055 Likewise.
46056 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
46057 Likewise.
46058
46059 2012-09-13 Joseph Myers <joseph@codesourcery.com>
46060
46061 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
46062 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46063 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46064 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46065
46066 2012-09-12 Joseph Myers <joseph@codesourcery.com>
46067
46068 [BZ #14518]
46069 * include/rounding-mode.h: New file.
46070 * sysdeps/generic/get-rounding-mode.h: Likewise.
46071 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
46072 * stdlib/strtod_l.c: Include <rounding-mode.h>.
46073 (MAX_VALUE): New macro.
46074 (MIN_VALUE): Likewise.
46075 (overflow_value): New function.
46076 (underflow_value): Likewise.
46077 (round_and_return): Use overflow_value and underflow_value to
46078 determine return values in overflow and underflow cases. Use
46079 round_away to determine rounding depending on rounding mode.
46080 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
46081 determine return values in overflow and underflow cases.
46082 * stdlib/tst-strtod-round.c: Include <fenv.h>.
46083 (struct test_results): New structure.
46084 (struct test): Use struct test_results to store expected results
46085 for all rounding modes.
46086 (TEST): Include expected results for all rounding modes.
46087 (test_in_one_mode): New function.
46088 (do_test): Use test_in_one_mode to compute and check results.
46089 Check results for all rounding modes.
46090 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
46091 $(link-libm).
46092
46093 2012-12-09 Allan McRae <allan@archlinux.org>
46094
46095 * sysdeps/i386/fpu/libm-test-ulps: Update
46096
46097 2012-09-11 Joseph Myers <joseph@codesourcery.com>
46098
46099 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
46100 (_G_int32_t): Likewise.
46101 (_G_uint16_t): Likewise.
46102 (_G_uint32_t): Likewise.
46103 (_G_HAVE_BOOL): Likewise.
46104 (_G_HAVE_ATEXIT): Likewise.
46105 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46106 (_G_HAVE_IO_FILE_OPEN): Likewise.
46107 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
46108 (_G_int32_t): Likewise.
46109 (_G_uint16_t): Likewise.
46110 (_G_uint32_t): Likewise.
46111 (_G_HAVE_BOOL): Likewise.
46112 (_G_HAVE_ATEXIT): Likewise.
46113 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46114 (_G_HAVE_IO_FILE_OPEN): Likewise.
46115 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
46116 (_G_int32_t): Likewise.
46117 (_G_uint16_t): Likewise.
46118 (_G_uint32_t): Likewise.
46119 (_G_HAVE_BOOL): Likewise.
46120 (_G_HAVE_ATEXIT): Likewise.
46121 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46122 (_G_HAVE_IO_FILE_OPEN): Likewise.
46123
46124 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
46125
46126 * csu/libc-tls.c: Update copyright years.
46127
46128 2012-09-10 Joseph Myers <joseph@codesourcery.com>
46129
46130 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
46131 [!_G_USING_THUNKS]: Remove conditional code.
46132 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
46133 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
46134
46135 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
46136 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
46137 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46138 (_G_VTABLE_LABEL_PREFIX): Likewise.
46139 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46140 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46141 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46142 (_G_VTABLE_LABEL_PREFIX): Likewise.
46143 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46144 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46145 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46146 (_G_VTABLE_LABEL_PREFIX): Likewise.
46147 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46148
46149 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
46150
46151 * libio/Makefile: Include ../Makeconfig before tests.
46152 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
46153 only if $(build-shared) is yes.
46154
46155 * iconv/gconv_db.c: Update copyright years.
46156
46157 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46158
46159 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
46160 unwind info if defined PIC. Fix special cases description.
46161 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
46162
46163 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
46164 DP_HI_MASK entry.
46165 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
46166
46167 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
46168
46169 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
46170
46171 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
46172 is NULL.
46173
46174 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
46175 (LDLIBS-tst-chk4): This.
46176 (LDFLAGS-tst-chk5): Renamed to ...
46177 (LDLIBS-tst-chk5): This.
46178 (LDFLAGS-tst-chk6): Renamed to ...
46179 (LDLIBS-tst-chk6): This.
46180 (LDFLAGS-tst-lfschk4): Renamed to ...
46181 (LDLIBS-tst-lfschk4): This.
46182 (LDFLAGS-tst-lfschk5): Renamed to ...
46183 (LDLIBS-tst-lfschk5): This.
46184 (LDFLAGS-tst-lfschk6): Renamed to ...
46185 (LDLIBS-tst-lfschk6): This.
46186
46187 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
46188 on $(common-objpfx)soversions.mk.
46189
46190 2012-09-07 Joseph Myers <joseph@codesourcery.com>
46191
46192 [BZ #10014]
46193 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
46194 example host name.
46195
46196 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
46197
46198 * malloc/arena.c (arena_get_retry): New function that gets
46199 another arena for the caller to try its request on.
46200 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
46201 current arena cannot fulfill the request.
46202 (__libc_memalign): Likewise.
46203 (__libc_memalign): Likewise.
46204 (__libc_pvalloc): Likewise.
46205 (__libc_calloc): Likewise.
46206
46207 2012-09-05 John Tobey <john.tobey@gmail.com>
46208
46209 [BZ #13542]
46210 * manual/arith.texi (Operations on Complex): Fix description
46211 of carg branch cut.
46212
46213 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46214
46215 [BZ #10014]
46216 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
46217 host name.
46218
46219 [BZ #10038]
46220 * manual/memory.texi (Memory): Make order of menu items match
46221 order of sections.
46222
46223 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46224
46225 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
46226 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
46227 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
46228
46229 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46230
46231 * csu/libc-tls.c (static_dtv): Renamed to ...
46232 (_dl_static_dtv): This. Make it global.
46233 (_dl_initial_dtv): Removed.
46234 (__libc_setup_tls): Updated.
46235 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
46236 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
46237 DL_INITIAL_DTV.
46238
46239 2012-09-06 Petr Machata <pmachata@redhat.com>
46240
46241 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
46242 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
46243 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
46244 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
46245
46246 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46247
46248 [BZ #14545]
46249 * csu/libc-tls.c (_dl_initial_dtv): New variable.
46250 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
46251 freeing dtv[-1].
46252
46253 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46254
46255 [BZ #14544]
46256 * Makeconfig (link-static-before-libc): Replace $(+prector)
46257 with $(+prectorT).
46258 (link-static-after-libc): Replace $(+postctor) with
46259 $(+postctorT).
46260 (link-bounded): Replace $(+prector)/$(+postctor) with
46261 $(+prectorT)/$(+postctorT).
46262 (+prectorT): New macro.
46263 (+postctorT): Likewise.
46264
46265 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46266
46267 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
46268 (round_str): Handle values above the maximum for IBM long double
46269 as inexact.
46270 * stdlib/tst-strtod-round.c (tests): Regenerated.
46271
46272 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46273
46274 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
46275 assembler flag.
46276 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
46277 zarch_nohighgprs around the zarch optimized routines.
46278 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
46279 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
46280 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
46281 for zarch.
46282
46283 2012-09-05 David S. Miller <davem@davemloft.net>
46284
46285 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46286
46287 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
46288 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
46289 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
46290 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46291 entries.
46292
46293 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46294
46295 * malloc/arena.c: Fold copyright years.
46296 * malloc/mcheck.c, malloc/memusage.c: Likewise.
46297
46298 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46299
46300 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
46301
46302 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46303
46304 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
46305
46306 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46307
46308 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
46309 change internal state upon failure.
46310
46311 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46312
46313 * malloc/mcheck.c (mcheck_check_all): Fix typo.
46314 * malloc/memusage.c (mmap): Likewise.
46315 (mmap64, mremap): Likewise. Adjust name in comment.
46316
46317 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46318
46319 * libio/fileops.c: Fix typos in comments.
46320 * libio/oldfileops.c: Likewise.
46321 * libio/wfileops.c: Likewise.
46322
46323 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46324
46325 [BZ #1349]
46326 * malloc/Makefile (tests): Add tst-malloc-usable test case.
46327 (tst-malloc-usable-ENV): Set environment for test case.
46328 * malloc/hooks.c (malloc_check_get_size): New function to get
46329 requested size.
46330 * malloc/malloc.c (musable): Use malloc_check_get_size.
46331 * malloc/tst-malloc-usable.c: New test case.
46332
46333 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46334
46335 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
46336
46337 2012-09-05 Allan McRae <allan@archlinux.org>
46338
46339 [BZ #13966]
46340 * configure.in (CXX_SYSINCLUDES): Use compiler output to
46341 determine header location.
46342 * configure: Regenerated.
46343
46344 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46345
46346 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
46347 float format.
46348 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
46349 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
46350 format.
46351 (test): Regenerate.
46352
46353 2012-09-04 David S. Miller <davem@davemloft.net>
46354
46355 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
46356 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
46357 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
46358
46359 2012-09-04 Florian Weimer <fweimer@redhat.com>
46360
46361 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
46362 failures.
46363
46364 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
46365
46366 2012-09-04 Joseph Myers <joseph@codesourcery.com>
46367
46368 [BZ #9914]
46369 * libio/iogetdelim.c: Include <limits.h>.
46370 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
46371 + len + 1 would overflow.
46372
46373 2012-09-03 Andreas Jaeger <aj@suse.de>
46374
46375 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46376 * sysdeps/i386/fpu/libm-test-ulps: Update.
46377
46378 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46379
46380 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46381 Add s_sinf-sse2, s_conf-sse2.
46382
46383 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
46384 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
46385 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
46386 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
46387
46388 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
46389 for using routine as __sinf_ia32.
46390 Use macro for function declaration and weak_alias.
46391 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
46392 for using routine as __cosf_ia32.
46393 Use macro for function declaration and weak_alias.
46394
46395 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
46396 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
46397
46398 * sysdeps/x86_64/fpu/s_sinf.S: New file.
46399 * sysdeps/x86_64/fpu/s_cosf.S: New file.
46400 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46401
46402 * math/libm-test.inc (cos_test): Add more test cases.
46403 (sin_test): Likewise.
46404 (sincos_test): Likewise.
46405
46406 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46407
46408 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
46409 (IFUNC_RESOLVE): Make pointers to the specialized implementations
46410 hidden.
46411 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46412
46413 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
46414
46415 [BZ #14538]
46416 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
46417 first element of the GOT.
46418 (elf_machine_load_address): Return the difference between
46419 the runtime address of _DYNAMIC and elf_machine_dynamic ().
46420
46421 2012-09-01 Allan McRae <allan@archlinux.org>
46422
46423 [BZ #13412]
46424 * configure.in (AWK): Require gawk version 3.0 or later.
46425 * configure: Regenerated.
46426
46427 2012-09-01 Joseph Myers <joseph@codesourcery.com>
46428
46429 * sysdeps/unix/sysv/linux/kernel-features.h
46430 (__ASSUME_POSIX_CPU_TIMERS): Remove.
46431 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46432 [__NR_clock_getres]: Make code unconditional.
46433 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
46434 (clock_getcpuclockid): Remove code left unreachable by removal of
46435 conditionals.
46436 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
46437 code unconditional.
46438 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46439 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46440 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
46441 Make code unconditional.
46442 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46443 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46444 * sysdeps/unix/sysv/linux/clock_settime.c
46445 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
46446 conditional code.
46447 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
46448 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46449
46450 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
46451
46452 [BZ #14476]
46453 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
46454 scripts/test-installation.pl.
46455
46456 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
46457 and $ld_so_version if it is set.
46458
46459 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
46460
46461 [BZ #14516]
46462 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
46463 failure if reading from procfs failed.
46464 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
46465
46466 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46467
46468 * sysdeps/unix/sysv/linux/kernel-features.h
46469 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
46470 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46471 Remove conditional code.
46472 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46473 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
46474 Remove conditional code.
46475 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46476 * sysdeps/unix/sysv/linux/i386/fxstat.c
46477 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46478 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46479 * sysdeps/unix/sysv/linux/i386/fxstatat.c
46480 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46481 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46482 * sysdeps/unix/sysv/linux/i386/lxstat.c
46483 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46484 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46485 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
46486 Remove conditional code.
46487 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46488 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46489 Remove conditional code.
46490 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46491 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
46492 <kernel-features.h>.
46493 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
46494 Remove.
46495 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
46496 Remove conditional code.
46497 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46498 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
46499 Remove conditional.
46500
46501 2012-08-27 Mike Frysinger <vapier@gentoo.org>
46502
46503 [BZ #5400]
46504 * NEWS: Add fixed bug number.
46505
46506 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46507
46508 [BZ #14519]
46509 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
46510 underflowing exponent in case of negative sign.
46511 * stdlib/tst-strtod-round-data: Add more tests.
46512 * stdlib/tst-strtod-round.c (tests): Regenerated.
46513
46514 [BZ #3479]
46515 * stdlib/strtod_l.c (NDIG): Remove.
46516 (HEXNDIG): Likewise.
46517 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
46518 smallest representable value.
46519 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
46520 lie within an exact representation of 1/2 ulp of the result.
46521 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
46522 unconditionally.
46523 (TENS_P9_IDX): Define unconditionally.
46524 (TENS_P9_SIZE): Likewise.
46525 (TENS_P10_IDX): Likewise.
46526 (TENS_P10_SIZE): Likewise.
46527 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
46528 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
46529 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
46530 entries for 10^2^13 and 10^2^14.
46531 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
46532 (TENS_P13_IDX): Define.
46533 (TENS_P13_SIZE): Likewise.
46534 (TENS_P14_IDX): Likewise.
46535 (TENS_P14_SIZE): Likewise.
46536 (_fpioconst_pow10): Change array size to
46537 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
46538 unconditional.
46539 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
46540 1024]: Add entries for 10^2^13 and 10^2^14.
46541 [LAST_POW10 > _LAST_POW10]: Remove #error.
46542 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
46543 (_fpioconst_pow10): Change array size to
46544 FPIOCONST_POW10_ARRAY_SIZE.
46545 * stdlib/gen-fpioconst.c: New file.
46546 * stdlib/gen-tst-strtod-round.c: Likewise.
46547 * stdlib/tst-strtod-round-data: Likewise.
46548 * stdlib/tst-strtod-round.c: Likewise.
46549 * stdlib/Makefile (tests): Add tst-strtod-round.
46550
46551 [BZ #14459]
46552 * stdlib/strtod_l.c: Include <stdint.h>.
46553 (NDEBUG): Do not define.
46554 (round_and_return): Change EXPONENT parameter to type intmax_t.
46555 Rearrange calculations to avoid internal overflow possibilities.
46556 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
46557 Rearrange calculations to avoid internal overflow possibilities.
46558 Assert that number fits inside MPNSIZE limbs.
46559 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
46560 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
46561 calculations and add assertions to avoid internal overflow
46562 possibilities. Add casts to avoid signed/unsigned operations.
46563 * stdlib/tst-strtod-overflow.c: New file.
46564 * stdlib/Makefile (tests): Add tst-strtod-overflow.
46565
46566 2012-08-25 Marek Polacek <polacek@redhat.com>
46567
46568 * time/time.h: Fix some typos in comments.
46569
46570 2012-08-23 Roland McGrath <roland@hack.frob.com>
46571
46572 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
46573 * posix/tst-rfc3484-2.c: Likewise.
46574 * posix/tst-rfc3484-3.c: Likewise.
46575
46576 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
46577
46578 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
46579 (EF_ARM_ABI_FLOAT_HARD): Likewise.
46580
46581 2012-08-23 Joseph Myers <joseph@codesourcery.com>
46582
46583 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
46584 #include of fxstatat64.c.
46585
46586 2012-08-22 Roland McGrath <roland@hack.frob.com>
46587
46588 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
46589 * shadow/getspent_r.c: Likewise.
46590 * shadow/getspnam.c: Likewise.
46591 * shadow/getspnam_r.c: Likewise.
46592 * gshadow/getsgent.c: Likewise.
46593 * gshadow/getsgent_r.c: Likewise.
46594 * gshadow/getsgnam.c: Likewise.
46595 * gshadow/getsgnam_r.c: Likewise.
46596 * inet/getnetbyad.c: Likewise.
46597 * inet/getnetbyad_r.c: Likewise.
46598 * inet/getnetbynm.c: Likewise.
46599 * inet/getnetbynm_r.c: Likewise.
46600 * inet/getnetent.c: Likewise.
46601 * inet/getnetent_r.c: Likewise.
46602 * inet/getproto.c: Likewise.
46603 * inet/getproto_r.c: Likewise.
46604 * inet/getprtent.c: Likewise.
46605 * inet/getprtent_r.c: Likewise.
46606 * inet/getprtname.c: Likewise.
46607 * inet/getprtname_r.c: Likewise.
46608 * inet/getrpcbyname.c: Likewise.
46609 * inet/getrpcbyname_r.c: Likewise.
46610 * inet/getrpcbynumber.c: Likewise.
46611 * inet/getrpcbynumber_r.c: Likewise.
46612 * inet/getrpcent.c: Likewise.
46613 * inet/getrpcent_r.c: Likewise.
46614 * inet/getaliasent.c: Likewise.
46615 * inet/getaliasent_r.c: Likewise.
46616 * inet/getaliasname.c: Likewise.
46617 * inet/getaliasname_r.c: Likewise.
46618 * nscd/getgrgid_r.c: Likewise.
46619 * nscd/getgrnam_r.c: Likewise.
46620 * nscd/gethstbyad_r.c: Likewise.
46621 * nscd/gethstbynm3_r.c: Likewise.
46622 * nscd/getpwnam_r.c: Likewise.
46623 * nscd/getpwuid_r.c: Likewise.
46624 * nscd/getsrvbynm_r.c: Likewise.
46625 * nscd/getsrvbypt_r.c: Likewise.
46626 * nscd/gai.c: Likewise.
46627
46628 * configure.in (build_nscd): New substituted variable, set
46629 by --disable-build-nscd and defaults to $use_nscd.
46630 * configure: Regenerated.
46631 * config.make.in (build-nscd): New substituted variable.
46632 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
46633 Change conditional to require [$(build-nscd) = yes] as well.
46634 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
46635
46636 [BZ# 13696]
46637 * configure.in (use_nscd): New substituted variable, set by
46638 --disable-nscd. If enabled, define USE_NSCD.
46639 * configure: Regenerated.
46640 * config.h.in: Add USE_NSCD.
46641 * config.make.in (use-nscd): New substituted variable.
46642 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
46643 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
46644 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
46645 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
46646 (CFLAGS-getgrnam_r.c): Likewise.
46647 (CFLAGS-initgroups.c): Likewise.
46648 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
46649 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
46650 Variables removed.
46651 * inet/getnetgrent_r.c
46652 (nscd_setnetgrent): New function, broken out of ...
46653 (setnetgrent): ... here. Call it.
46654 (innetgr): Conditionalize nscd bits on [USE_NSCD].
46655 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
46656 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
46657 * nscd/Makefile (routines, aux): Move definitions after include of
46658 Makeconfig. Conditionalize on [$(use-nscd) != no].
46659 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
46660 Conditionalize on [USE_NSCD].
46661 (is_nscd, nscd_init_cb): Likewise.
46662 (nss_load_library): Conditionalize init callback on [USE_NSCD].
46663 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
46664 * nss/nss_db/db-init.c: Likewise.
46665 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
46666 [USE_NSCD].
46667 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
46668 (make_request): Use it.
46669 (cache_valid_p): New function.
46670 (__check_pf): Use it.
46671 * NEWS: Add item for --disable-nscd.
46672
46673 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
46674
46675 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
46676 to support sed >= 4.2.1-20-ga9bf076.
46677 * configure: Regenerated.
46678
46679 2012-08-22 Roland McGrath <roland@hack.frob.com>
46680
46681 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
46682 Conditionalize whole body on [IREL].
46683
46684 2012-08-22 Jeff Law <law@redhat.com>
46685
46686 [BZ #14505]
46687 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
46688 if the family is PF_UNSPEC.
46689
46690 2012-08-22 Mike Frysinger <vapier@gentoo.org>
46691
46692 * Makerules (lib-version): Rename from V.
46693 (install-lib-nosubdir): Change V to lib-version.
46694
46695 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
46696
46697 [BZ #14252]
46698 * powerpc32/power6/wcschr.c: New file.
46699 * powerpc32/power6/wcscpy.c: New file.
46700 * powerpc32/power6/wcsrchr.c: New file.
46701 * powerpc64/power6/wcschr.c: New file.
46702 * powerpc64/power6/wcscpy.c: New file.
46703 * powerpc64/power6/wcsrchr.c: New file.
46704
46705 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46706
46707 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
46708 (two_way_short_needle): Use it.
46709 * string/strstr.c (AVAILABLE1_USES_J): Define.
46710 * string/strcasestr.c: Likewise.
46711
46712 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
46713 array references.
46714 * string/strcasestr.c (TOLOWER): Make side-effect safe.
46715
46716 [BZ #11607]
46717 * NEWS: Add an entry.
46718 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
46719 define their defaults.
46720 (two_way_short_needle): Detect end-of-string on-the-fly.
46721 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
46722 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
46723 * string/bug-strcasestr1.c: New test.
46724 * string/Makefile: Run it.
46725
46726 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46727
46728 [BZ #11607]
46729 * string/str-two-way.h (two_way_short_needle): Optimize matching of
46730 the first character.
46731
46732 2012-08-21 Roland McGrath <roland@hack.frob.com>
46733
46734 * csu/elf-init.c (__libc_csu_irel): Function removed.
46735 * csu/libc-start.c (apply_irel): New function.
46736 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
46737
46738 2012-08-21 Joseph Myers <joseph@codesourcery.com>
46739
46740 * sysdeps/unix/sysv/linux/kernel-features.h
46741 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
46742 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46743 <kernel-features.h>.
46744 [__NR_fadvise64_64]: Make code unconditional.
46745 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
46746 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46747 !__NR_fadvise64_64)]: Likewise.
46748 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46749 !__NR_fadvise64_64))]: Likewise.
46750 [__NR_fadvise64]: Make code unconditional.
46751 [!__NR_fadvise64]: Remove conditional code.
46752 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
46753 <kernel-features.h>.
46754 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46755 unconditional.
46756 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46757 conditional code.
46758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
46759 not include <kernel-features.h>.
46760 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46761 unconditional.
46762 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46763 conditional code.
46764 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
46765 include <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
46771 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46772
46773 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
46774 slight instruction rearrangements per scrollpipe analysis.
46775 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46776
46777 2012-08-20 Roland McGrath <roland@hack.frob.com>
46778
46779 * manual/syslog.texi (syslog; vsyslog, closelog):
46780 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
46781 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
46782
46783 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
46784 DSOCAPS to match condition on defining it.
46785
46786 2012-08-20 Joseph Myers <joseph@codesourcery.com>
46787
46788 * sysdeps/unix/sysv/linux/kernel-features.h
46789 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
46790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
46791 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46792 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
46794 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46795 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
46797 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46798 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46799
46800 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
46801 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
46802
46803 * sysdeps/unix/sysv/linux/kernel-features.h
46804 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
46805 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
46806 unconditional.
46807 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46808 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
46809 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46810 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46811 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
46812 Make code unconditional.
46813 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46814 (__mmap64) [!__NR_mmap2]: Likewise.
46815 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
46816 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46817 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46818 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
46819 [__NR_mmap2]: Make code unconditional.
46820 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46821 (__mmap64) [!__NR_mmap2]: Likewise.
46822
46823 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46824
46825 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
46826
46827 2012-08-18 Andreas Jaeger <aj@suse.de>
46828
46829 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
46830
46831 2012-08-18 Mike Frysinger <vapier@gentoo.org>
46832
46833 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
46834 * include/unistd.h (__have_sock_cloexec): Likewise.
46835 (__have_pipe2): Likewise.
46836 (__have_dup3): Likewise.
46837
46838 2012-08-18 Mike Frysinger <vapier@gentoo.org>
46839
46840 [BZ #9685]
46841 * include/unistd.h (__have_pipe2): Change define into an extern int.
46842 (__have_dup3): Likewise.
46843 * socket/have_sock_cloexec.c: Include fcntl.h.
46844 (__have_pipe2): New variable.
46845 (__have_dup3): Likewise.
46846
46847 2012-08-17 Mike Frysinger <vapier@gentoo.org>
46848
46849 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
46850
46851 2012-08-17 Marek Polacek <polacek@redhat.com>
46852
46853 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
46854 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
46855
46856 2012-08-17 Roland McGrath <roland@hack.frob.com>
46857
46858 * configure.in: Add AC_SUBST for sysheaders.
46859 * configure: Regenerated.
46860 * config.make.in (sysheaders): New substituted variable.
46861
46862 * sysdeps/unix/mkfifo.c: Moved ...
46863 * sysdeps/posix/mkfifo.c: ... here.
46864 * sysdeps/unix/mkfifoat.c: Moved ...
46865 * sysdeps/posix/mkfifoat.c: ... here.
46866
46867 * sysdeps/unix/utime.c: Moved ...
46868 * sysdeps/posix/utime.c: ... here.
46869
46870 * sysdeps/unix/time.c: Moved ...
46871 * sysdeps/posix/time.c: ... here.
46872 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
46873 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
46874
46875 * sysdeps/unix/nice.c: Moved ...
46876 * sysdeps/posix/nice.c: ... here.
46877
46878 * sysdeps/unix/alarm.c: Moved ...
46879 * sysdeps/posix/alarm.c: ... here.
46880
46881 * intl/Makefile ($(codeset_mo)): Depend on the input file.
46882
46883 2012-08-17 Jeff Law <law@redhat.com>
46884
46885 * intl/Makefile (codeset_mo): New variable.
46886 ($(codeset_mo)): New target.
46887 (tst-codeset.out): Depend on that. Remove explicit rule.
46888 (tst-gettext3.out, tst-gettext5.out): Likewise.
46889 (LOCPATH-ENV, tst-codeset-ENV): New variables.
46890 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
46891 * intl/tst-codeset.sh: Remove.
46892 * intl/tst-gettext3.sh: Likewise.
46893 * intl/tst-gettext5.sh: Likewise.
46894
46895 2012-08-17 Roland McGrath <roland@hack.frob.com>
46896
46897 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
46898 * sysdeps/unix/syscalls.list: ... here.
46899
46900 * sysdeps/posix/getaddrinfo.c
46901 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
46902 (gaiconf_init, gaiconf_reload): Use them.
46903 [!_STATBUF_ST_NSEC]
46904 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
46905 Define using time_t rather than struct timespec.
46906
46907 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
46908 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
46909 Macros removed.
46910 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
46911 [!NO_THREADS].
46912 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
46913 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
46914 Likewise.
46915
46916 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
46917 __libc_cleanup_push argument.
46918
46919 * bits/param.h: New file.
46920 * misc/sys/param.h: New file.
46921 * include/sys/param.h: New file.
46922 * misc/Makefile (headers): Add bits/param.h.
46923 * sysdeps/generic/sys/param.h: File removed.
46924 * sysdeps/unix/sysv/linux/bits/param.h: New file.
46925 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
46926 * sysdeps/mach/hurd/bits/param.h: New file.
46927 * sysdeps/mach/hurd/sys/param.h: File removed.
46928
46929 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
46930 last change.
46931
46932 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
46933 [_IO_MTSAFE_IO].
46934 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
46935 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
46936 New macros.
46937
46938 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
46939 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
46940 rather than -D_IO_MTSAFE_IO conditionally.
46941 * stdio-common/Makefile (CPPFLAGS): Likewise.
46942 * wcsmbs/Makefile (CPPFLAGS): Likewise.
46943 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
46944 Use $(libio-mtsafe).
46945 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
46946 of -D_IO_MTSAFE_IO.
46947 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
46948 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
46949 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
46950 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
46951 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
46952 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
46953 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
46954 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
46955 (CFLAGS-fread_u_chk.c): Likewise.
46956 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
46957 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
46958 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
46959 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
46960 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
46961 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
46962 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
46963 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
46964 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
46965
46966 * libio/Makefile: Test [$(libc-reentrant) = yes]
46967 instead of [$(filter %REENTRANT, $(defines)) nonempty].
46968
46969 * Makeconfig
46970 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
46971 * sysdeps/pthread/configure: File removed.
46972 * sysdeps/pthread/Makeconfig: New file.
46973 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
46974 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
46975
46976 2012-08-16 Gary Benson <gbenson@redhat.com>
46977
46978 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
46979 unmapping the first object in a namespace.
46980
46981 2012-08-16 Roland McGrath <roland@hack.frob.com>
46982
46983 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
46984 (__internal_setnetgrent): ... this. Add internal_function to
46985 definition. Add libc_hidden_def.
46986 (setnetgrent): Update caller.
46987 (internal_endnetgrent): Renamed to ...
46988 (__internal_endnetgrent): ... this. Add internal_function to
46989 definition. Add libc_hidden_def.
46990 (endnetgrent): Update caller.
46991 (internal_getnetgrent_r): Renamed to ...
46992 (__internal_getnetgrent_r): ... this. Add internal_function to
46993 definition. Add libc_hidden_def.
46994 (__getnetgrent_r): Update caller.
46995 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
46996
46997 2012-08-16 Joseph Myers <joseph@codesourcery.com>
46998
46999 * stdlib/longlong.h: Update from GCC.
47000
47001 2012-08-16 Roland McGrath <roland@hack.frob.com>
47002
47003 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
47004 on _QL, which is set by umul_ppmm but never used.
47005 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
47006 variables, which are set by GMP macros but never used.
47007 * stdio-common/_itowa.c (_itowa): Likewise.
47008 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
47009 * stdlib/mod_1.c (mpn_mod_1): Likewise.
47010
47011 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
47012
47013 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
47014 struct La_sh_regs is not constant.
47015 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
47016 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
47017 and struct La_sparc64_regs are not constant.
47018
47019 2012-08-16 Joseph Myers <joseph@codesourcery.com>
47020
47021 * sysdeps/unix/sysv/linux/kernel-features.h
47022 (__ASSUME_POSIX_TIMERS): Remove.
47023 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47024 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47025 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
47026 Make code unconditional.
47027 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47028 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
47029 Make code unconditional.
47030 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47031 * sysdeps/unix/sysv/linux/clock_nanosleep.c
47032 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
47033 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47034 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
47035 Make code unconditional.
47036 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47037 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
47038 (__libc_missing_posix_timers): Remove.
47039
47040 2012-08-15 Roland McGrath <roland@hack.frob.com>
47041
47042 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
47043 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
47044
47045 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
47046
47047 * elf/dl-sym.c: Include <stdlib.h>.
47048
47049 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
47050 constants, which avoids warnings in 32-bit builds.
47051
47052 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
47053 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
47054
47055 * misc/lseek.c: File moved to ...
47056 * io/lseek.c: ... here.
47057
47058 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
47059
47060 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
47061 shifting LEN more than 31 bits at once.
47062
47063 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47064
47065 [BZ #14195]
47066 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
47067 segmentation fault for a case of two empty input strings.
47068 * string/test-strncasecmp.c (check1): Renamed to...
47069 (bz12205): ...this.
47070 (bz14195): Add new testcase for two empty input strings and N > 0.
47071 (test_main): Call new testcase, adapt for renamed function.
47072
47073 2012-08-15 Andreas Jaeger <aj@suse.de>
47074
47075 [BZ #14090]
47076 * crypt/md5test2.c: New test, based on test supplied by Serge
47077 Belyshev <belyshev@depni.sinp.msu.ru>.
47078 * crypt/Makefile (xtests): Add md5test-giant..
47079 * crypt/Makefile ($(objpfx)md5test-giant): Add.
47080
47081 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
47082
47083 [BZ #14090]
47084 * crypt/md5.c (md5_process_block): Don't assume the buffer
47085 length is less than 2**32.
47086 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
47087 length is less than 2**64.
47088
47089 2012-08-15 Roland McGrath <roland@hack.frob.com>
47090
47091 * string/str-two-way.h: Include <sys/param.h>.
47092 (MAX): Macro removed.
47093
47094 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
47095 Move #define and #undef of memmove to just before and after
47096 including <string.h>.
47097
47098 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
47099 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
47100 and after including <string.h>. Move declarations of
47101 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
47102 to before #include "string/memmove.c".
47103
47104 * include/dirent.h: Declare __getdirentries.
47105
47106 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
47107 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
47108
47109 2012-08-14 Mike Frysinger <vapier@gentoo.org>
47110
47111 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
47112 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
47113 * sysdeps/i386/configure: Regenerated.
47114 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
47115 STABS_CURRENT_FILE, and STABS_FUN.
47116 (END): Remove call to STABS_FUN_END.
47117 (STABS_CURRENT_FILE1): Delete.
47118 (STABS_CURRENT_FILE): Likewise.
47119 (STABS_FUN): Likewise.
47120 (STABS_FUN_END): Likewise.
47121 (STABS_FUN2): Likewise.
47122 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
47123 * sysdeps/x86_64/configure: Regenerated.
47124
47125 2012-08-14 Roland McGrath <roland@hack.frob.com>
47126
47127 * elf/dl-open.c: Include <atomic.h>.
47128 * elf/dl-lookup.c: Likewise.
47129
47130 2012-08-14 Joseph Myers <joseph@codesourcery.com>
47131
47132 * sysdeps/unix/sysv/linux/kernel-features.h
47133 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
47134 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
47135 unconditionally.
47136 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
47137 unconditionally.
47138 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
47139 condition on __ASSUME_CLONE_THREAD_FLAGS.
47140
47141 2012-08-14 Andreas Jaeger <aj@suse.de>
47142
47143 * sysdeps/i386/fpu/libm-test-ulps: Update.
47144
47145 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
47146
47147 * include/atomic.h (atomic_exchange_and_add): Split into ...
47148 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
47149 New atomic macros.
47150
47151 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
47152
47153 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47154
47155 2012-08-13 Jeff Law <law@redhat.com>
47156
47157 * manual/stdio.texi (snprintf): Clarify handling of the trailing
47158 null byte in the output string.
47159
47160 2012-08-10 Joseph Myers <joseph@codesourcery.com>
47161
47162 * sysdeps/unix/sysv/linux/kernel-features.h
47163 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
47164 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
47165 (__ASSUME_ARG_MAX_STACK_BASED): Define.
47166 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
47167 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
47168 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
47169 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
47170
47171 2012-08-09 Jeff Law <law@redhat.com>
47172
47173 [BZ #13939]
47174 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
47175 When avoid_arena is set, don't retry in the that arena. Pick the
47176 next one, whatever it might be.
47177 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
47178 (arena_lock): Pass in new parameter to arena_get2.
47179 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
47180 arena_get2.
47181 (__libc_malloc): Unify retrying after main arena failure with
47182 __libc_memalign version.
47183 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
47184
47185 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
47186
47187 [BZ #14166]
47188 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
47189 to __redirect_strstr.
47190 (__strstr_sse42): Use typeof __redirect_strstr.
47191 (__strstr_ia32): Likewise.
47192 (__libc_strstr): New prototype.
47193 (strstr): Renamed to ...
47194 (__libc_strstr): This.
47195 (strstr): New strong alias of __libc_strstr.
47196 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
47197 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
47198 __redirect_time.
47199 Include <time.h>.
47200 (__libc_time): New prototype.
47201 (time_ifunc): Replace time with __libc_time.
47202 (time): New strong alias and hidden definition of __libc_time.
47203 (__GI_time): Remove strong alias.
47204 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
47205 Include <stddef.h>.
47206 (memmove): Redefined to __redirect_memmove.
47207 (__memmove_sse2): Use typeof __redirect_memmove.
47208 (__memmove_ssse3): Likewise.
47209 (__memmove_ssse3_back): Likewise.
47210 (__libc_memmove): New prototype.
47211 (memmove): Renamed to ...
47212 (__libc_memmove): This.
47213 (memmove): New strong alias of __libc_memmove.
47214
47215 2012-08-08 Mark Salter <msalter@redhat.com>
47216
47217 * elf/elf.h
47218 (R_MN10300_TLS_GD): Define.
47219 (R_MN10300_TLS_LD): Likewise.
47220 (R_MN10300_TLS_LDO): Likewise.
47221 (R_MN10300_TLS_GOTIE): Likewise.
47222 (R_MN10300_TLS_IE): Likewise.
47223 (R_MN10300_TLS_LE): Likewise.
47224 (R_MN10300_TLS_DTPMOD): Likewise.
47225 (R_MN10300_TLS_DTPOFF): Likewise.
47226 (R_MN10300_TLS_TPOFF): Likewise.
47227 (R_MN10300_SYM_DIFF): Likewise.
47228 (R_MN10300_ALIGN): Likewise.
47229 (R_MN10300_NUM): Update.
47230
47231 2012-08-08 Joseph Myers <joseph@codesourcery.com>
47232
47233 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
47234 Remove.
47235
47236 2012-08-08 Roland McGrath <roland@hack.frob.com>
47237
47238 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
47239
47240 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
47241 sysdeps/unix -> sysdeps/posix move.
47242 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47243
47244 2012-08-07 Allan McRae <allan@archlinux.org>
47245
47246 [BZ #14303]
47247 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
47248 (SUNOS_CPP): Likewise.
47249 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
47250 not found.
47251 (open_input): Call CPP using execvp.
47252
47253 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47254
47255 * sysdeps/unix/sysv/linux/kernel-features.h
47256 (__ASSUME_PROT_GROWSUPDOWN): Remove.
47257 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47258 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47259 (__ASSUME_WAITID_SYSCALL): Likewise.
47260 * sysdeps/unix/sysv/linux/dl-execstack.c
47261 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
47262 code unconditional.
47263 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
47264 conditional code.
47265 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
47266 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
47267 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
47268 code.
47269 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
47270 unconditional.
47271 [__ASSUME_WAITID_SYSCALL]: Likewise.
47272 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
47273
47274 2012-08-07 Roland McGrath <roland@hack.frob.com>
47275
47276 * sysdeps/unix/closedir.c: Renamed to ...
47277 * sysdeps/posix/closedir.c: ... here.
47278 * sysdeps/unix/dirfd.c: Renamed to ...
47279 * sysdeps/posix/dirfd.c: ... here.
47280 * sysdeps/unix/dirstream.h: Renamed to ...
47281 * sysdeps/posix/dirstream.h: ... here.
47282 * sysdeps/unix/fdopendir.c: Renamed to ...
47283 * sysdeps/posix/fdopendir.c: ... here.
47284 * sysdeps/unix/opendir.c: Renamed to ...
47285 * sysdeps/posix/opendir.c: ... here.
47286 * sysdeps/unix/readdir.c: Renamed to ...
47287 * sysdeps/posix/readdir.c: ... here.
47288 * sysdeps/unix/readdir_r.c: Renamed to ...
47289 * sysdeps/posix/readdir_r.c: ... here.
47290 * sysdeps/unix/rewinddir.c: Renamed to ...
47291 * sysdeps/posix/rewinddir.c: ... here.
47292 * sysdeps/unix/seekdir.c: Renamed to ...
47293 * sysdeps/posix/seekdir.c: ... here.
47294 * sysdeps/unix/telldir.c: Renamed to ...
47295 * sysdeps/posix/telldir.c: ... here.
47296 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
47297 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
47298 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
47299 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
47300
47301 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
47302 * bits/fcntl.h: ... here.
47303
47304 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
47305 not 0.
47306 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
47307 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
47308 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
47309 (struct flock): Move l_start, l_len to the beginning.
47310 Use __pid_t for l_pid.
47311 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
47312 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
47313 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
47314 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
47315 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
47316 [__USE_LARGEFILE64] (struct flock64): New type.
47317 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
47318
47319 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
47320 * bits/dirent.h: ... here.
47321
47322 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
47323 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
47324
47325 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47326
47327 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47328 Change from 2.6.0 to 2.6.16.
47329 * sysdeps/unix/sysv/linux/configure: Regenerated.
47330 * sysdeps/unix/sysv/linux/kernel-features.h
47331 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
47332 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
47333 version.
47334 (__ASSUME_UTIMES): Likewise.
47335 (__ASSUME_CLONE_STOPPED): Remove.
47336 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
47337 architectures, not kernel version.
47338 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
47339 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47340 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47341 (__ASSUME_WAITID_SYSCALL): Likewise.
47342 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
47343 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
47344 * README: State 2.6.16 as minimum Linux kernel version. Do not
47345 refer to older versions.
47346
47347 2012-08-06 Roland McGrath <roland@hack.frob.com>
47348
47349 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
47350 Define alphasort64 as an alias.
47351 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
47352 Define versionsort64 as an alias.
47353 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
47354 Define scandir64 as an alias.
47355 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
47356 Define scandirat64 as an alias.
47357 * dirent/alphasort64.c (alphasort64):
47358 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
47359 * dirent/versionsort64.c: Likewise.
47360 * dirent/scandir64.c: Likewise.
47361 * dirent/scandirat64.c: Likewise.
47362 * sysdeps/wordsize-64/alphasort.c: File removed.
47363 * sysdeps/wordsize-64/alphasort64.c: File removed.
47364 * sysdeps/wordsize-64/scandir.c: File removed.
47365 * sysdeps/wordsize-64/scandir64.c: File removed.
47366 * sysdeps/wordsize-64/scandirat.c: File removed.
47367 * sysdeps/wordsize-64/scandirat64.c: File removed.
47368 * sysdeps/wordsize-64/versionsort.c: File removed.
47369 * sysdeps/wordsize-64/versionsort64.c: File removed.
47370 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
47371 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
47372 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
47373 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
47374 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
47375 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
47376 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
47377 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
47378
47379 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
47380 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47381 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
47382 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47383 [defined __arch64__ || defined __sparcv9]
47384 (__INO_T_MATCHES_INO64_T): New macro.
47385 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47386 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
47387 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
47388 * sysdeps/unix/sysv/linux/bits/dirent.h
47389 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
47390 (_DIRENT_MATCHES_DIRENT64): New macro.
47391
47392 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
47393 Define lockf64 as an alias.
47394 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
47395 Define fseeko64 as an alias.
47396 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
47397 Define ftello64 as an alias.
47398 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
47399 Define _IO_fgetpos64 and fgetpos64 as aliases.
47400 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
47401 Define _IO_fsetpos64 and fsetpos64 as aliases.
47402 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
47403 Conditionalize body on this.
47404 * libio/fseeko64.c: Likewise.
47405 * libio/ftello64.c: Likewise.
47406 * libio/iofgetpos64.c: Likewise.
47407 * libio/iofsetpos64.c: Likewise.
47408 * sysdeps/wordsize-64/lockf.c: File removed.
47409 * sysdeps/wordsize-64/lockf64.c: File removed.
47410 * sysdeps/wordsize-64/fseeko.c: File removed.
47411 * sysdeps/wordsize-64/fseeko64.c: File removed.
47412 * sysdeps/wordsize-64/ftello.c: File removed.
47413 * sysdeps/wordsize-64/ftello64.c: File removed.
47414 * sysdeps/wordsize-64/iofgetpos.c: File removed.
47415 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
47416 * sysdeps/wordsize-64/iofsetpos.c: File removed.
47417 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
47418 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
47419 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
47420 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
47421 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
47422 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
47423 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
47424 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
47425 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
47426 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
47427 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
47428
47429 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47430 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47431 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
47432 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47433 [defined __arch64__ || defined __sparcv9]
47434 (__OFF_T_MATCHES_OFF64_T): New macro.
47435 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47436 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47437 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47438 (__OFF_T_MATCHES_OFF64_T): New macro.
47439
47440 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47441
47442 * stdlib/secure-getenv.c (__secure_getenv): Replace
47443 GLIBC_2_16 with GLIBC_2_17.
47444
47445 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47446
47447 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
47448 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47449
47450 2012-08-03 David S. Miller <davem@davemloft.net>
47451
47452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47453
47454 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47455
47456 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
47457 Remove.
47458 (__ASSUME_CORRECT_SI_PID): Likewise.
47459 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
47460 (__ASSUME_TMPFS_NAME): Likewise.
47461 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
47462 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
47463 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
47464 (HAVE_AUX_SECURE): Make definition unconditional.
47465 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
47466 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
47467
47468 2012-08-03 Roland McGrath <roland@hack.frob.com>
47469
47470 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
47471 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
47472 * sysdeps/mach/hurd/eloop-threshold.h: New file.
47473 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47474 __eloop_threshold instead of SYMLOOP_MAX.
47475
47476 * sysdeps/generic/eloop-threshold.h: New file.
47477 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
47478 of MAXSYMLINKS.
47479 * elf/chroot_canon.c (chroot_canon): Likewise.
47480
47481 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47482
47483 [BZ #13717]
47484 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47485 Change to 2.6.0 everywhere.
47486 * sysdeps/unix/sysv/linux/configure: Regenerated.
47487 * sysdeps/unix/sysv/linux/kernel-features.h
47488 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
47489 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
47490 kernel versions.
47491 (__ASSUME_POSIX_TIMERS): Define unconditionally.
47492 (__ASSUME_FUTEX_REQUEUE): Remove.
47493 (__ASSUME_STATFS64): Define unconditionally.
47494 (__ASSUME_AT_SECURE): Likewise.
47495 (__ASSUME_CORRECT_SI_PID): Likewise.
47496 (__ASSUME_TGKILL): Define without depending on kernel version for
47497 i386.
47498 (__ASSUME_UTIMES): Likewise.
47499 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
47500 kernel version.
47501 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
47502 (__ASSUME_TMPFS_NAME): Likewise.
47503 * README: Update reference to Linux kernel versions.
47504
47505 2012-08-02 Marek Polacek <polacek@redhat.com>
47506
47507 [BZ# 14150]
47508 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
47509 libc_cv_asm_type_prefix with %.
47510 * configure: Regenerated.
47511 * include/libc-symbols.h: Remove comment about
47512 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47513 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
47514 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
47515 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
47516 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
47517 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47518 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
47519 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
47520 * elf/tst-unique2mod1.c: Likewise.
47521 * elf/tst-unique1mod2.c: Likewise.
47522 * elf/tst-unique1mod1.c: Likewise.
47523 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
47524 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
47525 Replace ASM_TYPE_DIRECTIVE with .type.
47526 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47527 * sysdeps/i386/sysdep.h: Likewise.
47528 * sysdeps/x86_64/sysdep.h: Likewise.
47529 * sysdeps/sh/sysdep.h: Likewise.
47530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47531 Do not define ASM_TYPE_DIRECTIVE.
47532 * sysdeps/powerpc/sysdep.h: Likewise.
47533 * sysdeps/powerpc/powerpc32/sysdep.h:
47534 Replace ASM_TYPE_DIRECTIVE with .type.
47535 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47536 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47537 * sysdeps/i386/fpu/e_powf.S: Likewise.
47538 * sysdeps/i386/fpu/e_expl.S: Likewise.
47539 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47540 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47541 * sysdeps/i386/fpu/e_pow.S: Likewise.
47542 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47543 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47544 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47545 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47546 * sysdeps/i386/fpu/e_log2.S: Likewise.
47547 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47548 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47549 * sysdeps/i386/fpu/e_powl.S: Likewise.
47550 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47551 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47552 * sysdeps/i386/fpu/e_logl.S: Likewise.
47553 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47554 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47555 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47556 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47557 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47558 * sysdeps/i386/fpu/e_log.S: Likewise.
47559 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47560 * sysdeps/i386/fpu/e_logf.S: Likewise.
47561 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47562 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47563 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47564 * sysdeps/i386/fpu/e_log10.S: Likewise.
47565 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47566 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47567 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47568 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47569 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47570 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
47571 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47572 * sysdeps/i386/i686/strtok.S: Likewise.
47573 * sysdeps/i386/i386-mcount.S: Likewise.
47574 * sysdeps/i386/strtok.S: Likewise.
47575 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
47576 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47577 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47578 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47579 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47580 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47581 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47582 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47583 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47584 * sysdeps/x86_64/_mcount.S: Likewise.
47585 * sysdeps/x86_64/strtok.S: Likewise.
47586 * sysdeps/sh/_mcount.S: Likewise.
47587
47588 2012-08-01 Roland McGrath <roland@hack.frob.com>
47589
47590 * libio/iofopen.c: Include <fcntl.h>.
47591 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
47592 (_IO_fopen64, fopen64): Define as aliases.
47593 * libio/iofopen64.c: Include <fcntl.h>.
47594 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
47595 Conditionalize body on this.
47596 * sysdeps/wordsize-64/iofopen.c: File removed.
47597 * sysdeps/wordsize-64/iofopen64.c: File removed.
47598
47599 2012-08-01 Marek Polacek <polacek@redhat.com>
47600
47601 * libc/Makeconfig: Use elf in place of binfmt-subdir.
47602 Use dlfcn directly instead of a variable.
47603 (binfmt-subdir): Do not define.
47604 (dlfcn): Likewise.
47605
47606 2012-08-01 Joseph Myers <joseph@codesourcery.com>
47607
47608 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
47609 Remove all definitions.
47610 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
47611 <kernel-features.h>.
47612 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47613 (miss_F_GETOWN_EX): Remove all definitions.
47614 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
47615 macro definition.
47616 [!__ASSUME_FCNTL64]: Remove conditional code.
47617 [__ASSUME_FCNTL64]: Make code unconditional.
47618 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
47619 <kernel-features.h>.
47620 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47621 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
47622 (lockf64) [__NR_fcntl64]: Make code unconditional.
47623 (lockf64) [__ASSUME_FCNTL64]: Likewise.
47624
47625 * sysdeps/unix/sysv/linux/kernel-features.h
47626 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
47627 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
47628 Make code unconditional.
47629 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47630 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
47632 [__NR_vfork]: Make code unconditional.
47633 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47634 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
47636 [__NR_vfork]: Make code unconditional.
47637 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47638 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47639
47640 2012-08-01 Roland McGrath <roland@hack.frob.com>
47641
47642 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
47643 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
47644
47645 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47646 Define mkstemp64 as an alias.
47647 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47648 Define mkstemps64 as an alias.
47649 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47650 Define mkostemp64 as an alias.
47651 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47652 Define mkostemps64 as an alias.
47653 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
47654 Conditionalize body on this.
47655 * misc/mkostemp64.c: Likewise.
47656 * misc/mkostemps64.c: Likewise.
47657 * misc/mkstemps64.c: Likewise.
47658 * sysdeps/wordsize-64/mkstemp64.c: File removed.
47659 * sysdeps/wordsize-64/mkostemp64.c: File removed.
47660 * sysdeps/wordsize-64/mkostemp.c: File removed.
47661 * sysdeps/wordsize-64/mkstemp.c: File removed.
47662 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
47663 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
47664 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
47665 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
47666
47667 [BZ #14138]
47668 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
47669 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
47670 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
47671 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
47672
47673 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
47674 compat_symbol macros from <shlib-compat.h> rather than the underlying
47675 default_symbol_version and symbol_version macros, so that DEFAULT
47676 lines in shlib-versions are respected.
47677 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
47678
47679 2012-08-01 Florian Weimer <fweimer@redhat.com>
47680
47681 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
47682 Declare with warn_unused_result.
47683 (setgid, setregid, setegid, setresgid): Likewise.
47684 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
47685 Likewise.
47686 * WUR-REPORT: Remove set*id functions.
47687
47688 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
47689
47690 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
47691
47692 2012-07-31 Roland McGrath <roland@hack.frob.com>
47693
47694 [BZ #10191]
47695 * include/sys/socket.h (__libc_accept, __libc_accept4):
47696 Add attribute_hidden.
47697 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
47698
47699 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
47700 use of PTR_MANGLE.
47701 * inet/getnetgrent_r.c (setup): Likewise.
47702
47703 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
47704
47705 2012-07-31 David S. Miller <davem@davemloft.net>
47706
47707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47708
47709 2012-07-31 Joseph Myers <joseph@codesourcery.com>
47710
47711 [BZ #13629]
47712 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
47713 value between 1.0 and 2.0 and smaller part has absolute value less
47714 than 1.0.
47715 * math/s_clog10.c (__clog10): Likewise.
47716 * math/s_clog10f.c (__clog10f): Likewise.
47717 * math/s_clog10l.c (__clog10l): Likewise.
47718 * math/s_clogf.c (__clogf): Likewise.
47719 * math/s_clogl.c (__clogl): Likewise.
47720 * math/libm-test.inc (clog_test): Add more tests.
47721 (clog10_test): Likewise.
47722 * sysdeps/i386/fpu/libm-test-ulps: Update.
47723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47724
47725 2012-07-31 Florian Weimer <fweimer@redhat.com>
47726
47727 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
47728 Exit with zero in case no suitable GID is found, and write a
47729 message to standard error.
47730
47731 2012-07-30 Roland McGrath <roland@hack.frob.com>
47732
47733 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
47734 rather than to 1.
47735 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
47736 (MAXPATHLEN): Removed.
47737 (NOGROUP, NODEV): New macros.
47738 (setbit, clrbit, isset, isclr): New macros.
47739 (howmany, roundup, powerof2): New macros.
47740 (DEV_BSIZE): New macro.
47741
47742 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
47743 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
47744
47745 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
47746 definition on [!__NO_LONG_DOUBLE_MATH].
47747
47748 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
47749 PTR_MANGLE and PTR_DEMANGLE.
47750
47751 * socket/accept4.c (accept4): Rename to __libc_accept4.
47752 Define accept4 as a weak alias.
47753
47754 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
47755 on [_DIRENT_HAVE_D_TYPE].
47756 * io/ftw.c (ftw_dir): Likewise.
47757
47758 * io/xmknod.c (__xmknod): Don't check PATH for being null.
47759
47760 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
47761
47762 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
47763 Use the BSD numbers rather than the arbitrary ones we had.
47764 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
47765 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
47766 (SIGXCPU, SIGXFSZ): New macros.
47767 (_NSIG): Now 32.
47768
47769 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
47770 initializer on [_LIBC_REENTRANT].
47771
47772 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
47773 definitions inside [_POSIX_MAPPED_FILES].
47774
47775 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
47776
47777 * dirent/opendir.c: Include <fcntl.h>.
47778
47779 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
47780 (__libc_getspecific): Likewise.
47781 (__libc_key_create): Likewise.
47782
47783 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
47784 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
47785 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
47786 (tmpfile64): Define as alias.
47787 * sysdeps/wordsize-64/tmpfile.c: File removed.
47788 * sysdeps/wordsize-64/tmpfile64.c: File removed.
47789 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
47790 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
47791
47792 * stdio-common/vfscanf.c: Include <stdbool.h>.
47793 * nss/makedb.c: Likewise.
47794 * stdio-common/_i18n_number.h: Likewise.
47795 * argp/argp-help.c: Likewise.
47796 * posix/wordexp.c: Likewise.
47797 * sysdeps/posix/spawni.c: Likewise.
47798 * nss/nss_files/files-initgroups.c: Likewise.
47799 * stdio-common/reg-modifier.c: Include <stdlib.h>.
47800 * nss/nss_files/files-initgroups.c: Likewise.
47801 * nss/nss_db/db-netgrp.c: Likewise.
47802 * nss/nss_db/db-initgroups.c: Likewise.
47803 * io/fchmodat.c: Include <sys/stat.h>.
47804
47805 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
47806 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
47807
47808 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
47809 [HAVE_MMAP].
47810
47811 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
47812 Add multiple inclusion protection.
47813
47814 2012-07-27 David S. Miller <davem@davemloft.net>
47815
47816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47817
47818 2012-07-27 Gary Benson <gbenson@redhat.com>
47819
47820 [BZ #14298]
47821 * elf/rtld.c: Include <stap-probe.h>.
47822 (dl_main): Added static probes "init_start" and "init_complete".
47823 * elf/dl-load.c: Include <stap-probe.h>.
47824 (lose): Take new parameter "nsid".
47825 Added static probe "map_failed".
47826 (_dl_map_object_from_fd): Pass namespace id to lose.
47827 Added static probe "map_start".
47828 (open_verify): Pass namespace id to lose.
47829 * elf/dl-open.c: Include <stap-probe.h>.
47830 (dl_open_worker) Added static probes "map_complete", "reloc_start"
47831 and "reloc_complete".
47832 * elf/dl-close.c: Include <stap-probe.h>.
47833 (_dl_close_worker): Added static probes "unmap_start" and
47834 "unmap_complete".
47835 * elf/rtld-debugger-interface.txt: New file documenting the above.
47836
47837 2012-07-26 Roland McGrath <roland@hack.frob.com>
47838
47839 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
47840 rather than a string variable.
47841 * sunrpc/rpc_main.c (h_output): Likewise.
47842 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
47843
47844 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
47845
47846 * inet/check_native.c: New file.
47847
47848 2012-07-26 Joseph Myers <joseph@codesourcery.com>
47849
47850 [BZ #13629]
47851 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
47852 if larger part has absolute value 1.0.
47853 * math/s_clog10.c (__clog10): Likewise.
47854 * math/s_clog10f.c (__clog10f): Likewise.
47855 * math/s_clog10l.c (__clog10l): Likewise.
47856 * math/s_clogf.c (__clogf): Likewise.
47857 * math/s_clogl.c (__clogl): Likewise.
47858 * math/libm-test.inc (clog_test): Add more tests.
47859 (clog10_test): Likewise.
47860 * sysdeps/i386/fpu/libm-test-ulps: Update.
47861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47862
47863 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
47864 (pltexit): Likewise.
47865 (La_regs): Likewise.
47866 (La_retval): Likewise.
47867 (int_retval): Likewise.
47868 Update #error for removed macros to refer only to definitions in
47869 tst-audit.h.
47870 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
47871 macro.
47872 (pltexit): Likewise.
47873 (La_regs): Likewise.
47874 (La_retval): Likewise.
47875 (int_retval): Likewise.
47876 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
47877 macro.
47878 (pltexit): Likewise.
47879 (La_regs): Likewise.
47880 (La_retval): Likewise.
47881 (int_retval): Likewise.
47882 * elf/tst-auditmod5b.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-auditmod6b.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-auditmod6c.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-auditmod7b.c (pltenter): Remove all definitions of
47901 macro.
47902 (pltexit): Likewise.
47903 (La_regs): Likewise.
47904 (La_retval): Likewise.
47905 (int_retval): Likewise.
47906 * sysdeps/generic/tst-audit.h: Update comment to refer only to
47907 macro definitions in tst-audit.h.
47908 * sysdeps/i386/tst-audit.h: New file.
47909 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
47910 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
47911 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
47912 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
47913 * sysdeps/sh/tst-audit.h: Likewise.
47914 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
47915 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
47916 * sysdeps/x86_64/tst-audit.h: Likewise.
47917
47918 2012-07-26 Andreas Jaeger <aj@suse.de>
47919
47920 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
47921 ptrace.
47922
47923 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
47924 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
47925 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
47926 PTRACE_O_MASK.
47927 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
47928 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
47929 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
47930
47931 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
47932 value.
47933
47934 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
47935 _sigsys.
47936 (si_call_addr, si_syscall, si_arch): Define new macro.
47937 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
47938 _sigsys.
47939 (si_call_addr, si_syscall, si_arch): Define new marcro.
47940 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
47941 _sigsys.
47942 (si_call_addr, si_syscall, si_arch): Define new macro.
47943 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
47944 _sigsys.
47945 (si_call_addr, si_syscall, si_arch): Define new macro.
47946
47947 2012-07-25 Joseph Myers <joseph@codesourcery.com>
47948
47949 [BZ #13717]
47950 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47951 Change to 2.4.21 where previously 2.4.1.
47952 * sysdeps/unix/sysv/linux/configure: Regenerated.
47953 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
47954 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
47955 Linux kernel version.
47956 (__ASSUME_STD_AUXV): Remove.
47957 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
47958 kernel version.
47959 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
47960 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
47961 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
47962 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
47963 (__ASSUME_NETLINK_SUPPORT): Likewise.
47964 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
47965 (__no_netlink_support): Remove conditional definition.
47966 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
47967 Remove.
47968 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47969 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
47970 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
47971 (if_nameindex_ioctl): Remove.
47972 (if_nameindex_netlink): Do not handle __no_netlink_support.
47973 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47974 code.
47975 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
47976 Remove conditional code.
47977 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47978 code.
47979 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
47980 unconditional.
47981 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47982 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
47983 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
47984 Remove.
47985 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
47986 [!__ASSUME_STD_AUXV]: Remove conditional code.
47987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
47988 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
47989 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
47990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
47991 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
47992 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47993 code.
47994 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47996 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
47997 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47998 conditional code.
47999 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
48000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
48001 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
48002 code.
48003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48004 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
48005 conditional code.
48006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
48007 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48008 code unconditional.
48009 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48010 conditional code.
48011 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48012 unconditional.
48013 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48014 conditional code.
48015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48016 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48017 unconditional.
48018 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48019 conditional code.
48020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
48021 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48022 code unconditional.
48023 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48024 conditional code.
48025 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48026 unconditional.
48027 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48028 conditional code.
48029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
48030 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48031 code unconditional.
48032 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48033 conditional code.
48034 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48035 unconditional.
48036 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48037 conditional code.
48038
48039 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
48040
48041 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
48042 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
48043 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
48044 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
48045 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
48046 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48047 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48048 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
48049 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
48050 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
48051 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
48052 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
48053 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
48054 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48055 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
48056 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
48057 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
48058 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
48059 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
48060 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
48061 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
48062 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
48063 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48064
48065 2012-07-25 Florian Weimer <fweimer@redhat.com>
48066
48067 * Versions.def: Add GLIBC_2.17.
48068 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
48069 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
48070 Introduce __libc_secure_getenv.
48071 * stdlib/Versions (2.17): Add secure_getenv
48072 (GLIBC_PRIVATE): Add __libc_secure_getenv.
48073 * stdlib/secure-getenv.c: Rename __secure_getenv to
48074 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
48075 symbol __secure_getenv for GLIBC_2.0.
48076 * stdlib/tst-secure-getenv.c: New.
48077 * stdlib/Makefile (tests): Add testcase.
48078 * manual/startup.texi (Environment Access): Document
48079 secure_getenv.
48080 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
48081 __libc_secure_getenv.
48082 * inet/ruserpass.c (ruserpass): Likewise.
48083 * malloc/mtrace.c (mtrace): Likewise.
48084 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
48085 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
48086 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
48087 * sysdeps/posix/tempname.c: Likewise. Evaluate
48088 HAVE_SECURE_GETENV.
48089 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
48090 __secure_getenv to __libc_secure_getenv.
48091 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
48092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48093 Likewise.
48094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48095 Likewise.
48096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
48097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
48098 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
48099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
48100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
48101 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48102 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
48103
48104 2012-07-25 Joseph Myers <joseph@codesourcery.com>
48105
48106 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
48107 (struct La_i86_retval): Likewise.
48108 (struct La_x86_64_regs): Likewise.
48109 (struct La_x86_64_retval): Likewise.
48110 (struct La_x32_regs): Likewise.
48111 (struct La_x32_retval): Likewise.
48112 (struct La_ppc32_regs): Likewise.
48113 (struct La_ppc32_retval): Likewise.
48114 (struct La_ppc64_regs): Likewise.
48115 (struct La_ppc64_retval): Likewise.
48116 (struct La_sh_regs): Likewise.
48117 (struct La_sh_retval): Likewise.
48118 (struct La_s390_32_regs): Likewise.
48119 (struct La_s390_32_retval): Likewise.
48120 (struct La_s390_64_regs): Likewise.
48121 (struct La_s390_64_retval): Likewise.
48122 (struct La_sparc32_regs): Likewise.
48123 (struct La_sparc32_retval): Likewise.
48124 (struct La_sparc64_regs): Likewise.
48125 (struct La_sparc64_retval): Likewise.
48126 (struct audit_ifaces): Remove architecture-specific pltenter and
48127 pltexit members.
48128 * sysdeps/i386/ldsodefs.h: New file.
48129 * sysdeps/powerpc/ldsodefs.h: Likewise.
48130 * sysdeps/s390/ldsodefs.h: Likewise.
48131 * sysdeps/sh/ldsodefs.h: Likewise.
48132 * sysdeps/sparc/ldsodefs.h: Likewise.
48133 * sysdeps/x86_64/ldsodefs.h: Likewise.
48134
48135 2012-07-25 Marek Polacek <polacek@redhat.com>
48136
48137 [BZ #6808]
48138 * math/libm-test.inc (yn_test): Add another test.
48139 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
48140 to ERANGE when the result is +-Inf.
48141 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
48142 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
48143 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
48144 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
48145
48146 2012-07-24 Joseph Myers <joseph@codesourcery.com>
48147
48148 * conform/data/time.h-data (NULL): Use macro-constant. Require
48149 equal to 0.
48150 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
48151 clock_t.
48152 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
48153
48154 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
48155
48156 * configure.in <sysdeps resolving>: Correct printing
48157 Implies_before.
48158 * configure: Regenerate.
48159
48160 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
48161
48162 * math/w_ilogb.c: Include <limits.h>.
48163 * math/w_ilogbl.c: Likewise.
48164
48165 2012-07-20 Joseph Myers <joseph@codesourcery.com>
48166
48167 * manual/lang.texi (__va_copy): Document primarily as ISO C99
48168 va_copy. Document allowing for unavailable va_copy only as
48169 pre-C99 compatibility.
48170 * manual/string.texi (Copying and Concatenation): Use va_copy
48171 instead of __va_copy in concat example.
48172
48173 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
48174
48175 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
48176 (__sendto): Use create_address_port. Initialize APORT and deallocate
48177 it if not null.
48178
48179 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
48180 with O_NOLINK passed to __file_name_lookup.
48181
48182 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
48183 with O_NOLINK passed to __file_name_lookup.
48184
48185 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
48186 negative N or less than NGIDS.
48187
48188 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
48189 type to string_t. Set ERANGE as errno and return it if NAME is not big
48190 enough. Use memcpy instead of strncpy.
48191
48192 2012-07-20 Joseph Myers <joseph@codesourcery.com>
48193
48194 * elf/Makefile (check-data): Remove.
48195 (localplt.data): New vpath directive.
48196 ($(objpfx)check-localplt.out): Use localplt.data from vpath
48197 instead of $(check-data).
48198 * scripts/data/localplt-generic.data: Move to ...
48199 * sysdeps/generic/localplt.data: ... here.
48200 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
48201 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
48202 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
48203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
48204 ... here.
48205 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
48206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
48207 ... here.
48208 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
48209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
48210 ... here.
48211 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
48212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48213 ... here.
48214 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
48215 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
48216 ... here.
48217 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
48218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
48219 ... here.
48220
48221 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48222
48223 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
48224 PPC32 and PPC64 files.
48225 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
48226 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
48227
48228 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48229
48230 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
48231 __makecontext_ret to ...
48232 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
48233 ... here and call exit if uc_link is NULL. New file.
48234 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
48235 __makecontext_ret.S.
48236 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
48237 __makecontext_ret to ...
48238 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
48239 ... here and call exit if uc_link is NULL. New file.
48240 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
48241 __makecontext_ret.S.
48242
48243 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48244
48245 * elf/elf.h (R_390_IRELATIVE): New definition.
48246 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
48247 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
48248 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
48249 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48250 (elf_machine_lazy_rel): Likewise.
48251 * sysdeps/s390/dl-irel.h: New file.
48252 * sysdeps/s390/s390-64/memcpy.S: New asm code.
48253 * sysdeps/s390/s390-64/memset.S: New asm code.
48254 * sysdeps/s390/s390-64/memcmp.S: New asm code.
48255 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
48256 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
48257 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
48258 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
48259 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
48260 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
48261 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
48262 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
48263 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
48264 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
48265 * sysdeps/s390/s390-32/memcpy.S: New asm code.
48266 * sysdeps/s390/s390-32/memset.S: New asm code.
48267 * sysdeps/s390/s390-32/memcmp.S: New asm code.
48268
48269 2012-07-17 Marek Polacek <polacek@redhat.com>
48270
48271 [BZ #14349]
48272 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
48273 * sysdeps/s390/s390-64/configure.in: Likewise.
48274 * sysdeps/sparc/configure.in: Likewise.
48275 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
48276 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
48277 * sysdeps/i386/configure.in: Likewise.
48278 * sysdeps/x86_64/configure.in: Likewise.
48279 * sysdeps/sh/configure.in: Likewise.
48280 * sysdeps/s390/s390-32/configure: Regenerated.
48281 * sysdeps/s390/s390-64/configure: Likewise.
48282 * sysdeps/x86_64/configure: Likewise.
48283 * sysdeps/sh/configure: Likewise.
48284 * sysdeps/powerpc/powerpc64/configure: Likewise.
48285 * sysdeps/powerpc/powerpc32/configure: Likewise.
48286 * sysdeps/sparc/configure: Likwise.
48287 * sysdeps/i386/configure: Likewise.
48288
48289 * elf/dl-open.c: Comment fixes.
48290
48291 2012-07-17 Joseph Myers <joseph@codesourcery.com>
48292
48293 * Makefile [CXX] (check-data): Remove.
48294 [CXX] (c++-types.data): New vpath directive.
48295 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
48296 vpath. Do not allow for C++ type data being missing.
48297 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
48298 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
48299 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
48300 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
48301 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
48302 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
48303 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
48304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
48305 ... here.
48306 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
48307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
48308 ... here.
48309 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
48310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
48311 ... here.
48312 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
48313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
48314 ... here.
48315 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
48316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
48317 ... here.
48318 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
48319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
48320 ... here.
48321 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
48322 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
48323 ... here.
48324 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
48325 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
48326
48327 * elf/tls-macros.h (TLS_LE): Move architecture-specific
48328 definitions to architecture-specific files.
48329 (TLS_IE): Likewise.
48330 (TLS_LD): Likewise.
48331 (TLS_GD): Likewise.
48332 * sysdeps/i386/tls-macros.h: New file.
48333 * sysdeps/powerpc/tls-macros.h: Likewise.
48334 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
48335 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
48336 * sysdeps/sh/tls-macros.h: Likewise.
48337 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
48338 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
48339 * sysdeps/x86_64/tls-macros.h: Likewise.
48340
48341 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48342
48343 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
48344 zero value for regular exit case.
48345
48346 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
48347 (__start_context): Preserve zero value for regular exit case.
48348
48349 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48350 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48351
48352 * manual/setjmp.texi (setcontext): Clarify normal process
48353 termination when uc_link is the null pointer.
48354 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
48355 exit call.
48356
48357 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
48358
48359 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
48360 preprocessor. Test for each exception mask separately.
48361
48362 2012-07-16 Andreas Jaeger <aj@suse.de>
48363
48364 * po/ru.po: Update from translation team.
48365
48366 2012-07-15 Joseph Myers <joseph@codesourcery.com>
48367
48368 * conform/data/string.h-data (NULL): Use macro-constant. Require
48369 equal to 0.
48370 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48371 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48372 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
48373 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
48374 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48375
48376 2012-07-13 Andreas Jaeger <aj@suse.de>
48377
48378 * po/fr.po: Update from translation team.
48379
48380 2012-07-12 Marek Polacek <polacek@redhat.com>
48381
48382 [BZ #14173]
48383 * math/libm-test.inc (yn_test): Add test for BZ #14173.
48384 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
48385 loop condition.
48386
48387 2012-07-12 Joseph Myers <joseph@codesourcery.com>
48388
48389 [BZ #13717]
48390 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48391 Change to 2.4.1 where previously 2.4.0.
48392 * sysdeps/unix/sysv/linux/configure: Regenerated.
48393 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
48394 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
48395 version.
48396 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
48397 (__ASSUME_AT_CLKTCK): Remove.
48398 (__ASSUME_AT_PAGESIZE): Likewise.
48399 (__ASSUME_AT_XID): Likewise.
48400 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
48401 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
48402 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
48403 unconditionally.
48404 (HAVE_AUX_PAGESIZE): Likewise.
48405 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
48406 [__ASSUME_AT_CLKTCK]: Make code unconditional.
48407 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
48408
48409 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
48410
48411 [BZ #14307]
48412 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
48413 the temporary buffer used to invoke __gethostbyname2_r,
48414 __gethostbyaddr_r and gethostbyname4_r to make room for struct
48415 host_data / struct gaih_addrtuple.
48416 * resolv/nss_dns/dns-host.c (global scope): Move definition of
48417 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
48418 header file nss/nsswitch.h.
48419 * nss/nsswitch.h (global scope): Add definition of implementation
48420 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
48421 resolv/nss_dns/dns-host.c).
48422
48423 2012-07-11 Andreas Jaeger <aj@suse.de>
48424
48425 * po/fr.po: Update from translation team.
48426
48427 * po/sv.po: Update from translation team
48428 * po/fr.po: Another update from translation team.
48429
48430 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48431
48432 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
48433 for subnormals or multiply small sinh result by itself.
48434 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48436
48437 2012-07-11 David S. Miller <davem@davemloft.net>
48438
48439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48440
48441 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
48442
48443 [BZ #14347]
48444 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
48445 (INTERNAL_MARK): Shift it here.
48446
48447 2012-07-10 Marek Polacek <polacek@redhat.com>
48448
48449 [BZ #14151]
48450 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
48451 libc_cv_asm_global_directive with .globl.
48452 * configure: Regenerated.
48453 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
48454 with .globl.
48455 * sysdeps/i386/configure: Regenerated.
48456 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
48457 with .globl.
48458 * sysdeps/x86_64/configure: Regenerated.
48459 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
48460 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
48461 * elf/tst-unique2mod2.c: Likewise.
48462 * elf/tst-unique2mod1.c: Likewise.
48463 * elf/tst-unique1mod2.c: Likewise.
48464 * elf/tst-unique1mod1.c: Likewise.
48465 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48466 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48467 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48468 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48469 * sysdeps/mach/sysdep.h: Likewise.
48470 * sysdeps/i386/sysdep.h: Likewise.
48471 * sysdeps/i386/i386-mcount.S: Likewise.
48472 * sysdeps/x86_64/_mcount.S: Likewise.
48473 * sysdeps/x86_64/sysdep.h: Likewise.
48474 * sysdeps/sh/_mcount.S: Likewise.
48475 * sysdeps/sh/sysdep.h: Likewise.
48476 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
48477 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
48478 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
48479 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48480 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
48481 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
48482 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
48483 * locale/localeinfo.h: Likewise.
48484 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
48485 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
48486
48487 2012-07-09 Roland McGrath <roland@hack.frob.com>
48488
48489 [BZ #14336]
48490 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
48491 system".
48492 * manual/message.texi (The Uniforum approach): Likewise.
48493 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
48494 (glibc iconv Implementation): Likewise.
48495
48496 2012-07-09 Joseph Myers <joseph@codesourcery.com>
48497
48498 [BZ #14337]
48499 * math/s_clog.c (__clog): Avoid scaling a value down where that
48500 could result in underflow.
48501 * math/s_clog10.c (__clog10): Likewise.
48502 * math/s_clog10f.c (__clog10f): Likewise.
48503 * math/s_clog10l.c (__clog10l): Likewise.
48504 * math/s_clogf.c (__clogf): Likewise.
48505 * math/s_clogl.c (__clogl): Likewise.
48506 * math/libm-test.inc (clog_test): Add more tests.
48507 (clog10_test): Likewise.
48508 * sysdeps/i386/fpu/libm-test-ulps: Update.
48509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48510
48511 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
48512
48513 [BZ #14283]
48514 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
48515 by 7 not 8 to examine high bit of fractional part.
48516
48517 [BZ #14042]
48518 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
48519 for call to __mcount_internal.
48520 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
48521 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
48522 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
48523
48524 2012-07-06 Joseph Myers <joseph@codesourcery.com>
48525
48526 [BZ #14154]
48527 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
48528 approximation for values within 0x1p-13f of an odd multiple of
48529 pi/4.
48530 * math/libm-test.inc (tan_test): Do not allow spurious underflow
48531 exception. Add more tests.
48532 * sysdeps/i386/fpu/libm-test-ulps: Update.
48533
48534 [BZ #6778]
48535 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
48536 inputs and return -1 for them. Do not check for +Inf in case not
48537 reachable for +Inf.
48538 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48539 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
48540 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48541 and return -1 for them. Do not check for +Inf in case not
48542 reachable for +Inf.
48543 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
48544 define.
48545 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48546 and return -1 for them. Do not check for +Inf in case not
48547 reachable for +Inf.
48548 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
48549 spurious underflow.
48550 * sysdeps/i386/fpu/libm-test-ulps: Update.
48551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48552
48553 2012-07-06 Mike Frysinger <vapier@gentoo.org>
48554
48555 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
48556
48557 2012-07-05 Joseph Myers <joseph@codesourcery.com>
48558
48559 [BZ #14157]
48560 [BZ #14331]
48561 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
48562 could result in spurious underflow. Scale down values above
48563 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
48564 * math/s_csqrtf.c (__csqrtf): Likewise.
48565 * math/s_csqrtl.c (__csqrtl): Likewise.
48566 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
48567 spurious underflow.
48568 * sysdeps/i386/fpu/libm-test-ulps: Update.
48569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48570
48571 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
48572
48573 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
48574 xopen-msg.sed.
48575 * catgets/xopen-msg.awk: New file.
48576 * catgets/xopen-msg.sed: Removed.
48577
48578 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
48579 po2text.sed.
48580 * intl/po2test.awk: New file.
48581 * intl/po2test.sed: Removed.
48582
48583 2012-07-04 Joseph Myers <joseph@codesourcery.com>
48584
48585 [BZ #14328]
48586 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
48587 or multiply small sinh result by itself.
48588 * math/s_ctanf.c (__ctanf): Likewise.
48589 * math/s_ctanh.c (__ctanh): Likewise.
48590 * math/s_ctanhf.c (__ctanhf): Likewise.
48591 * math/s_ctanhl.c (__ctanhl): Likewise.
48592 * math/s_ctanl.c (__ctanl): Likewise.
48593 * math/libm-test.inc (ctan_test_tonearest): New function.
48594 (ctan_test_towardzero): Likewise.
48595 (ctan_test_downward): Likewise.
48596 (ctan_test_upward): Likewise.
48597 (ctanh_test_tonearest): Likewise.
48598 (ctanh_test_towardzero): Likewise.
48599 (ctanh_test_downward): Likewise.
48600 (ctanh_test_upward): Likewise.
48601 (main): Call these new functions.
48602 * sysdeps/i386/fpu/libm-test-ulps: Update.
48603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48604
48605 2012-07-03 Mike Frysinger <vapier@gentoo.org>
48606
48607 * .gitignore: Delete /ports entry.
48608
48609 2012-07-03 Andreas Jaeger <aj@suse.de>
48610
48611 * po/bg.po: Update from translation team.
48612 * po/cs.po: Likewise.
48613 * po/de.po: Likewise.
48614 * po/hr.po: Likewise.
48615 * po/nl.pl: Likewise.
48616 * po/pl.po: Likewise.
48617 * po/vi.po: Likewise.
48618
48619 2012-07-03 Joseph Myers <joseph@codesourcery.com>
48620
48621 * Makeconfig [!+link] (+link-before-libc): New variable.
48622 [!+link] (+link-after-libc): Likewise.
48623 [!+link] (+link-tests): Likewise.
48624 [!+link] (+link): Define in terms of $(+link-before-libc) and
48625 $(+link-after-libc).
48626 [!+link-static] (+link-static-before-libc): New variable.
48627 [!+link-static] (+link-static-after-libc): Likewise.
48628 [!+link-static] (+link-static-tests): Likewise.
48629 [!+link-static] (+link-static): Define in terms of
48630 $(+link-static-before-libc) and $(+link-static-after-libc).
48631 [build-shared] (link-libc-before-gnulib): New variable.
48632 [build-shared] (link-libc-tests): Likewise.
48633 [build-shared] (link-libc): Define in terms of
48634 $(link-libc-before-gnulib).
48635 [!build-shared] (link-libc-tests): New variable.
48636 (link-libc-static-tests): New variable.
48637 [!gnulib] (gnulib-arch): New variable.
48638 [!gnulib] (gnulib-tests): Likewise.
48639 [!gnulib] (static-gnulib-arch): Likewise.
48640 [!gnulib] (static-gnulib-tests): Likewise.
48641 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
48642 Define with "=" instead of ":=".
48643 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
48644 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
48645 * Rules (binaries-all-notests): New variable.
48646 (binaries-all-tests): Likewise.
48647 (binaries-static-notests): Likewise.
48648 (binaries-static-tests): Likewise.
48649 (binaries-all): Define using $(binaries-all-notests) and
48650 $(binaries-all-tests).
48651 (binaries-static): Define using $(binaries-static-notests) and
48652 $(binaries-static-tests).
48653 (binaries-shared-tests): New variable.
48654 (binaries-shared-notests): Likewise.
48655 (binaries-shared): Remove variable.
48656 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
48657 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
48658 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
48659 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
48660 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
48661 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
48662 * elf/Makefile (sln-modules): New variable.
48663 (extra-objs): Add $(sln-modules:=.o).
48664 (ldconfig-modules): Add static-stubs.
48665 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
48666 * elf/static-stubs.c: New file.
48667
48668 [BZ #14283]
48669 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
48670 by 7 not 8 to examine high bit of fractional part. Use volatile
48671 variables when splitting into final array of floats if
48672 __FLT_EVAL_METHOD__ != 0.
48673 * math/libm-test.inc (cos_test): Add another test.
48674 (sin_test): Likewise.
48675 * sysdeps/i386/fpu/libm-test-ulps: Update.
48676
48677 [BZ #14273]
48678 * math/libm-test.inc (cosh_test): Add more tests.
48679
48680 * version.h (RELEASE): Set to "development".
48681 (VERSION): Set to "2.16.90".
48682
48683 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
48684
48685 * NEWS: Update copyright. Remove last-updated date.
48686 Mention math library bug fixes and timezone data changes.
48687 * README: Mention GNU/Hurd, x32, and HPPA support status.
48688
48689 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
48690
48691 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
48692
48693 2012-06-27 Andreas Jaeger <aj@suse.de>
48694
48695 * manual/contrib.texi (Contributors): Add Samuel Thibault.
48696
48697 2012-06-25 Andreas Jaeger <aj@suse.de>
48698
48699 * sysdeps/s390/fpu/libm-test-ulps: Update.
48700
48701 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
48702 Thomas Schwinge <thomas@codesourcery.com>
48703
48704 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
48705 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
48706 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
48707 fanotify_mark.
48708
48709 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
48710
48711 * sysdeps/mach/start.c: Remove file.
48712 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
48713 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
48714 * sysdeps/sh/init-first.c: Likewise.
48715
48716 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
48717 registers for frame unwinding purposes, add CFI directives.
48718 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48719 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
48720 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
48721 Likewise.
48722
48723 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
48724 __fortify_fail returning.
48725 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48726
48727 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
48728 sysdeps/sh/____longjmp_chk.S.
48729 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
48730 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
48731 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
48732 (gen-as-const-headers): Append sigaltstack-offsets.sym.
48733
48734 * sysdeps/sh/abort-instr.h: New file.
48735 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
48736 process in case exit returns.
48737
48738 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
48739 initialize the GOT register before use.
48740
48741 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
48742 calculation of ARGC > 4.
48743
48744 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
48745 meaningful names to some local labels.
48746
48747 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48748 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48749
48750 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
48751 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
48752 (__arch_compare_and_exchange_val_16_acq): Likewise.
48753 (__arch_compare_and_exchange_val_32_acq): Likewise.
48754 (atomic_exchange_and_add): Fix gUSA sequence.
48755 (atomic_add): Likewise.
48756 (atomic_add_negative): Likewise.
48757 (atomic_add_zero): Likewise.
48758 (atomic_bit_test_set): Likewise.
48759
48760 2012-06-22 Andreas Schwab <schwab@redhat.com>
48761
48762 [BZ #13579]
48763 * include/link.h (struct link_map): Add l_free_initfini.
48764 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
48765 l_initfini.
48766 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
48767 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
48768 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
48769 set.
48770
48771 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
48772
48773 * configure.in: Use AC_LANG_SOURCE.
48774 * configure: Regenerate.
48775
48776 2012-06-22 Roland McGrath <roland@hack.frob.com>
48777
48778 * configure.in (libc_cv_localstatedir): New substituted variable.
48779 * configure: Regenerated.
48780 * config.make.in (localstatedir): New variable, substituted from
48781 libc_cv_localstatedir.
48782 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
48783 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
48784 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
48785 * sysdeps/gnu/configure: Regenerated.
48786
48787 2012-06-21 Jeff Law <law@redhat.com>
48788
48789 [BZ #14277]
48790 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
48791 free. Simplify list management for _LIBC case.
48792
48793 2012-06-21 Joseph Myers <joseph@codesourcery.com>
48794
48795 [BZ #14273]
48796 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
48797 Clear sign bit of 64-bit integer value before comparing against
48798 overflow value.
48799
48800 * sysdeps/mach/configure: Regenerated.
48801
48802 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
48803
48804 [BZ #14278]
48805 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
48806
48807 2012-06-21 Jeff Law <law@redhat.com>
48808
48809 [BZ #13882]
48810 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
48811 uint16_t for elements in the "seen" array to avoid char overflows.
48812 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48813 * elf/dl-open.c (dl_open_worker): Likewise.
48814
48815 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
48816
48817 * scripts/list-sources.sh: Scan PORTS for translations.
48818 * po/libc.pot: Regenerated.
48819
48820 2012-06-21 Andreas Jaeger <aj@suse.de>
48821
48822 [BZ #12194]
48823 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
48824 warning.
48825 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
48826 * bits/byteswap-16.h (__bswap_16): Likewise.
48827 * bits/byteswap.h (__bswap_constant_16): Likewise.
48828
48829 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
48830
48831 [BZ #14117]
48832 * sysdeps/i386/fpu_control.h: Removed.
48833 * sysdeps/x86_64/fpu_control.h: Moved to ...
48834 * sysdeps/x86/fpu_control.h: Here.
48835
48836 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
48837 (_FPU_SETCW): Likewise.
48838
48839 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
48840
48841 [BZ #14117]
48842 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
48843 * sysdeps/x86/fpu/bits/mathinline.h: This.
48844 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
48845
48846 [BZ #14050]
48847 [BZ #14117]
48848 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
48849 functions if __x86_64__ is defined.
48850
48851 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
48852
48853 * string/endian.h: Add !__ASSEMBLER__ condition for including
48854 conversion interfaces.
48855
48856 2012-06-15 Joseph Myers <joseph@codesourcery.com>
48857
48858 [BZ #14241]
48859 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
48860 of ABS(x) in calculating zero to negative powers other than odd
48861 integers.
48862 * math/libm-test.inc (pow_test): Add more tests.
48863
48864 2012-06-15 Andreas Jaeger <aj@suse.de>
48865
48866 * manual/contrib.texi (Contributors): Update entry of Liubov
48867 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
48868 Machado Filho.
48869
48870 2012-06-15 Cyril Hrubis <metan@ucw.cz>
48871
48872 * string/string.h: Add __wur to GNU version of strerror_r.
48873
48874 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
48875
48876 [BZ #14229]
48877 * string/Makefile (tests): Add tst-strtok_r.
48878 * string/tst-strtok_r.c: New file.
48879 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
48880 RAX_LP/RDX_LP on SAVE_PTR.
48881
48882 2012-06-14 Roland McGrath <roland@hack.frob.com>
48883
48884 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
48885
48886 2012-06-14 Joseph Myers <joseph@codesourcery.com>
48887
48888 * libm_test.inc (csqrt_test): Allow more spurious underflow
48889 exceptions.
48890 (j0_test): Likewise.
48891 (j1_test): Likewise.
48892 (y0_test): Likewise.
48893 (y1_test): Likewise.
48894
48895 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
48896
48897 * po/Makefile (libc.pot): Use UTF-8 charset.
48898
48899 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
48900
48901 [BZ #14210]
48902 Suppress sign-conversion warning from FD_SET.
48903 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
48904 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
48905 not unsigned long int.
48906 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
48907
48908 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
48909
48910 [BZ #14050]
48911 [BZ #14117]
48912 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
48913 __extern_always_inline instead of __extern_inline.
48914 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
48915 (__signbit): Likewise.
48916 (__signbitl): Support C++ namespace.
48917 (lrintf): New inline function.
48918 (lrint): Likewise.
48919 (llrintf): Likewise.
48920 (llrint): Likewise.
48921 (fmaxf): Likewise.
48922 (fmax): Likewise.
48923 (fminf): Likewise.
48924 (fmin): Likewise.
48925 (rint): Likewise.
48926 (rintf): Likewise.
48927 (ceil): Likewise.
48928 (ceilf): Likewise.
48929 (floor): Likewise.
48930 (floorf): Likewise.
48931 (nearbyint): Likewise.
48932 (nearbyintf): Likewise.
48933
48934 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
48935
48936 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
48937 non-default versions.
48938
48939 2012-06-11 Roland McGrath <roland@hack.frob.com>
48940
48941 [BZ #14218]
48942 * manual/argp.texi (Argp): Reword argp_parse description slightly.
48943
48944 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
48945
48946 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
48947 (FE_UPWARD, FE_DOWNWARD): Don't define.
48948 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
48949 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48950
48951 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
48952 reading it.
48953 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48954 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48955
48956 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48957
48958 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48959 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
48960 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
48961 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
48962
48963 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
48964
48965 [BZ #14117]
48966 * sysdeps/i386/fpu/bits/fenv.h: Removed.
48967 * sysdeps/i386/fpu/Implies: New file.
48968 * sysdeps/x86_64/fpu/Implies: Likewise.
48969 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
48970 * sysdeps/x86/fpu/bits/fenv.h: This.
48971
48972 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
48973 __SSE_MATH__.
48974
48975 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
48976
48977 [BZ #14134]
48978 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
48979 character 0xffff that matches the last element of the
48980 conversion table.
48981
48982 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48983
48984 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
48985 fmodl commit.
48986
48987 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48988
48989 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
48990 values higher than 25.6283.
48991
48992 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48993
48994 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
48995 subnormal exponent extraction and add some __builtin_expect.
48996 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
48997 Fix for subnormal mantissa calculation.
48998
48999 2012-06-04 Mike Frysinger <vapier@gentoo.org>
49000
49001 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
49002 cpu2 is -1 and errno is not ENOSYS.
49003
49004 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
49005
49006 [BZ #14117]
49007 * sysdeps/i386/i486/bits/string.h: Renamed to ...
49008 * sysdeps/x86/bits/string.h: This.
49009 * sysdeps/x86_64/bits/string.h: Removed.
49010
49011 * sysdeps/i386/i486/bits/string.h: Define inline functions only
49012 if not compiling for x86-64, but compiling for >= i486.
49013
49014 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
49015 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
49016
49017 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
49018 New macro from Linux kernel 3.4.0.
49019 (FP_XSTATE_MAGIC2): Likewise.
49020 (FP_XSTATE_MAGIC2_SIZE): Likewise.
49021 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
49022 (struct _fpx_sw_bytes): New struct.
49023 (struct _xsave_hdr): Likewise.
49024 (struct _ymmh_state): Likewise.
49025 (struct _xstate): Likewise.
49026
49027 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
49028 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
49029 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
49030 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
49031 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
49032 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
49033
49034 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
49035 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
49036 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
49037 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
49038 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
49039 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
49040
49041 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49042
49043 [BZ #13743]
49044 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
49045 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
49046 (sysdep_headers): Include sys/platform/ppc.h.
49047 * sysdeps/powerpc/test-gettimebase.c: Test for
49048 __ppc_get_timebase() to catch future ISA opcode/insn changes.
49049 * manual/Makefile (appendices): Include platform.texi.
49050 * manual/contrib.texi (Contributors): Update @node pointers.
49051 * manual/maint.texi (Maintenance): Likewise.
49052 (Platform): New node.
49053 * manual/platform.texi: New file. Document the new features.
49054
49055 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49056 Jakub Jelinek <jakub@redhat.com>
49057
49058 [BZ #14188]
49059 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
49060 where __builtin_expect is unavailable.
49061
49062 2012-06-03 David S. Miller <davem@davemloft.net>
49063
49064 * stdlib/longlong.h: Updated from GCC.
49065
49066 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
49067
49068 [BZ #14042]
49069 * sysdeps/powerpc/powerpc32/mcount.c: New file.
49070 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
49071 __mcount_internal.
49072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
49073 (GLIBC_2.16): Likewise.
49074
49075 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49076
49077 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
49078
49079 2012-06-01 Joseph Myers <joseph@codesourcery.com>
49080
49081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
49082 (default-abi): New variable.
49083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
49084 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
49085 variable.
49086 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
49087 Likewise.
49088 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
49089 Likewise.
49090 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
49091 Likewise.
49092
49093 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
49094 definition. Document in comment.
49095
49096 2012-06-01 David S. Miller <davem@davemloft.net>
49097
49098 * stdlib/longlong.h: Updated from GCC.
49099
49100 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49101
49102 [BZ #14117]
49103 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
49104 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
49105 sys/debugreg.h sys/io.h here.
49106 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
49107 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
49108 sys/io.h.
49109 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
49110 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
49111 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
49112 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
49113 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
49114 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
49115
49116 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
49117 Define only if __x86_64__ is defined.
49118
49119 2012-06-01 Joseph Myers <joseph@codesourcery.com>
49120
49121 [BZ #14048]
49122 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
49123 Use int64_t for variable i.
49124 * math/libm-test.inc (fmod_test): Add more tests.
49125
49126 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
49127 z computation is not scheduled after fetestexcept.
49128 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
49129 Use math_force_eval instead of asm to ensure calculation scheduled
49130 before exception test.
49131 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
49132 Ensure a1 + u.d computation is not scheduled after fetestexcept.
49133
49134 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
49135
49136 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
49137 computation is not scheduled after fetestexcept.
49138
49139 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49140
49141 [BZ #14117]
49142 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
49143 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
49144
49145 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49146
49147 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
49148 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49149
49150 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
49151
49152 [BZ #14117]
49153 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
49154 <bits/wordsize.h>.
49155 (__WCHAR_MIN): Support __WORDSIZE == 64.
49156 (__WCHAR_MAX): Likewise.
49157
49158 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
49159 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
49160
49161 [BZ #14183]
49162 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
49163 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
49164
49165 [BZ #14117]
49166 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
49167 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
49168
49169 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
49170 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
49171
49172 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
49173 Defined to 1 if __x86_64__ isn't defined.
49174 (_STAT_VER_LINUX_OLD): New.
49175 (st_atime): Remove duplicate.
49176 (st_mtime): Likewise.
49177 (st_ctime): Likewise.
49178
49179 2012-05-31 David S. Miller <davem@davemloft.net>
49180
49181 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
49182 entries.
49183
49184 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
49185
49186 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
49187 gen-libm-test.pl.
49188
49189 [BZ #14132]
49190 * elf/dl-reloc.c: Include <_itoa.h>.
49191 (_dl_reloc_bad_type): Remove use of INTUSE.
49192 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
49193 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
49194 * stdio-common/psiginfo.c (psiginfo): Likewise.
49195 * stdio-common/psignal.c (psignal): Likewise.
49196 * string/strsignal.c (strsignal): Likewise.
49197 * include/signal.h (_sys_siglist): Declare hidden proto.
49198 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
49199 INTVARDEF with libc_hidden_data_def.
49200 * stdio-common/itoa-udigits.c: Likewise.
49201 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
49202 (_itoa_lower_digits_internal): Remove declaration.
49203 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
49204 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
49205 (_sys_sigabbrev_internal): Remove aliases.
49206 (_sys_siglist): Define hidden alias.
49207
49208 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
49209
49210 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49211 bits/sysctl.h.
49212
49213 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
49214
49215 [BZ #14117]
49216 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
49217 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
49218
49219 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
49220 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
49221 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
49222 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
49223 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
49224 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
49225
49226 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
49227 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
49228 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
49229
49230 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
49231 with __addr.
49232 (insw): Likewise.
49233 (insl): Likewise.
49234 (outsb): Likewise.
49235 (outsw): Likewise.
49236 (outsl): Likewise.
49237
49238 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
49239 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
49240 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
49241
49242 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
49243 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
49244 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
49245 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
49246 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
49247 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
49248
49249 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
49250 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
49251
49252 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
49253 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
49254
49255 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
49256 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
49257 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
49258
49259 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
49260 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
49261 to ...
49262 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
49263
49264 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
49265 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
49266 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
49267
49268 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
49269 for x86-64.
49270 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
49271
49272 2012-05-31 Joseph Myers <joseph@codesourcery.com>
49273
49274 * math/math.h (M_El): Use two more decimal places.
49275 (M_LOG2El): Likewise.
49276 (M_LOG10El): Likewise.
49277 (M_LN2l): Likewise.
49278 (M_LN10l): Likewise.
49279 (M_PIl): Likewise.
49280 (M_PI_2l): Likewise.
49281 (M_PI_4l): Likewise.
49282 (M_1_PIl): Likewise.
49283 (M_2_PIl): Likewise.
49284 (M_2_SQRTPIl): Likewise.
49285 (M_SQRT2l): Likewise.
49286 (M_SQRT1_2l): Likewise.
49287
49288 2012-05-31 David S. Miller <davem@davemloft.net>
49289
49290 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
49291 values between float registers.
49292 * sysdeps/sparc/sparc64/memset.S: Likewise.
49293 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49294
49295 2012-05-31 Mike Frysinger <vapier@gentoo.org>
49296
49297 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
49298 -D_FORTIFY_SOURCE=1.
49299 (CPPFLAGS-tst-longjmp_chk.c): Define.
49300 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
49301 (CPPFLAGS-tst-longjmp_chk2.c): Define.
49302 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
49303 CFLAGS-tst-wchar-h.c.
49304
49305 2012-05-31 Marek Polacek <polacek@redhat.com>
49306
49307 [BZ #14132]
49308 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
49309 __endmntent_internal): Remove declaration.
49310 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
49311 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
49312 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
49313
49314 2012-05-30 David S. Miller <davem@davemloft.net>
49315
49316 * sysdeps/sparc/sparc32/soft-fp/q_util.c
49317 (___Q_simulate_exceptions): Use real FP ops rather than writing
49318 into the %fsr.
49319 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
49320 Likewise.
49321
49322 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49323
49324 [BZ #14117]
49325 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
49326 * sysdeps/x86/bits/xtitypes.h: This.
49327
49328 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
49329 * sysdeps/x86/bits/wordsize.h: This.
49330
49331 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
49332 * sysdeps/x86/bits/huge_vall.h: This.
49333
49334 * sysdeps/i386/bits/select.h: Removed.
49335 * sysdeps/x86_64/bits/select.h: Renamed to ...
49336 * sysdeps/x86/bits/select.h: This.
49337
49338 * sysdeps/i386/bits/setjmp.h: Removed.
49339 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
49340 * sysdeps/x86/bits/setjmp.h: This.
49341
49342 * sysdeps/i386/bits/mathdef.h: Removed.
49343 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
49344 * sysdeps/x86/bits/mathdef.h: This.
49345
49346 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
49347
49348 [BZ #14132]
49349 * include/sys/socket.h (__connect_internal)
49350 (__libc_sa_len_internal): Remove declaration.
49351 (__connect, __libc_sa_len): Declare hidden_proto.
49352 (SA_LEN): Remove use of INTUSE.
49353 * socket/connect.c: Add libc_hidden_def.
49354 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
49355 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
49356 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
49357 alias.
49358 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
49359 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
49360 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
49361 of adding _internal alias.
49362
49363 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49364
49365 [BZ #14117]
49366 * sysdeps/i386/bits/link.h: Removed.
49367 * sysdeps/i386/bits/linkmap.h: Likewise.
49368 * sysdeps/x86_64/bits/link.h: Renamed to ...
49369 * sysdeps/x86/bits/link.h: This.
49370 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
49371 * sysdeps/x86/bits/linkmap.h: This.
49372
49373 * sysdeps/i386/bits/endian.h: Removed.
49374 * sysdeps/x86_64/bits/endian.h: Renamed to ...
49375 * sysdeps/x86/bits/endian.h: This.
49376
49377 * sysdeps/i386/bits/byteswap.h: Removed.
49378 * sysdeps/i386/bits/byteswap-16.h: Likewise.
49379 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
49380 * sysdeps/x86/bits/byteswap.h: This.
49381 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
49382 * sysdeps/x86/bits/byteswap-16.h: This.
49383 * sysdeps/i386/Implies: Add x86.
49384 * sysdeps/x86_64/Implies: Likewise.
49385
49386 2012-05-30 David S. Miller <davem@davemloft.net>
49387
49388 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
49389 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
49390 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
49391 (FP_TRAPPING_EXCEPTIONS): Define.
49392 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
49393 (FP_TRAPPING_EXCEPTIONS): Define.
49394 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
49395 subnormals only when inexact has been signalled or underflow
49396 exceptions are enabled.
49397 (_FP_PACK_CANONICAL): Likewise.
49398
49399 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49400
49401 [BZ #14183]
49402 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
49403 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
49404
49405 2012-05-30 Richard Henderson <rth@twiddle.net>
49406
49407 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
49408 with #ifndef NOT_IN_libc.
49409
49410 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
49411 marked to avoid plt entry.
49412
49413 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49414
49415 [BZ #14112]
49416 * Makeconfig (default-abi): New macro.
49417 (abi-includes): Likewise.
49418 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
49419 $(abi-$(default-abi)-lib-soname) for soname if defined.
49420 ($(common-objpfx)gnu/lib-names.stmp): Generate from
49421 abi-variants.
49422 * Makefile (installed-stubs): Likewise.
49423 * include/stubs-biarch.h: Removed.
49424 * scripts/lib-names.awk: Only handle one library at a time.
49425 * scripts/soversions.awk: Remove WORDSIZE support.
49426 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
49427 entries.
49428 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
49429 Removed.
49430 (syscall-list-default-condition): Likewise.
49431 (syscall-list-default-condition): Likewise.
49432 (syscall-list-includes): Likewise.
49433 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
49434 syscall-list-* with abi-*. Handle undefined abi-variants.
49435 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
49436 * sysdeps/unix/sysv/linux/i386/Implies: New file.
49437 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
49438 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
49439 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
49440 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
49441 Removed.
49442 (syscall-list-32-options): Likewise.
49443 (syscall-list-32-condition): Likewise.
49444 (syscall-list-64-options): Likewise.
49445 (syscall-list-64-condition): Likewise.
49446 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
49447 macro.
49448 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
49449 Renamed to ...
49450 (abi-*): This.
49451 (abi-64-ld-soname): New macro.
49452 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
49453 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
49454 Renamed to ...
49455 (abi-*): This.
49456 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
49457 * sysdeps/x86_64/x32/shlib-versions: Likewise.
49458
49459 2012-05-30 Joseph Myers <joseph@codesourcery.com>
49460
49461 * sysdeps/unix/sysv/linux/kernel-features.h
49462 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
49463 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
49464 include <kernel-features.h>.
49465 [!__NR_ftruncate64]: Remove conditional code.
49466 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49467 [__NR_ftruncate64]: Make code unconditional.
49468 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49469 * sysdeps/unix/sysv/linux/truncate64.c: Do not
49470 include <kernel-features.h>.
49471 [!__NR_ftruncate64]: Remove conditional code.
49472 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49473 [__NR_ftruncate64]: Make code unconditional.
49474 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/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/powerpc/powerpc32/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
49488 * configure.in (libc_cv_fpie): Weaken to a compile test using
49489 LIBC_TRY_CC_OPTION.
49490 * configure: Regenerated.
49491
49492 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49493
49494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
49495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
49496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
49497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49498 Refreshed.
49499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
49500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
49501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
49502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
49503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
49504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49505 Refreshed.
49506
49507 2012-05-27 David S. Miller <davem@davemloft.net>
49508
49509 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
49510 (___Q_zero): New.
49511 (__Q_simulate_exceptions): Return void. Change to simulate
49512 exceptions by writing into the %fsr.
49513 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
49514 (__Qp_handle_exceptions): Likewise.
49515 (numbers): Delete.
49516 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
49517 __Qp_handle_exceptions.
49518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
49519 __Qp_handle_exceptions.
49520 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49521 as unused and give dummy FP_RND_NEAREST initializer.
49522 (FP_INHIBIT_RESULTS): Define.
49523 (___Q_simulate_exceptions): Update declaration.
49524 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
49525 formatting.
49526 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49527 as unused and give dummy FP_RND_NEAREST initializer.
49528 (__Qp_handle_exceptions): Update declaration.
49529 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
49530 formatting.
49531
49532 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
49533
49534 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
49535 the temporary FPU control word.
49536 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
49537 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
49538 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
49539 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49540 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
49541 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
49542 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
49543 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49544 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
49545 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
49546 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49547
49548 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49549
49550 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
49551 fields.
49552
49553 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
49554
49555 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
49556 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
49557 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
49558 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
49559 Likewise.
49560 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
49561 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
49562 Likewise.
49563
49564 2012-05-27 Ulrich Drepper <drepper@gmail.com>
49565
49566 * po/h.po: Update from translation team.
49567
49568 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
49569
49570 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
49571
49572 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
49573 handling of denormals.
49574 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49575 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
49576 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49577 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49578 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49579 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
49580 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
49581 Likewise.
49582
49583 2012-05-26 Marek Polacek <polacek@redhat.com>
49584
49585 [BZ #14152]
49586 * math/libm-test.inc (fma_test): Don't always expect underflow
49587 exception.
49588
49589 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49590
49591 [BZ #12416]
49592 * elf/tst-execstack.c: Include stackinfo.h.
49593 (do_test): Adjust test case to ensure that pthread_getattr_np
49594 behaviour remains the same after marking stack executable.
49595
49596 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49597
49598 * sysdeps/unix/sysv/linux/kernel-features.h
49599 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
49600 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
49601 kernel-features.h.
49602 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49603 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49604 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
49605 kernel-features.h.
49606 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49607 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49608
49609 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
49610
49611 * configure.in: Define the default includes to being none.
49612 * configure: Regenerated.
49613
49614 2012-05-25 Roland McGrath <roland@hack.frob.com>
49615
49616 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
49617 * sysdeps/x86_64/setjmp.S: Likewise.
49618 * sysdeps/i386/bsd-setjmp.S: Likewise.
49619 * sysdeps/i386/bsd-_setjmp.S: Likewise.
49620 * sysdeps/i386/setjmp.S: Likewise.
49621 * sysdeps/i386/__longjmp.S: Likewise.
49622 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49623 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
49624
49625 * include/stap-probe.h: New file.
49626 * configure.in: Handle --enable-systemtap.
49627 * configure: Regenerated.
49628 * config.h.in (USE_STAP_PROBE): New #undef.
49629 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
49630 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
49631 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
49632
49633 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49634
49635 [BZ #13717]
49636 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49637 to 2.4.0 where earlier.
49638 * sysdeps/unix/sysv/linux/configure: Regenerated.
49639 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
49640 <kernel-features.h>.
49641 [__ASSUME_32BITUIDS]: Make code unconditional.
49642 [!__ASSUME_32BITUIDS]: Remove conditional code.
49643 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
49644 <kernel-features.h>.
49645 [__ASSUME_32BITUIDS]: Make code unconditional.
49646 [!__ASSUME_32BITUIDS]: Remove conditional code.
49647 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
49648 [__ASSUME_32BITUIDS]: Make code unconditional.
49649 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
49650 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
49651 <kernel-features.h>.
49652 [__ASSUME_32BITUIDS]: Make code unconditional.
49653 [!__ASSUME_32BITUIDS]: Remove conditional code.
49654 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
49655 <kernel-features.h>.
49656 [__ASSUME_32BITUIDS]: Make code unconditional.
49657 [!__ASSUME_32BITUIDS]: Remove conditional code.
49658 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
49659 <kernel-features.h>.
49660 [__ASSUME_32BITUIDS]: Make code unconditional.
49661 [!__ASSUME_32BITUIDS]: Remove conditional code.
49662 * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
49691 <kernel-features.h>.
49692 [__NR_setresgid] (__setresgid): Do not declare.
49693 [__ASSUME_32BITUIDS]: Make code unconditional.
49694 [!__ASSUME_32BITUIDS]: Remove conditional code.
49695 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
49696 <kernel-features.h>.
49697 [__NR_setresuid] (__setresuid): Do not declare.
49698 [__ASSUME_32BITUIDS]: Make code unconditional.
49699 [!__ASSUME_32BITUIDS]: Remove conditional code.
49700 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
49701 <kernel-features.h>.
49702 [__ASSUME_32BITUIDS]: Make code unconditional.
49703 [!__ASSUME_32BITUIDS]: Remove conditional code.
49704 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
49705 <kernel-features.h>.
49706 [__ASSUME_32BITUIDS]: Make code unconditional.
49707 [!__ASSUME_32BITUIDS]: Remove conditional code.
49708 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
49709 <kernel-features.h>.
49710 [__ASSUME_32BITUIDS]: Make code unconditional.
49711 [!__ASSUME_32BITUIDS]: Remove conditional code.
49712 * sysdeps/unix/sysv/linux/i386/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
49741 (__ASSUME_SETRESUID_SYSCALL): Remove.
49742 (__ASSUME_SETRESGID_SYSCALL): Likewise.
49743 (__ASSUME_32BITUIDS): Likewise.
49744 (__ASSUME_LDT_WORKS): Likewise.
49745 (__ASSUME_O_DIRECTORY): Likewise.
49746 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
49747 architecture but not kernel version.
49748 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
49749 (__ASSUME_MMAP2_SYSCALL): Likewise.
49750 (__ASSUME_STAT64_SYSCALL): Likewise.
49751 (__ASSUME_IPC64): Likewise.
49752 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
49753 <kernel-features.h>.
49754 [__ASSUME_32BITUIDS]: Make code unconditional.
49755 [!__ASSUME_32BITUIDS]: Remove conditional code.
49756 * sysdeps/unix/sysv/linux/opendir.c: Do not include
49757 <kernel-features.h>.
49758 [__ASSUME_O_DIRECTORY]: Make code unconditional.
49759 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
49760 132096]: Remove conditional code.
49761 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
49762 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
49763 <kernel-features.h>.
49764 [__ASSUME_32BITUIDS]: Make code unconditional.
49765 [!__ASSUME_32BITUIDS]: Remove conditional code.
49766 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
49767 <kernel-features.h>.
49768 [__ASSUME_32BITUIDS]: Make code unconditional.
49769 [!__ASSUME_32BITUIDS]: Remove conditional code.
49770 * sysdeps/unix/sysv/linux/setegid.c: Do not include
49771 <kernel-features.h>.
49772 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
49773 unconditional.
49774 (__setresgid): Do not declare.
49775 [__ASSUME_32BITUIDS]: Make code unconditional.
49776 [!__ASSUME_32BITUIDS]: Remove conditional code.
49777 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
49778 <kernel-features.h>.
49779 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
49780 unconditional.
49781 (__setresuid): Do not declare.
49782 [__ASSUME_32BITUIDS]: Make code unconditional.
49783 [!__ASSUME_32BITUIDS]: Remove conditional code.
49784 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
49785 <kernel-features.h>.
49786 [__ASSUME_32BITUIDS]: Make code unconditional.
49787 [!__ASSUME_32BITUIDS]: Remove conditional code.
49788 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
49789 <kernel-features.h>.
49790 [__ASSUME_32BITUIDS]: Make code unconditional.
49791 [!__ASSUME_32BITUIDS]: Remove conditional code.
49792
49793 2012-05-25 Richard Henderson <rth@twiddle.net>
49794
49795 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
49796 dl_hwcap to ifunc resolver.
49797 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
49798 elf_ifunc_invoke.
49799 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
49800 dl_hwcap to ifunc resolver.
49801 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
49802
49803 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49804
49805 [BZ #14153]
49806 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
49807 for |x| <= 2**-26, not 2**-57.
49808 * math/libm-test.inc (acos_test): Do not allow spurious underflow
49809 exception.
49810
49811 2012-05-24 Jeff Law <law@redhat.com>
49812
49813 * stdio-common/Makefile (tests): Add bug25.
49814 * stdio-common/bug25.c: New test.
49815
49816 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
49817
49818 [BZ #13576]
49819 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
49820 multiple of MALLOC_ALIGNMENT in size.
49821 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
49822
49823 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49824
49825 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
49826 Require >= 256.
49827 (FILENAME_MAX): Use macro-int-constant.
49828 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
49829 (_IOFBF): Use macro-int-constant.
49830 (_IOLBF): Likewise.
49831 (_IONBF): Likewise.
49832 (SEEK_CUR): Likewise.
49833 (SEEK_END): Likewise.
49834 (SEEK_SET): Likewise.
49835 (TMP_MAX): Likewise.
49836 (EOF): Use macro-int-constant. Require < 0.
49837 (NULL): Use macro-constant. Require == 0.
49838 (stdin): Require type to be FILE *.
49839 (stdout): Likewise.
49840 (stderr): Likewise.
49841 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
49842 macro-int-constant.
49843 (EXIT_SUCCESS): Likewise.
49844 (NULL): Use macro-constant. Require == 0.
49845 (RAND_MAX): Use macro-int-constant.
49846 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
49847 [C99-based standards] (strtof): Require function.
49848 [C99-based standards] (strtold): Likewise.
49849 [C99-based standards] (strtoll): Likewise.
49850 [C99-based standards] (strtoull): Likewise.
49851 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49852 [ISO || ISO99 || ISO11] (limits.h): Likewise.
49853 [ISO || ISO99 || ISO11] (math.h): Likewise.
49854 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
49855 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49856 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49857
49858 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
49859
49860 [BZ #14132]
49861 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
49862 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
49863 * intl/dgettext.c (DCGETTEXT): Likewise.
49864 * intl/gettext.c (DCGETTEXT): Likewise.
49865 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
49866 * posix/regex_internal.h (gettext): Likewise.
49867 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
49868 Remove declaration.
49869 * include/argz.h (__argz_count_internal)
49870 (__argz_stringify_internal): Remove declaration.
49871 (__argz_count, __argz_stringify): Declare hidden proto.
49872 * intl/dcgettext.c: Remove use of INTDEF.
49873 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
49874 * string/argz-stringify.c: Likewise.
49875 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49876 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49877 Declare hidden proto.
49878 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49879 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49880 Declare hidden proto.
49881 * include/stdio.h (__asprintf_internal): Don't declare.
49882 (__asprintf): Don't define as macro. Declare hidden proto.
49883 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
49884 (__fsetlocking): Declare hidden proto.
49885 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
49886 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
49887 hidden proto.
49888 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
49889 (_IO_setlinebuf): Remove use of INTUSE.
49890 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
49891 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
49892 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
49893 Remove declaration.
49894 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
49895 (_IO_do_flush): Remove use of INTUSE.
49896 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
49897 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
49898 (_IO_adjust_column, _IO_least_wmarker)
49899 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
49900 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
49901 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
49902 (_IO_default_doallocate, _IO_wdefault_doallocate)
49903 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
49904 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
49905 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
49906 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
49907 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
49908 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
49909 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
49910 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
49911 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
49912 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
49913 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
49914 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
49915 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
49916 proto.
49917 (_IO_flush_all_internal, _IO_adjust_column_internal)
49918 (_IO_default_uflow_internal, _IO_default_finish_internal)
49919 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
49920 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
49921 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
49922 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
49923 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
49924 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
49925 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
49926 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
49927 (_IO_file_close_internal, _IO_file_close_it_internal)
49928 (_IO_file_underflow_internal, _IO_file_overflow_internal)
49929 (_IO_file_init_internal, _IO_file_attach_internal)
49930 (_IO_file_fopen_internal, _IO_file_read_internal)
49931 (_IO_file_sync_internal, _IO_file_seek_internal)
49932 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
49933 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
49934 (_IO_str_underflow_internal, _IO_str_overflow_internal)
49935 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
49936 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
49937 (_IO_list_all_internal, _IO_link_in_internal)
49938 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
49939 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
49940 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
49941 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
49942 (_IO_do_write_internal, _IO_padn_internal)
49943 (_IO_getline_info_internal, _IO_getline_internal)
49944 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
49945 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
49946 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
49947 (_IO_vfscanf_internal, _IO_vfprintf_internal)
49948 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
49949 (_IO_init_internal, _IO_un_link_internal): Don't declare.
49950 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
49951 with libc_hidden_ver, remove use of INTUSE.
49952 * libio/genops.c: Likewise.
49953 * libio/freopen.c: Likewise.
49954 * libio/freopen64.c: Likewise.
49955 * libio/iofclose.c: Likewise.
49956 * libio/iofdopen.c: Likewise.
49957 * libio/iofflush.c: Likewise.
49958 * libio/iofflush_u.c: Likewise.
49959 * libio/iofgets.c: Likewise.
49960 * libio/iofgets_u.c: Likewise.
49961 * libio/iofopen.c: Likewise.
49962 * libio/iofopncook.c: Likewise.
49963 * libio/iofread.c: Likewise.
49964 * libio/iofread_u.c: Likewise.
49965 * libio/ioftell.c: Likewise.
49966 * libio/iofwrite.c: Likewise.
49967 * libio/iogetline.c: Likewise.
49968 * libio/iogets.c: Likewise.
49969 * libio/iogetwline.c: Likewise.
49970 * libio/iopadn.c: Likewise.
49971 * libio/iopopen.c: Likewise.
49972 * libio/ioseekoff.c: Likewise.
49973 * libio/ioseekpos.c: Likewise.
49974 * libio/iosetbuffer.c: Likewise.
49975 * libio/iosetvbuf.c: Likewise.
49976 * libio/ioungetc.c: Likewise.
49977 * libio/ioungetwc.c: Likewise.
49978 * libio/iovdprintf.c: Likewise.
49979 * libio/iovsprintf.c: Likewise.
49980 * libio/iovsscanf.c: Likewise.
49981 * libio/memstream.c: Likewise.
49982 * libio/obprintf.c: Likewise.
49983 * libio/oldfileops.c: Likewise.
49984 * libio/oldiofclose.c: Likewise.
49985 * libio/oldiofdopen.c: Likewise.
49986 * libio/oldiofopen.c: Likewise.
49987 * libio/oldiopopen.c: Likewise.
49988 * libio/oldstdfiles.c: Likewise.
49989 * libio/putc.c: Likewise.
49990 * libio/setbuf.c: Likewise.
49991 * libio/setlinebuf.c: Likewise.
49992 * libio/stdfiles.c: Likewise.
49993 * libio/strops.c: Likewise.
49994 * libio/vasprintf.c: Likewise.
49995 * libio/vscanf.c: Likewise.
49996 * libio/vsnprintf.c: Likewise.
49997 * libio/vswprintf.c: Likewise.
49998 * libio/wfiledoalloc.c: Likewise.
49999 * libio/wfileops.c: Likewise.
50000 * libio/wgenops.c: Likewise.
50001 * libio/wmemstream.c: Likewise.
50002 * libio/wstrops.c: Likewise.
50003 * libio/__fpurge.c: Likewise.
50004 * libio/__fsetlocking.c: Likewise.
50005 * assert/assert.c: Likewise.
50006 * debug/fgets_chk.c: Likewise.
50007 * debug/fgets_u_chk.c: Likewise.
50008 * debug/fread_chk.c: Likewise.
50009 * debug/fread_u_chk.c: Likewise.
50010 * debug/gets_chk.c: Likewise.
50011 * debug/obprintf_chk.c: Likewise.
50012 * debug/vasprintf_chk.c: Likewise.
50013 * debug/vdprintf_chk.c: Likewise.
50014 * debug/vsnprintf_chk.c: Likewise.
50015 * debug/vsprintf_chk.c: Likewise.
50016 * malloc/mtrace.c: Likewise.
50017 * misc/error.c: Likewise.
50018 * misc/syslog.c: Likewise.
50019 * stdio-common/asprintf.c: Likewise.
50020 * stdio-common/fxprintf.c: Likewise.
50021 * stdio-common/getw.c: Likewise.
50022 * stdio-common/isoc99_fscanf.c: Likewise.
50023 * stdio-common/isoc99_scanf.c: Likewise.
50024 * stdio-common/isoc99_vfscanf.c: Likewise.
50025 * stdio-common/isoc99_vscanf.c: Likewise.
50026 * stdio-common/isoc99_vsscanf.c: Likewise.
50027 * stdio-common/printf-prs.c: Likewise.
50028 * stdio-common/printf_fp.c: Likewise.
50029 * stdio-common/printf_fphex.c: Likewise.
50030 * stdio-common/printf_size.c: Likewise.
50031 * stdio-common/putw.c: Likewise.
50032 * stdio-common/scanf.c: Likewise.
50033 * stdio-common/sprintf.c: Likewise.
50034 * stdio-common/tmpfile.c: Likewise.
50035 * stdio-common/vfprintf.c: Likewise.
50036 * stdio-common/vfscanf.c: Likewise.
50037 * stdlib/strfmon_l.c: Likewise.
50038 * sunrpc/openchild.c: Likewise.
50039 * sunrpc/xdr_stdio.c: Likewise.
50040 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
50041 * sysdeps/mach/hurd/tmpfile.c: Likewise.
50042
50043 2012-05-24 Roland McGrath <roland@hack.frob.com>
50044
50045 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50046
50047 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
50048 in the third column, to generate for the shared library an IFUNC
50049 that uses _dl_vdso_vsym.
50050 * Makerules (COMPILE.c, compile-stdin.c): New variables.
50051 * Makeconfig (object-suffixes-noshared): New variable.
50052
50053 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
50054 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
50055 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
50056 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
50057
50058 [BZ #14132]
50059 * include/sys/time.h (__gettimeofday): Remove macro.
50060 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
50061 * time/gettimeofday.c (__gettimeofday): Remove #undef.
50062 Remove INTDEF.
50063 (__gettimeofday): Add libc_hidden_def.
50064 (gettimeofday): Add libc_hidden_weak.
50065 * sysdeps/mach/gettimeofday.c: Likewise.
50066 * sysdeps/posix/gettimeofday.c: Likewise.
50067 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
50068 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
50069 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
50070 (__gettimeofday_internal): Remove strong_alias.
50071 (__gettimeofday): Add libc_hidden_def.
50072 (gettimeofday): Add libc_hidden_weak.
50073 * sysdeps/unix/syscalls.list (gettimeofday):
50074 Remove __gettimeofday_internal alias.
50075
50076 2012-05-24 Daniel Jacobowitz <drow@false.org>
50077 H.J. Lu <hongjiu.lu@intel.com>
50078
50079 [BZ #12495]
50080 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
50081 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
50082 (largebin_index_32_big): New.
50083 (largebin_index): Use it for 16-byte alignment.
50084 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
50085 correction with front_misalign.
50086
50087 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
50088
50089 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
50090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
50091 Likewise.
50092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
50093 Likewise.
50094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50095 Likewise.
50096 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
50097 Likewise.
50098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
50099 Likewise.
50100 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
50101 Likewise.
50102 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
50103 Likewise.
50104 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
50105 Likewise.
50106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
50107 Likewise.
50108 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
50109 Likewise.
50110 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
50111 Likewise.
50112 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
50113 Likewise.
50114
50115 * scripts/data/c++-types-x32-linux-gnu.data: New file.
50116 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
50117
50118 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50119
50120 [BZ #10846]
50121 [BZ #14036]
50122 * math/libm-test.inc (exp_test): Add test from bug 14036.
50123 (pow_test): Add test from bug 10846.
50124
50125 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
50126 and other flags.
50127 (special_function): Do not include flags in test name.
50128 (parse_args): Likewise.
50129 * sysdeps/i386/fpu/libm-test-ulps: Update.
50130 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50131 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50132 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50134
50135 * math/gen-libm-test.pl (%beautify): Add entries for underflow
50136 exceptions.
50137 * math/libm-test.inc ("Philosophy"): Update comment about
50138 exception testing.
50139 (UNDERFLOW_EXCEPTION): New macro.
50140 (UNDERFLOW_EXCEPTION_OK): Likewise.
50141 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
50142 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
50143 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
50144 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
50145 (INVALID_EXCEPTION_OK): Update value.
50146 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50147 (OVERFLOW_EXCEPTION_OK): Likewise.
50148 (IGNORE_ZERO_INF_SIGN): Likewise.
50149 (test_exceptions): Handle underflow exceptions.
50150 (acos_test): Update for underflow exception expectations.
50151 (cexp_test): Likewise.
50152 (clog_test): Likewise.
50153 (clog10_test): Likewise.
50154 (csqrt_test): Likewise.
50155 (ctan_test): Likewise.
50156 (ctanh_test): Likewise.
50157 (exp_test): Likewise.
50158 (exp10_test): Likewise.
50159 (exp2_test): Likewise.
50160 (expm1_test): Likewise.
50161 (fma_test): Likewise.
50162 (j0_test): Likewise.
50163 (jn_test): Likewise.
50164 (nexttoward_test): Likewise.
50165 (pow_test): Likewise.
50166 (scalbn_test): Likewise.
50167 (scalbln_test): Likewise.
50168 (tan_test): Likewise.
50169 (y1_test): Likewise.
50170 * sysdeps/i386/fpu/libm-test-ulps: Update.
50171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50172
50173 2012-05-23 David S. Miller <davem@davemloft.net>
50174
50175 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50176 (__libc_sigaction): Remove unused local variables.
50177
50178 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50179
50180 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
50181
50182 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
50183
50184 mktime: avoid signed integer overflow
50185 * time/mktime.c (__mktime_internal): Do not mishandle the case
50186 where diff == INT_MIN.
50187
50188 mktime: simplify computation of average
50189 * time/mktime.c (ranged_convert): Use new time_t_avg function
50190 instead of rolling our own (probably-slower) code.
50191
50192 mktime: do not assume signed right shift propagates sign bit
50193 * time/mktime.c (isdst_differ): New static function.
50194 (__mktime_internal): No need to normalize tm_isdst now.
50195 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
50196 tm_isdst values.
50197
50198 mktime: merge another wrapv change from gnulib
50199 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
50200 from some compilers.
50201
50202 mktime: remove incorrect attempt at unusual arithmetics
50203 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
50204 The code didn't really work on such machines anyway.
50205 (TYPE_MINIMUM): Assume two's complement.
50206 (twos_complement_arithmetic): Verify that long_int and time_t
50207 are two's complement (or unsigned, in the latter case).
50208
50209 mktime: check signed shifts on long_int and time_t, too
50210 * time/mktime.c (SHR): Check that shifts work as desired
50211 on the types long_int and time_t too, as SHR is used on
50212 such types.
50213
50214 mktime: do not assume 'long' is wide enough
50215 * time/mktime.c (verify): Move decl up.
50216 (long_int): New type.
50217 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
50218 to remove assumption in the code that 'long' is wide enough to
50219 store year values. This assumption is not true on x32 and on
50220 some non-glibc platforms.
50221
50222 mktime: merge wrapv change from gnulib
50223 * time/mktime.c (WRAPV): New macro.
50224 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
50225 (guess_time_tm, __mktime_internal): Do not assume that signed
50226 integer overflow wraps around; modern compilers generate code
50227 where this assumption is no longer valid.
50228
50229 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50230
50231 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50232 Replace "jmp L(pseudo_end)" with "ret".
50233 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
50234 Likewise.
50235
50236 2012-05-23 Andreas Jaeger <aj@suse.de>
50237
50238 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
50239 * sysdeps/unix/sysv/linux/poll.c: Remove file.
50240
50241 2012-05-23 Andreas Jaeger <aj@suse.de>
50242 Maximilian Attems <max@stro.at>
50243
50244 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
50245 New macros.
50246
50247 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50248
50249 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
50250 code so that pseudo_end is just ret and the stack pointer is
50251 correct also for static library in error case.
50252
50253 2012-05-23 Joseph Myers <joseph@codesourcery.com>
50254
50255 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
50256 move to syscalls.list.
50257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
50258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
50259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
50260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
50261
50262 * manual/install.texi (Running make install): Do not mention Linux
50263 kernel version for which pt_chown is not needed.
50264 (Linux): Do not mention problems with nscd with 2.0 kernels.
50265 * INSTALL: Regenerated.
50266
50267 2012-05-23 Andreas Jaeger <aj@suse.de>
50268
50269 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
50270 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
50271 macro.
50272 * sysdeps/unix/sysv/linux/s390/bits/mman.h
50273 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50274 * sysdeps/unix/sysv/linux/sh/bits/mman.h
50275 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50276 * sysdeps/unix/sysv/linux/i386/bits/mman.h
50277 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50278 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
50279 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50280 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
50281 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50282 * sysdeps/unix/sysv/linux/bits/in.h
50283 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
50284
50285 2012-05-22 Roland McGrath <roland@hack.frob.com>
50286
50287 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
50288 (PREPARE_VERSION): Just use assert instead, it will be elided
50289 under [NDEBUG] anyway.
50290
50291 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50292
50293 * sysdeps/unix/sysv/linux/Makefile: Include
50294 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
50295 (sysdep_routines): Remove sysctl.
50296 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
50297 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
50298 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
50299 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
50300 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
50301
50302 2012-05-22 Andreas Jaeger <aj@suse.de>
50303
50304 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
50305 that pseudo_end is just ret and the stack pointer is correct also
50306 for static library in error case.
50307
50308 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
50309
50310 [BZ #14122]
50311 * nss/nsswitch.c (defconfig_entries): New variable.
50312 (__nss_database_lookup): Don't leak defconfig entries.
50313 (nss_parse_service_list): Don't leak on error paths.
50314 (free_database_entries): New function.
50315 (free_defconfig): New function.
50316 (free_mem): Move common code to free_database_entries.
50317
50318 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50319
50320 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
50321 Add arch_prctl.
50322 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
50323
50324 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50325 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
50326 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
50327 New macro.
50328 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
50329 (INTERNAL_SYSCALL_TYPES): Likewise.
50330 (LOAD_ARGS_TYPES_[1-6]): Likewise.
50331 (LOAD_REGS_TYPES_[1-6]): Likewise.
50332 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
50333 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
50334
50335 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50336
50337 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
50338 copysignl for GLIBC_2_0.
50339 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
50340 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
50341 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
50342 logbl for GLIBC_2_0.
50343 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
50344 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
50345
50346 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50347
50348 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
50349 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50350
50351 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50352 Use "neg %eax".
50353
50354 * time/mktime.c: Update copyright years.
50355
50356 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
50357
50358 mktime: merge comment-quoting-style change from gnulib
50359 * time/mktime.c: Quote 'like this' in comments.
50360 The GNU coding standards suggest that we no longer quote `like this',
50361 as "`" and "'" are typically rendered asymmetrically nowadays.
50362 The typical gnulib style is to quote 'like this' when quoting
50363 code, and "like this" when quoting English.
50364
50365 * time/mktime.c (compile-command): Add "-I.".
50366
50367 mktime: merge mktime-internal.h change from gnulib
50368 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
50369
50370 mktime: merge time_r change from gnulib
50371 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
50372
50373 mktime: merge DEBUG change from gnulib
50374 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
50375 case system <time.h> has a #define.
50376
50377 mktime: merge <sys/types.h> change from gnulib
50378 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
50379 since <time.t> is now guaranteed to define time_t.
50380
50381 mktime: merge HAVE_CONFIG_H change from gnulib
50382 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
50383
50384 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50385
50386 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50387 Use "neg %eax".
50388
50389 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
50390 __rlim_t cast.
50391 (struct rusage): Use anonymous union to pad each field to
50392 __syscall_slong_t.
50393
50394 2012-05-21 David S. Miller <davem@davemloft.net>
50395
50396 * Makefules (o-iterator): Remove .s cases.
50397 (compile-command.s): Delete.
50398 (COMPILE.s): Delete.
50399 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
50400
50401 2012-05-21 Joseph Myers <joseph@codesourcery.com>
50402
50403 * configure.in (libc_cv_predef_stack_protector): Only consider
50404 "foobar" and "__stack_chk_fail" lines in libc_undefs.
50405 * configure: Regenerated.
50406
50407 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50408
50409 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50410 New macro. Use R*LP on int and pointer.
50411 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
50412 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
50413 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
50414 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
50415
50416 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
50417 [__WORDSIZE_TIME64_COMPAT32] instead of
50418 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
50419 (struct utmp): Likewise.
50420 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
50421 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
50422 Renamed to ...
50423 (__WORDSIZE_TIME64_COMPAT32): This.
50424 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
50425 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
50426 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
50427 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
50428 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
50429 (__WORDSIZE_TIME64_COMPAT32): New macro.
50430
50431 2012-05-21 Andreas Jaeger <aj@suse.de>
50432
50433 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
50434 only if [SHARED]. Add prototype for __wcschr_ia32.
50435
50436 2012-05-21 Roland McGrath <roland@hack.frob.com>
50437
50438 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
50439 of %rbp unmolested in the jmp_buf while mangling the low bits.
50440 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
50441 unmolested high bits of %rbp while demangling the low bits.
50442 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50443
50444 2012-05-21 Andreas Jaeger <aj@suse.de>
50445
50446 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
50447 * sunrpc/svc_simple.c: Use it for registerrpc.
50448 * sunrpc/xcrypt.c: Use it for passwd2des.
50449
50450 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
50451
50452 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50453
50454 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
50455 Don't define if [__SYSCALL_WORDSIZE != 32].
50456 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
50457 New macro.
50458
50459 2012-05-21 Bruno Haible <bruno@clisp.org>
50460 Andreas Jaeger <aj@suse.de>
50461
50462 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
50463 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
50464 inptr and inend for must_buffer_ch.
50465 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
50466 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
50467 * stdio-common/Makefile (tests): Remove bug15.
50468 (bug15-ENV): Remove macro.
50469 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
50470 anymore.
50471
50472 2012-05-19 Andreas Jaeger <aj@suse.de>
50473 Roland McGrath <roland@hack.frob.com>
50474
50475 * manual/contrib.texi: Completely rewritten. It contains now an
50476 alphabetical list of contributors and their contributions.
50477
50478 2012-05-21 Richard Henderson <rth@twiddle.net>
50479
50480 * misc/getauxval.c (__getauxval): Use unsigned long int.
50481 * misc/sys/auxv.h: Include <sys/cdefs.h>.
50482 (getauxval): Use unsigned long int.
50483
50484 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50485
50486 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50487
50488 2012-05-21 Roland McGrath <roland@hack.frob.com>
50489
50490 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
50491 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
50492 __alignof__ (long double).
50493
50494 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50495
50496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50497
50498 2012-05-20 Richard Henderson <rth@twiddle.net>
50499
50500 * misc/getauxval.c: New file.
50501 * misc/sys/auxv.h: New file.
50502 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
50503 (routines): Add getauxval.
50504 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
50505 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
50506 * elf/dl-sysdep.c (_dl_auxv): Remove.
50507 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
50508 * elf/dl-support.c (_dl_auxv): New variable.
50509 (_dl_aux_init): Initialize it.
50510 * manual/startup.texi (Auxiliary Vector): New node.
50511 * sysdeps/generic/bits/hwcap.h: New file.
50512 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
50513 * sysdeps/powerpc/sysdep.h: ... here. Include it.
50514 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
50515 * sysdeps/sparc/sysdep.h: ... here. Include it.
50516 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
50517 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
50518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50519 Update.
50520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
50521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
50522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
50523 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
50524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50525 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
50527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
50528
50529 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50530
50531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50532
50533 2012-05-19 David S. Miller <davem@davemloft.net>
50534
50535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50536
50537 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50538
50539 [BZ #14123]
50540 * math/s_ccosh.c: Include <float.h>
50541 (__ccosh): Avoid internal overflow calculating sinh and cosh
50542 values before multiplying by sin and cos values.
50543 * math/s_ccoshf.c: Likewise.
50544 * math/s_ccoshl.c: Likewise.
50545 * math/s_csin.c: Likewise.
50546 * math/s_csinf.c: Likewise.
50547 * math/s_csinl.c: Likewise.
50548 * math/s_csinh.c: Likewise.
50549 * math/s_csinhf.c: Likewise.
50550 * math/s_csinhl.c: Likewise.
50551 * math/libm-test.inc (ccos_test): Add more tests.
50552 (ccosh_test): Likewise.
50553 (csin_test): Likewise.
50554 (csinh_test): Likewise.
50555 * sysdeps/i386/fpu/libm-test-ulps: Update.
50556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50557
50558 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
50559
50560 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
50561 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
50562
50563 * sysdeps/x86_64/x32/_itoa.h: Add comment.
50564
50565 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50566
50567 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
50568 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
50569 * sysdeps/powerpc/soft-fp/Versions: Likewise.
50570 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
50571 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
50572 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
50573 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
50574 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
50575 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
50576 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
50577 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
50578 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
50579 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
50580 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
50581 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
50582 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
50583 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
50584 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
50585 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
50586 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
50587 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
50588 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
50589 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
50590 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
50591 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
50592 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
50593 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
50594 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
50595 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
50596 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
50597 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
50598
50599 2012-05-18 Andreas Jaeger <aj@suse.de>
50600
50601 * csu/.gitignore: Delete.
50602
50603 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50604
50605 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
50606 (timex): Use __syscall_slong_t.
50607
50608 2012-05-18 Andreas Jaeger <aj@suse.de>
50609 Carlos O'Donell <carlos_odonell@mentor.com>
50610
50611 * manual/install.texi (Configuring and compiling): Update
50612 description about files modified in the source directory.
50613 * INSTALL: Regenerated.
50614
50615 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50616
50617 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
50618 value. Use "or" to set return value to -1.
50619 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
50620 negate return value.
50621
50622 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50623
50624 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
50625 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
50626 failure if the compiler has Graphite support disabled.
50627 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
50628 Likewise.
50629 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
50630 (CFLAGS-memmove.c): Likewise.
50631 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
50632 Likewise.
50633
50634 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50635
50636 * sysdeps/x86_64/x32/_itoa.h: New file.
50637
50638 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
50639 getdents system call only if kernel and user dirents have the
50640 same d_ino and d_off.
50641
50642 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50643 LLONG_MAX != LONG_MAX.
50644 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50645 (_fitoa_word): Likewise.
50646
50647 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
50648 years.
50649 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
50650 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
50651 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
50652
50653 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
50654 include <bits/wordsize.h>. Check __x86_64__ instead of
50655 __WORDSIZE.
50656 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
50657 if __x86_64__ is defined. Use anonymous union on fpstate.
50658
50659 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
50660 anonymous union.
50661
50662 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
50663
50664 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
50665 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
50666 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
50667 Refer to _rtld_local_ro instead of _rtld_global_ro.
50668 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
50669 Likewise.
50670 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
50671 Likewise.
50672 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
50673 Likewise.
50674 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
50675 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
50676 of _rtld_global, and rtld_progname instead of _dl_argv[0].
50677
50678 [BZ #10882]
50679 * sysdeps/powerpc/powerpc32/dl-machine.c
50680 (__elf_machine_runtime_setup) [PROF]: Don't reference
50681 _dl_prof_resolve.
50682
50683 2012-05-18 Andreas Jaeger <aj@suse.de>
50684
50685 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
50686 function only available for GCCs before 3.4 since GCC 3.4
50687 introduced a builtin.
50688 (lrint): Likewise.
50689 (llrintf): Likewise.
50690 (llrint): Likewise.
50691 (fmaxf): Likewise.
50692 (fmax): Likewise.
50693 (fminf): Likewise.
50694 (fmin): Likewise.
50695 (rint): Likewise.
50696 (rintf): Likewise.
50697 (nearbyint): Likewise.
50698 (nearbyintf): Likewise.
50699 (ceil): Likewise.
50700 (ceilf): Likewise.
50701 (floor): Likewise.
50702 (floorf): Likewise.
50703
50704 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50705
50706 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
50707 on both fields and cast pointer to __syscall_ulong_t.
50708
50709 * bits/types.h (__fsword_t): New type.
50710 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
50711 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
50712 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50713 (__FSWORD_T_TYPE): Likewise.
50714 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50715 (__FSWORD_T_TYPE): Likewise.
50716 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50717 (__FSWORD_T_TYPE): Likewise.
50718 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
50719 (__FSWORD_T_TYPE): Likewise.
50720 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
50721 __SWORD_TYPE with __fsword_t.
50722 (statfs64): Likewise.
50723
50724 2012-05-17 David S. Miller <davem@davemloft.net>
50725
50726 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
50727
50728 2012-05-17 Andreas Jaeger <aj@suse.de>
50729
50730 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
50731 warning.
50732
50733 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50734
50735 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
50736
50737 2012-05-17 Andreas Jaeger <aj@suse.de>
50738
50739 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
50740 when it is used.
50741
50742 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50743
50744 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
50745
50746 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50747
50748 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
50749 * sysdeps/x86_64/tst-mallocalign1.c: New file.
50750
50751 2012-05-17 Andreas Jaeger <aj@suse.de>
50752 Carlos O'Donell <carlos_odonell@mentor.com>
50753
50754 [BZ #14059]
50755 * sysdeps/x86_64/multiarch/init-arch.h
50756 (bit_YMM_Usable): Rename to...
50757 (bit_AVX_Usable): ... this.
50758 (bit_FMA4_Usable): New macro.
50759 (bit_XMM_state): New macro.
50760 (bit_YMM_state): New macro.
50761 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
50762 [__ASSEMBLER__] (index_AVX_Usable): ... this.
50763 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
50764 (CPUID_OSXSAVE): New macro.
50765 (CPUID_AVX): New macro.
50766 (CPUID_FMA4): New macro.
50767 (index_YMM_Usable): Rename to...
50768 (index_AVX_Usable): ... this.
50769 (HAS_AVX): Use HAS_ARCH_FEATURE.
50770 (HAS_FMA4): Likewise.
50771 (HAS_YMM_USABLE): Remove.
50772 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50773 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
50774 are present.
50775 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
50776 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
50777 * sysdeps/x86_64/multiarch/Makefile: Likewise.
50778 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
50779 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
50780
50781 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50782
50783 * math/libm-test.c: Support platforms without multiple rounding modes.
50784 * math/bug-nextafter.c: Support platforms without FP exceptions.
50785 * math/bug-nexttoward.c: Likewise.
50786 * math/test-fenv.c: Likewise.
50787 * math/test-misc.c: Likewise.
50788 * stdlib/bug-getcontext.c: Likewise.
50789
50790 2012-05-17 Andreas Jaeger <aj@suse.de>
50791
50792 * manual/examples/search.c (critter_cmp): Change signature to
50793 avoid warnings.
50794 * manual/string.texi (Collation Functions): Likewise.
50795
50796 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50797
50798 * bits/types.h: Fold copyright years.
50799 * bits/typesizes.h: Likewise.
50800 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
50801 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
50802 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
50803 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
50804 * time/time.h: Likewise.
50805
50806 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
50807
50808 [BZ #208]
50809 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
50810 in instead of returning them. Return void.
50811 (__libc_mallinfo): Accumulate over all arenas.
50812 (__malloc_stats): Adjust for change in int_mallinfo interface.
50813
50814 2012-05-16 Roland McGrath <roland@hack.frob.com>
50815
50816 [BZ #10375]
50817 * configure.in (NM): Add AC_CHECK_TOOL for it.
50818 (libc_extra_cflags): New substituted variable.
50819 Check for -fstack-protector being used implicitly.
50820 * configure: Regenerated.
50821 * config.make.in (config-extra-cflags): New variable,
50822 gets @libc_extra_cflags@.
50823 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
50824
50825 [BZ #10375]
50826 * configure.in: Check for _FORTIFY_SOURCE being predefined.
50827 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
50828 * configure: Regenerated.
50829 * config.make.in (CPPUNDEFS): New substituted variable.
50830 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
50831 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
50832 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
50833
50834 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50835
50836 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
50837 (mq_attr): Use __syscall_slong_t.
50838
50839 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50840
50841 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
50842 Check __x86_64__ instead of __WORDSIZE.
50843 (_STAT_VER_LINUX): Likewise.
50844 (stat): Check __x86_64__ instead of __WORDSIZE. Use
50845 __syscall_ulong_t and __syscall_slong_t.
50846 (stat64): Likewise.
50847
50848 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50849
50850 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
50851
50852 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50853
50854 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
50855
50856 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50857
50858 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
50859 __syscall_ulong_t.
50860
50861 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
50862 include <bits/wordsize.h>. Check __x86_64__ instead of
50863 __WORDSIZE.
50864 (greg_t): Use "__extension__ long long int" if __x86_64__ is
50865 defined.
50866 (mcontext_t): Replace "unsigned long" with "unsigned long long".
50867
50868 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
50869 include <bits/wordsize.h>. Check __x86_64__ instead of
50870 __WORDSIZE.
50871 (user_regs_struct): Use "__extension__ unsigned long long"
50872 instead of "unsigned long" if __x86_64__ is defined.
50873 (user): Likewise. Pad after pointer field if __ILP32__ is
50874 defined.
50875
50876 2012-05-16 Joseph Myers <joseph@codesourcery.com>
50877
50878 * configure.in (makeinfo): Require version 4.5 or later. Allow
50879 versions 5 to 9.
50880 * configure: Regenerated.
50881 * manual/install.texi (texinfo): Increase version requirement to
50882 4.5 or later.
50883 * INSTALL: Regenerated.
50884
50885 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
50886
50887 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50888
50889 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
50890
50891 * sysdeps/x86_64/x32/ffs.c: New file.
50892
50893 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
50894 __syscall_ulong_t.
50895 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
50896 defined. Use __syscall_ulong_t.
50897 (shminfo): Use __syscall_ulong_t.
50898 (shm_info): Likewise.
50899
50900 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
50901 __syscall_ulong_t.
50902
50903 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
50904 <bits/wordsize.h>.
50905 (msgqnum_t): Use __syscall_ulong_t.
50906 (msglen_t): Likewise.
50907 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
50908 __syscall_ulong_t.
50909
50910 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
50911 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50912
50913 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
50914
50915 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
50916 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
50917
50918 * sysvipc/sys/msg.h (msgbuf): Replace long int with
50919 __syscall_slong_t.
50920
50921 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
50922 include <bits/wordsize.h>. Check __x86_64__ instead of
50923 __WORDSIZE.
50924
50925 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
50926 "unsigned long long int" if __x86_64__ is defined.
50927 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
50928
50929 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
50930 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50931 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
50932
50933 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
50934 <stdint.h>.
50935 (GET_PC): Cast to uintptr_t first.
50936 (GET_FRAME): Likewise.
50937 (GET_STACK): Likewise.
50938
50939 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
50940 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
50941 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
50942 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
50943 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
50944 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
50945 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
50946 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
50947 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
50948 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
50949 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
50950 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
50951 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
50952 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
50953 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
50954 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
50955 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
50956 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
50957 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
50958 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
50959 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
50960 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
50961 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
50962 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
50963 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
50964 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
50965 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
50966 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
50967 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
50968
50969 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
50970
50971 * Makerules (+depfiles): Also collect depfiles from .oS in
50972 $(extra-objs).
50973 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
50974 .oS, $(libnldbl-routines)).
50975
50976 * Makerules (native-compile-mkdep-flags): Define.
50977 * sunrpc/Makefile (extra-objs): Add $(addprefix
50978 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
50979 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
50980 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
50981 calling $(make-target-directory).
50982
50983 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50984
50985 * bits/types.h (__snseconds_t): Removed.
50986 * time/time.h (struct timespec): Replace __snseconds_t with
50987 __syscall_slong_t.
50988 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
50989 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
50990 Likewise.
50991 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50992 (__SNSECONDS_T_TYPE): Likewise.
50993 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50994 (__SNSECONDS_T_TYPE): Likewise.
50995 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50996 (__SNSECONDS_T_TYPE): Likewise.
50997
50998 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50999
51000 * sysdeps/mach/hurd/bits/typesizes.h
51001 (__SYSCALL_SLONG_TYPE): New macro.
51002 (__SYSCALL_ULONG_TYPE): Likewise.
51003
51004 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51005
51006 * bits/types.h (__syscall_slong_t): New type.
51007 (__syscall_ulong_t): Likewise.
51008
51009 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
51010 (__SYSCALL_ULONG_TYPE): Likewise.
51011 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51012 (__SYSCALL_SLONG_TYPE): Likewise.
51013 (__SYSCALL_ULONG_TYPE): Likewise.
51014 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51015 (__SYSCALL_SLONG_TYPE): Likewise.
51016 (__SYSCALL_ULONG_TYPE): Likewise.
51017 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51018 (__SYSCALL_SLONG_TYPE): Likewise.
51019 (__SYSCALL_ULONG_TYPE): Likewise.
51020
51021 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51022
51023 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
51024 Add sigaltstack-offsets.sym.
51025 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
51026 <sigaltstack-offsets.h>.
51027 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
51028 longjmp_msg pointer.
51029 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
51030 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
51031 signal stack.
51032 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
51033
51034 2012-05-15 Joseph Myers <joseph@codesourcery.com>
51035
51036 * elf/stackguard-macros.h: Remove file.
51037 * sysdeps/generic/stackguard-macros.h: New file.
51038 * sysdeps/i386/stackguard-macros.h: Likewise.
51039 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
51040 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
51041 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
51042 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
51043 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
51044 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
51045 * sysdeps/x86_64/stackguard-macros.h: Likewise.
51046 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
51047 <elf/stackguard-macros.h>.
51048
51049 [BZ #14109]
51050 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
51051 __aligned__ in attribute.
51052 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
51053 (gregset_t): Likewise.
51054
51055 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51056
51057 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
51058 * sysdeps/x86_64/64/Implies-after: Here. New file.
51059 * sysdeps/x86_64/x32/Implies-after: New file.
51060
51061 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51062
51063 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
51064 and access return value for _dl_profile_fixup. Use R10_LP to
51065 load frame size.
51066
51067 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51068
51069 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
51070
51071 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51072
51073 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
51074 * sysdeps/x86_64/x32/sysdep.h: New file.
51075
51076 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51077
51078 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
51079 * sysdeps/x86_64/setjmp.S: Likewise.
51080
51081 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51082
51083 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
51084 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
51085 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
51086 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
51087 remove unused global constant.
51088
51089 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
51090
51091 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
51092 include of <not-cancel.h>.
51093
51094 2012-05-15 Roland McGrath <roland@hack.frob.com>
51095
51096 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
51097
51098 2012-05-15 Jeff Law <law@redhat.com>
51099 Andreas Jaeger <aj@suse.de>
51100
51101 [BZ #13594]
51102 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
51103 out from...
51104 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
51105 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
51106 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
51107 code changing __hst_map_handle.map.
51108
51109 2012-05-15 Roland McGrath <roland@hack.frob.com>
51110
51111 * configure.in (sysnames): Look for Implies-before and Implies-after
51112 files.
51113 * configure: Regenerated.
51114
51115 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51116
51117 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
51118 8-byte data alignment with LP_SIZE alignment.
51119
51120 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51121
51122 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
51123 into R10_LP.
51124
51125 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51126
51127 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
51128
51129 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51130
51131 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
51132 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
51133 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
51134 Likewise.
51135 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
51136
51137 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51138
51139 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
51140 (stackinfo_sub_sp): Likewise.
51141
51142 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51143
51144 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
51145 RAX_LP.
51146
51147 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51148
51149 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
51150 into R*_LP.
51151
51152 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51153
51154 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
51155 sizes into R*_LP.
51156
51157 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51158
51159 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
51160
51161 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51162
51163 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
51164 into R11_LP and load __x86_64_shared_cache_size_half into
51165 R8_LP.
51166
51167 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51168
51169 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
51170 R8_LP.
51171
51172 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51173
51174 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
51175 logb for POWER7.
51176 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
51177 logbf for POWER7.
51178 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
51179 logbl for POWER7.
51180 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
51181 powerpc32/power7/fpu/s_logb.c via #include.
51182 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
51183 powerpc32/power7/fpu/s_logbf.c via #include.
51184 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
51185 powerpc32/power7/fpu/s_logbl.c via #include.
51186
51187 2012-05-15 Joseph Myers <joseph@codesourcery.com>
51188
51189 * README.libm: Remove file.
51190
51191 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51192
51193 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
51194 count for x32. Use R*_LP and omit operand-size suffix.
51195
51196 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51197
51198 * shlib-versions: Move x86_64-.*-linux.* entries to ...
51199 * sysdeps/x86_64/64/shlib-versions: Here. New file.
51200 * sysdeps/x86_64/x32/shlib-versions: New file.
51201
51202 2012-05-14 Roland McGrath <roland@hack.frob.com>
51203
51204 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
51205 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
51206 Use _dl_fatal_printf instead.
51207
51208 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51209
51210 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
51211 set if not set by the user. Do not allow for being unset.
51212 * sysdeps/unix/sysv/linux/configure: Regenerated.
51213
51214 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51215
51216 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
51217 the `q' suffix from lea and replace .quad with ASM_ADDR.
51218
51219 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51220
51221 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
51222 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
51223 instead of $17.
51224 (PTR_DEMANGLE): Likewise.
51225
51226 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51227
51228 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
51229 (LP_OP): Likewise.
51230 (ASM_ADDR): Likewise.
51231 (RAX_LP): Likewise.
51232 (RBP_LP): Likewise.
51233 (RBX_LP): Likewise.
51234 (RCX_LP): Likewise.
51235 (RDI_LP): Likewise.
51236 (RSI_LP): Likewise.
51237 (RSP_LP): Likewise.
51238 (R8_LP): Likewise.
51239 (R9_LP): Likewise.
51240 (R10_LP): Likewise.
51241 (R10_LP): Likewise.
51242 (R11_LP): Likewise.
51243 (R12_LP): Likewise.
51244 (R13_LP): Likewise.
51245 (R14_LP): Likewise.
51246 (R15_LP): Likewise.
51247
51248 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51249
51250 * sysdeps/x86_64/x32/dl-machine.h: New file.
51251
51252 2012-05-14 Andreas Jaeger <aj@suse.de>
51253
51254 * manual/Makefile (subdir): Remove export of subdir.
51255 (all): Remove target.
51256 (.PHONY): Remove all from list.
51257 (mkinstalldirs): Remove.
51258 (.PHONY): Remove installdirs from list.
51259 ($(inst_infodir)/libc.info): Use make-target-directory.
51260 (installdirs): Remove.
51261 (subdir_%): Remove.
51262 (glibc-targets): Remove.
51263 (lib): Remove.
51264 (stubs): Remove.
51265 ($(objpfx)stubs ../po/manual.pot): Remove.
51266 ($(objpfx)stamp%): Remove.
51267 (make-target-directory): Remove.
51268 (subdir_install): Remove.
51269 (routines): Remove.
51270 (aux): Remove.
51271 (sources): Remove.
51272 (objects): Remove.
51273 (headers): Remove.
51274
51275 [BZ #13750]
51276 * manual/.gitignore: Remove, it's not needed anymore.
51277 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
51278 all files in it.
51279 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
51280 directory.
51281 (texis): Renamed to $(objpfx)texis.
51282 (texis-path): New, contains path to generated files.
51283 (chapters.%): Use texis-path for complete path, add extra argument
51284 libc-texinfo.sh.
51285 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
51286 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
51287 (summary,texi, stamp-summary): Use complete path of
51288 files. Generate files in build dir.
51289 (dir-add.texi): Build in build dir.
51290 (libm-err.texi,stamp-libm-err): Likewise.
51291 (version.texi, stamp-version): Likewise.
51292 (.%c.texi): Likewise.
51293 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
51294 (mostlyclean): Remove target.
51295 (realclean): Remove target.
51296 (generated): Add new variable with contents from mostlyclean and
51297 realclean, remove entries duplicated in common-mostlyclean, add
51298 stamp-libm-err and stamp-version.
51299 (generated-dirs): Add libc directory.
51300 ($(inst_infodir)/libc.info): Install files from build dir.
51301
51302 * manual/install.texi (Configuring and compiling): Adjust since
51303 the info files are not part of the tar ball anymore.
51304
51305 2012-05-14 Andreas Jaeger <aj@suse.de>
51306
51307 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
51308 variable.
51309
51310 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51311
51312 [BZ #13717]
51313 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
51314 to 2.2.0 where earlier.
51315 * sysdeps/unix/sysv/linux/configure: Regenerated.
51316 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
51317 Remove conditional code.
51318 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
51319 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
51320 Remove conditional code.
51321 [!__NR_lchown]: Likewise.
51322 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51323 [__NR_lchown]: Likewise.
51324 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
51325 comment referencing __ASSUME_LCHOWN_SYSCALL.
51326 * sysdeps/unix/sysv/linux/i386/sigaction.c
51327 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51328 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51329 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
51330 Remove conditional code.
51331 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
51332 (__protocol_available): Remove #if 0 code.
51333 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
51334 conditional code.
51335 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
51336 * sysdeps/unix/sysv/linux/kernel-features.h
51337 (__ASSUME_GETCWD_SYSCALL): Don't define.
51338 (__ASSUME_REALTIME_SIGNALS): Likewise.
51339 (__ASSUME_PREAD_SYSCALL): Likewise.
51340 (__ASSUME_PWRITE_SYSCALL): Likewise.
51341 (__ASSUME_POLL_SYSCALL): Likewise.
51342 (__ASSUME_LCHOWN_SYSCALL): Likewise.
51343 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
51344 non-SPARC.
51345 (__ASSUME_SIOCGIFNAME): Don't define.
51346 (__ASSUME_MSG_NOSIGNAL): Likewise.
51347 (__ASSUME_SENDFILE): Define unconditionally.
51348 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
51349 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
51350 conditional code.
51351 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
51352 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
51353 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51354 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51355 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
51356 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51357 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
51359 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51360 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
51362 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51363 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
51365 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51366 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
51368 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51369 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
51371 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51372 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
51374 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51375 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
51377 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51378 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
51380 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51381 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51382 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
51383 Remove conditional code.
51384 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51385 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51386 Remove conditional code.
51387 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51388 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
51389 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
51390 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51391 Remove conditional code.
51392 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51393 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
51394 Remove conditional code.
51395 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51396 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
51397 Remove conditional code.
51398 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51399 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51400 Remove conditional code.
51401 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51402 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51403 Remove conditional code.
51404 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51405 * sysdeps/unix/sysv/linux/sh/pwrite64.c
51406 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51407 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51408 * sysdeps/unix/sysv/linux/sigaction.c
51409 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51410 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51411 * sysdeps/unix/sysv/linux/sigpending.c
51412 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51413 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51414 * sysdeps/unix/sysv/linux/sigprocmask.c
51415 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51416 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51417 * sysdeps/unix/sysv/linux/sigsuspend.c
51418 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51419 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51420 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51421 (__libc_missing_rt_sigs): Remove.
51422 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
51423 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
51424 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
51425 Remove conditional code.
51426 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
51427 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
51428 return 1.
51429 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
51430 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
51431 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
51432 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
51433
51434 2012-05-14 Andreas Jaeger <aj@suse.de>
51435
51436 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
51437 it's not used in glibc.
51438 (__coshm1): Likewise.
51439 (__acosh1p): Likewise.
51440 (__sgn): Likewise.
51441
51442 * manual/string.texi (Copying and Concatenation): Add missing
51443 variable in concat example.
51444 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
51445
51446 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51447
51448 [BZ #14103]
51449 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
51450 __builtin_clzl with __builtin_clzll.
51451
51452 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51453
51454 [BZ #14104]
51455 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
51456 libc_freeres_ptr.
51457
51458 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51459
51460 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
51461 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
51462 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
51463 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
51464
51465 2012-05-14 Mike Frysinger <vapier@gentoo.org>
51466
51467 * NEWS: Update ia64 info.
51468
51469 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
51470
51471 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
51472 used as bcopy.
51473
51474 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
51475
51476 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
51477 * sysdeps/unix/syscalls.list (dup3): Likewise.
51478 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
51479 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
51480
51481 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51482
51483 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
51484 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
51485
51486 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51487
51488 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
51489 thread pointer.
51490 (TLS_IE): Use mov/add instead of movq/addq to load thread
51491 pointer.
51492 (TLS_GD_PREFIX): New.
51493 (TLS_GD): Use it.
51494
51495 2012-05-11 David S. Miller <davem@davemloft.net>
51496
51497 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
51498 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
51499 (_FPU_SETCW): Likewise.
51500
51501 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51502
51503 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
51504 is 32-byte aligned.
51505
51506 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
51507
51508 [BZ #11837]
51509 * iconvdata/gb18030.c: Update tables.
51510 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
51511 characters specially.
51512 (BODY for TO_LOOP): Add encoding of missing ranges.
51513
51514 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
51515
51516 [BZ #13673]
51517 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
51518 * sysdeps/mach/hurd/dup3.c: Likewise.
51519 * sysdeps/mach/hurd/readlinkat.c: Likewise.
51520 * sysdeps/powerpc/memmove.c:: Likewise.
51521
51522 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51523
51524 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
51525 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
51526
51527 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51528
51529 * elf/elf.h (R_X86_64_RELATIVE64): New.
51530 (R_X86_64_NUM): Updated.
51531 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51532 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
51533 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
51534 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
51535 tst-quad1pie tst-quad2pie
51536 (modules-names): Add tst-quadmod1 tst-quadmod2.
51537 ($(objpfx)tst-quad1): New dependency.
51538 ($(objpfx)tst-quad2): Likewise.
51539 ($(objpfx)tst-quad1pie): Likewise.
51540 ($(objpfx)tst-quad2pie): Likewise.
51541 * sysdeps/x86_64/tst-quad1.c: New file.
51542 * sysdeps/x86_64/tst-quad1pie.c: New file.
51543 * sysdeps/x86_64/tst-quad2.c: Likewise.
51544 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
51545 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
51546 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
51547 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
51548 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
51549
51550 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51551
51552 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
51553 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
51554 * streams/stropts.h (t_scalar_t): Define type.
51555
51556 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
51557 (_PATH_PRESERVE): Set to "/var/lib".
51558 (_PATH_RWHODIR): Set to "/var/spool/rwho".
51559
51560 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
51561 instead of int.
51562
51563 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
51564 if __dir_mkfile succeeded.
51565
51566 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
51567 checking for _hurd_dtablesize. Unlock it right after having
51568 finished _hurd_dtable allocation.
51569
51570 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51571
51572 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
51573 * sysdeps/mach/hurd/configure: Regenerated.
51574 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
51575 special-casing to...
51576 * sysdeps/gnu/configure.in: ... this new file.
51577 * sysdeps/unix/sysv/linux/configure: Regenerated.
51578 * sysdeps/gnu/configure: New generated file.
51579
51580 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
51581 for Linux: use nsec instead of usec, as well as:
51582 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
51583 members of type struct timespec.
51584 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
51585 New macros.
51586 (struct stat64): Likewise.
51587 (_STATBUF_ST_NSEC): New macro.
51588 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
51589
51590 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
51591 __strtoul_internal rather than strtoul.
51592
51593 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51594
51595 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
51596 and reject them.
51597
51598 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51599
51600 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
51601 which preserves existing values.
51602 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
51603
51604 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51605
51606 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
51607 TIMEOUT values. Return EINVAL for NFDS values either negative or
51608 greater than FD_SETSIZE.
51609
51610 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51611
51612 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
51613 allocated, call __vm_protect to finish enabling the existing space, and
51614 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
51615 allocate the remainder.
51616
51617 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51618
51619 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
51620 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
51621
51622 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51623
51624 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
51625 sysdeps/mach/hurd/readlink.c.
51626
51627 * posix/tst-sysconf.c (posix_options): Only use
51628 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
51629 _POSIX_SYNCHRONIZED_IO when they are defined
51630 * sysdeps/mach/hurd/bits/posix_opt.h:
51631 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
51632 (_XOPEN_REALTIME): Undefine macro.
51633 (_XOPEN_REALTIME_THREADS): Undefine macro.
51634 (_XOPEN_SHM): Undefine macro.
51635 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
51636 macro to -1.
51637 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
51638 macro to -1.
51639 (_POSIX_ASYNC_IO): Undefine macro.
51640 (_POSIX_PRIORITIZED_IO): Undefine macro.
51641 (_POSIX_SPIN_LOCKS): Define macro to -1.
51642
51643 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
51644 SA_NODEFER, SA_RESETHAND.
51645 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
51646 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
51647 F_DUPFD_CLOEXEC.
51648
51649 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51650
51651 * elf/Makefile (pldd-modules): Define unconditionally.
51652
51653 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51654
51655 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
51656
51657 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51658
51659 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
51660 Return ENOENT when name is empty.
51661 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
51662
51663 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51664
51665 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
51666
51667 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
51668
51669 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51670
51671 Fix mlock in all cases except non-readable pages.
51672 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
51673 instead of VM_PROT_ALL as parameter to __vm_wire function.
51674
51675 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
51676 (__mkdir): When path is `/', just fail with EEXIST.
51677 * sysdeps/mach/hurd/mkdirat.c: Likewise.
51678
51679 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51680
51681 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
51682 <sys/uio.h> (for writev).
51683 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
51684 and <sys/param.h> (for MIN).
51685
51686 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51687
51688 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
51689 REQUESTED_TIME. Properly set the remaining time and return EINTR
51690 if interrupted.
51691
51692 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51693
51694 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
51695 Depend on against $(link-rpcuserlibs).
51696
51697 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51698
51699 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
51700 (__libc_stack_end): Do not use attribute_relro.
51701 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
51702 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
51703 to libthread-provided value.
51704 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
51705 attribute_relro.
51706
51707 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51708
51709 [BZ #3748]
51710 * bits/libc-lock.h (__libc_once_get): New macro.
51711 * sysdeps/mach/bits/libc-lock.h: Likewise.
51712 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
51713 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
51714 instead of using implementation details.
51715
51716 * libio/fileops.c: Unconditionally include <kernel-features.h>.
51717 * libio/freopen.c: Likewise.
51718 * libio/freopen64.c: Likewise.
51719 * misc/syslog.c: Likewise.
51720 * nscd/connections.c: Likewise.
51721 * nscd/netgroupcache.c: Likewise.
51722 * sysdeps/posix/getcwd.c: Likewise.
51723
51724 2012-05-10 Roland McGrath <roland@hack.frob.com>
51725
51726 * math/w_ilogbf.c: Add #include <limits.h>.
51727
51728 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51729
51730 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
51731 path instead of returning without unlocking.
51732
51733 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
51734 immediate-write ioctls.
51735 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
51736
51737 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51738
51739 * sysdeps/mach/hurd/i386/init-first.c (init): Use
51740 __builtin_frame_address instead of making assumptions about the
51741 location of the return address relative to DATA. Force early load of
51742 the return address.
51743 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
51744 __builtin_frame_address.
51745
51746 dup3 for GNU Hurd.
51747 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
51748 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
51749 implement dup3 and do some further code clean-ups.
51750 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
51751 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
51752
51753 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51754
51755 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
51756
51757 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
51758 HURD_CRITICAL_END around holding _hurd_dtable_lock.
51759 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
51760 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
51761 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
51762 d->port.lock.
51763
51764 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
51765 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
51766 when handler == SIG_ERR, not when handler != SIG_ERR.
51767
51768 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51769
51770 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
51771 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
51772 definitions.
51773
51774 accept4 for GNU Hurd.
51775 * include/sys/socket.h (__libc_accept4): New prototype.
51776 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
51777 to implement __libc_accept4.
51778 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
51779 __libc_accept4.
51780 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
51781
51782 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
51783 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
51784 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
51785 signal-defines.sym.
51786
51787 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51788
51789 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
51790
51791 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51792
51793 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
51794 assertion on O_CLOEXEC flag.
51795 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
51796 * hurd/intern-fd.c: Likewise.
51797 * hurd/port2fd.c: Likewise.
51798
51799 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51800
51801 [BZ #3906]
51802 * bits/in.h (IPV6_PKTINFO): Define new macro.
51803 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
51804
51805 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51806
51807 [BZ #13954]
51808 [BZ #13955]
51809 [BZ #13956]
51810 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
51811 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51812 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
51813 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
51814 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51815 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
51816 * math/libm-test.inc (logb_test) : Additional logb tests.
51817
51818 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
51819 Andreas Jaeger <aj@suse.de>
51820
51821 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
51822 * configure: Regenerated.
51823 * config.h.in (LINK_OBSOLETE_RPC): New macro.
51824 * config.make.in (link-obsolete-rpc): New substituted variable.
51825 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
51826 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
51827 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51828 (shared-only-routines): Don't set it under [link-obsolete-rpc],
51829 so that libc.a contains the symbols.
51830 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51831 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
51832 * sunrpc/auth_none.c: Likewise.
51833 * sunrpc/auth_unix.c: Likewise.
51834 * sunrpc/authdes_prot.c: Likewise.
51835 * sunrpc/authuxprot.c: Likewise.
51836 * sunrpc/clnt_gen.c: Likewise.
51837 * sunrpc/clnt_perr.c: Likewise.
51838 * sunrpc/clnt_raw.c: Likewise.
51839 * sunrpc/clnt_simp.c: Likewise.
51840 * sunrpc/clnt_tcp.c: Likewise.
51841 * sunrpc/clnt_udp.c: Likewise.
51842 * sunrpc/clnt_unix.c: Likewise.
51843 * sunrpc/des_crypt.c: Likewise.
51844 * sunrpc/des_soft.c: Likewise.
51845 * sunrpc/get_myaddr.c: Likewise.
51846 * sunrpc/key_call.c: Likewise.
51847 * sunrpc/key_prot.c: Likewise.
51848 * sunrpc/netname.c: Likewise.
51849 * sunrpc/pm_getmaps.c: Likewise.
51850 * sunrpc/pm_getport.c: Likewise.
51851 * sunrpc/pmap_clnt.c: Likewise.
51852 * sunrpc/pmap_prot.c: Likewise.
51853 * sunrpc/pmap_prot2.c: Likewise.
51854 * sunrpc/pmap_rmt.c: Likewise.
51855 * sunrpc/publickey.c: Likewise.
51856 * sunrpc/rpc_cmsg.c: Likewise.
51857 * sunrpc/rpc_common.c: Likewise.
51858 * sunrpc/rpc_dtable.c: Likewise.
51859 * sunrpc/rpc_prot.c: Likewise.
51860 * sunrpc/rpc_thread.c: Likewise.
51861 * sunrpc/rtime.c: Likewise.
51862 * sunrpc/svc.c: Likewise.
51863 * sunrpc/svc_auth.c: Likewise.
51864 * sunrpc/svc_raw.c: Likewise.
51865 * sunrpc/svc_run.c: Likewise.
51866 * sunrpc/svc_tcp.c: Likewise.
51867 * sunrpc/svc_udp.c: Likewise.
51868 * sunrpc/svc_unix.c: Likewise.
51869 * sunrpc/svcauth_des.c: Likewise.
51870 * sunrpc/xcrypt.c: Likewise.
51871 * sunrpc/xdr.c: Likewise.
51872 * sunrpc/xdr_array.c: Likewise.
51873 * sunrpc/xdr_float.c: Likewise.
51874 * sunrpc/xdr_intXX_t.c: Likewise.
51875 * sunrpc/xdr_mem.c: Likewise.
51876 * sunrpc/xdr_rec.c: Likewise.
51877 * sunrpc/xdr_ref.c: Likewise.
51878 * sunrpc/xdr_sizeof.c: Likewise.
51879 * sunrpc/xdr_stdio.c: Likewise.
51880
51881 2012-05-10 Roland McGrath <roland@hack.frob.com>
51882
51883 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
51884 change. Update copyright years.
51885
51886 2012-05-10 Joseph Myers <joseph@codesourcery.com>
51887
51888 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
51889
51890 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
51891 Joseph Myers <joseph@codesourcery.com>
51892 Paul Pluzhnikov <ppluzhnikov@google.com>
51893
51894 [BZ #14012]
51895 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
51896 requiring rpcgen.
51897 [cross-compiling] (extra-libs): Likewise.
51898 [cross-compiling] (extra-libs-others): Likewise.
51899 [cross-compiling] (librpcsvc-routines): Likewise.
51900 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
51901 [cross-compiling] (omit-deps): Likewise.
51902 (sunrpc-CPPFLAGS): New variable.
51903 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
51904 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
51905 (cross-rpcgen-objs): New variable.
51906 (extra-objs): Append $(cross-rpcgen-objs).
51907 ($(cross-rpcgen-objs)): New rule.
51908 ($(objpfx)cross-rpcgen): Likewise.
51909 (rpcgen-cmd): Define to use $(built-program-file). Expand
51910 comment.
51911 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
51912 ($(objpfx)x%.stmp): Likewise.
51913 * sunrpc/proto.h [IS_IN_build] (_): Define.
51914 [IS_IN_build] (_libc_intl_domainname): Likewise.
51915
51916 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51917
51918 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
51919 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
51920 and R_X86_64_TPOFF64.
51921
51922 2012-05-10 Joseph Myers <joseph@codesourcery.com>
51923
51924 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
51925 sysdeps/unix/sysv/syscalls.list.
51926 (stime): Likewise.
51927 (utime): Likewise.
51928 * sysdeps/unix/sysv/syscalls.list: Remove file.
51929
51930 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
51931
51932 [BZ #3440]
51933 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
51934 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
51935 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
51936 (__LC_IDENTIFICATION): Make these macros useful in #if
51937 expressions, as required by C99.
51938
51939 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
51940
51941 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
51942 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
51943 after this.
51944
51945 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
51946
51947 * stdlib/longlong.h: Updated from GCC.
51948
51949 2012-05-09 Andreas Jaeger <aj@suse.de>
51950
51951 * nscd/nscd.c (run_modes): Make named enum, reorder so that
51952 default is first entry.
51953 (run_mode): Set type.
51954 (main): Remove informal message about syslog.
51955 (options): Fix typo.
51956
51957 [BZ #14053]
51958 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
51959 to asm.
51960 (lrint): Likewise.
51961 (llrintf): Likewise.
51962 (llrint): Likewise.
51963 (rint): Likewise.
51964 (rintf): Likewise.
51965 (nearbyint): Likewise.
51966 (nearbyintf): Likewise.
51967
51968 2012-05-09 Andreas Jaeger <aj@suse.de>
51969 Pedro Alves <palves@redhat.com>
51970
51971 * nscd/nscd.c (run_mode): Use enum.
51972 (main): Cleanup coding style issue.
51973
51974 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
51975 Andreas Jaeger <aj@suse.de>
51976
51977 * nscd/nscd.c (go_background): Replaced with...
51978 (run_mode): ... this.
51979 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
51980 (options): Add -F --foreground.
51981 (main): Implement it.
51982 (parse_opt): Parse it.
51983
51984 2012-05-09 Andreas Jaeger <aj@suse.de>
51985
51986 [BZ #14083]
51987 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
51988 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
51989 -Wconversion warning.
51990 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
51991 Likewise.
51992
51993 2012-05-09 Joseph Myers <joseph@codesourcery.com>
51994
51995 * conform/data/locale.h-data (NULL): Use macro-constant. Require
51996 == 0.
51997 (LC_ALL): Use macro-int-constant.
51998 (LC_COLLATE): Likewise.
51999 (LC_CTYPE): Likewise.
52000 (LC_MESSAGES): Likewise.
52001 (LC_MONETARY): Likewise.
52002 (LC_NUMERIC): Likewise.
52003 (LC_TIME): Likewise.
52004 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
52005 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52006 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52007 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
52008 Specify type.
52009 [C99-based standards] (float_t): Expect type.
52010 [C99-based standards] (double_t): Expect type.
52011 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
52012 type.
52013 [C99-based standards] (HUGE_VALL): Likewise.
52014 [C99-based standards] (INFINITY): Likewise.
52015 [C99-based standards] (NAN): Likewise.
52016 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
52017 [C99-based standards] (FP_NAN): Likewise.
52018 [C99-based standards] (FP_NORMAL): Likewise.
52019 [C99-based standards] (FP_SUBNORMAL): Likewise.
52020 [C99-based standards] (FP_ZERO): Likewise.
52021 [C99-based standards] (FP_FAST_FMA): Use
52022 optional-macro-int-constant. Specify type. Require == 1.
52023 [C99-based standards] (FP_FAST_FMAF): Likewise.
52024 [C99-based standards] (FP_FAST_FMAL): Likewise.
52025 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
52026 [C99-based standards] (FP_ILOGBNAN): Likewise.
52027 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
52028 Specify type.
52029 [C99-based standards] (MATH_ERREXCEPT): Likewise.
52030 [C99-based standards] (math_errhandling): Specify type.
52031 [ISO99 || ISO11] (signgam): Do not allow.
52032 [non-C99-based standards] (copysignf): Do not allow.
52033 [non-C99-based standards] (exp2f): Likewise.
52034 [non-C99-based standards] (log2f): Likewise.
52035 [non-C99-based standards] (modff): Allow.
52036 [non-C99-based standards] (erff): Do not allow.
52037 [non-C99-based standards] (erfcf): Likewise.
52038 [non-C99-based standards] (gammaf): Likewise.
52039 [non-C99-based standards] (hypotf): Likewise.
52040 [non-C99-based standards] (j0f): Likewise.
52041 [non-C99-based standards] (j1f): Likewise.
52042 [non-C99-based standards] (jnf): Likewise.
52043 [non-C99-based standards] (lgammaf): Likewise.
52044 [non-C99-based standards] (tgammaf): Likewise.
52045 [non-C99-based standards] (y0f): Likewise.
52046 [non-C99-based standards] (y1f): Likewise.
52047 [non-C99-based standards] (ynf): Likewise.
52048 [non-C99-based standards] (isnanf): Likewise.
52049 [non-C99-based standards] (acoshf): Likewise.
52050 [non-C99-based standards] (asinhf): Likewise.
52051 [non-C99-based standards] (atanhf): Likewise.
52052 [non-C99-based standards] (cbrtf): Likewise.
52053 [non-C99-based standards] (expm1f): Likewise.
52054 [non-C99-based standards] (ilogbf): Likewise.
52055 [non-C99-based standards] (log1pf): Likewise.
52056 [non-C99-based standards] (logbf): Likewise.
52057 [non-C99-based standards] (nextafterf): Likewise.
52058 [non-C99-based standards] (remainderf): Likewise.
52059 [non-C99-based standards] (rintf): Likewise.
52060 [non-C99-based standards] (scalbf): Likewise.
52061 [non-C99-based standards] (copysignl): Likewise.
52062 [non-C99-based standards] (exp2l): Likewise.
52063 [non-C99-based standards] (log2l): Likewise.
52064 [non-C99-based standards] (modfl): Allow.
52065 [non-C99-based standards] (erfl): Do not allow.
52066 [non-C99-based standards] (erfcl): Likewise.
52067 [non-C99-based standards] (gammal): Likewise.
52068 [non-C99-based standards] (hypotl): Likewise.
52069 [non-C99-based standards] (j0l): Likewise.
52070 [non-C99-based standards] (j1l): Likewise.
52071 [non-C99-based standards] (jnl): Likewise.
52072 [non-C99-based standards] (lgammal): Likewise.
52073 [non-C99-based standards] (tgammal): Likewise.
52074 [non-C99-based standards] (y0l): Likewise.
52075 [non-C99-based standards] (y1l): Likewise.
52076 [non-C99-based standards] (ynl): Likewise.
52077 [non-C99-based standards] (isnanl): Likewise.
52078 [non-C99-based standards] (acoshl): Likewise.
52079 [non-C99-based standards] (asinhl): Likewise.
52080 [non-C99-based standards] (atanhl): Likewise.
52081 [non-C99-based standards] (cbrtl): Likewise.
52082 [non-C99-based standards] (expm1l): Likewise.
52083 [non-C99-based standards] (ilogbl): Likewise.
52084 [non-C99-based standards] (log1pl): Likewise.
52085 [non-C99-based standards] (logbl): Likewise.
52086 [non-C99-based standards] (nextafterl): Likewise.
52087 [non-C99-based standards] (remainderl): Likewise.
52088 [non-C99-based standards] (rintl): Likewise.
52089 [non-C99-based standards] (scalbl): Likewise.
52090 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52091 [non-C99-based standards] (FP_*): Do not allow.
52092 [C99-based standards] (FP_*): Change to
52093 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52094 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52095 allow.
52096 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
52097 (SIG_ERR): Likewise.
52098 [X/Open-based standards] (SIG_HOLD): Likewise.
52099 (SIG_IGN): Likewise.
52100 (SIGABRT): Use macro-int-constant. Specify type. Require
52101 positive value.
52102 (SIGFPE): Likewise.
52103 (SIGILL): Likewise.
52104 (SIGINT): Likewise.
52105 (SIGSEGV): Likewise.
52106 (SIGTER): Likewise.
52107 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
52108 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
52109 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
52110 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
52111 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
52112 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
52113 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
52114 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
52115 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
52116 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
52117 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
52118 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
52119 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
52120 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
52121 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
52122 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
52123 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
52124 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
52125 [X/Open-based standards] (SIGTRAP): Likewise.
52126 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
52127 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
52128 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
52129 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
52130 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52131 allow.
52132
52133 2012-05-08 Ian Wienand <ianw@vmware.com>
52134
52135 [BZ #14080]
52136 * time/tzset.c (__tzset_parse_tz): Update default rules for
52137 daylight time changes in the Energy Policy Act of 2005.
52138
52139 2012-05-09 Andreas Jaeger <aj@suse.de>
52140
52141 [BZ #13983]
52142 * elf/ldconfig.c (parse_conf): Change string to make clear that
52143 ldconfig only issued a warning if ld.so.conf does not exist.
52144
52145 2012-05-08 David S. Miller <davem@davemloft.net>
52146
52147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
52148 movxtod instead of popping the value on the stack.
52149
52150 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52151
52152 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
52153
52154 * config.h.in: Add HAVE_ARM_PCS_VFP.
52155
52156 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
52157
52158 [BZ #13979]
52159 * include/features.h: Warn if user requests __FORTIFY_SOURCE
52160 checking but the checks are disabled for any reason.
52161
52162 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
52163
52164 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
52165 and ELF64_R_TYPE with ELFW(R_TYPE).
52166
52167 2012-05-08 Joseph Myers <joseph@codesourcery.com>
52168
52169 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
52170 (ulimit): Likewise.
52171
52172 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
52173 (settimeofday): Likewise.
52174
52175 2012-05-08 Mike Frysinger <vapier@gentoo.org>
52176
52177 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
52178 a struct th_u2 inside the union, and move tu_block/tu_code into
52179 a new th_u3 union of tu_block/tu_code inside of that. Move
52180 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
52181 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
52182 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
52183 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
52184 (th_stuff): Change to th_u1.tu_stuff.
52185 (th_data): Define.
52186 (th_msg): Change to th_u1.th_u2.tu_data.
52187
52188 2012-05-07 David S. Miller <davem@davemloft.net>
52189
52190 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52191
52192 [BZ #14074]
52193 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
52194 (SETUP_PIC_REG): Use it.
52195 (SETUP_PIC_REG_LEAF): Use it.
52196
52197 2012-05-07 Joseph Myers <joseph@codesourcery.com>
52198
52199 [BZ #13885]
52200 [BZ #13923]
52201 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52202 USE_AS_EXPM1L.
52203 (EXPL_FINITE): Likewise.
52204 (FLDLOG): Likewise.
52205 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52206 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52207 e_expl.S.
52208 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52209 USE_AS_EXPM1L.
52210 (EXPL_FINITE): Likewise.
52211 (FLDLOG): Likewise.
52212 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52213 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52214 e_expl.S.
52215 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
52216 test of -max_value argument for long double.
52217 * sysdeps/i386/fpu/libm-test-ulps: Update.
52218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52219
52220 2012-05-06 David S. Miller <davem@davemloft.net>
52221
52222 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
52223 quad soft-float symbols whose references which are compiler
52224 generated.
52225 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52226
52227 2012-05-06 Joseph Myers <joseph@codesourcery.com>
52228
52229 [BZ #13884]
52230 [BZ #13914]
52231 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52232 USE_AS_EXP10L.
52233 (EXPL_FINITE): Likewise.
52234 (FLDLOG): Likewise.
52235 (c0): Likewise.
52236 (c1): Likewise.
52237 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52238 Adjust comments for base varying.
52239 (__expl_finite): Change alias to EXPL_FINITE.
52240 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
52241 e_expl.S.
52242 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
52243 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
52244 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52245 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
52246 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52247 USE_AS_EXP10L.
52248 (EXPL_FINITE): Likewise.
52249 (FLDLOG): Likewise.
52250 (c0): Likewise.
52251 (c1): Likewise.
52252 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52253 Adjust comments for base varying.
52254 (__expl_finite): Change alias to EXPL_FINITE.
52255 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
52256 tests for bugs.
52257 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52258
52259 [BZ #14064]
52260 * math/libm-test.inc (check_float_internal): Correct ulp
52261 calculation for subnormal expected results.
52262
52263 2012-05-06 Andreas Jaeger <aj@suse.de>
52264
52265 * Makeconfig (+math-flags): New, set to -frounding-math.
52266 (+cflags): Add +math-flags so that all of glibc gets compiled with
52267 it.
52268
52269 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
52270
52271 2012-05-05 Joseph Myers <joseph@codesourcery.com>
52272
52273 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
52274 Disable one test.
52275
52276 [BZ #13787]
52277 [BZ #13922]
52278 [BZ #14036]
52279 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
52280 (__ieee754_expl): Allow for and saturate large arguments.
52281 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
52282 (u_threshold): Likewise.
52283 (__exp): Call __ieee754_exp before checking for overflow and
52284 underflow.
52285 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
52286 (u_threshold): Likewise.
52287 (__expf): Call __ieee754_expf before checking for overflow and
52288 underflow.
52289 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
52290 (u_threshold): Likewise.
52291 (__expl): Call __ieee754_expl before checking for overflow and
52292 underflow.
52293 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
52294 (__ieee754_expl): Allow for and saturate large arguments.
52295 * math/libm-test.inc (exp_test): Add another test. Do not allow
52296 missing overflow exception on overflow.
52297 (expm1_test): Do not allow missing overflow exception on overflow.
52298
52299 * sysdeps/i386/fpu/e_expl.c: Move to ...
52300 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
52301 rather than using inline asm.
52302 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
52303 * sysdeps/x86_64/fpu/e_expl.S: Copy from
52304 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
52305
52306 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
52307 (nice): Likewise.
52308 (poll): Likewise.
52309 (signal): Likewise.
52310 (time): Likewise.
52311 (times): Likewise.
52312
52313 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52314
52315 * sysdeps/unix/syscalls.list (adjtime): Add entry from
52316 sysdeps/unix/common/syscalls.list.
52317 (fchmod): Likewise.
52318 (fchown): Likewise.
52319 (ftruncate): Likewise.
52320 (getrusage): Likewise.
52321 (gettimeofday): Likewise.
52322 (setpgid): Likewise.
52323 (setregid): Likewise.
52324 (setreuid): Likewise.
52325 (sigaction): Likewise.
52326 (truncate): Likewise.
52327 (vhangup): Likewise.
52328 * sysdeps/unix/common/syscalls.list: Remove file.
52329 * sysdeps/unix/bsd/Implies: Don't include unix/common.
52330 * sysdeps/unix/sysv/linux/Implies: Likewise.
52331
52332 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
52333
52334 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
52335 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
52336 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
52337 Moved to ...
52338 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52339 Here.
52340 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
52341 to ...
52342 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
52343 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
52344 to ...
52345 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
52346 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
52347 to ...
52348 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
52349 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
52350 to ...
52351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
52352 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
52353 to ...
52354 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
52355 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
52356 to ...
52357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
52358 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
52359 to ...
52360 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
52361 Here.
52362 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
52363 to ...
52364 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
52365 Here.
52366 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
52367 to ...
52368 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
52369 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
52370 Moved to ...
52371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
52372 Here.
52373 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
52374 to ...
52375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
52376
52377 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52378
52379 * sysdeps/unix/common/bits/dirent.h: Remove file.
52380 * sysdeps/unix/common/bits/fcntl.h: Likewise.
52381
52382 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
52383 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
52384 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
52385 * sysdeps/unix/bsd/isatty.c: Likewise.
52386 * sysdeps/unix/bsd/tcdrain.c: Likewise.
52387 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
52388 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
52389
52390 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52391
52392 [BZ #13563]
52393 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
52394 long double comparison inaccuracies.
52395 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52397
52398 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
52399
52400 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
52401 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
52402
52403 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52404
52405 [BZ #14049]
52406 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
52407 nonzero digits before rounding a hex value.
52408 * stdlib/tst-strtod.c (tests): Add another test.
52409
52410 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52411
52412 * sysdeps/s390/fpu/libm-test-ulps: Update.
52413
52414 2012-05-03 Andreas Jaeger <aj@suse.de>
52415
52416 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
52417 does not get optimized out.
52418 (malloc_opt_barrier): New.
52419
52420 2012-05-03 Andreas Jaeger <aj@suse.de>
52421 Roland McGrath <roland@hack.frob.com>
52422
52423 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
52424 intermediate file deletion.
52425 (generated): Add .symlist files.
52426
52427 2012-05-03 Joseph Myers <joseph@codesourcery.com>
52428
52429 [BZ #13775]
52430 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
52431 Redirect under this condition.
52432 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52433 [__USE_GNU] (__dprintf_chk): Not under this condition.
52434 [__USE_GNU] (__vdprintf_chk): Likewise.
52435 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
52436 under this condition.
52437 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52438 [__USE_XOPEN2K8] (dprintf): Define under this condition.
52439 [__USE_XOPEN2K8] (vdprintf): Likewise.
52440 [__USE_GNU] (__dprintf_chk): Not under this condition.
52441 [__USE_GNU] (__vdprintf_chk): Likewise.
52442 [__USE_GNU] (dprintf): Likewise.
52443 [__USE_GNU] (vdprintf): Likewise.
52444
52445 2012-05-03 Roland McGrath <roland@hack.frob.com>
52446
52447 * elf/Makefile (common-generated): Set this instead of generated for
52448 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
52449 $(all-built-dso)-derived lists.
52450
52451 2012-05-03 Andreas Jaeger <aj@suse.de>
52452
52453 * sysdeps/i386/fpu/libm-test-ulps: Update.
52454
52455 * FAQ: Removed.
52456 * FAQ.in: Likewise.
52457 * scripts/gen-FAQ.pl: Likewise.
52458 * manual/install.texi (Installation): Point to online location of
52459 FAQ.
52460 * Makefile (files-for-dist): Remove FAQ.
52461 (FAQ): Remove.
52462
52463 2012-05-02 Allan McRae <allan@archlinux.org>
52464
52465 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
52466 (LDFLAGS-reldepmod5.so): Likewise.
52467 (LDFLAGS-reldep6mod1.so): Likewise.
52468 (LDFLAGS-reldep6mod4.so): Likewise.
52469 (LDFLAGS-reldep8mod3.so): Likewise.
52470 (LDFLAGS-unload4mod1.so): Likewise.
52471 (LDFLAGS-unload4mod2.so): Likewise.
52472 (LDFLAGS-tst-initorder): Likewise.
52473 (LDFLAGS-tst-initordera2.so): Likewise.
52474 (LDFLAGS-tst-initordera3.so): Likewise.
52475 (LDFLAGS-tst-initordera4.so): Likewise.
52476 (LDFLAGS-tst-initorderb2.so): Likewise.
52477 (LDFLAGS-noload): Likewise.
52478 (LDFLAGS-next): Likewise.
52479 (LDFLAGS-order2mod1.so): Likewise.
52480 (LDFLAGS-order2mod2.so): Likewise.
52481 (LDFLAGS-tst-initorder2): Likewise.
52482 (LDFLAGS-tst-initorder2a.so): Likewise.
52483 (LDFLAGS-tst-initorder2b.so): Likewise.
52484 (LDFLAGS-tst-initorder2c.so): Likewise.
52485 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
52486
52487 2012-05-02 David S. Miller <davem@davemloft.net>
52488
52489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52490
52491 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
52492
52493 [BZ #14055]
52494 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
52495
52496 2012-05-02 Andreas Jaeger <aj@suse.de>
52497
52498 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
52499 since we manipulate rounding mode.
52500 (CPPFLAGS-test-idouble.c): Likewise.
52501 (CPPFLAGS-test-ifloat.c): Likewise.
52502 (CFLAGS-test-ldouble.c): Likewise.
52503 (CFLAGS-test-double.c): Likewise.
52504 (CFLAGS-test-float.c): Likewise.
52505 (CFLAGS-test-misc.c): Likewise.
52506 (CFLAGS-test-test-fenv.c): Likewise.
52507
52508 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52509
52510 [BZ #2550]
52511 [BZ #2570]
52512 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
52513 comparisons to determine direction to adjust input.
52514
52515 2012-05-01 Roland McGrath <roland@hack.frob.com>
52516
52517 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
52518 output to the target.
52519
52520 * scripts/localplt.awk: New file.
52521 * elf/Makefile ($(objpfx)check-localplt): Target removed.
52522 (check-localplt-CFLAGS): Variable removed.
52523 ($(all-built-dso:=.jmprel)): New static pattern rule.
52524 (generated): Add those targets.
52525 (localplt-built-dso): New variable.
52526 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
52527
52528 * elf/check-localplt.c: File removed.
52529
52530 * scripts/check-execstack.awk: New file.
52531 * elf/Makefile ($(objpfx)check-execstack): Target removed.
52532 (check-execstack-CFLAGS): Variable removed.
52533 ($(objpfx)check-execstack.h): Target removed.
52534 ($(objpfx)execstack-default): New target.
52535 (generated): Add that instead of check-execstack.h.
52536 ($(all-built-dso:=.phdr)): New static pattern rule.
52537 (generated): Add those targets.
52538 * elf/check-execstack.c: File removed.
52539
52540 * scripts/check-textrel.awk: New file.
52541 * elf/Makefile ($(objpfx)check-textrel): Target removed.
52542 (check-textrel-CFLAGS): Variable removed.
52543 (all-built-dso): Use := to define.o
52544 ($(all-built-dso:=.dyn)): New static pattern rule.
52545 (generated): Add those targets.
52546 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
52547 * config.make.in (READELF): New substituted variable.
52548 * elf/check-textrel.c: File removed.
52549
52550 2012-05-01 Joseph Myers <joseph@codesourcery.com>
52551
52552 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52553 allow.
52554 * conform/data/ctype.h-data [C99-based standards] (isblank):
52555 Expect function.
52556 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
52557 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
52558 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52559 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
52560 Specify type. Require positive value.
52561 (EILSEQ): Likewise.
52562 (ERANGE): Likewise.
52563 [ISO || POSIX] (EILSEQ): Do not expect.
52564 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
52565 Specify type. Require positive value.
52566 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
52567 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
52568 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
52569 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
52570 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
52571 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
52572 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
52573 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
52574 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
52575 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
52576 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
52577 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
52578 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
52579 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
52580 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
52581 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
52582 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
52583 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
52584 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
52585 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
52586 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
52587 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
52588 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
52589 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
52590 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
52591 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
52592 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
52593 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
52594 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
52595 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
52596 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
52597 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
52598 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
52599 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
52600 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
52601 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
52602 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
52603 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
52604 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
52605 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
52606 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
52607 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
52608 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
52609 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
52610 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
52611 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
52612 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
52613 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
52614 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
52615 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
52616 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
52617 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
52618 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
52619 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
52620 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
52621 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
52622 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
52623 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
52624 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
52625 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
52626 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
52627 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
52628 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
52629 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
52630 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
52631 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
52632 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
52633 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
52634 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
52635 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
52636 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
52637 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
52638 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
52639 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
52640 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
52641 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
52642 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
52643 Require >= 2.
52644 (FLT_ROUNDS): Expect as macro, not constant.
52645 (FLT_MANT_DIG): Use macro-int-constant.
52646 (DBL_MANT_DIG): Likewise.
52647 (LDBL_MANT_DIG): Likewise.
52648 (FLT_DIG): Likewise.
52649 (DBL_DIG): Likewise.
52650 (LDBL_DIG): Likewise.
52651 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
52652 (DBL_MIN_EXP): Likewise.
52653 (LDBL_MIN_EXP): Likewise.
52654 (FLT_MAX_EXP): Use macro-int-constant.
52655 (DBL_MAX_EXP): Likewise.
52656 (LDBL_MAX_EXP): Likewise.
52657 (FLT_MAX_10_EXP): Likewise.
52658 (DBL_MAX_10_EXP): Likewise.
52659 (LDBL_MAX_10_EXP): Likewise.
52660 (FLT_MAX): Use macro-constant.
52661 (DBL_MAX): Likewise.
52662 (LDBL_MAX): Likewise.
52663 (FLT_EPSILON): Use macro-constant. Give upper bound.
52664 (DBL_EPSILON): Likewise.
52665 (LDBL_EPSILON): Likewise.
52666 (FLT_MIN): Likewise.
52667 (DBL_MIN): Likewise.
52668 (LDBL_MIN): Likewise.
52669 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
52670 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
52671 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
52672 [ISO11] (FLT_HAS_SUBNORM): Likewise.
52673 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
52674 [ISO11] (DBL_DECIMAL_DIG): Likewise.
52675 [ISO11] (FLT_DECIMAL_DIG): Likewise.
52676 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
52677 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
52678 [ISO11] (FLT_TRUE_MIN): Likewise.
52679 [ISO11] (LDBL_TRUE_MIN): Likewise.
52680 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52681 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
52682 (SCHAR_MIN): Use macro-int-constant. Specify type.
52683 (SCHAR_MAX): Likewise.
52684 (UCHAR_MAX): Likewise.
52685 (CHAR_MIN): Likewise.
52686 (CHAR_MAX): Likewise.
52687 (MB_LEN_MAX): Use macro-int-constant.
52688 (SHRT_MIN): Use macro-int-constant. Specify type.
52689 (SHRT_MAX): Likewise.
52690 (USHRT_MAX): Likewise.
52691 (INT_MAX): Likewise.
52692 (INT_MIN): Use macro-int-constant. Specify type. Make upper
52693 bound negative.
52694 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
52695 bound with "U".
52696 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52697 bound with "L".
52698 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
52699 bound negative. Suffix upper bound with "L".
52700 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52701 bound with "UL".
52702 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
52703 Specify type.
52704 [C99-based standards] (LLONG_MAX): Likewise.
52705 [C99-based standards] (ULLONG_MAX): Likewise.
52706 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
52707 == 0.
52708 [ISO11] (max_align_t): Require type.
52709 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52710
52711 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
52712 from $CFLAGS, without defining away __attribute__ calls.
52713 (checknamespace): Use $CFLAGS_namespace.
52714
52715 * conform/conformtest.pl (@keywords): Only include C99 keywords
52716 for standards based on C99 or C11.
52717
52718 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
52719 Disable tests.
52720 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
52721 UNIX98]: Likewise.
52722
52723 * conform/conformtest.pl: Handle "macro-int-constant" and test for
52724 usability of symbols in #if.
52725
52726 * conform/conformtest.pl: If macro or constant types start
52727 "promoted:", expect the symbol to be of the following type
52728 promoted by the integer promotions.
52729
52730 * conform/conformtest.pl: Parse all "constant" and "macro" lines
52731 in one place. Also handle "macro-constant".
52732
52733 * conform/conformtest.pl: Only accept expected macro values with
52734 "==". Parse all "macro" lines in one place.
52735 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
52736
52737 * conform/conformtest.pl: Handle braced types on "constant" lines
52738 instead of handling "typed-constant".
52739 * conform/data/signal.h-data: Use "constant" instead of
52740 "typed-constant".
52741
52742 * conform/conformtest.pl: Handle "optional-" at start of lines in
52743 one place rather than duplicating several cases. Handle each
52744 format of "macro" line with initial "optional-".
52745
52746 * conform/conformtest.pl: Only accept expected constant or
52747 optional-constant values with "==". Parse all "constant" lines in
52748 one place. Parse all "optional-constant" lines in one place.
52749 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
52750 * conform/data/fmtmsg.h-data: Likewise.
52751 * conform/data/netinet/in.h-data: Likewise.
52752 * conform/data/tar.h-data: Likewise.
52753 * conform/data/limits.h-data: Use "==" form on "constant" and
52754 "optional-constant" lines.
52755
52756 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
52757 Use -std=c99 for XOPEN2K.
52758 (@knownproblems): Remove.
52759 (newtoken): Don't check %isknown.
52760
52761 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
52762 Do not expect macro.
52763 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
52764 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
52765 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
52766 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
52767 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
52768 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
52769 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
52770 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
52771 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
52772 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
52773 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
52774 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
52775 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
52776 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
52777 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
52778 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
52779 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
52780 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
52781 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
52782 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
52783 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
52784 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
52785 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
52786 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
52787 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
52788 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
52789 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
52790 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
52791 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
52792 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
52793 [XPG3] (acosh): Likewise.
52794 [XPG3] (asinh): Likewise.
52795 [XPG3] (atanh): Likewise.
52796 [XPG3] (cbrt): Likewise.
52797 [XPG3] (expm1): Likewise.
52798 [XPG3] (ilogb): Likewise.
52799 [XPG3] (log1p): Likewise.
52800 [XPG3] (logb): Likewise.
52801 [XPG3] (nextafter): Likewise.
52802 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
52803 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
52804 [XPG3] (remainder): Likewise.
52805 [XPG3] (rint): Likewise.
52806 [XPG3 || XPG4 || UNIX98] (round): Likewise.
52807 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
52808 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
52809 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
52810 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
52811 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
52812 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
52813 [UNIX98 || XOPEN2K] (scalb): Expect.
52814 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
52815 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
52816 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
52817 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
52818 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
52819 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
52820 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
52821 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
52822 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
52823 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
52824 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
52825 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
52826 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
52827 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
52828 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
52829 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
52830 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
52831 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
52832 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
52833 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
52834 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
52835 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
52836 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
52837 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
52838 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
52839 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
52840 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
52841 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
52842 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
52843 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
52844 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
52845 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
52846 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
52847 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
52848 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
52849 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
52850 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
52851 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
52852 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
52853 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
52854 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
52855 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
52856 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
52857 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
52858 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
52859 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
52860 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
52861 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
52862 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
52863 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
52864 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
52865 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
52866 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
52867 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
52868 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
52869 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
52870 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
52871 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
52872 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
52873 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
52874 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
52875 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
52876 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
52877 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
52878 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
52879 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
52880 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
52881 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
52882 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
52883 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
52884 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
52885 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
52886 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
52887 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
52888 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
52889 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
52890 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
52891 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
52892 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
52893 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
52894 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
52895 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
52896 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
52897 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
52898 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
52899 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
52900 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
52901 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
52902 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
52903 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
52904 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
52905 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
52906 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
52907 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
52908 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
52909 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
52910 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
52911 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
52912 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
52913 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
52914 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
52915 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
52916 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
52917 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
52918 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
52919 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
52920 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
52921 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
52922 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
52923 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
52924 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
52925 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
52926 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
52927 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
52928 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
52929 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
52930 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
52931 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
52932 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
52933 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
52934 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
52935 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
52936 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
52937 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
52938 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
52939 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
52940 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
52941 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
52942 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
52943 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
52944 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
52945 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
52946 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
52947 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
52948 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
52949 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
52950 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
52951
52952 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
52953 _XOPEN_SOURCE_EXTENDED for XPG4.
52954
52955 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
52956
52957 * Makeconfig (localtime): Remove variable.
52958 (inst_localtime-file): Likewise.
52959
52960 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
52961
52962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
52963 Update.
52964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52965 Update.
52966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
52967 Update.
52968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
52969 Update.
52970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
52971 Update.
52972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
52973 Update.
52974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52975 Update.
52976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
52977 Update.
52978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52979 Update.
52980
52981 2012-05-01 Joseph Myers <joseph@codesourcery.com>
52982
52983 [BZ #2550]
52984 [BZ #2570]
52985 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
52986 comparisons to determine direction to adjust input.
52987 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
52988 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
52989 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
52990 Likewise.
52991 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
52992 Likewise.
52993 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52994 Likewise.
52995 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
52996 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
52997 Likewise.
52998 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
52999 Likewise.
53000 * math/libm-test.inc (nexttoward_test): Add more tests.
53001
53002 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
53003
53004 [BZ #14040]
53005 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
53006 in version GLIBC_2.1, not GLIBC_2.0.
53007 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
53008 Likewise.
53009
53010 2012-04-30 Joseph Myers <joseph@codesourcery.com>
53011
53012 [BZ #13942]
53013 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
53014 (1 - x) * (1 + x).
53015 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53016 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
53017 * math/libm-test.inc (acos_test): Add more tests.
53018 (asin_test): Likewise.
53019 * sysdeps/i386/fpu/libm-test-ulps: Update.
53020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53021
53022 [BZ #14034]
53023 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
53024 of square root.
53025 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
53026 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53027 * math/libm-test.inc (acos_test_tonearest): New function.
53028 (acos_test_towardzero): Likewise.
53029 (acos_test_downward): Likewise.
53030 (acos_test_upward): Likewise.
53031 (asin_test_tonearest): Likewise.
53032 (asin_test_towardzero): Likewise.
53033 (asin_test_downward): Likewise.
53034 (asin_test_upward): Likewise.
53035 (main): Call the new functions.
53036 * sysdeps/i386/fpu/libm-test-ulps: Update.
53037 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53038
53039 [BZ #13884]
53040 [BZ #13924]
53041 * math/e_exp10.c: Include <float.h>.
53042 (__ieee754_exp10): Handle underflow here rather than multiplying
53043 large negative argument by M_LN10.
53044 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
53045 of __ieee754_expf.
53046 * math/e_exp10l.c: Include <float.h>.
53047 (__ieee754_exp10l): Handle underflow here rather than multiplying
53048 large negative argument by M_LN10l.
53049 * math/libm-test.inc (exp10_test): Add another test. Do not allow
53050 spurious overflow exception on underflow.
53051
53052 2012-04-29 Marek Polacek <polacek@redhat.com>
53053
53054 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
53055 (__fortify_function): New macro.
53056 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
53057 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
53058 __extern_always_inline.
53059 * libio/bits/stdio2.h: Likewise.
53060 * libio/bits/stdio.h: Likewise.
53061 * string/string.h: Likewise.
53062 * string/bits/string3.h: Likewise.
53063 * include/stdio.h: Likewise.
53064 * stdlib/bits/stdlib.h: Likewise.
53065 * stdlib/stdlib.h: Likewise.
53066 * rt/bits/mqueue2.h: Likewise.
53067 * rt/mqueue.h: Likewise.
53068 * posix/bits/unistd.h: Likewise.
53069 * posix/unistd.h: Likewise.
53070 * io/bits/poll2.h: Likewise.
53071 * io/bits/fcntl2.h: Likewise.
53072 * io/fcntl.h: Likewise.
53073 * io/sys/poll.h: Likewise.
53074 * misc/bits/syslog.h: Likewise.
53075 * misc/bits/syslog-ldbl.h: Likewise.
53076 * misc/sys/syslog.h: Likewise.
53077 * socket/bits/socket2.h: Likewise.
53078 * socket/sys/socket.h: Likewise.
53079 * debug/tst-chk1.c: Likewise.
53080 * wcsmbs/bits/wchar2.h: Likewise.
53081 * wcsmbs/bits/wchar-ldbl.h: Likewise.
53082 * wcsmbs/wchar.h: Likewise.
53083
53084 2012-04-29 Andreas Jaeger <aj@suse.de>
53085
53086 * Makerules (tests): Remove enable-check-abi protection.
53087 (check-abi-warn): Remove.
53088 (check-abi-%): Remove check-abi-warn usage.
53089
53090 * configure.in: Remove check-abi configure option.
53091 * configure: Regenerated.
53092 * config.make.in (enable-check-abi): Remove.
53093
53094 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
53095
53096 [BZ #14033]
53097 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
53098 double functions to double *_finite functions.
53099
53100 [BZ #13941]
53101 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
53102 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
53103 LDBL_MIN_EXP.
53104 * stdio-common/Makefile (tests): Add tst-sprintf3.
53105 * stdio-common/tst-sprintf3.c: New file.
53106
53107 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
53108 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
53109
53110 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53111
53112 * conform/conformtest.pl: Remove duplicate typed-constant
53113 handling.
53114
53115 2012-04-28 David S. Miller <davem@davemloft.net>
53116
53117 * Makerules (%.abilist): Add vpath on sysdep_dirs.
53118 (check-abi-%): Remove AWK script prerequisite and explicit
53119 abilist directory.
53120 (check-abi): Rewrite to just diff the symlist with the abilist.
53121 (config-tls, config-abi-config): Delete, no longer used.
53122 (update-abi-%): Remove AWK script and explicit abilist directory.
53123 (update-abi): Rewrite to simply compare and conditionally copy the
53124 symlist and the sysdep abilist file. Remove update-abi-config
53125 checks.
53126 * abilist/ld.abilist: Remove.
53127 * abilist/libBrokenLocale.abilist: Remove.
53128 * abilist/libanl.abilist: Remove.
53129 * abilist/libcrypt.abilist: Remove.
53130 * abilist/libdl.abilist: Remove.
53131 * abilist/librt.abilist: Remove.
53132 * abilist/libthread_db.abilist: Remove.
53133 * abilist/libutil.abilist: Remove.
53134 * scripts/extract-abilist.awk: Remove.
53135 * scripts/merge-abilist.awk: Remove.
53136 * sysdeps/generic/libcidn.abilist: New file.
53137 * sysdeps/generic/libnss_compat.abilist: New file.
53138 * sysdeps/generic/libnss_db.abilist: New file.
53139 * sysdeps/generic/libnss_dns.abilist: New file.
53140 * sysdeps/generic/libnss_files.abilist: New file.
53141 * sysdeps/generic/libnss_hesiod.abilist: New file.
53142 * sysdeps/generic/libnss_nis.abilist: New file.
53143 * sysdeps/generic/libnss_nisplus.abilist: New file.
53144 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
53145 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
53146 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
53147 file.
53148 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
53149 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
53150 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
53151 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
53152 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
53153 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
53154 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
53155 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
53156 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
53157 file.
53158 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
53159 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
53160 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
53161 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
53162 file.
53163 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
53164 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
53165 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
53166 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
53167 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
53168 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
53169 file.
53170 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
53171 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
53172 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
53173 file.
53174 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
53175 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
53176 New file.
53177 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
53178 New file.
53179 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
53180 New file.
53181 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
53182 New file.
53183 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
53184 New file.
53185 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
53186 New file.
53187 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
53188 New file.
53189 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
53190 New file.
53191 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
53192 New file.
53193 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
53194 New file.
53195 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
53196 New file.
53197 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
53198 New file.
53199 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
53200 New file.
53201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
53202 file.
53203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
53204 New file.
53205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
53206 New file.
53207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
53208 file.
53209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
53210 New file.
53211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
53212 New file.
53213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
53214 file.
53215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
53216 New file.
53217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53218 New file.
53219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
53220 New file.
53221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
53222 New file.
53223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
53224 New file.
53225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
53226 New file.
53227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
53228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
53229 file.
53230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
53231 New file.
53232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
53233 file.
53234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
53235 file.
53236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
53237 file.
53238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
53239 file.
53240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
53241 file.
53242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53243 New file.
53244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
53245 file.
53246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
53247 file.
53248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
53249 New file.
53250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
53251 file.
53252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
53253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
53254 file.
53255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
53256 New file.
53257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
53258 file.
53259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
53260 file.
53261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
53262 file.
53263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
53264 file.
53265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
53266 file.
53267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53268 New file.
53269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
53270 file.
53271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
53272 file.
53273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
53274 New file.
53275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
53276 file.
53277 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
53278 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
53279 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
53280 file.
53281 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
53282 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
53283 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
53284 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
53285 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
53286 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
53287 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
53288 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
53289 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
53290 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
53291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
53292 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
53293 file.
53294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
53295 New file.
53296 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
53297 file.
53298 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
53299 file.
53300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
53301 file.
53302 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
53303 file.
53304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
53305 file.
53306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53307 New file.
53308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
53309 New file.
53310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
53311 file.
53312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
53313 New file.
53314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
53315 file.
53316 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
53317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
53318 file.
53319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
53320 New file.
53321 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
53322 file.
53323 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
53324 file.
53325 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
53326 file.
53327 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
53328 file.
53329 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
53330 file.
53331 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53332 New file.
53333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
53334 New file.
53335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
53336 file.
53337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
53338 New file.
53339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
53340 file.
53341
53342 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53343
53344 * conform/conformtest.pl: Fix typo in handling typed-constant from
53345 allow-header.
53346
53347 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53348
53349 * README: Cut down references to pre-2.6 Linux kernels and
53350 Linuxthreads. Update lists of configurations in libc and ports
53351 and sort alphabetically. Say "or newer" with Linux kernel version
53352 requirements.
53353
53354 * config.h.in [IS_IN_build]: Allow compiling without optimization.
53355
53356 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53357
53358 [BZ #887]
53359 * math/libm-test.inc (logb_test_downward): New test to expose
53360 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
53361 rounding mode.
53362
53363 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53364
53365 [BZ #14027]
53366 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
53367 to be done.
53368 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
53369 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
53370
53371 2012-04-26 Joseph Myers <joseph@codesourcery.com>
53372
53373 * sysdeps/unix/i386/brk.S: Remove file.
53374 * sysdeps/unix/i386/dl-brk.S: Likewise.
53375 * sysdeps/unix/i386/pipe.S: Likewise.
53376 * sysdeps/unix/i386/sigreturn.S: Likewise.
53377 * sysdeps/unix/i386/syscall.S: Likewise.
53378 * sysdeps/unix/i386/vfork.S: Likewise.
53379 * sysdeps/unix/i386/wait.S: Likewise.
53380
53381 * sysdeps/unix/common/tcsendbrk.c: Move to ...
53382 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
53383
53384 * configure.in (arm*-none*): Do not allow without
53385 --enable-hacker-mode.
53386 (netbsd*): Remove case setting base_os.
53387 (386bsd*): Likewise.
53388 (freebsd*): Likewise.
53389 (bsdi*): Likewise.
53390 (osf*): Likewise.
53391 (sunos*): Likewise.
53392 (ultrix*): Likewise.
53393 (newsos*): Likewise.
53394 (dynix*): Likewise.
53395 (*bsd*): Likewise.
53396 (sysv*): Likewise.
53397 (isc*): Likewise.
53398 (esix*): Likewise.
53399 (sco*): Likewise.
53400 (minix*): Likewise.
53401 (irix4*): Likewise.
53402 (irix6*): Likewise.
53403 (solaris[2-9]*): Likewise.
53404 (none): Likewise.
53405 * configure: Regenerated.
53406
53407 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53408
53409 [BZ #11521]
53410 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
53411 overflow or cancellation in calculating denominator.
53412 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
53413 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
53414 down expression to avoid unexpected rounding in newer GCCs.
53415 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
53416
53417 2012-04-26 David S. Miller <davem@davemloft.net>
53418
53419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
53420 long-double compat symbols.
53421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
53425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
53427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
53428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
53429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
53430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
53431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
53432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
53433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53434
53435 2012-04-25 David S. Miller <davem@davemloft.net>
53436
53437 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
53438 HWCAP_* values only after the memory barriers have been defined.
53439 (atomic_full_barrier): Define.
53440 (atomic_read_barrier): Define.
53441 (atomic_write_barrier): Define.
53442
53443 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53444
53445 * shlib-versions: Add libgcc_s version information.
53446 * sysdeps/generic/libgcc_s.h: Remove.
53447 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
53448 libgcc_s.h.
53449 * sysdeps/gnu/unwind-resume.c: Likewise.
53450 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
53451
53452 2012-04-25 David S. Miller <davem@davemloft.net>
53453
53454 * sysdeps/unix/sparc/brk.S: Delete.
53455 * sysdeps/unix/sparc/dl-brk.S: Delete.
53456 * sysdeps/unix/sparc/pipe.S: Delete.
53457 * sysdeps/unix/sparc/sysdep.S: Delete.
53458 * sysdeps/unix/sparc/sysdep.h: Delete.
53459 * sysdeps/unix/sparc/vfork.S: Delete.
53460 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
53461 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
53462 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
53463 (ret_ERRVAL, r0, r1, MOVE): Define.
53464 (JUMPTARGET): Remove.
53465 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
53466 sysdeps/unix/sparc/sysdep.h
53467 (ENTRY, END): Remove.
53468 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53469
53470 2012-04-25 Joseph Myers <joseph@codesourcery.com>
53471
53472 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
53473 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
53474 -DIS_IN_build.
53475
53476 * timezone/README: Update upstream location and email address for
53477 tzcode and tzdata.
53478 * timezone/zdump.c: Update from tzcode 2012b.
53479 * timezone/zic.c: Likewise.
53480
53481 * configure.in (libc_cv_as_needed): Remove test.
53482 * configure: Regenerated.
53483 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
53484 conditional definition.
53485 [$(have-as-needed) != yes] (no-as-needed): Likewise.
53486 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
53487 * config.make.in (have-as-needed): Remove variable.
53488
53489 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
53490 Paul Pluzhnikov <ppluzhnikov@google.com>
53491
53492 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
53493 strings correctly.
53494
53495 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
53496
53497 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
53498 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
53499 * sysdeps/sh/strlen.S: Likewise.
53500
53501 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53502
53503 * sysdeps/unix/fork.S: Remove file.
53504 * sysdeps/unix/i386/fork.S: Likewise.
53505 * sysdeps/unix/sparc/fork.S: Likewise.
53506
53507 * sysdeps/unix/system.c: Remove file.
53508 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
53509
53510 * sysdeps/unix/getegid.S: Remove file.
53511 * sysdeps/unix/geteuid.S: Likewise.
53512
53513 2012-04-24 Roland McGrath <roland@hack.frob.com>
53514
53515 * scripts/check-localplt.awk: New file.
53516 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
53517 of diff.
53518 * scripts/data/localplt-generic.data: Add a comment.
53519
53520 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
53521 NODE when __dir_mkfile failed.
53522 * sysdeps/mach/hurd/symlinkat.c: Likewise.
53523 Reported by Ludovic Courtès <ludo@gnu.org>.
53524
53525 2012-04-24 Andreas Jaeger <aj@suse.de>
53526
53527 * Makerules (common-clean): Also remove gen-as-const-headers
53528 files.
53529
53530 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53531
53532 * Makerules (native-compile): Do not change working directory for
53533 build. Use $(OUTPUT_OPTION) in command.
53534 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
53535
53536 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53537
53538 [BZ #13886]
53539 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
53540 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
53541 * math/libm-test.inc (floor_test): Add more tests.
53542 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
53543
53544 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53545
53546 * sysdeps/unix/getdents.c: Remove file.
53547 * sysdeps/unix/sysv/getdents.c: Likewise.
53548 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
53549
53550 * sysdeps/unix/syscalls.list (madvise): Add syscall from
53551 sysdeps/unix/mman/syscalls.list.
53552 (mmap): Likewise.
53553 (mprotect): Likewise.
53554 (msync): Likewise.
53555 (munmap): Likewise.
53556 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
53557 * sysdeps/unix/mman/syscalls.list: Remove.
53558 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
53559
53560 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
53561 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
53562 * configure: Regenerated.
53563 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
53564 $(libgcc_s_suffix).
53565 * config.make.in (libgcc_s_suffix): Remove variable.
53566
53567 2012-04-23 Joseph Myers <joseph@codesourcery.com>
53568
53569 * sysdeps/unix/sysv/gethostname.c: Move to ...
53570 * sysdeps/posix/gethostname.c: ... here.
53571
53572 * sysdeps/unix/execve.S: Remove file.
53573
53574 * sysdeps/unix/_exit.S: Remove file.
53575
53576 2012-04-23 Andreas Jaeger <aj@suse.de>
53577
53578 [BZ #13739]
53579 * manual/Makefile: Remove make dist support, there's no
53580 need for a stand-alone documentation tar ball.
53581 (TEXI2DVI): Define always, it's not in Makeconfig.
53582 (dist): Removed.
53583 (tar-it): Removed.
53584 (edition): Removed.
53585 (glibc-doc-$(edition).tar): Removed
53586 (%.Z): Removed.
53587 (%.gz): Removed.
53588 (%.uu): Removed.
53589 (ETAGS): Remove, it's in Makeconfig.
53590 (move-if-change): Remove, it's in Makeconfig.
53591
53592 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
53593
53594 [BZ #13970]
53595 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
53596 (strtod, strtof, strtold, strtol, strtoul, strtoq)
53597 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
53598 (strtod_l, strtof_l, strtold_l): Remove __wur.
53599 It is not necessarily an error to ignore strtol's return value.
53600 One can reliably look at the stored endptr to decide whether
53601 the number had valid syntax.
53602
53603 2012-04-21 Andreas Jaeger <aj@suse.de>
53604
53605 [BZ #13739]
53606 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
53607
53608 2012-04-21 Joseph Myers <joseph@codesourcery.com>
53609
53610 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
53611 * sysdeps/unix/sysv/Versions: Remove file.
53612
53613 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
53614
53615 [BZ #13927]
53616 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53617
53618 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
53619
53620 [BZ #7064]
53621 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
53622 version from __vm86.
53623
53624 2012-04-20 Joseph Myers <joseph@codesourcery.com>
53625
53626 * sysdeps/unix/common/lxstat.c: Remove file.
53627 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
53628
53629 * sysdeps/unix/sysv/Makefile: Remove file.
53630
53631 * sysdeps/unix/sysv/direct.h: Remove file.
53632
53633 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
53634 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
53635 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
53636 * sysdeps/unix/sysv/bits/signum.h: Likewise.
53637 * sysdeps/unix/sysv/bits/stat.h: Likewise.
53638 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
53639 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
53640
53641 * sysdeps/unix/sysv/setrlimit.c: Remove file.
53642
53643 * sysdeps/unix/xmknod.c: Remove file.
53644 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
53645
53646 * sysdeps/unix/sysv/settimeofday.c: Remove file.
53647
53648 * sysdeps/unix/sysv/i386/time.S: Remove file.
53649
53650 * sysdeps/unix/fxstat.c: Remove file.
53651 * sysdeps/unix/xstat.c: Likewise.
53652 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
53653
53654 * sysdeps/unix/sysv/sigaction.c: Remove file.
53655
53656 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
53657 (sysdep_headers): Remove variable.
53658 [termio.h not in sysdep_headers] (generated): Likewise.
53659 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
53660 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
53661 * sysdeps/unix/sysv/tcdrain.c: Likewise.
53662 * sysdeps/unix/sysv/tcflow.c: Likewise.
53663 * sysdeps/unix/sysv/tcflush.c: Likewise.
53664 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
53665 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
53666 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
53667 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
53668 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
53669
53670 * sysdeps/unix/siglist.c: Remove file.
53671
53672 * sysdeps/unix/getppid.S: Remove file.
53673
53674 * sysdeps/unix/mkdir.c: Remove file.
53675 * sysdeps/unix/rmdir.c: Likewise.
53676
53677 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
53678
53679 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
53680 ERR_MAX value.
53681 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
53682 errlist-compat value.
53683
53684 2012-04-18 David S. Miller <davem@davemloft.net>
53685
53686 * sysdeps/generic/memcopy.h (reg_char): Delete.
53687 * debug/strcat_chk.c: Use char, not reg_char.
53688 * debug/strcpy_chk.c: Likewise.
53689 * debug/strncat_chk.c: Likewise.
53690 * debug/strncpy_chk.c: Likewise.
53691 * string/memchr.c: Likewise.
53692 * string/memrchr.c: Likewise.
53693 * string/rawmemchr.c: Likewise.
53694 * string/strcat.c: Likewise.
53695 * string/strchr.c: Likewise.
53696 * string/strchrnul.c: Likewise.
53697 * string/strcmp.c: Likewise.
53698 * string/strcpy.c: Likewise.
53699 * string/strncat.c: Likewise.
53700 * string/strncmp.c: Likewise.
53701 * string/strncpy.c: Likewise.
53702
53703 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53704
53705 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
53706 __builtin_memcopy is called when src and dest ranges are known to not
53707 overlap.
53708
53709 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53710
53711 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
53712 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
53713 fwd_align_merge macro call.
53714 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
53715 bwd_align_merge macro call.
53716 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53717
53718 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53719
53720 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
53721 bwd_align_merge macros.
53722 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
53723 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
53724 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53725
53726 2012-04-18 David S. Miller <davem@davemloft.net>
53727
53728 * sysdeps/sparc/sparc64/memcopy.h: Delete.
53729
53730 2012-04-18 Andreas Jaeger <aj@suse.de>
53731
53732 [BZ# 6794]
53733 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
53734 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
53735 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53736
53737 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
53738 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
53739 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53740
53741 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
53742 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
53743 Adjust for changed ldbl-128 files.
53744
53745 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
53746 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
53747 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53748
53749 2012-04-17 David S. Miller <davem@davemloft.net>
53750
53751 * sysdeps/sparc/sparc32/memcopy.h: Delete.
53752
53753 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
53754
53755 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
53756 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
53757 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
53758 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
53759 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
53760 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
53761
53762 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53763
53764 [BZ #6794]
53765 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
53766 * math/libm-test.inc: Add ilogb errno and exception tests.
53767 * math/w_ilogb.c: New file: ilogb wrapper.
53768 * math/w_ilogbf.c: New file: ilogbf wrapper.
53769 * math/w_ilogbl.c: New file: ilogbl wrapper.
53770 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
53771 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
53772 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
53773 exception being thrown with 0.0 as argument.
53774 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
53775 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
53776 exception being thrown with 0.0 as argument.
53777 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
53778 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53779 exception being thrown with 0.0 as argument.
53780 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
53781 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53782 exception being thrown with 0.0 as argument.
53783 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
53784 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
53785 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
53786 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
53787 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
53788 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
53789 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
53790 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
53791 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
53792
53793 2012-04-17 Petr Baudis <pasky@ucw.cz>
53794
53795 * include/sys/uio.h: Change __vector to __iovec to avoid clash
53796 with altivec.
53797
53798 2012-04-16 Marek Polacek <polacek@redhat.com>
53799
53800 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
53801
53802 2012-04-16 Marek Polacek <polacek@redhat.com>
53803
53804 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
53805 operands of fdivp instruction.
53806
53807 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
53808
53809 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
53810 * elf/tst-auditmod3b.c: Likewise.
53811 * elf/tst-auditmod4b.c: Likewise.
53812 * elf/tst-auditmod5b.c: Likewise.
53813 * elf/tst-auditmod6b.c: Likewise.
53814 * elf/tst-auditmod6c.c: Likewise.
53815 * elf/tst-auditmod7b.c: Likewise.
53816 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
53817 * sysdeps/x86_64/preconfigure.in: Likewise.
53818 * sysdeps/x86_64/preconfigure: Regenerated.
53819
53820 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
53821
53822 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
53823 __ILP32__.
53824
53825 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
53826
53827 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53828 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
53829
53830 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
53831
53832 [BZ #13973]
53833 * locale/iso-639.def: Fix gl language name. Spotted by
53834 Yaron Shahrabani.
53835
53836 2012-04-12 Roland McGrath <roland@hack.frob.com>
53837
53838 [BZ #2074]
53839 * libio/libio.h (__io_write_fn): Update comment.
53840
53841 2012-04-12 Petr Baudis <pasky@ucw.cz>
53842
53843 [BZ #2074]
53844 * stdio.texi (Hook Functions): The user provided writer function
53845 is not allowed to return -1.
53846
53847 2012-04-11 David S. Miller <davem@davemloft.net>
53848
53849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53850
53851 2012-04-11 Mike Frysinger <vapier@gentoo.org>
53852
53853 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
53854 Add a leading slash to rtkaio.
53855
53856 2012-04-11 Jim Meyering <meyering@redhat.com>
53857
53858 [BZ #11959]
53859 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
53860 It is not necessarily an error to ignore fwrite's return
53861 value. One can reliably use ferror to test for errors after
53862 the fact.
53863
53864 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
53865
53866 * bits/types.h (__snseconds_t): New type.
53867 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
53868
53869 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
53870 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53871 (__SNSECONDS_T_TYPE): Likewise.
53872 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53873 (__SNSECONDS_T_TYPE): Likewise.
53874 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53875 (__SNSECONDS_T_TYPE): Likewise.
53876
53877 2012-04-10 Andreas Jaeger <aj@suse.de>
53878
53879 [BZ #2636]
53880 * manual/time.texi (Processor Time): Return type of times is
53881 elapsed real time since an arbitrary point in the past.
53882 (CPU Time): Move CLK_TCK from here...
53883 (Processor Time): ...to here. Correct description.
53884 * manual/conf.texi (Constants for Sysconf): Correct description of
53885 _SC_CLK_TCK.
53886
53887 2012-04-10 David S. Miller <davem@davemloft.net>
53888
53889 [BZ #13967]
53890 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
53891 where the is a gap between DT_REL(A) and DT_JMPREL.
53892
53893 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
53894
53895 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
53896 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53897 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53898
53899 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
53900
53901 * elf/dl-support.c (_dl_inhibit_cache): New variable.
53902 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
53903 (dl_main): Handle --inhibit-cache.
53904 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
53905 _dl_inhibit_cache.
53906 * elf/dl-load.c (_dl_map_object): Use it.
53907 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
53908
53909 2012-04-09 Joseph Myers <joseph@codesourcery.com>
53910
53911 [BZ #13872]
53912 * sysdeps/i386/fpu/e_powl.S (p78): New object.
53913 (__ieee754_powl): Saturate large exponents rather than testing for
53914 overflow of y*log2(x).
53915 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53916 * math/libm-test.inc (pow_test): Do not permit spurious overflow
53917 exceptions.
53918
53919 [BZ #11521]
53920 * math/s_ctan.c: Include <float.h>.
53921 (__ctan): Avoid internal overflow or cancellation in calculating
53922 denominator.
53923 * math/s_ctanf.c: Likewise.
53924 * math/s_ctanl.c: Likewise.
53925 * math/s_ctanh.c: Likewise.
53926 * math/s_ctanhf.c: Likewise.
53927 * math/s_ctanhl.c: Likewise.
53928 * math/libm-test.inc (ctan_test): Add more tests.
53929 (ctanh_test): Likewise.
53930 * sysdeps/i386/fpu/libm-test-ulps: Update.
53931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53932
53933 2012-04-09 Andreas Jaeger <aj@suse.de>
53934
53935 [BZ #6894]
53936 * manual/filesys.texi (Directory Entries): Mention that d_namlen
53937 is an optional BSD extension.
53938
53939 [BZ #10254]
53940 * manual/stdio.texi (Opening Streams): Document additional fopen
53941 parameters.
53942
53943 2012-04-09 Roland McGrath <roland@hack.frob.com>
53944
53945 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
53946 %eax without telling the compiler.
53947
53948 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
53949
53950 [BZ # 13963]
53951 * manual/install.texi: Use sourceware.org.
53952
53953 2012-04-09 Joseph Myers <joseph@codesourcery.com>
53954
53955 [BZ #13873]
53956 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
53957 (__ieee754_pow): Generate overflow and underflow using huge*huge
53958 and tiny*tiny rather than just returning constant infinity or zero
53959 for large exponents.
53960 * math/libm-test.inc (pow_test): Require overflow exceptions for
53961 applicable cases of large exponents.
53962
53963 [BZ #706]
53964 * sysdeps/i386/fpu/e_pow.S (p10): New object.
53965 (__ieee754_pow): Use iterative multiplication algorithm only for
53966 integer exponents with absolute value below 1024. Check for odd
53967 integer exponents when using algorithm for real exponents.
53968 * math/libm-test.inc (pow_test): Add more tests.
53969 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53970
53971 2012-04-08 Joseph Myers <joseph@codesourcery.com>
53972
53973 [BZ #13705]
53974 * math/libm-test.inc (exp_test): Do not allow overflow exception
53975 on underflow test.
53976
53977 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
53978
53979 [BZ #13705]
53980 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
53981 instead of __kernel_standard_f.
53982
53983 2012-04-08 Mike Frysinger <vapier@gentoo.org>
53984
53985 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
53986 * sysdeps/x86_64/memset_chk.S: Likewise.
53987
53988 2012-04-08 Andreas Jaeger <aj@suse.de>
53989
53990 [BZ #10153]
53991 * manual/startup.texi (Environment Access): Describe return value
53992 for putenv and setenv.
53993
53994 [BZ #6895]
53995 * manual/filesys.texi (Directory Entries): Add description for
53996 DT_LNK.
53997
53998 [BZ #6890]
53999 * manual/filesys.texi (Directory Entries): Clarify that it's file
54000 system not operating system in the description of DT_UNKNOWN.
54001
54002 [BZ #6578]
54003 * manual/syslog.texi (closelog): Fix reference, it's openlog.
54004
54005 2012-04-08 Stephen Compall <s11@member.fsf.org>
54006
54007 [BZ #6649]
54008 * manual/llio.texi (Opening and Closing Files): Add cross
54009 reference to explain mode argument.
54010
54011 2012-04-07 Mike Frysinger <vapier@gentoo.org>
54012
54013 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
54014 * sysdeps/x86_64/memset_chk.S: Likewise.
54015
54016 2012-04-07 David S. Miller <davem@davemloft.net>
54017
54018 * elf/elf.h (R_SPARC_WDISP10): Define.
54019 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
54020 R_SPARC_SIZE32.
54021 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
54022 R_SPARC_SIZE64 and R_SPARC_H34.
54023
54024 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
54025
54026 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
54027 conditions and remove no longer applicable assertion.
54028
54029 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
54030
54031 * bits/byteswap.h: Include <features.h>.
54032 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54033 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54034
54035 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
54036
54037 * bits/byteswap.h (__bswap_16): Removed.
54038 Include <bits/byteswap-16.h> to get __bswap_16.
54039 * sysdeps/i386/bits/byteswap.h: Likewise.
54040 * sysdeps/s390/bits/byteswap.h: Likewise.
54041 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54042 * bits/byteswap-16.h: New file.
54043 * sysdeps/i386/bits/byteswap-16.h: Likewise.
54044 * sysdeps/s390/bits/byteswap-16.h: Likewise.
54045 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
54046 * string/Makefile (headers): Add bits/byteswap-16.h.
54047
54048 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54049
54050 [BZ #13895]
54051 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
54052 extra indirection.
54053 * nss/Makefile (tests-static, tests): Add tst-nss-static.
54054 * nss/tst-nss-static.c: New.
54055
54056 2012-04-06 Robert Millan <rmh@gnu.org>
54057
54058 [BZ #6486]
54059 * manual/llio.texi (File Position Primitive): lseek
54060 refers to WHENCE when it really means OFFSET.
54061
54062 2012-04-06 Andreas Jaeger <aj@suse.de>
54063
54064 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
54065 strncmp declarations.
54066
54067 * abilist/libc.abilist: Add __poll and __ppoll.
54068
54069 2012-04-05 David S. Miller <davem@davemloft.net>
54070
54071 * scripts/check-local-headers.sh: Accept a host triplet in the
54072 path matched by the exclude regexp.
54073
54074 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
54075 definition.
54076 * sysdeps/powerpc/powerpc32/dl-machine.h
54077 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
54078 * sysdeps/s390/s390-32/dl-machine.h
54079 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54080 * sysdeps/sparc/sparc32/dl-machine.h
54081 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54082 * sysdeps/sparc/sparc64/dl-machine.h
54083 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54084
54085 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
54086 lazy binding.
54087 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
54088 undefined symbol errors.
54089
54090 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
54091 DT_NEEDED entries.
54092
54093 2012-04-05 Michael Matz <matz@suse.de>
54094
54095 [BZ #13592]
54096 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
54097
54098 2012-04-05 Andreas Jaeger <aj@suse.de>
54099
54100 [BZ #13908]
54101 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
54102 comment.
54103
54104 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54105
54106 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
54107 which ROUND is no valid rounding mode.
54108
54109 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54110
54111 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
54112 read again.
54113 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
54114
54115 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54116
54117 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
54118 an exception using FPU order intentionally.
54119
54120 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54121
54122 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
54123 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
54124 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
54125 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
54126
54127 2012-04-05 Simon Josefsson <simon@josefsson.org>
54128
54129 [BZ #12340]
54130 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
54131 EINVAL when BUFLEN is too smal.
54132
54133 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
54134
54135 [BZ #13553]
54136 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
54137 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
54138
54139 2012-04-03 Andreas Jaeger <aj@suse.de>
54140
54141 [BZ #13938]
54142 * manual/setjmp.texi (System V contexts): Fix sentence.
54143
54144 [BZ #13926]
54145 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
54146 New macro for this case.
54147 [!__GNUC__] (__bswap_64): New inline function for this case.
54148 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54149 * bits/byteswap.h: Likewise.
54150 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
54151 ull, guard with __GLIBC_HAVE_LONG_LONG.
54152
54153 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
54154 __GLIBC_HAVE_LONG_LONG.
54155
54156 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
54157 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
54158
54159 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54160
54161 [BZ #13691]
54162 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
54163 inptr and inend, rather than using last_ch.
54164
54165 2012-04-02 David S. Miller <davem@davemloft.net>
54166
54167 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
54168 * stdio-common/printf-parse.h (read_int): Change return type to
54169 'int', return -1 on INT_MAX overflow.
54170 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
54171 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
54172 overflows INT_MAX. Check for overflow of in-format-string precision
54173 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
54174 SIZE_MAX not INT_MAX for integer overflow test.
54175 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
54176 skip the construct in the format string but do not record anything.
54177 * stdio-common/bug22.c: Adjust to test both width/prevision
54178 INT_MAX overflow as well as total length INT_MAX overflow. Check
54179 explicitly for proper errno values.
54180
54181 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
54182
54183 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
54184 CHAR_MAX.
54185 * string/test-strcmp.c [! WIDE]: Likewise.
54186 * time/tst-mktime2.c: Likewise for INT_MAX.
54187 * string/test-string.h: #include <sys/param.h> for MIN.
54188
54189 * csu/init-first.c (__libc_init_first): Call __ctype_init.
54190 * sysdeps/i386/init-first.c (init): Likewise.
54191 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
54192 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
54193 * sysdeps/sh/init-first.c (init): Likewise.
54194
54195 2012-04-01 Ulrich Drepper <drepper@gmail.com>
54196
54197 * po/ru.po: Update from translation team.
54198 * po/vi.po: Likewise.
54199
54200 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
54201
54202 * resolv/nss_dns/dns-host.c: Merge copyright years.
54203
54204 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54205
54206 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54207 Optimize memcpy with prefetch if
54208 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
54209 src, dst pointers have unequal 16 byte alignments.
54210
54211 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
54212
54213 [BZ #13928]
54214 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
54215 from a CNAME entry and return the minimum ttl for the query.
54216 (gaih_getanswer_slice): Likewise.
54217
54218 2012-03-30 Jeff Law <law@redhat.com>
54219
54220 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
54221 due to long keys.
54222 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
54223 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
54224
54225 * resolv/nss_dns/dns-host.c: Update copyright year.
54226
54227 2012-03-30 Ulrich Drepper <drepper@gmail.com>
54228
54229 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
54230 requests to save a system call. Fix check that all bytes are sent.
54231
54232 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
54233 comments for sendmmsg.
54234
54235 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54236
54237 [BZ #13691]
54238 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
54239 with only 1 character between 0x0041 and 0x01b0.
54240 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
54241 * wcsmbs/tst-mbsnrtowcs.c: New file.
54242
54243 2012-03-29 David S. Miller <davem@davemloft.net>
54244
54245 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
54246 small copies by hand.
54247
54248 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54249
54250 [BZ #13761]
54251 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
54252 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
54253 group memberships.
54254
54255 2012-03-28 David S. Miller <davem@davemloft.net>
54256
54257 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
54258 that branches into memcpy.
54259 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54260 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
54261 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
54262 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
54263 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
54264 bits.
54265 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
54266 implementation too.
54267 * sysdeps/sparc/mempcpy.S: New file.
54268
54269 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
54270 the IFUNC routine in the libc case.
54271 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54272
54273 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
54274 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
54275 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
54276 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
54277 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
54278 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
54279 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
54280 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
54281
54282 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
54283 loop to 256 bytes instead of 64 bytes and fix test signedness.
54284
54285 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
54286 * sysdeps/sparc/sparc32/Makefile: rather than here...
54287 * sysdeps/sparc/sparc64/Makefile: and here.
54288
54289 2012-03-28 Ulrich Drepper <drepper@gmail.com>
54290
54291 * malloc/mallocbug.c: Avoid warnings about unused variables.
54292
54293 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
54294
54295 [BZ #13760]
54296 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
54297 in the right place. Discard and retry query if response is
54298 larger than input buffer size.
54299
54300 2012-03-28 Joseph Myers <joseph@codesourcery.com>
54301
54302 [BZ #369]
54303 [BZ #2678]
54304 [BZ #3866]
54305 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
54306 x for large integer exponent.
54307 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54308 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
54309 sign of result as needed afterwards.
54310 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54311 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
54312 result for underflowing pow the same as for overflow.
54313 (__kernel_standard_l): Handle powl overflow and underflow here
54314 rather than calling __kernel_standard.
54315 * math/libm-test.inc (pow_test): Add more tests.
54316
54317 [BZ #3868]
54318 [BZ #13879]
54319 [BZ #13910]
54320 [BZ #13911]
54321 [BZ #13912]
54322 [BZ #13913]
54323 [BZ #13915]
54324 [BZ #13916]
54325 [BZ #13917]
54326 [BZ #13918]
54327 [BZ #13919]
54328 [BZ #13920]
54329 [BZ #13921]
54330 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
54331 * sysdeps/ieee754/k_standard.c: Include <float.h>.
54332 (__kernel_standard_l): New function.
54333 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
54334 __kernel_standard.
54335 * math/w_acosl.c (__acosl): Likewise.
54336 * math/w_asinl.c (__asinl): Likewise.
54337 * math/w_atan2l.c (__atan2l): Likewise.
54338 * math/w_atanhl.c (__atanhl): Likewise.
54339 * math/w_coshl.c (__coshl): Likewise.
54340 * math/w_exp10l.c (__exp10l): Likewise.
54341 * math/w_exp2l.c (__exp2l): Likewise.
54342 * math/w_fmodl.c (__fmodl): Likewise.
54343 * math/w_hypotl.c (__hypotl): Likewise.
54344 * math/w_j0l.c (__j0l, __y0l): Likewise.
54345 * math/w_j1l.c (__j1l, __y1l): Likewise.
54346 * math/w_jnl.c (__jnl, __ynl): Likewise.
54347 * math/w_lgammal.c (__lgammal): Likewise.
54348 * math/w_log10l.c (__log10l): Likewise.
54349 * math/w_log2l.c (__log2l): Likewise.
54350 * math/w_logl.c (__logl): Likewise.
54351 * math/w_powl.c (__powl): Likewise.
54352 * math/w_remainderl.c (__remainderl): Likewise.
54353 * math/w_scalbl.c (sysv_scalbl): Likewise.
54354 * math/w_sinhl.c (__sinhl): Likewise.
54355 * math/w_sqrtl.c (__sqrtl): Likewise.
54356 * math/w_tgammal.c (__tgammal): Likewise.
54357 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
54358 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
54359 * math/libm-test.inc (acos_test): Add more tests.
54360 (acosh_test): Likewise.
54361 (asin_test): Likewise.
54362 (atanh_test): Likewise.
54363 (exp_test): Likewise.
54364 (exp10_test): Likewise.
54365 (exp2_test): Likewise.
54366 (expm1_test): Likewise.
54367 (lgamma_test): Likewise.
54368 (log_test): Likewise.
54369 (log10_test): Likewise.
54370 (log1p_test): Likewise.
54371 (log2_test): Likewise.
54372 (pow_test): Do not allow some spurious overflow exceptions.
54373 (sqrt_test): Add more tests.
54374 (tgamma_test): Likewise.
54375 (y0_test): Likewise.
54376 (y1_test): Likewise.
54377 (yn_test): Likewise.
54378
54379 2012-03-27 Anton Blanchard <anton@samba.org>
54380
54381 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
54382 MAP_HUGETLB.
54383 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54384 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54385 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54386
54387 2012-03-27 David S. Miller <davem@davemloft.net>
54388
54389 * conform/Makefile: Run run-conformtest.sh using $(BASH).
54390
54391 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
54392 have-as-vis3 check.
54393
54394 2012-03-27 Andreas Jaeger <aj@suse.de>
54395
54396 * sysdeps/x86_64/elf/configure.in: Moved to ...
54397 * sysdeps/x86_64/configure.in: ... here.
54398 * sysdeps/x86_64/elf/start.S: Moved to ...
54399 * sysdeps/x86_64/start.S: ... here.
54400 * sysdeps/x86_64/elf/configure: Delete.
54401
54402 * sysdeps/x86_64/configure.in: Merge contents from
54403 sysdeps/i386/configure.in (without i686 check).
54404
54405 * sysdeps/i386/elf/Versions: Merge into ...
54406 * sysdeps/i386/Versions: ... this.
54407 * sysdeps/i386/elf/Versions: Delete file.
54408 * sysdeps/i386/elf/start.S: Moved to ...
54409 * sysdeps/i386/start.S: ...here.
54410 * sysdeps/i386/elf/configure.in: Merge into...
54411 * sysdeps/i386/configure.in: ...here.
54412 * sysdeps/i386/elf/configure.in: Delete file.
54413 * sysdeps/i386/elf/configure: Delete file.
54414
54415 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
54416 * debug/backtracesyms.c: ... here.
54417 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
54418 * debug/backtracesymsfd.c: ... here.
54419 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
54420 * sysdeps/generic/ifunc-sel.h: ... here.
54421
54422 * sysdeps/unix/i386/start.c: Delete file.
54423 * sysdeps/unix/sparc/start.c: Delete file.
54424 * sysdeps/unix/start.c: Delete file.
54425
54426 * sysdeps/sh/elf/configure.in: Moved to ...
54427 * sysdeps/sh/configure.in: ... here.
54428 * sysdeps/sh/elf/start.S: Moved to ...
54429 * sysdeps/sh/start.S: ... here.
54430 * sysdeps/sh/elf/configure: Delete file.
54431
54432 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
54433 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
54434 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
54435 * sysdeps/powerpc/powerpc64/entry.h: ... here.
54436 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
54437 * sysdeps/powerpc/powerpc64/start.S: here.
54438 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
54439 * sysdeps/powerpc/powerpc64/Makefile: ... this.
54440 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
54441 * sysdeps/powerpc/powerpc64/configure.in: ... this.
54442 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
54443
54444 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
54445 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
54446 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
54447 * sysdeps/powerpc/powerpc32/start.S: ... here.
54448 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
54449 * sysdeps/powerpc/powerpc32/configure.in: ... this.
54450 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
54451
54452 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
54453 * sysdeps/powerpc/ifunc-sel.h: ... here.
54454 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
54455 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
54456
54457 * sysdeps/sparc/elf/configure.in: Moved to ...
54458 * sysdeps/sparc/configure.in: ... here.
54459 * sysdeps/sparc/elf/configure: Delete file.
54460 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
54461 * sysdeps/sparc/sparc32/start.S: ... here.
54462 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
54463 * sysdeps/sparc/sparc64/start.S: ... here.
54464 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
54465 * sysdeps/sparc/sparc32/Makefile: ... this.
54466 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
54467 * sysdeps/sparc/sparc64/Makefile: ... this.
54468
54469 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
54470 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
54471 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
54472 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
54473 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
54474 * sysdeps/s390/s390-32/setjmp.S: ... here.
54475 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
54476 * sysdeps/s390/s390-32/configure.in: ... here.
54477 * sysdeps/s390/s390-32/elf/configure: Delete file.
54478 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
54479 * sysdeps/s390/s390-32/start.S: ... here.
54480
54481 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
54482 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
54483 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
54484 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
54485 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
54486 * sysdeps/s390/s390-64/setjmp.S: ... here.
54487 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
54488 * sysdeps/s390/s390-64/configure.in: ... here
54489 * sysdeps/s390/s390-64/elf/configure: Delete file.
54490 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
54491 * sysdeps/s390/s390-64/start.S: ... here.
54492 * sysdeps/s390/s390-64/elf/configure: Delete.
54493
54494 * configure.in: Remove support for elf directories in sysdeps.
54495
54496 * configure: Regenerated.
54497 * sysdeps/i386/configure: Regenerated.
54498 * sysdeps/powerpc/powerpc32/configure: Regenerated.
54499 * sysdeps/powerpc/powerpc64/configure: Regenerated.
54500 * sysdeps/s390/s390-32/configure: Regenerated.
54501 * sysdeps/s390/s390-64/configure: Regenerated.
54502 * sysdeps/sh/configure: Regenerated.
54503 * sysdeps/sparc/configure: Regenerated.
54504 * sysdeps/x86_64/configure: Regenerated.
54505
54506 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
54507
54508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54509
54510 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
54511 denormal result into account.
54512
54513 2012-03-25 Roland McGrath <roland@hack.frob.com>
54514
54515 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
54516 Reported by Allan McRae <allan@archlinux.org>.
54517
54518 2012-03-23 Jeff Law <law@redhat.com>
54519
54520 * nss/getnssent.c (__nss_getent): Fix typo.
54521
54522 2012-03-23 David S. Miller <davem@davemloft.net>
54523
54524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54525
54526 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
54527
54528 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
54529 to pad to uint64_t for each field.
54530 (dl_tls_index): Replace unsigned long with uint64_t.
54531
54532 2012-03-23 Daniel Jacobowitz <dmj@google.com>
54533 Paul Pluzhnikov <ppluzhnikov@google.com>
54534
54535 [BZ #6528]
54536 * grp/Makefile (otherlibs): Don't set it.
54537 * inet/Makefile (otherlibs): Likewise.
54538 * login/Makefile (otherlibs): Likewise.
54539 * nscd/Makefile (otherlibs): Likewise.
54540 * posix/Makefile (otherlibs): Likewise.
54541 * pwd/Makefile (otherlibs): Likewise.
54542 * rt/Makefile (otherlibs): Likewise.
54543 * sunrpc/Makefile (otherlibs): Likewise.
54544 * nss/Makefile (otherlibs): Likewise.
54545 Add libnss_files to routines and static-only-routines.
54546 ($(objpfx)getent): Remove rule.
54547 * resolv/Makefile: Add libnss_dns and libresolv to routines and
54548 static-only-routines.
54549
54550 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54551
54552 [BZ #13892]
54553 * math/s_cexp.c: Include <float.h>.
54554 (__cexp): Handle exp result overflowing not necessarily
54555 overflowing both real and imaginary parts of result.
54556 * math/s_cexpf.c: Likewise.
54557 * math/s_cexpl.c: Likewise.
54558 * math/libm-test.inc (cexp_test): Add more tests.
54559 * sysdeps/i386/fpu/libm-test-ulps: Update.
54560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54561
54562 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54563
54564 * include/link.h (ELFW): New macro.
54565 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
54566 Replace ELF64_R_TYPE with ELFW(R_TYPE).
54567
54568 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54569
54570 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
54571 with uint64_t.
54572
54573 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54574
54575 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
54576 declaration.
54577 (struct La_x32_retval): Likewise.
54578
54579 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54580
54581 * sysdeps/x86_64/preconfigure.in: New file.
54582 * sysdeps/x86_64/preconfigure: New generated file.
54583
54584 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54585
54586 [BZ #13824]
54587 * math/e_exp2l.c: Include <float.h>.
54588 (__ieee754_exp2l): Handle overflow and underflow cases
54589 separately. Only pass fractional part of argument to
54590 __ieee754_expl.
54591 * math/libm-test.inc (exp2_test): Add more tests.
54592
54593 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
54594 negating x to take absolute value.
54595 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
54596 Likewise.
54597 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
54598 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
54599 Likewise.
54600 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
54601 computing low part if x was negated.
54602 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
54603
54604 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54605
54606 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
54607 la_x32_gnu_pltexit.
54608 (pltexit): Cast int_retval to ptrdiff_t.
54609 * elf/tst-auditmod3b.c: Likewise.
54610 * elf/tst-auditmod4b.c: Likewise.
54611 * elf/tst-auditmod5b.c: Likewise.
54612 * elf/tst-auditmod6b.c: Likewise.
54613 * elf/tst-auditmod6c.c: Likewise.
54614 * elf/tst-auditmod7b.c: Likewise.
54615
54616 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
54617 and x32_gnu_pltexit.
54618
54619 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
54620 __ELF_NATIVE_CLASS.
54621 (La_x32_regs): New macro.
54622 (La_x32_retval): Likewise.
54623 (la_x32_gnu_pltenter): New function prototype.
54624 (la_x32_gnu_pltexit): Likewise.
54625
54626 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
54627
54628 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
54629 exponent.
54630
54631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54632
54633 * configure.in (libc_cv_cc_nofma): Check for option to disable
54634 generation of FMA instructions.
54635 * configure: Regenerate.
54636 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
54637 * sysdeps/ieee754/dbl-64/Makefile: New file.
54638 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
54639 Remove brandred-fma4.
54640 (CFLAGS-brandred-fma4.c): Remove.
54641 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
54642 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
54643 define.
54644 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
54645 define.
54646
54647 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54648
54649 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
54650 LLONG_MAX != LONG_MAX.
54651 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54652 (_fitoa_word): Likewise.
54653 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
54654 LLONG_MAX != LONG_MAX.
54655 * stdio-common/_itowa.h: Include <_itoa.h>.
54656 (_itowa_word): Use _ITOA_WORD_TYPE on value.
54657 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
54658 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
54659 only if not defined.
54660 (_ITOA_WORD_TYPE): Likewise.
54661 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54662 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
54663
54664 2012-03-21 David S. Miller <davem@davemloft.net>
54665
54666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54667
54668 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54669
54670 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
54671 of x86_64 when setting libc_cv_slibdir, libdir and
54672 libc_cv_localedir.
54673 * sysdeps/unix/sysv/linux/configure: Regenerated.
54674
54675 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54676
54677 * manual/lang.texi (Old Varargs): Remove section.
54678 (How Variadic): Update menu.
54679 (va_start): Do not mention varargs.h.
54680
54681 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54682 Joseph Myers <joseph@codesourcery.com>
54683
54684 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
54685 link test.
54686 * configure: Regenerated.
54687
54688 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54689
54690 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
54691 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
54692 conformtest.pl
54693
54694 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54695
54696 * NOTES: Remove.
54697 * Makefile (files-for-dist): Remove NOTES.
54698 (NOTES): Remove rule.
54699 * README: Don't refer to NOTES.
54700 * manual/creature.texi: Don't include macros.texi.
54701 * manual/intro.texi (creature.texi): Remove comment referring to
54702 NOTES.
54703
54704 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
54705 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
54706 * configure: Regenerated.
54707 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
54708 LIBC_TRY_CC_OPTION.
54709 (libc_cv_as_i686): Likewise.
54710 (libc_cv_cc_avx): Likewise.
54711 (libc_cv_cc_sse2avx): Likewise.
54712 (libc_cv_cc_fma4): Likewise.
54713 (libc_cv_cc_novzeroupper): Likewise.
54714 * sysdeps/i386/configure: Regenerated.
54715
54716 [BZ #13883]
54717 * sysdeps/i386/fpu/s_cexp.S: Remove.
54718 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54719 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54720 * math/libm-test.inc (cexp_test): Add more tests.
54721 * sysdeps/i386/fpu/libm-test-ulps: Update.
54722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54723
54724 2012-03-21 Allan McRae <allan@archlinux.org>
54725
54726 * timezone/Makefile: Do not install iso3166.tab and zone.tab
54727
54728 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54729
54730 [BZ #13871]
54731 * math/w_exp2.c: Do not include <float.h>.
54732 (o_threshold, u_threshold): Remove.
54733 (__exp2): Calculate result before checking finiteness and calling
54734 __kernel_standard.
54735 * math/w_exp2f.c: Likewise.
54736 * math/w_exp2l.c: Likewise.
54737 * math/libm-test.inc (exp2_test): Require overflow exception for
54738 1e6 input.
54739
54740 [BZ #3866]
54741 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
54742 range of signed 64-bit integers before using fistpll. Remove
54743 checks for whether integers fit in mantissa bits.
54744 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
54745 the range of signed 32-bit integers before using fistpl. Remove
54746 checks for whether integers fit in mantissa bits.
54747 * sysdeps/i386/fpu/e_powl.S (p64): New object.
54748 (__ieee754_powl): Test for y outside the range of signed 64-bit
54749 integers before using fistpll. Reduce 64-bit values to 63-bit
54750 ones as needed.
54751 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
54752 divide-by-zero is raised for zero to large negative powers.
54753 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
54754 (__ieee754_powl): Test for y outside the range of signed 64-bit
54755 integers before using fistpll. Reduce 64-bit values to 63-bit
54756 ones as needed.
54757 * math/libm-test.inc (pow_test): Add more tests.
54758
54759 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54760
54761 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
54762 <stdio-common/_itoa.h>.
54763 * debug/segfault.c: Likewise.
54764 * elf/dl-cache.c: Likewise.
54765 * elf/dl-minimal.c: Likewise.
54766 * elf/dl-misc.c: Likewise.
54767 * elf/dl-sysdep.c: Likewise.
54768 * elf/dl-version.c: Likewise.
54769 * elf/rtld.c: Likewise.
54770 * hurd/hurdsock.c: Likewise.
54771 * hurd/lookup-retry.c: Likewise.
54772 * malloc/malloc.c: Likewise.
54773 * malloc/mtrace.c: Likewise.
54774 * nscd/nscd_getgr_r.c: Likewise.
54775 * nscd/nscd_getpw_r.c: Likewise.
54776 * nscd/nscd_getserv_r.c: Likewise.
54777 * posix/getopt_init.c: Likewise.
54778 * posix/wordexp.c: Likewise.
54779 * stdio-common/_itoa.c: Likewise.
54780 * stdio-common/printf_fphex.c: Likewise.
54781 * stdio-common/vfprintf.c: Likewise.
54782 * string/_strerror.c: Likewise.
54783 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
54784 * sysdeps/i386/i686/hp-timing.h: Likewise.
54785 * sysdeps/mach/_strerror.c: Likewise.
54786 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
54787 * sysdeps/mach/hurd/sethostid.c: Likewise.
54788 * sysdeps/mach/hurd/xmknodat.c: Likewise.
54789 * sysdeps/mach/xpg-strerror.c: Likewise.
54790 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54791 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54792 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
54793 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
54794 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54795 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
54796 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
54797 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
54798 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
54799 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
54800 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
54801 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
54802 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
54803 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
54804 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
54805 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
54806 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
54807 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
54808 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
54809 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
54810 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
54811
54812 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
54813
54814 * stdio-common/_itoa.h: Moved to ...
54815 * sysdeps/generic/_itoa.h: Here.
54816
54817 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
54818
54819 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
54820 instead of "_itoa.h" and "_itowa.h".
54821 * stdio-common/vfprintf.: Likewise.
54822
54823 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54824
54825 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
54826 <bits/wordsize.h>.
54827 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
54828 (__signbit): Likwise.
54829 (llrintf): Likwise.
54830 (llrint): Likwise.
54831
54832 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54833
54834 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
54835 __WORDSIZE != 64.
54836
54837 2012-03-20 Joseph Myers <joseph@codesourcery.com>
54838
54839 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
54840 OVERFLOW_EXCEPTION_OK.
54841 * math/libm-test.inc ("Philosophy"): Update comment about
54842 exception testing.
54843 (OVERFLOW_EXCEPTION): Define.
54844 (OVERFLOW_EXCEPTION_OK): Likewise.
54845 (INVALID_EXCEPTION_OK): Renumber.
54846 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54847 (IGNORE_ZERO_INF_SIGN): Likewise.
54848 (test_exceptions): Handle FE_OVERFLOW.
54849 (exp10_test): Expect overflow exceptions.
54850 (exp2_test): Likewise.
54851 (expm1_test): Likewise.
54852 (nextafter_test): Likewise.
54853 (pow_test): Likewise.
54854 (scalbn_test): Likewise.
54855 (scalbln_test): Likewise.
54856
54857 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54858
54859 * sysdeps/x86_64/bits/atomic.h
54860 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
54861 64bit integer.
54862 (atomic_exchange_acq): Likewise.
54863 (__arch_exchange_and_add_body): Likewise.
54864 (__arch_add_body): Likewise.
54865 (atomic_add_negative): Likewise.
54866 (atomic_add_zero): Likewise.
54867
54868 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54869
54870 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
54871 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
54872
54873 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54874
54875 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
54876 Check __x86_64__ instead of __WORDSIZE.
54877
54878 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54879
54880 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
54881
54882 2012-03-19 David S. Miller <davem@davemloft.net>
54883
54884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54885
54886 * sysdeps/sparc/fpu/fenv_private.h: New file.
54887 * sysdeps/sparc/fpu/math_private.h: Use it.
54888 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
54889 Remove.
54890 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
54891 (libc_feholdexcept_setroundl): Remove.
54892 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
54893 Remove.
54894 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
54895 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
54896
54897 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54898
54899 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
54900 int64_t instead of long int.
54901 (INSERT_WORDS64): Likwise.
54902
54903 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54904
54905 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
54906 _Unwind_GetCFA return to _Unwind_Ptr first.
54907
54908 2012-03-19 Joseph Myers <joseph@codesourcery.com>
54909
54910 [BZ #13629]
54911 * math/s_clog.c: Include <float.h>.
54912 (__clog): Scale large or subnormal inputs.
54913 * math/s_clogf.c: Likewise.
54914 * math/s_clogl.c: Likewise.
54915 * math/s_clog10.c: Include <float.h>.
54916 (M_LOG10_2): Define.
54917 (__clog10): Scale large or subnormal inputs.
54918 * math/s_clog10f.c: Likewise.
54919 * math/s_clog10l.c: Likewise.
54920 * math/libm-test.inc (clog_test): Add more tests.
54921 (clog10_test): Likewise.
54922 * sysdeps/i386/fpu/libm-test-ulps: Update.
54923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54924
54925 [BZ #11451]
54926 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
54927 x and y.
54928 * math/libm-test.inc (atan2_test): Add another test.
54929
54930 * Makerules (common-objdir-compile): Remove.
54931 * sysdeps/unix/Makefile (config-generated): Do not add
54932 $(unix-generated) to variable.
54933 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
54934 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
54935 Remove rule.
54936 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
54937 Likewise.
54938 [generic bits/local_lim.h] (before-compile): Do not append to
54939 variable.
54940 [generic bits/local_lim.h] (common-generated): Likewise.
54941 [generic sys/param.h] (before-compile): Do not append to variable.
54942 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
54943 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
54944 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
54945 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
54946 include.
54947 [generic sys/param.h] (sys/param.h-includes): Remove variable.
54948 [generic sys/param.h] (sys/param.h-includes): Remove rule.
54949 [generic sys/param.h] ($(addprefix
54950 $(common-objpfx),$(sys/param.h-includes))): Likewise.
54951 [generic sys/param.h] (common-generated): Do not append to
54952 variable.
54953 [generic sys/param.h] (sysdep_headers): Likewise.
54954 [generic bits/errno.h] (before-compile): Do not append to
54955 variable.
54956 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
54957 rule.
54958 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
54959 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
54960 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
54961 [generic bits/errno.h] (common-generated): Do not append to
54962 variable.
54963 [generic bits/ioctls.h] (before-compile): Do not append to
54964 variable.
54965 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
54966 rule.
54967 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
54968 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
54969 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
54970 rule.
54971 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
54972 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
54973 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
54974 [generic bits/ioctls.h] (common-generated): Do not append to
54975 variable.
54976 [generic sys/syscall.h] (syscall.h): Remove variable.
54977 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
54978 rule.
54979 [generic sys/syscall.h] (before-compile): Do not append to
54980 variable.
54981 [generic sys/syscall.h] (common-generated): Likewise.
54982 * sysdeps/unix/errnos-tmpl.c: Remove file.
54983 * sysdeps/unix/errnos.awk: Likewise.
54984 * sysdeps/unix/ioctls-tmpl.c: Likewise.
54985 * sysdeps/unix/ioctls.awk: Likewise.
54986 * sysdeps/unix/mk-local_lim.c: Likewise.
54987 * sysdeps/unix/snarf-ioctls: Likewise.
54988
54989 2012-03-19 Richard Henderson <rth@twiddle.net>
54990
54991 * sysdeps/i386/fpu/fenv_private.h: New file.
54992 * sysdeps/i386/fpu/math_private.h: Use it.
54993 (math_opt_barrier, math_force_eval): Remove.
54994 (libc_feholdexcept_setround_53bit): Remove.
54995 (libc_feupdateenv_53bit): Remove.
54996 * sysdeps/x86_64/fpu/math_private.h: Likewise.
54997 (math_opt_barrier, math_force_eval): Remove.
54998 (libc_feholdexcept): Remove.
54999 (libc_feholdexcept_setround): Remove.
55000 (libc_fetestexcept, libc_fesetenv): Remove.
55001 (libc_feupdateenv_test): Remove.
55002 (libc_feupdateenv, libc_feholdsetround): Remove.
55003 (libc_feresetround): Remove.
55004
55005 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
55006 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
55007
55008 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
55009 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
55010 (libc_feupdateenv_testl): New.
55011 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
55012 (libc_feupdateenv_testf): New.
55013 (libc_feupdateenv): Use libc_feupdateenv_test.
55014 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
55015 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
55016
55017 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
55018 (libc_feholdsetroundf, libc_feholdsetroundl): New.
55019 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
55020 (libc_feresetround_noex): New.
55021 (libc_feresetround_noexf): New.
55022 (libc_feresetround_noexl): New.
55023 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
55024 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
55025 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
55026 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
55027 SET_RESTORE_ROUND.
55028 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
55029 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
55030 (__cos): Likewise.
55031 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
55032 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
55033 SET_RESTORE_ROUND_NOEX.
55034 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
55035 SET_RESTORE_ROUND_NOEXF.
55036 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
55037 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
55038 (libc_feholdsetroundf): New.
55039 (libc_feresetround, libc_feresetroundf): New.
55040
55041 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
55042 (libc_feholdexcept_setround_53bit): Convert from macro to function.
55043 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
55044
55045 * sysdeps/generic/math_private.h: Include <fenv.h>.
55046 (default_libc_feholdexcept): New.
55047 (default_libc_feholdexcept_setround): New.
55048 (default_libc_fesetenv, default_libc_feupdateenv): New.
55049 (libc_feholdexcept): Only define if undefined.
55050 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
55051 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
55052 (libc_feholdexcept_setroundl): Likewise.
55053 (libc_feholdexcept_setround_53bit): Likewise.
55054 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
55055 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
55056 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
55057 (libc_feupdateenv_53bit): Likewise.
55058 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
55059 (libc_feholdexcept): Convert from macro to inline function.
55060 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
55061 (libc_fesetenv, libc_feupdateenv): Likewise.
55062
55063 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
55064 not previously defined.
55065 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
55066 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
55067 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
55068 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
55069 * sysdeps/ieee754/flt-32/math_private.h: New file.
55070 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
55071 math_private.h below SET_FLOAT_WORD.
55072 (__isnan, __isinf_ns, __finite): Remove.
55073 (__isnanf, __isinf_nsf, __finitef): Remove.
55074
55075 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
55076
55077 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55078
55079 2012-03-17 David S. Miller <davem@davemloft.net>
55080
55081 [BZ #6471]
55082 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
55083 for 2.16.
55084
55085 2012-03-16 David S. Miller <davem@davemloft.net>
55086
55087 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
55088 warnings.
55089
55090 [BZ #6471]
55091 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
55092 properly.
55093 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
55094 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
55095 sysdep_routines when subdir is sysvipc.
55096 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
55097 __getshmlba helper.
55098
55099 * sysdeps/sparc/fpu/libm-test/ulps: Update.
55100
55101 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55102
55103 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
55104 [__LP64__].
55105
55106 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55107
55108 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
55109 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
55110 (__lround): Renamed to ...
55111 (__llround): This. Replace long int with long long int.
55112 Define lround functions as aliases of llround functions.
55113 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
55114
55115 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55116
55117 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
55118 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
55119 adresses to uintptr_t. Replace "long int" and "unsigned long
55120 int" with "greg_t" on va_arg.
55121
55122 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55123
55124 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
55125 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
55126
55127 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
55128 Move e_machine check before EI_CLASS check. Handle x32
55129 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
55130 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
55131 SKIP_EM_IA_64 and include
55132 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
55133
55134 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
55135 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
55136 (add_system_dir): New macro.
55137
55138 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
55139 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
55140
55141 2012-03-16 Joseph Myers <joseph@codesourcery.com>
55142
55143 [BZ #2551]
55144 [BZ #2552]
55145 [BZ #2553]
55146 [BZ #2554]
55147 [BZ #2562]
55148 [BZ #2563]
55149 [BZ #2565]
55150 [BZ #2566]
55151 [BZ #2576]
55152 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
55153 (y0): Likewise.
55154 * math/w_j0f.c (j0f): Likewise.
55155 (y0f): Likewise.
55156 * math/w_j0l.c (__j0l): Likewise.
55157 (__y0l): Likewise.
55158 * math/w_j1.c (j1): Likewise.
55159 (y1): Likewise.
55160 * math/w_j1f.c (j1f): Likewise.
55161 (y1f): Likewise.
55162 * math/w_j1l.c (__j1l): Likewise.
55163 (__y1l): Likewise.
55164 * math/w_jn.c (jn): Likewise.
55165 (yn): Likewise.
55166 * math/w_jnf.c (jnf): Likewise.
55167 (ynf): Likewise.
55168 * math/w_jnl.c (__jnl): Likewise.
55169 (__ynl): Likewise.
55170 * math/libm-test.inc (j0_test): Add more tests.
55171 (j1_test): Likewise.
55172 (jn_test): Likewise. Add trailing semicolon to existing test.
55173 (y0_test): Likewise.
55174 (y1_test): Likewise.
55175 * sysdeps/i386/fpu/libm-test-ulps: Update.
55176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55177
55178 [BZ #13851]
55179 [BZ #13854]
55180 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
55181 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
55182 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
55183 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
55184 (__tanl): Set errno for infinite argument.
55185 * sysdeps/i386/fpu/mptan.c: Remove.
55186 * sysdeps/i386/fpu/s_tan.S: Likewise.
55187 * sysdeps/i386/fpu/s_tanl.S: Likewise.
55188 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
55189 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
55190 * math/libm-test.inc (tan_test): Add more tests and enable more
55191 tests for double and long double.
55192 * sysdeps/i386/fpu/libm-test-ulps: Update.
55193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55194
55195 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
55196
55197 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
55198 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
55199
55200 2012-03-16 Roland McGrath <roland@hack.frob.com>
55201
55202 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
55203 * configure.in: Use it for both main tree and add-ons.
55204 * configure: Regenerated.
55205
55206 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55207
55208 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
55209
55210 2012-03-16 Joseph Myers <joseph@codesourcery.com>
55211
55212 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
55213 in comment.
55214
55215 [BZ #13851]
55216 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
55217 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
55218 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
55219 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
55220 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
55221 infinite argument.
55222 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
55223 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
55224 != 0 for prec == 2.
55225 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
55226 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
55227 * sysdeps/i386/fpu/s_cosl.S: Likewise.
55228 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
55229 * sysdeps/i386/fpu/s_sinl.S: Likewise.
55230 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
55231 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
55232 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
55233 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
55234 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
55235 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
55236 * math/libm-test.inc (cos_test): Add more tests and enable more
55237 tests for long double.
55238 (sin_test): Likewise.
55239 (sincos_test): Likewise.
55240 * sysdeps/i386/fpu/libm-test-ulps: Update.
55241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55242
55243 2012-03-16 David S. Miller <davem@davemloft.net>
55244
55245 * sysdeps/sparc/fpu/math_private.h: New file.
55246
55247 2012-03-15 David S. Miller <davem@davemloft.net>
55248
55249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
55250 file.
55251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
55252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
55253 file.
55254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
55255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
55256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
55257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
55258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
55259 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
55260 sysdep routines.
55261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55262
55263 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
55264 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
55265
55266 * sysdeps/sparc/sparc-ifunc.h: New file.
55267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
55268 sparc-ifunc.h
55269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
55271 Likewise.
55272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
55273 Likewise.
55274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
55275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
55276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55278 Likewise.
55279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
55280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
55281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
55282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
55283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
55284 Likewise.
55285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
55286 Likewise.
55287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
55288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
55289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
55290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
55291 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55292 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55293 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
55294 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
55295 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55296 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55297 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
55298 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
55299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
55300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
55301 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
55302 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
55303 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
55304 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
55305 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
55306 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
55307 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
55308 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
55309 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
55310 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
55311
55312 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55313
55314 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
55315 scaling.
55316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55317
55318 2012-03-15 Andreas Jaeger <aj@suse.de>
55319
55320 [BZ #13852]
55321 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
55322 ieee754/flt-32 implementation for sin, cos and sincos.
55323 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
55324 * sysdeps/i386/fpu/s_cosf.S: Likewise.
55325 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
55326 * sysdeps/i386/fpu/s_sinf.S: Likewise.
55327 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
55328 ieee754/flt-32 implementation for tan.
55329
55330 * math/libm-test.inc (cos_test): Enable some large input tests for
55331 float as well
55332 (sin_test): Likewise.
55333 (sincos_test): Likewise.
55334 (tan_test): Add tests for large input.
55335
55336 * sysdeps/i386/fpu/libm-test-ulps: Update.
55337
55338 2012-03-15 Andreas Jaeger <aj@suse.de>
55339
55340 [BZ #13658]
55341 * math/libm-test.inc (cos_test): Add more test cases.
55342 (sin_test): Likewise.
55343 (sincos_test): Likewise.
55344
55345 2012-03-15 Andreas Jaeger <aj@suse.de>
55346
55347 [BZ #13837]
55348 * math/libm-test.inc (cos_test): Add a test case for large input
55349 value.
55350 (sin_test): Likewise.
55351 (sincos_test): Likewise.
55352
55353 2012-03-15 Andreas Jaeger <aj@suse.de>
55354 Joseph Myers <joseph@codesourcery.com>
55355
55356 [BZ #13658]
55357 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
55358 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
55359 * sysdeps/i386/fpu/branred.c: Likewise.
55360 * sysdeps/i386/fpu/dosincos.c: Likewise.
55361 * sysdeps/i386/fpu/mpa.c: Likewise.
55362 * sysdeps/i386/fpu/s_cos.S: Likewise.
55363 * sysdeps/i386/fpu/s_sin.S: Likewise.
55364 * sysdeps/i386/fpu/s_sincos.S: Likewise.
55365 * sysdeps/i386/fpu/sincos32.c: Likewise.
55366
55367 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
55368 Define.
55369 (libc_feupdateenv_53bit): Define.
55370 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
55371 Define.
55372 (libc_feupdateenv_53bit): Define.
55373
55374 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
55375 53 bit (without extend i386 double precision).
55376
55377 * math/libm-test.inc (sincos_test): Add tests for large input.
55378 (sin): Likewise.
55379 (cos): Likewise.
55380
55381 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
55382
55383 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55384
55385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55386
55387 2012-03-15 David S. Miller <davem@davemloft.net>
55388
55389 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
55390 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
55391 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
55392 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
55393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
55394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
55395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
55396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
55397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
55398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
55399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
55400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
55401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
55402 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
55403 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
55404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
55405 file.
55406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
55407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
55408 file.
55409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
55410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
55411 file.
55412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
55413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
55414 file.
55415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
55416 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
55417 fmin/fmax sysdep routines.
55418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55419
55420 2012-03-14 David S. Miller <davem@davemloft.net>
55421
55422 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
55423 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
55424 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
55425 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
55426 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
55427 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
55428 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
55429 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
55430 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
55431 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
55432 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
55433 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
55434 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
55435 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
55436 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
55437 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
55438 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
55439 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
55440 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
55441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
55442 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
55443 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
55444 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
55445 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
55446 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
55447 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
55448 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
55449 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
55450 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
55451 routines.
55452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
55453 file.
55454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
55455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
55456 file.
55457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
55458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
55459 file.
55460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
55461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
55462 file.
55463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
55464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
55465 file.
55466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
55467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
55468 file.
55469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
55470 file.
55471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
55472 file.
55473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
55474 file.
55475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
55476 New file.
55477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
55478 file.
55479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
55480 file.
55481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
55482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
55483 file.
55484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
55485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
55486 file.
55487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
55488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
55489 file.
55490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
55491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
55492 VIS3 routines.
55493
55494 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55495 New file.
55496
55497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55498
55499 * sysdeps/sparc/configure.in: New file.
55500 * sysdeps/sparc/configure: Generate.
55501 * configure.in (libc_cv_sparc_as_vis3): Substitute.
55502 * configure: Regenerate.
55503 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
55504 * config.make.in (have-as-vis3): New.
55505 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
55506 available use -Av9d instead of -Av9a.
55507 * sysdeps/sparc/sparc64/Makefile: Likewise.
55508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
55509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
55510 New file.
55511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
55512 file.
55513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
55514 New file.
55515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
55516 file.
55517 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
55518 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
55519 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
55520 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
55521 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
55522
55523 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
55524 fzeros/fnegs to load 0x80000000 into a float register instead of
55525 using the stack.
55526 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
55527
55528 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55529
55530 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55531 bits/syscall.h.
55532 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
55533 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
55534 ($(inst_includedir)/bits/syscall.h): Remove rule.
55535 ($(objpfx)bits/syscall.d): Include instead of
55536 $(objpfx)syscall-list.d.
55537 (generated): Change syscall-list.h and syscall-list.d to
55538 bits/syscall.h and bits/syscall.d.
55539
55540 2012-03-14 Roland McGrath <roland@hack.frob.com>
55541
55542 [BZ #13846]
55543 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
55544
55545 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55546
55547 [BZ #13841]
55548 * math/s_csqrt.c: Include <float.h>.
55549 (__csqrt): Scale large or subnormal inputs.
55550 * math/s_csqrtf.c: Likewise.
55551 * math/s_csqrtl.c: Likewise.
55552 * math/libm-test.inc (csqrt_test): Add more tests.
55553 * sysdeps/i386/fpu/libm-test-ulps: Update.
55554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55555
55556 [BZ #13840]
55557 * math/libm-test.inc (hypot_test): Add more tests.
55558
55559 2012-03-13 David S. Miller <davem@davemloft.net>
55560
55561 [BZ #13840]
55562 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
55563 double-precision for the calculation instead of scaling.
55564
55565 2012-03-13 Joseph Myers <joseph@codesourcery.com>
55566
55567 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
55568 manipulate bits before adding and subtracting TWO52[sx].
55569 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
55570 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
55571 Likewise.
55572 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
55573
55574 2012-03-13 David S. Miller <davem@davemloft.net>
55575
55576 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
55577 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
55578 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
55579 rtld-global-offsets.h
55580 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55581
55582 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
55583 large parameters.
55584
55585 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
55586
55587 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
55588 'err' in the ifdef scope in which it is actually used.
55589
55590 * nss/nss_db/db-init.c: Include string.h
55591
55592 2012-03-12 David S. Miller <davem@davemloft.net>
55593
55594 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55595 masking out of the most significant byte of random value used.
55596 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55597 Fix coding style in previous change.
55598
55599 * sysdeps/unix/sysv/linux/kernel-features.h
55600 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
55601 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
55602 expression.
55603 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
55604 later.
55605
55606 2012-03-11 David S. Miller <davem@davemloft.net>
55607
55608 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55609 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
55610 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
55611 for 'resultvar' otherwise things get truncated on 64-bit.
55612
55613 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55614 Fix masking out of the most significant byte of random value used.
55615
55616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55617
55618 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
55619
55620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55621
55622 2012-03-09 David S. Miller <davem@davemloft.net>
55623
55624 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
55625 variables with appropriate CPP guards.
55626 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
55627 from the frame pointer, not the stack pointer. Correct layout
55628 comments. Fix test on resulting framesize and the management of
55629 the outregs buffer for pltexit. Preserve floating point return
55630 values across _dl_call_pltexit call.
55631 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
55632 framesize and the management of the outregs buffer for pltexit.
55633 Preserve floating point return values across _dl_call_pltexit
55634 call.
55635 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
55636 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
55637 (la_sparc64_gnu_pltexit): New functions.
55638 (print_exit): Fix format string for return register value.
55639
55640 2012-03-10 Joseph Myers <joseph@codesourcery.com>
55641
55642 * sunrpc/Makefile (others): Add rpcgen.
55643 ($(objpfx)rpcgen): Remove special build rule and dependency on
55644 libc.
55645 * sunrpc/rpcgen.c: New file.
55646
55647 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
55648
55649 [BZ #13673]
55650 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
55651 * stdio-common/bug-vfprintf-nargs.c: Likewise.
55652 * sysdeps/i386/crti.S: Likewise.
55653 * sysdeps/i386/crtn.S: Likewise.
55654 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
55655 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
55656 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
55657 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
55658 * sysdeps/sh/crti.S: Likewise.
55659 * sysdeps/sh/crtn.S: Likewise.
55660 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55661
55662 [BZ #13673]
55663 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
55664 with URL.
55665 * locale/programs/locfile-kw.gperf: Likewise.
55666 * locale/programs/charmap-kw.h: Regenerated.
55667 * locale/programs/locfile-kw.h: Likewise.
55668
55669 [BZ #13673]
55670 * intl/plural.y: Replace FSF snail mail address with URL.
55671 * intl/plural.c: Regenerated.
55672
55673 2012-03-09 Richard Henderson <rth@twiddle.net>
55674
55675 * include/math_private.h: Remove file.
55676 * math/math_private.h: Move file ...
55677 * sysdeps/generic/math_private.h: ... here.
55678
55679 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
55680 * sysdeps/powerpc/fpu/math_private.h: Likewise.
55681 * sysdeps/x86_64/fpu/math_private.h: Likewise.
55682
55683 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
55684 and <math_private.h>.
55685 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55686 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55687 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55688 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55689 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55690 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
55691 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55692 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55693 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55694 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55695 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55696 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55697 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55698 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55699 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55700 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55701 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55702 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55703 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55704 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55705 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55706 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55707 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55708 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55709 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55710 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55711 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55712 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55713 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55714 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55715 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55716 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55717 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55718 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55719 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55720 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55721 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55722 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55723 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55724 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55725 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
55726 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55727 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55728 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55729 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55730 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55731 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
55732 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55733 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55734 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55735 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55736 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
55737 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55738 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55739 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55740 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55741 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55742 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55743 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55744 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
55745 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55746 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55747 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55748 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55749 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
55750 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55751 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55752 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55753 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
55754 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
55755 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55756 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55757 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55758 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55759 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
55760 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
55761 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
55762 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55763 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
55764 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
55765 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55766 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
55767 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55768 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55769 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55770 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
55771 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
55772 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
55773 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55774 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55775 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55776 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55777 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55778 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55779 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55780 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55781 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55782 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55783 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55784 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55785 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55786 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55787 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55788 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55789 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55790 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55791 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55792 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55793 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55794 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55795 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55796 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55797 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55798 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55799 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
55800 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55801 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55802 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55803 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55804 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55805 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55806 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55807 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55808 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
55809 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55810 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55811 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55812 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
55813 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55814 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
55815 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
55816 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55817 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55818 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
55819 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
55820 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55821 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55822 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55823 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
55824 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55825 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55826 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55827 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55828 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
55829 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
55830 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55831 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55832 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55833 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
55834 * sysdeps/ieee754/k_standard.c: Likewise.
55835 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55836 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55837 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55838 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55839 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55840 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55841 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55842 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55843 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55844 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55845 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55846 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55847 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55848 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55849 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55850 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55851 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55852 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55853 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55854 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
55855 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
55856 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
55857 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55858 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55859 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
55860 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
55861 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55862 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55863 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55864 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55865 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
55866 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55867 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55868 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55869 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
55870 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55871 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55872 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
55873 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
55874 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55875 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
55876 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
55877 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55878 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55879 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
55880 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
55881 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55882 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55883 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55884 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55885 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55886 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55887 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55888 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
55889 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55890 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55891 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
55892 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
55893 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55894 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55895 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55896 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
55897 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55898 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55899 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55900 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55901 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55902 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55903 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55904 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55905 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55906 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55907 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55908 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55909 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55910 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55911 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
55912 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55913 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55914 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55915 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55916 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55917 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55918 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55919 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
55920 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55921 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55922 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
55923 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55924 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55925 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
55926 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55927 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
55928 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
55929 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55930 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55931 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
55932 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
55933 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
55934 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
55935 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55936 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55937 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55938 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55939 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
55940 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55941 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55942 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
55943 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
55944 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55945 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55946 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55947 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55948 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55949 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55950 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55951 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55952 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55953 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55954 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55955 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55956 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55957 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55958 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55959 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55960 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
55961 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55962 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55963 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55964 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55965 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55966 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55967 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55968 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
55969 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55970 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55971 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
55972 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
55973 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55974 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
55975 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
55976 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55977 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
55978 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
55979 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55980 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55981 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55982 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55983 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55984 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
55985 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55986 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55987 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55988 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55989 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
55990 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
55991 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55992 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55993 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55994 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
55995 * sysdeps/ieee754/s_lib_version.c: Likewise.
55996 * sysdeps/ieee754/s_matherr.c: Likewise.
55997 * sysdeps/ieee754/s_signgam.c: Likewise.
55998 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55999 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56000 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
56001 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
56002 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
56003 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
56004 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
56005 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
56006 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
56007 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
56008 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
56009 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
56010 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56011 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56012 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
56013 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56014 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56015 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56016 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56017 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56018 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56019
56020 2012-03-09 Joseph Myers <joseph@codesourcery.com>
56021
56022 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
56023 * sunrpc/rpc_main.c: Likewise.
56024 * sunrpc/rpc_svcout.c: Likewise.
56025
56026 2012-03-09 David S. Miller <davem@davemloft.net>
56027
56028 * include/math_private.h: New file.
56029
56030 2012-03-09 Joseph Myers <joseph@codesourcery.com>
56031
56032 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
56033 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
56034 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
56035 from <bits/socket_type.h>.
56036 (enum __socket_type): Don't define here.
56037 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
56038 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56039 bits/socket_type.h.
56040
56041 [BZ #13566]
56042 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
56043 checking __USE_GNU.
56044
56045 * Makerules ($(inst_includedir)/%.h): New rule.
56046 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
56047 (install-others): Remove variable setting.
56048 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
56049
56050 2012-03-08 Richard Henderson <rth@twiddle.net>
56051
56052 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
56053 from macro to inline function; merge with the
56054 !__LIBC_INTERNAL_MATH_INLINES version.
56055 (__ieee754_sqrtf): Likewise.
56056
56057 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
56058 to inline function.
56059 (__rintf, __floor, __floorf): Likewise.
56060
56061 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
56062 macro to inline function.
56063 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
56064
56065 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
56066 not <math/math_private.h>.
56067
56068 2012-03-08 David S. Miller <davem@davemloft.net>
56069
56070 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
56071 copyright year.
56072 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
56073
56074 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
56075
56076 * resolv/gai_misc.c (handle_requests): Fix struct timespec
56077 normalization.
56078 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
56079 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
56080
56081 2012-03-08 Ulrich Drepper <drepper@gmail.com>
56082
56083 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
56084 be defined individually, they must be defined as a block. Define
56085 S for printing a string instead of hidint the different by using a
56086 macro for adding the 'l'.
56087 * stdio-common/tst-fphex-wide.c: Adjust.
56088
56089 2012-03-07 Marek Polacek <polacek@redhat.com>
56090
56091 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
56092
56093 2012-03-08 Marek Polacek <polacek@redhat.com>
56094
56095 [BZ #13806]
56096 * stdio-common/Makefile (tests): Add tst-fphex-wide.
56097 * stdio-common/tst-fphex.c: Define a few macros to make the
56098 test reusable. Use them.
56099 * stdio-common/tst-fphex-wide.c: New file.
56100
56101 2012-03-08 Joseph Myers <joseph@codesourcery.com>
56102
56103 [BZ #6911]
56104 * manual/macros.texi (gnusystems): New macro.
56105 (nongnusystems): Likewise.
56106 (gnulinuxhurdsystems): Likewise.
56107 (gnuhurdsystems): Likewise..
56108 (gnulinuxsystems): Likewise.
56109 * manual/charset.texi: Use new macros or @theglibc{} to refer to
56110 variants of the GNU system, not "GNU system".
56111 * manual/conf.texi: Likewise.
56112 * manual/errno.texi: Likewise. Update example of errno macro
56113 expansion.
56114 * manual/filesys.texi: Likewise.
56115 (getumask): Document as specific to GNU/Hurd.
56116 * manual/install.texi: Likewise. Reword some references to
56117 GNU/Linux.
56118 * manual/intro.texi: Likewise.
56119 * manual/io.texi: Likewise.
56120 (File Name Portability): Detail which constraints are inapplicable
56121 to all GNU systems and which are only inapplicable to GNU/Hurd.
56122 * manual/job.texi: Likewise.
56123 * manual/llio.texi: Likewise.
56124 (O_NOCTTY): Document as present on GNU/Linux.
56125 * manual/maint.texi: Likewise.
56126 * manual/memory.texi: Likewise.
56127 * manual/pattern.texi: Likewise.
56128 * manual/pipe.texi: Likewise.
56129 * manual/process.texi: Likewise.
56130 * manual/resource.texi: Likewise.
56131 (RUSAGE_CHILDREN): Remove statement about specifying a particular
56132 child on GNU/Hurd.
56133 * manual/setjmp.texi: Likewise.
56134 * manual/signal.texi: Likewise.
56135 * manual/startup.texi: Likewise.
56136 * manual/stdio.texi: Likewise.
56137 * manual/terminal.texi: Likewise.
56138 (ONLCR): Document as POSIX.
56139 (OXTABS): Document availability on GNU/Linux as XTABS.
56140 (ONOEOT): Document availability separately from other bits.
56141 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
56142 * manual/time.texi: Likewise.
56143 * manual/users.texi: Likewise.
56144 * INSTALL: Regenerated.
56145 * sysdeps/gnu/errlist.c: Regenerated.
56146
56147 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
56148 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
56149 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
56150 puts.
56151 * configure: Regenerated.
56152
56153 2012-03-07 Joseph Myers <joseph@codesourcery.com>
56154
56155 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
56156 default includes instead of AC_HEADER_CHECK.
56157 * sysdeps/i386/configure: Regenerated.
56158
56159 [BZ #10716]
56160 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
56161 * math/s_cacoshf.c (__cacoshf): Likewise.
56162 * math/s_cacoshl.c (__cacoshl): Likewise.
56163 * math/s_casinh.c (__casinh): Set signs of result from argument.
56164 * math/s_casinhf.c (__casinhf): Likewise.
56165 * math/s_casinhl.c (__casinhl): Likewise.
56166 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
56167 (casinh_test): Add more tests.
56168 * sysdeps/i386/fpu/libm-test-ulps: Update.
56169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56170
56171 2012-03-07 Ulrich Drepper <drepper@gmail.com>
56172
56173 * po/zh_TW.po: Update from translation team.
56174
56175 * login/Makefile (distribute): Remove variable.
56176 * catgets/Makefile: Likewise.
56177 * mach/Makefile: Likewise.
56178 * malloc/Makefile: Likewise.
56179 * misc/Makefile: Likewise.
56180 * iconv/Makefile: Likewise.
56181 * nscd/Makefile: Likewise.
56182 * hurd/Makefile: Likewise.
56183 * manual/Makefile: Likewise.
56184 * locale/Makefile: Likewise.
56185 * intl/Makefile: Likewise.
56186 * conform/Makefile: Likewise.
56187 * nss/Makefile: Likewise.
56188 * time/Makefile: Likewise.
56189 * soft-fp/Makefile: Likewise.
56190 * dirent/Makefile: Likewise.
56191 * gmon/Makefile: Likewise.
56192 * po/Makefile: Likewise.
56193 * rt/Makefile: Likewise.
56194 * socket/Makefile: Likewise.
56195 * math/Makefile: Likewise.
56196 * signal/Makefile: Likewise.
56197 * debug/Makefile: Likewise.
56198 * elf/Makefile: Likewise.
56199 * timezone/Makefile: Likewise.
56200 * stdlib/Makefile: Likewise.
56201 * iconvdata/Makefile: Likewise.
56202 * sunrpc/Makefile: Likewise.
56203 * io/Makefile: Likewise.
56204 * argp/Makefile: Likewise.
56205 * inet/Makefile: Likewise.
56206 * hesiod/Makefile: Likewise.
56207 * grp/Makefile: Likewise.
56208 * csu/Makefile: Likewise.
56209 * wctype/Makefile: Likewise.
56210 * crypt/Makefile: Likewise.
56211 * libio/Makefile: Likewise.
56212 * string/Makefile: Likewise.
56213 * nis/Makefile: Likewise.
56214 * resolv/Makefile: Likewise.
56215 * stdio-common/Makefile: Likewise.
56216 * wcsmbs/Makefile: Likewise.
56217 * dlfcn/Makefile: Likewise.
56218 * posix/Makefile: Likewise.
56219
56220 [BZ #6959]
56221 * timezone/Makefile: Don't install timezone files, just the programs
56222 and scripts.
56223
56224 2012-03-06 Ulrich Drepper <drepper@gmail.com>
56225
56226 * nss/databases.def: Add missing gshadow entry.
56227
56228 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
56229
56230 2012-03-06 Marek Polacek <polacek@redhat.com>
56231
56232 [BZ #13726]
56233 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
56234 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56235 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
56236 * stdio-common/tst-long-dbl-fphex.c: New file.
56237
56238 2012-03-06 David S. Miller <davem@davemloft.net>
56239
56240 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56241 (set_obp_int): New function.
56242 (get_obp_int): New function.
56243 (__get_clockfreq_via_dev_openprom): Likewise.
56244 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
56245 Avoid unused variable warnings on 'val' and use builtin_expect.
56246 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
56247 __builtin_expect.
56248 (INLINE_CLONE_SYSCALL): Likewise.
56249
56250 2012-03-05 David S. Miller <davem@davemloft.net>
56251
56252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56253
56254 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
56255
56256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56257
56258 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
56259 only for |x| >= 40.
56260 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56261
56262 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
56263
56264 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
56265 Replace gettimeofday with __vdso_gettimeofday.
56266
56267 * sysdeps/unix/sysv/linux/x86_64/init-first.c
56268 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
56269 __vdso_clock_gettime and __vdso_getcpu.
56270
56271 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
56272 time with __vdso_time.
56273
56274 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56275
56276 * manual/lang.texi (size_t): Note types to which size_t may be
56277 equivalent with the GNU C Library, but do not describe when
56278 differences between them are significant.
56279
56280 2012-03-05 Andreas Jaeger <aj@suse.de>
56281
56282 * sysdeps/i386/fpu/libm-test-ulps: Update.
56283
56284 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56285
56286 [BZ #3976]
56287 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
56288 (__ieee754_pow): Save and restore rounding mode and use
56289 round-to-nearest for main computations.
56290 * math/libm-test.inc (pow_test_tonearest): New function.
56291 (pow_test_towardzero): Likewise.
56292 (pow_test_downward): Likewise.
56293 (pow_test_upward): Likewise.
56294 (main): Call the new functions.
56295 * sysdeps/i386/fpu/libm-test-ulps: Update.
56296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56297
56298 [BZ #3976]
56299 * math/libm-test.inc (cosh_test_tonearest): New function.
56300 (cosh_test_towardzero): Likewise.
56301 (cosh_test_downward): Likewise.
56302 (cosh_test_upward): Likewise.
56303 (sinh_test_tonearest): Likewise.
56304 (sinh_test_towardzero): Likewise.
56305 (sinh_test_downward): Likewise.
56306 (sinh_test_upward): Likewise.
56307 (main): Call the new functions.
56308 * sysdeps/i386/fpu/libm-test-ulps: Update.
56309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56310
56311 2012-03-05 Tom de Vries <tom@codesourcery.com>
56312
56313 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
56314 default stack guard is set in last bytes.
56315 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
56316
56317 2012-03-05 Kees Cook <keescook@chromium.org>
56318
56319 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
56320
56321 [BZ #13656]
56322 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
56323 possibly allocate from heap instead of stack.
56324 * stdio-common/bug-vfprintf-nargs.c: New file.
56325 * stdio-common/Makefile (tests): Add nargs overflow test.
56326
56327 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
56328
56329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56330
56331 2012-03-03 Marek Polacek <polacek@redhat.com>
56332
56333 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
56334 * math/math_private.h: Likewise.
56335 * stdlib/tst-strtod.c: Likewise.
56336 * sysdeps/i386/i486/bits/atomic.h: Likewise.
56337 * sysdeps/x86_64/bits/atomic.h: Likewise.
56338
56339 2012-03-02 David S. Miller <davem@davemloft.net>
56340
56341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
56342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
56343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
56344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
56345 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
56346 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
56347 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
56348 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
56349
56350 2012-03-02 Roland McGrath <roland@hack.frob.com>
56351
56352 [BZ #13792]
56353 * manual/examples/README: New file, says the example source files
56354 can be used under GPL>=2.
56355 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
56356 line containing just "*/".
56357 * manual/examples/add.c: Add copyright header (GPL>=2).
56358 * manual/examples/argp-ex1.c: Likewise.
56359 * manual/examples/argp-ex2.c: Likewise.
56360 * manual/examples/argp-ex3.c: Likewise.
56361 * manual/examples/argp-ex4.c: Likewise.
56362 * manual/examples/atexit.c: Likewise.
56363 * manual/examples/db.c: Likewise.
56364 * manual/examples/dir.c: Likewise.
56365 * manual/examples/dir2.c: Likewise.
56366 * manual/examples/execinfo.c: Likewise.
56367 * manual/examples/filecli.c: Likewise.
56368 * manual/examples/filesrv.c: Likewise.
56369 * manual/examples/fmtmsgexpl.c: Likewise.
56370 * manual/examples/genpass.c: Likewise.
56371 * manual/examples/inetcli.c: Likewise.
56372 * manual/examples/inetsrv.c: Likewise.
56373 * manual/examples/isockad.c: Likewise.
56374 * manual/examples/longopt.c: Likewise.
56375 * manual/examples/memopen.c: Likewise.
56376 * manual/examples/memstrm.c: Likewise.
56377 * manual/examples/mkfsock.c: Likewise.
56378 * manual/examples/mkisock.c: Likewise.
56379 * manual/examples/mygetpass.c: Likewise.
56380 * manual/examples/pipe.c: Likewise.
56381 * manual/examples/popen.c: Likewise.
56382 * manual/examples/rprintf.c: Likewise.
56383 * manual/examples/search.c: Likewise.
56384 * manual/examples/select.c: Likewise.
56385 * manual/examples/setjmp.c: Likewise.
56386 * manual/examples/sigh1.c: Likewise.
56387 * manual/examples/sigusr.c: Likewise.
56388 * manual/examples/stpcpy.c: Likewise.
56389 * manual/examples/strdupa.c: Likewise.
56390 * manual/examples/strftim.c: Likewise.
56391 * manual/examples/strncat.c: Likewise.
56392 * manual/examples/subopt.c: Likewise.
56393 * manual/examples/swapcontext.c: Likewise.
56394 * manual/examples/termios.c: Likewise.
56395 * manual/examples/testopt.c: Likewise.
56396 * manual/examples/testpass.c: Likewise.
56397 * manual/examples/timeval_subtract.c: Likewise.
56398
56399 [BZ #13792]
56400 * manual/time.texi (Elapsed Time): Move timeval_subtract example
56401 function to ...
56402 * manual/timeval_subtract.c.texi: ... here, new file.
56403
56404 2012-03-02 David S. Miller <davem@davemloft.net>
56405
56406 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
56407
56408 2012-03-02 Joseph Myers <joseph@codesourcery.com>
56409
56410 [BZ #3976]
56411 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
56412 (__sin): Save and restore rounding mode and use round-to-nearest
56413 for all computations.
56414 (__cos): Save and restore rounding mode and use round-to-nearest
56415 for all computations.
56416 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
56417 <fenv.h>.
56418 (tan): Save and restore rounding mode and use round-to-nearest for
56419 all computations.
56420 * math/libm-test.inc (cos_test_tonearest): New function.
56421 (cos_test_towardzero): Likewise.
56422 (cos_test_downward): Likewise.
56423 (cos_test_upward): Likewise.
56424 (sin_test_tonearest): Likewise.
56425 (sin_test_towardzero): Likewise.
56426 (sin_test_downward): Likewise.
56427 (sin_test_upward): Likewise.
56428 (tan_test_tonearest): Likewise.
56429 (tan_test_towardzero): Likewise.
56430 (tan_test_downward): Likewise.
56431 (tan_test_upward): Likewise.
56432 (main): Call the new functions.
56433 * sysdeps/i386/fpu/libm-test-ulps: Update.
56434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56435
56436 [BZ #10135]
56437 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
56438 small n, then large n, before computing and testing k+n.
56439 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
56440 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
56441 Likewise.
56442 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
56443 Likewise.
56444 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
56445 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
56446 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
56447 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
56448 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56449 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56450 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
56451 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
56452 * math/libm-test.inc (scalbn_test): Add more tests.
56453 (scalbln_test): Likewise.
56454
56455 * manual/filesys.texi (mode_t): Describe constraints on size and
56456 signedness, not exact equivalence to a particular type.
56457 (ino_t): Likewise.
56458 (ino64_t): Likewise.
56459 (dev_t): Likewise.
56460 (nlink_t): Likewise.
56461 (blkcnt_t): Likewise.
56462 (blkcnt64_t): Likewise.
56463 * manual/llio.texi (off_t): Likewise.
56464
56465 [BZ #3976]
56466 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
56467 (__ieee754_exp): Save and restore rounding mode and use
56468 round-to-nearest for all computations.
56469 * math/libm-test.inc (exp_test_tonearest): New function.
56470 (exp_test_towardzero): Likewise.
56471 (exp_test_downward): Likewise.
56472 (exp_test_upward): Likewise.
56473 (main): Call the new functions.
56474 * sysdeps/i386/fpu/libm-test-ulps: Update.
56475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56476
56477 2012-03-01 Chris Demetriou <cgd@google.com>
56478
56479 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
56480 have predictable order.
56481
56482 2012-03-01 David S. Miller <davem@davemloft.net>
56483
56484 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
56485
56486 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
56487 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
56488 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
56489 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
56490
56491 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
56492 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
56493 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
56494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
56495 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
56496 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
56497 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
56498 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
56499 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
56500
56501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56502
56503 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
56504 * sysdeps/sparc/fpu/libm-test-ulps: to here.
56505 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
56506
56507 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
56508 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56509 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56510 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
56511 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
56512 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
56513 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
56514 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56515 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56516 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
56517 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
56518 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56519 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56520 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56521 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56522 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56523 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
56524 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
56525 * sysdeps/sparc/elf/configure: Regenerated.
56526
56527 2012-03-01 Joseph Myers <joseph@codesourcery.com>
56528
56529 * configure.in (AS, LD): Require binutils 2.20 or later.
56530 * configure: Regenerated.
56531 * manual/install.texi (Tools for Compilation): Give binutils 2.20
56532 as required minimum version.
56533 * INSTALL: Regenerated.
56534
56535 [BZ #2541]
56536 [BZ #4108]
56537 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
56538 before squaring exponent.
56539 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
56540 bottom long double and 27 bits of top long double before squaring
56541 exponent.
56542 * math/libm-test.inc (erfc_test): Add more tests.
56543 * sysdeps/i386/fpu/libm-test-ulps: Update.
56544 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56546
56547 2012-03-01 Kai Tietz <ktietz@redhat.com>
56548
56549 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
56550 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
56551 containing bit-fields.
56552 * soft-fp/extended.h (_FP_UNION_E): Likewise.
56553 * soft-fp/single.h (_FP_UNION_S): Likewise.
56554 * soft-fp/double.h (_FP_UNION_D): Likewise.
56555
56556 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56557
56558 [BZ #13786]
56559 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
56560 not include ../strcmp.S.
56561 [USE_AS_STRNCASECMP_L]: Likewise.
56562 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
56563 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
56564 * sysdeps/i386/i686/multiarch/strncase_l-c.c
56565 (__strncasecmp_l_ia32): Define as alias to
56566 __strncasecmp_l_nonascii.
56567
56568 [BZ #5794]
56569 * math/libm-test.inc (expm1_test): Add test for bug 5794.
56570 * sysdeps/i386/fpu/libm-test-ulps: Update.
56571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56572
56573 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
56574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56575
56576 2012-02-29 Jeff Law <law@redhat.com>
56577
56578 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
56579 out of bounds read.
56580
56581 2012-02-29 Marek Polacek <polacek@redhat.com>
56582
56583 [BZ #13706]
56584 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
56585 * elf/Makefile: Add rules to run tst-unused-dep.out.
56586
56587 2012-02-28 David S. Miller <davem@davemloft.net>
56588
56589 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
56590 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
56591 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
56592 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
56593 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
56594 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
56595
56596 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56597
56598 * math/libm-test.inc (llround_test): Move one test from
56599 lround_test. Use TEST_f_L in moved test.
56600 (lround_test): Move misplaced test to llround_test. Add testcase
56601 from bug 2561.
56602
56603 2012-02-28 Ulrich Drepper <drepper@gmail.com>
56604
56605 * sysdeps/x86_64/fpu/e_expf.S: New file.
56606 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
56607
56608 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
56609
56610 [BZ #13637]
56611 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
56612 of remain_len that may cause incomplete multi-byte character and
56613 false match.
56614 * posix/bug-regex33.c: New file.
56615 * posix/Makefile (tests): Add bug-regex33.
56616
56617 2012-02-28 Joseph Myers <joseph@codesourcery.com>
56618
56619 * manual/macros.texi: New file.
56620 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
56621 * manual/libc.texinfo: Include macros.texi.
56622 * manual/creatute.texi: Likewise.
56623 * manual/install.texi: Likewise.
56624 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
56625 @glibcadj{} in references to the GNU C Library.
56626 * manual/charset.texi: Likewise.
56627 * manual/conf.texi: Likewise.
56628 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
56629 when not using those macros.
56630 * manual/creature.texi: Likewise.
56631 * manual/crypt.texi: Likewise.
56632 * manual/errno.texi: Likewise.
56633 * manual/filesys.texi: Likewise.
56634 * manual/header.texi: Likewise.
56635 * manual/install.texi: Likewise.
56636 * manual/intro.texi: Likewise.
56637 * manual/io.texi: Likewise.
56638 * manual/job.texi: Likewise.
56639 * manual/lang.texi: Likewise.
56640 * manual/libc.texiinfo: Likewise.
56641 * manual/llio.texi: Likewise.
56642 * manual/locale.texi: Likewise.
56643 * manual/maint.texi: Likewise.
56644 * manual/math.texi: Likewise.
56645 * manual/memory.texi: Likewise.
56646 * manual/message.texi: Likewise.
56647 * manual/nss.texi: Likewise.
56648 * manual/pattern.texi: Likewise.
56649 * manual/process.texi: Likewise.
56650 * manual/resource.texi: Likewise.
56651 * manual/search.texi: Likewise.
56652 * manual/setjmp.texi: Likewise.
56653 * manual/signal.texi: Likewise.
56654 * manual/socket.texi: Likewise.
56655 * manual/startup.texi: Likewise.
56656 * manual/stdio.texi: Likewise.
56657 * manual/string.texi: Likewise.
56658 * manual/sysinfo.texi: Likewise.
56659 * manual/syslog.texi: Likewise.
56660 * manual/terminal.texi: Likewise.
56661 * manual/time.texi: Likewise.
56662 * manual/users.texi: Likewise.
56663 * INSTALL: Regenerated.
56664 * NOTES: Regenerated.
56665 * sysdeps/gnu/errlist.c: Regenerated.
56666
56667 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
56668
56669 * include/dirent.h: Include <dirstream.h> before
56670 <dirent/dirent.h>.
56671
56672 2012-02-28 David S. Miller <davem@davemloft.net>
56673
56674 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
56675 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
56676 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
56677 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
56678
56679 2012-02-27 David S. Miller <davem@davemloft.net>
56680
56681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
56682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
56683 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
56684 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
56685
56686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
56687 frame pointer instead of stack pointer relative arg slot.
56688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56689 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56690 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56691
56692 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
56693
56694 [BZ #3992]
56695 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
56696
56697 2012-02-27 David S. Miller <davem@davemloft.net>
56698
56699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
56700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
56702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
56703 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56704 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56705 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
56706 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
56707
56708 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56709
56710 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
56711 later. Allow versions 5-9.
56712 * configure: Regenerated.
56713 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
56714 required minimum version and 4.6 as recommended version. Do not
56715 mention bugs in GCC 2.7 and 2.8.
56716 * INSTALL: Regenerated.
56717
56718 2012-02-27 David S. Miller <davem@davemloft.net>
56719
56720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
56721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
56722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
56723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
56724 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
56725 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
56726 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
56727 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
56728
56729 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
56730 manipulate bits before adding and subtracting TWO112[sx].
56731 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56732
56733 2012-02-27 Roland McGrath <roland@hack.frob.com>
56734
56735 [BZ #13775]
56736 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
56737 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
56738 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
56739 being in POSIX, because they are in 1003.1-2008.
56740
56741 * rt/tst-aio.c: Include <fcntl.h>.
56742 * rt/tst-aio7.c: Likewise.
56743 * rt/tst-aio64.c: Likewise.
56744
56745 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
56746
56747 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56748
56749 * manual/install.texi (--with-headers): Describe headers as
56750 interface headers, not private headers.
56751 (Specific advice for GNU/Linux systems): Describe use of headers
56752 from "make headers_install", not private headers from older
56753 kernels.
56754 * INSTALL: Regenerated.
56755 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
56756 Change to 2.6.19.
56757 * sysdeps/unix/sysv/linux/configure: Regenerated.
56758
56759 * manual/llio.texi (fclean): Remove documentation.
56760
56761 * manual/Makefile (libc-texi-generated): New variable. Include
56762 version.texi.
56763 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
56764 $(libc-texi-generated), not duplicated list of files.
56765 (version.texi, stamp-version): New rules.
56766 (realclean): Remove $(libc-texi-generated), not individual files
56767 from that list. Do not remove dir-add.texinfo.
56768 * manual/libc.texinfo: Comment out uses of edition numbers and
56769 references to printed manual. Remove last-updated dates.
56770 (EDITION): Comment out.
56771 (ISBN): Likewise.
56772 (VERSION, UPDATED): Remove.
56773 (version.texi): Include.
56774
56775 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
56776
56777 * sysdeps/posix/spawni.c: Include <signal.h>.
56778 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
56779 * sysdeps/pthread/aio_fsync.c: Likewise.
56780
56781 2012-02-26 Ulrich Drepper <drepper@gmail.com>
56782
56783 * conform/Makefile (tests): Run only when not cross-compiling and
56784 when fast-check is not defined.
56785
56786 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
56787 * conform/data/limits.h-data: Fixes for POSIX2008.
56788 * conform/run-conformtest.sh: Run all tests.
56789 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
56790 headers.
56791 * include/bits/dlfcn.h: Likewise.
56792 * include/langinfo.h: Likewise.
56793 * include/monetary.h: Likewise.
56794 * include/sys/poll.h: Likewise.
56795
56796 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
56797 for __USE_GNU.
56798 * posix/spawn.h: Define __need_sigset_t.
56799 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
56800 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
56801 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
56802 to get sigevent_t only.
56803 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
56804 only for __USE_GNU.
56805 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56806 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56807 process_vm_writev only for __USE_GNU.
56808 * termios/termios.h: Declare tcgetsid also for POSIX2008.
56809
56810 * conform/Makefile: For now ignore errors from run-conformtest.
56811 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
56812 POSIX to avoid namespace pollution. Don't prepend headers.
56813 * conform/data/aio.h-data: Fixes for POSIX testing.
56814 * conform/data/fcntl.h-data: Likewise.
56815 * conform/data/glob.h-data: Likewise.
56816 * conform/data/grp.h-data: Likewise.
56817 * conform/data/pthread.h-data: Likewise.
56818 * conform/data/pwd.h-data: Likewise.
56819 * conform/data/signal.h-data: Likewise.
56820 * conform/data/spawn.h-data: Likewise.
56821 * conform/data/stdio.h-data: Likewise.
56822 * conform/data/stdlib.h-data: Likewise.
56823 * conform/data/stropts.h-data: Likewise.
56824 * conform/data/sys/mman.h-data: Likewise.
56825 * conform/data/sys/stat.h-data: Likewise.
56826 * conform/data/sys/types.h-data: Likewise.
56827 * conform/data/sys/wait.h-data: Likewise.
56828 * conform/data/time.h-data: Likewise.
56829 * conform/data/unistd.h-data: Likewise.
56830 * conform/data/utime.h-data: Likewise.
56831
56832 * io/sys/stat.h: fchmod was always in POSIX.
56833 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
56834 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
56835 * rt/aio.h: Define __need_timespec before including <time.h>.
56836 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
56837 struct. Add forward declaration of pthread_attr_t and use it in
56838 sigevent.
56839 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56840 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56841 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
56842 always remove CLK_TCK definition.
56843
56844 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
56845
56846 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
56847
56848 2012-02-25 Ulrich Drepper <drepper@gmail.com>
56849
56850 * conform/run-conformtest.sh: New file.
56851 * conform/Makefile: Run run-conformtest for tests.
56852 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
56853 support.
56854
56855 * conform/data/uchar.h-data: New file.
56856 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
56857 * conform/data/arpa/inet.h-data: Likewise.
56858 * conform/data/assert.h-data: Likewise.
56859 * conform/data/complex.h-data: Likewise.
56860 * conform/data/cpio.h-data: Likewise.
56861 * conform/data/ctype.h-data: Likewise.
56862 * conform/data/dirent.h-data: Likewise.
56863 * conform/data/dlfcn.h-data: Likewise.
56864 * conform/data/errno.h-data: Likewise.
56865 * conform/data/fcntl.h-data: Likewise.
56866 * conform/data/float.h-data: Likewise.
56867 * conform/data/fmtmsg.h-data: Likewise.
56868 * conform/data/fnmatch.h-data: Likewise.
56869 * conform/data/ftw.h-data: Likewise.
56870 * conform/data/glob.h-data: Likewise.
56871 * conform/data/grp.h-data: Likewise.
56872 * conform/data/iconv.h-data: Likewise.
56873 * conform/data/inttypes.h-data: Likewise.
56874 * conform/data/langinfo.h-data: Likewise.
56875 * conform/data/libgen.h-data: Likewise.
56876 * conform/data/limits.h-data: Likewise.
56877 * conform/data/locale.h-data: Likewise.
56878 * conform/data/math.h-data: Likewise.
56879 * conform/data/monetary.h-data: Likewise.
56880 * conform/data/mqueue.h-data: Likewise.
56881 * conform/data/ndbm.h-data: Likewise.
56882 * conform/data/net/if.h-data: Likewise.
56883 * conform/data/netdb.h-data: Likewise.
56884 * conform/data/netinet/in.h-data: Likewise.
56885 * conform/data/nl_types.h-data: Likewise.
56886 * conform/data/poll.h-data: Likewise.
56887 * conform/data/pthread.h-data: Likewise.
56888 * conform/data/pwd.h-data: Likewise.
56889 * conform/data/regex.h-data: Likewise.
56890 * conform/data/sched.h-data: Likewise.
56891 * conform/data/search.h-data: Likewise.
56892 * conform/data/semaphore.h-data: Likewise.
56893 * conform/data/setjmp.h-data: Likewise.
56894 * conform/data/signal.h-data: Likewise.
56895 * conform/data/spawn.h-data: Likewise.
56896 * conform/data/stdarg.h-data: Likewise.
56897 * conform/data/stdio.h-data: Likewise.
56898 * conform/data/stdlib.h-data: Likewise.
56899 * conform/data/string.h-data: Likewise.
56900 * conform/data/strings.h-data: Likewise.
56901 * conform/data/stropts.h-data: Likewise.
56902 * conform/data/sys/ipc.h-data: Likewise.
56903 * conform/data/sys/mman.h-data: Likewise.
56904 * conform/data/sys/msg.h-data: Likewise.
56905 * conform/data/sys/resource.h-data: Likewise.
56906 * conform/data/sys/select.h-data: Likewise.
56907 * conform/data/sys/sem.h-data: Likewise.
56908 * conform/data/sys/shm.h-data: Likewise.
56909 * conform/data/sys/socket.h-data: Likewise.
56910 * conform/data/sys/stat.h-data: Likewise.
56911 * conform/data/sys/statvfs.h-data: Likewise.
56912 * conform/data/sys/time.h-data: Likewise.
56913 * conform/data/sys/timeb.h-data: Likewise.
56914 * conform/data/sys/times.h-data: Likewise.
56915 * conform/data/sys/types.h-data: Likewise.
56916 * conform/data/sys/uio.h-data: Likewise.
56917 * conform/data/sys/un.h-data: Likewise.
56918 * conform/data/sys/utsname.h-data: Likewise.
56919 * conform/data/sys/wait.h-data: Likewise.
56920 * conform/data/syslog.h-data: Likewise.
56921 * conform/data/tar.h-data: Likewise.
56922 * conform/data/termios.h-data: Likewise.
56923 * conform/data/utime.h-data: Likewise.
56924 * conform/data/utmpx.h-data: Likewise.
56925 * conform/data/varargs.h-data: Likewise.
56926 * conform/data/wchar.h-data: Likewise.
56927 * conform/data/wctype.h-data: Likewise.
56928 * conform/data/wordexp.h-data: Likewise.
56929
56930 * include/stropts.h: New file.
56931 * include/uchar.h: New file.
56932 * include/aio.h: Changes to allow conformtest.pl to use the headers.
56933 * include/assert.h: Likewise.
56934 * include/ctype.h: Likewise.
56935 * include/dirent.h: Likewise.
56936 * include/dlfcn.h: Likewise.
56937 * include/fcntl.h: Likewise.
56938 * include/fnmatch.h: Likewise.
56939 * include/glob.h: Likewise.
56940 * include/grp.h: Likewise.
56941 * include/libio.h: Likewise.
56942 * include/locale.h: Likewise.
56943 * include/math.h: Likewise.
56944 * include/net/if.h: Likewise.
56945 * include/netdb.h: Likewise.
56946 * include/netinet/in.h: Likewise.
56947 * include/pthread.h: Likewise.
56948 * include/pwd.h: Likewise.
56949 * include/regex.h: Likewise.
56950 * include/sched.h: Likewise.
56951 * include/search.h: Likewise.
56952 * include/setjmp.h: Likewise.
56953 * include/signal.h: Likewise.
56954 * include/stdio.h: Likewise.
56955 * include/stdlib.h: Likewise.
56956 * include/string.h: Likewise.
56957 * include/sys/cdefs.h: Likewise.
56958 * include/sys/mman.h: Likewise.
56959 * include/sys/msg.h: Likewise.
56960 * include/sys/resource.h: Likewise.
56961 * include/sys/select.h: Likewise.
56962 * include/sys/socket.h: Likewise.
56963 * include/sys/stat.h: Likewise.
56964 * include/sys/statvfs.h: Likewise.
56965 * include/sys/time.h: Likewise.
56966 * include/sys/times.h: Likewise.
56967 * include/sys/uio.h: Likewise.
56968 * include/sys/utsname.h: Likewise.
56969 * include/sys/wait.h: Likewise.
56970 * include/termios.h: Likewise.
56971 * include/time.h: Likewise.
56972 * include/ulimit.h: Likewise.
56973 * include/unistd.h: Likewise.
56974 * include/utime.h: Likewise.
56975 * include/wchar.h: Likewise.
56976 * include/wctype.h: Likewise.
56977 * include/wordexp.h: Likewise.
56978
56979 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
56980
56981 * time/time.h: TIME_UTC must be a macro.
56982 Make timespec_get available for ISO C11 only as well.
56983
56984 2012-02-24 Ulrich Drepper <drepper@gmail.com>
56985
56986 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
56987 Reported by Peng Haitao <penght@cn.fujitsu.com>.
56988
56989 2012-02-24 Joseph Myers <joseph@codesourcery.com>
56990
56991 * configure.in: Use -o not -a in test for unsupported multi-arch.
56992
56993 2012-02-24 Joseph Myers <joseph@codesourcery.com>
56994
56995 * manual/texinfo.tex: Update to version 2012-01-19.16.
56996
56997 2012-02-24 Joseph Myers <joseph@codesourcery.com>
56998
56999 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
57000
57001 2012-02-24 Roland McGrath <roland@hack.frob.com>
57002
57003 [BZ #13738]
57004 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
57005 * manual/fdl-1.3.texi: New file.
57006 * manual/fdl-1.1.texi: File removed.
57007
57008 [BZ #13738]
57009 * manual/libc.texinfo (FDL_VERSION): New @set.
57010 Use it for mention of FDL in cover text.
57011 (Documentation License): Use it in @include file name.
57012
57013 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57014 Roland McGrath <roland@hack.frob.com>
57015
57016 [BZ #5461]
57017 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
57018 (not LONG_LONG_MAX and LONG_LONG_MIN.
57019 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
57020 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
57021 name.
57022 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
57023
57024 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57025
57026 [BZ #2547]
57027 [BZ #11365]
57028 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
57029 manipulate bits before adding and subtracting TWO23[sx].
57030 * math/libm-test.inc (nearbyint_test): Add more tests.
57031
57032 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57033
57034 [BZ #2548]
57035 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
57036 bits before adding and subtracting TWO23[sx].
57037 * math/libm-test.inc (rint_test): Add more tests.
57038 (rint_test_tonearest): Likewise.
57039 (rint_test_towardzero): Likewise.
57040 (rint_test_downward): Likewise.
57041 (rint_test_upward: Likewise.
57042
57043 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57044
57045 [BZ #10110]
57046 * include/stdc-predef.h: New file. Extracted from features.h.
57047 * include/features.h: Include stdc-predef.h.
57048 * Makefile (headers): Add stdc-predef.h.
57049 * CONFORMANCE (Compiler limitations): Update.
57050
57051 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57052
57053 * manual/libc.texinfo (VERSION, UPDATED): Revert.
57054
57055 2012-02-21 David S. Miller <davem@davemloft.net>
57056
57057 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
57058 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57059
57060 2012-02-20 David S. Miller <davem@davemloft.net>
57061
57062 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
57063 using a normal save/restore sequence, rather than allocating a
57064 dummy stack frame just to store a frame pointer and restore.
57065 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57066
57067 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57068
57069 * manual/install.texi: Fix stray word in line-wrapped comment.
57070
57071 2012-02-20 David S. Miller <davem@davemloft.net>
57072
57073 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
57074 both binutils and gcc support GOTDATA.
57075
57076 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
57077 "rd %pc" in the PIC register setup sequences.
57078
57079 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
57080 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
57081 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57082 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
57083 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57084 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
57085 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57086 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57087 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
57088 (SYSCALL_ERROR_HANDLER): Likewise.
57089 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57090 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57091 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
57092 (SYSCALL_ERROR_HANDLER): Likewise.
57093
57094 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
57095 (HAVE_GCC_GOTDATA): New.
57096 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
57097 relocation support in both binutils and gcc.
57098 * sysdeps/sparc/elf/configure: Regenerate.
57099
57100 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
57101 * sysdeps/sparc/sparc32/elf/configure: Delete.
57102 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
57103 * sysdeps/sparc/sparc64/elf/configure: Delete.
57104 * sysdeps/sparc/elf/configure.in: New file.
57105 * sysdeps/sparc/elf/configure: Generate.
57106
57107 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
57108 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
57109 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57110 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
57111 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
57112
57113 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57114
57115 * manual/install.texi: Do not mention specific glibc version
57116 numbers.
57117 * manual/libc.texinfo (VERSION, UPDATED): Update.
57118 (@copying): Use @copyright{} and range of years.
57119
57120 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57121
57122 [BZ #13695]
57123 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
57124 [crti.S not in sysdirs] (generated): Do not append.
57125 [crti.S not in sysdirs] (omit-deps): Likewise.
57126 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
57127 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
57128 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
57129 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
57130 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
57131 Likewise.
57132 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
57133 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
57134 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
57135 * csu/defs.awk: Remove file.
57136 * sysdeps/generic/initfini.c: Likewise.
57137 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
57138 variable.
57139 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
57140 Likewise.
57141
57142 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57143
57144 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
57145 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
57146 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
57147 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
57148 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57149 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
57150 <bits/epoll.h>.
57151 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
57152 (__EPOLL_PACKED): Define to empty if not defined by
57153 <bits/epoll.h>.
57154 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
57155 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57156 bits/epoll.h.
57157
57158 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57159
57160 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
57161 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
57162 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
57163 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
57164 <bits/timerfd.h>.
57165 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
57166 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57167 bits/timerfd.h.
57168
57169 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57170
57171 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
57172 in C locale.
57173 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57174 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57175 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
57176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57177
57178 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
57179
57180 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57181 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57182
57183 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
57184
57185 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
57186 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
57187 defined.
57188 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
57189 Likewise.
57190 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
57191 entry for 2.16.
57192
57193 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
57194
57195 * math/w_acos.c: Use non-signaling floating-point comparisons.
57196 * math/w_acosf.c: Likewise.
57197 * math/w_acosh.c: Likewise.
57198 * math/w_acoshf.c: Likewise.
57199 * math/w_acoshl.c: Likewise.
57200 * math/w_acosl.c: Likewise.
57201 * math/w_asin.c: Likewise.
57202 * math/w_asinf.c: Likewise.
57203 * math/w_asinl.c: Likewise.
57204 * math/w_atanh.c: Likewise.
57205 * math/w_atanhf.c: Likewise.
57206 * math/w_atanhl.c: Likewise.
57207 * math/w_exp2.c: Likewise.
57208 * math/w_exp2f.c: Likewise.
57209 * math/w_exp2l.c: Likewise.
57210 * math/w_j0.c: Likewise.
57211 * math/w_j0f.c: Likewise.
57212 * math/w_j0l.c: Likewise.
57213 * math/w_j1.c: Likewise.
57214 * math/w_j1f.c: Likewise.
57215 * math/w_j1l.c: Likewise.
57216 * math/w_jn.c: Likewise.
57217 * math/w_jnf.c: Likewise.
57218 * math/w_log.c: Likewise.
57219 * math/w_log10.c: Likewise.
57220 * math/w_log10f.c: Likewise.
57221 * math/w_log10l.c: Likewise.
57222 * math/w_log2.c: Likewise.
57223 * math/w_log2f.c: Likewise.
57224 * math/w_log2l.c: Likewise.
57225 * math/w_logf.c: Likewise.
57226 * math/w_logl.c: Likewise.
57227 * math/w_sqrt.c: Likewise.
57228 * math/w_sqrtf.c: Likewise.
57229 * math/w_sqrtl.c: Likewise.
57230 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57231 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
57232 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57233 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57234 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57235
57236 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57237
57238 [BZ #9739]
57239 * manual/string.texi (strnlen): Use correct parameter name in
57240 equivalent expression.
57241
57242 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57243
57244 [BZ #11174]
57245 * manual/users.texi (seteuid): Consistently use neweuid for
57246 argument name.
57247
57248 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57249
57250 [BZ #13704]
57251 * manual/nss.texi (Services in the NSS configuration): Correct
57252 list of services in example configuration file.
57253
57254 2012-02-19 Nick Bowler <nbowler@draconx.ca>
57255
57256 [BZ #11322]
57257 * manual/arith.texi: Remove statements about negative zero
57258 behaving identically to zero.
57259
57260 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57261
57262 [BZ #5993]
57263 * manual/install.texi: Do not document upgrading from libc5.
57264
57265 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57266
57267 [BZ #4596]
57268 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
57269
57270 2012-02-18 David S. Miller <davem@davemloft.net>
57271
57272 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
57273 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
57274 %o7 across the call.
57275 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
57276 instead.
57277 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
57278 SETUP_PIC_REG_LEAF.
57279 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57280 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
57281 * sysdeps/sparc/crtn.S: Likewise.
57282
57283 2012-02-17 Ulrich Drepper <drepper@gmail.com>
57284
57285 * aout/Makefile: Remove.
57286
57287 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
57288
57289 [BZ #13058]
57290 * manual/examples/argp-ex1.c (main): Format definition in GNU
57291 style.
57292 * manual/examples/argp-ex2.c (main): Likewise.
57293 * manual/examples/argp-ex3.c (main): Likewise.
57294 * manual/examples/argp-ex4.c (main): Likewise.
57295 * manual/examples/longopt.c (main): Use new-style prototype
57296 definition.
57297 * manual/examples/strncat.c (main): Specify return type and use
57298 (void) for arguments.
57299 * manual/examples/subopt.c (main): Use char **argv argument.
57300
57301 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57302
57303 [BZ #5077]
57304 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
57305 rounding modes.
57306
57307 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
57308
57309 [BZ #6907]
57310 * manual/string.texi (strchr): Change when strchrnul is
57311 recommended.
57312
57313 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
57314
57315 [BZ #174]
57316 * manual/locale.texi (setlocale): Document LOCPATH.
57317
57318 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57319
57320 [BZ #10210]
57321 * manual/process.texi (execle): Move @dots{} before last argument.
57322
57323 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
57324
57325 [BZ #12047]
57326 * manual/charset.texi (Generic Charset Conversion): Fix typo
57327 (LC_TYPE -> LC_CTYPE).
57328
57329 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
57330
57331 [BZ #5805]
57332 * manual/arith.texi (scalbn): Use @var{} on parameter names.
57333 (scalbnf): Likewise.
57334 (scalbnl): Likewise.
57335 (scalbln): Likewise.
57336 (scalblnf): Likewise.
57337 (scalblnl): Likewise.
57338 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
57339 (vwarnx): Likewise.
57340 (verr): Likewise.
57341 (verrx): Likewise.
57342 * manual/filesys.texi (telldir): Use braces around return type.
57343 * manual/llio.texi (mmap): Add space after comma.
57344 (mmap64): Likewise.
57345 * manual/math.texi (jn): Use @var{} on parameter names.
57346 (jnf): Likewise.
57347 (jnl): Likewise.
57348 (yn): Likewise.
57349 (ynf): Likewise.
57350 (ynl): Likewise.
57351 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
57352 line.
57353 * manual/resource.texi (ulimit): Use @dots{} instead of literal
57354 "...".
57355 (sched_get_priority_min): Remove semicolon on @deftypefun line.
57356 (sched_get_priority_max): Likewise.
57357 * manual/signal.texi (sigvec): Add space after comma.
57358 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
57359 names.
57360 (if_indextoname): Likewise.
57361 (if_freenameindex): Likewise.
57362 (sendto): Use ',' instead of '.' in prototype.
57363 * manual/startup.texi (syscall): Use @dots{} instead of literal
57364 "...".
57365 * manual/stdio.texi (__fpending): Separate initial words of
57366 paragraph from @deftypefun line.
57367 * manual/syslog.texi (syslog): Use @dots{} instead of literal
57368 "...".
57369 (vsyslog): Use @var{} on parameter names.
57370 * manual/terminal.texi (stty): Use @var{} on parameter names.
57371 * manual/users.texi (getutmp): Use @var{} on parameter names.
57372 (getutmpx): Likewise.
57373
57374 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57375
57376 [BZ #6884]
57377 * manual/stdio.texi (fopen): Fix typos in description of
57378 ",ccs=STRING".
57379
57380 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
57381
57382 [BZ #4026]
57383 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
57384 get clock_id definition.
57385
57386 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
57387
57388 [BZ #4822]
57389 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
57390 (madvise): Cast every argument to void on its own.
57391
57392 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57393
57394 [BZ #9902]
57395 * manual/startup.texi (Exit Status): Fix typo.
57396
57397 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57398
57399 [BZ #10140]
57400 * manual/examples/argp-ex1.c: Include <stdlib.h>.
57401 * manual/examples/argp-ex2.c: Likewise.
57402 * manual/examples/argp-ex3.c: Likewise.
57403
57404 2012-02-16 Richard Henderson <rth@redhat.com>
57405
57406 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
57407 * sysdeps/s390/s390-32/initfini.c: Remove.
57408 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
57409 * sysdeps/s390/s390-64/initfini.c: Remove.
57410
57411 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57412
57413 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
57414 compiler output for sysdeps/generic/initfini.c.
57415 * sysdeps/sh/elf/initfini.c: Remove file.
57416
57417 2012-02-16 David S. Miller <davem@davemloft.net>
57418
57419 [BZ #11494]
57420 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
57421
57422 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
57423 * sysdeps/sparc/crti.S: New file.
57424 * sysdeps/sparc/crtn.S: New file.
57425 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
57426 * sysdeps/sparc/sparc64/Makefile: Likewise.
57427
57428 2012-02-15 Mike Frysinger <vapier@gentoo.org>
57429
57430 [BZ #3335]
57431 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
57432
57433 2012-02-15 Roland McGrath <roland@hack.frob.com>
57434
57435 [BZ #4822]
57436 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
57437
57438 * mach/devstream.c (cookie_io_functions_t): Macro removed.
57439 (write, read, close): Likewise.
57440 Patch by Aurelien Jarno <aurelien@aurel32.net>.
57441
57442 2012-02-15 Joseph Myers <joseph@codesourcery.com>
57443
57444 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
57445 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
57446 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
57447 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
57448 <bits/signalfd.h>.
57449 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
57450 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57451 bits/signalfd.h.
57452
57453 2012-02-14 Marek Polacek <polacek@redhat.com>
57454
57455 * sysdeps/x86_64/crti.S: New file.
57456 * sysdeps/x86_64/crtn.S: New file.
57457 * sysdeps/x86_64/elf/initfini.c: Remove file.
57458
57459 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57460
57461 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
57462 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
57463 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
57464 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
57465 <bits/inotify.h>.
57466 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
57467 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57468 bits/inotify.h.
57469
57470 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57471
57472 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
57473 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
57474 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
57475 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
57476 <bits/eventfd.h>.
57477 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
57478 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57479 bits/eventfd.h.
57480
57481 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
57482
57483 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
57484 __feraiseexcept instead of feraiseexcept.
57485
57486 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
57487 nanosleep invocations.
57488 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
57489 strings, and add error checking for a nanosleep invocations.
57490
57491 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
57492
57493 Replace FSF snail mail address with URLs, as per GNU coding standards.
57494 Most of the snail mail addresses were wrong anyway, and omitting
57495 them makes the source code easier to maintain. Almost all of the
57496 changes are to license notices and to locale LC_IDENTIFICATION
57497 addresses, except for this one:
57498 * manual/libc.texinfo: In "Published by", give the FSF's URL,
57499 not its snail mail address.
57500
57501 2012-02-09 Richard Henderson <rth@twiddle.net>
57502
57503 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
57504 of kernel-features.h.
57505
57506 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
57507
57508 2012-02-08 Marek Polacek <polacek@redhat.com>
57509
57510 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
57511 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
57512 * sysdeps/gnu/_G_config.h: Likewise.
57513 * sysdeps/generic/_G_config.h: Likewise.
57514
57515 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
57516
57517 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
57518 tests.
57519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57520
57521 * sysdeps/powerpc/powerpc32/crti.S: New file.
57522 * sysdeps/powerpc/powerpc32/crtn.S: New file.
57523 * sysdeps/powerpc/powerpc64/crti.S: New file.
57524 * sysdeps/powerpc/powerpc64/crtn.S: New file.
57525
57526 * Makeconfig (have-initfini): Don't set.
57527 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
57528 * configure.in (nopic_initfini): Don't substitute.
57529 * config.h.in (HAVE_INITFINI): Don't #undef.
57530 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
57531 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
57532
57533 2012-02-08 Joseph Myers <joseph@codesourcery.com>
57534
57535 Support crti.S and crtn.S provided directly by architectures.
57536 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
57537 [crti.S in sysdirs] (omit-deps): Likewise.
57538 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
57539 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
57540 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
57541 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
57542 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
57543 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
57544 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
57545 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
57546 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
57547 compiler output for sysdeps/generic/initfini.c.
57548 * sysdeps/i386/elf/Makefile: Remove file.
57549 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
57550
57551 2012-02-07 Marek Polacek <polacek@redhat.com>
57552
57553 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
57554 * sysdeps/gnu/_G_config.h: Likewise.
57555 * sysdeps/mach/hurd/_G_config.h: Likewise.
57556
57557 2012-02-07 Marek Polacek <polacek@redhat.com>
57558
57559 * math/Makefile (tests): Add tst-CMPLX2.
57560 * math/tst-CMPLX2.c: New file.
57561
57562 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
57563
57564 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57565
57566 * math/libm-test.inc (jn_test): Add missing L suffix.
57567
57568 2012-02-06 Marek Polacek <polacek@redhat.com>
57569
57570 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
57571 * sysdeps/i386/fpu/e_powf.S: Likewise.
57572 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57573 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
57574 * sysdeps/i386/fpu/e_acosh.S: Likewise.
57575 * sysdeps/i386/fpu/e_pow.S: Likewise.
57576 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57577 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57578 * sysdeps/i386/fpu/s_expm1.S: Likewise.
57579 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57580 * sysdeps/i386/fpu/e_log2.S: Likewise.
57581 * sysdeps/i386/fpu/e_log2l.S: Likewise.
57582 * sysdeps/i386/fpu/e_scalb.S: Likewise.
57583 * sysdeps/i386/fpu/e_powl.S: Likewise.
57584 * sysdeps/i386/fpu/s_log1p.S: Likewise.
57585 * sysdeps/i386/fpu/e_log10f.S: Likewise.
57586 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57587 * sysdeps/i386/fpu/e_logl.S: Likewise.
57588 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57589 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
57590 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57591 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57592 * sysdeps/i386/fpu/e_log2f.S: Likewise.
57593 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57594 * sysdeps/i386/fpu/e_log.S: Likewise.
57595 * sysdeps/i386/fpu/s_cexp.S: Likewise.
57596 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57597 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
57598 * sysdeps/i386/fpu/e_logf.S: Likewise.
57599 * sysdeps/i386/fpu/e_log10l.S: Likewise.
57600 * sysdeps/i386/fpu/e_atanh.S: Likewise.
57601 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
57602 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57603 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
57604 * sysdeps/i386/fpu/e_log10.S: Likewise.
57605 * sysdeps/i386/fpu/s_frexp.S: Likewise.
57606 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57607 * sysdeps/i386/fpu/s_asinh.S: Likewise.
57608 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57609 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57610 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57611 * sysdeps/i386/asm-syntax.h: Likewise.
57612 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57613 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57614 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57615 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
57616 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
57617 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57618 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57619 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57620 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57621 * sysdeps/powerpc/sysdep.h: Likewise.
57622 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
57623 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57624
57625 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57626
57627 [BZ #411]
57628 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
57629
57630 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57631
57632 * sysdeps/i386/sysdep.h: Include <features.h>.
57633 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
57634 version.
57635
57636 2012-02-05 Joseph Myers <joseph@codesourcery.com>
57637
57638 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
57639 Define.
57640 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
57641 LOAD_PIC_REG_STR.
57642
57643 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57644
57645 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
57646 (SETUP_PIC_REG): Use GET_PC_THUNK.
57647 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
57648 macro.
57649
57650 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57651
57652 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
57653 for non-PIC compilation.
57654 (SETUP_PIC_REG): Add .p2align directive.
57655 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
57656 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
57657 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57658 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57659 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
57660 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57661 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
57662 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57663 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57664 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57665 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57666 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57667 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57668 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57669 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57670 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
57671 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
57672 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57673 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57674 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57675 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57676 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
57677 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57678 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57679 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
57680 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
57681 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57682 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
57683 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57684 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57685 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57686 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57687 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57688 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57689 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57690 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57691 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57692 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57693 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57694 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57695 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57696
57697 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57698
57699 * math/tst-CMPLX.c: Include <stdio.h>.
57700
57701 2012-01-31 Joseph Myers <joseph@codesourcery.com>
57702
57703 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
57704 float.
57705 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57706 * sysdeps/sparc/bits/mathdef.h: Likewise.
57707
57708 2012-01-31 Marek Polacek <polacek@redhat.com>
57709
57710 * libio/libio.h: Don't define _PARAMS.
57711 * locale/programs/config.h: Don't define PARAMS.
57712 * stdlib/strtol_l.c: Likewise.
57713 (__strtol_l): Remove PARAMS from the prototype.
57714
57715 2012-01-31 Ulrich Drepper <drepper@gmail.com>
57716
57717 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
57718 names. Just use the correct names. Remove unnecessary wrapper
57719 functions.
57720 * malloc/arena.c: Likewise.
57721 * malloc/hooks.c: Likewise.
57722
57723 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
57724 ARENA_TEST says not to. Simplify test for creation of a new arena.
57725 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
57726
57727 2012-01-30 Ulrich Drepper <drepper@gmail.com>
57728
57729 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
57730 into tail calls.
57731 (update_get_addr): New function.
57732 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
57733 GET_ADDR_MODULE parameter.
57734
57735 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57736
57737 * crypt/cert.c: Remove __STDC__ conditionals.
57738 * crypt/crypt-entry.c: Likewise.
57739 * crypt/crypt_util.c: Likewise.
57740 * libio/filedoalloc.c: Likewise.
57741 * libio/fileops.c: Likewise.
57742 * libio/genops.c: Likewise.
57743 * libio/iofclose.c: Likewise.
57744 * libio/iofdopen.c: Likewise.
57745 * libio/iofopen.c: Likewise.
57746 * libio/iofopen64.c: Likewise.
57747 * libio/iogetdelim.c: Likewise.
57748 * libio/iopopen.c: Likewise.
57749 * libio/obprintf.c: Likewise.
57750 * libio/oldfileops.c: Likewise.
57751 * libio/oldiofclose.c: Likewise.
57752 * libio/oldiofdopen.c: Likewise.
57753 * libio/oldiofopen.c: Likewise.
57754 * libio/oldiopopen.c: Likewise.
57755 * libio/wfiledoalloc.c: Likewise.
57756 * libio/wgenops.c: Likewise.
57757 * locale/programs/xmalloc.c: Likewise.
57758 * misc/syslog.c: Likewise.
57759 * stdio-common/xbug.c: Likewise.
57760 * string/memchr.c: Likewise.
57761 * string/memcmp.c: Likewise.
57762 * string/memrchr.c: Likewise.
57763 * string/rawmemchr.c: Likewise.
57764 * sysdeps/posix/getcwd.c: Likewise.
57765 * time/strftime_l.c: Likewise.
57766
57767 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57768
57769 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
57770 * config.make.in (config-cflags-sse2avx): Define.
57771 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
57772 Fix typo.
57773
57774 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
57775
57776 * scripts/config.guess: Update from upstream config git repository.
57777 * scripts/config.sub: Likewise.
57778
57779 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
57780
57781 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
57782 (EM_NUM): Update.
57783 (R_TILEPRO_*, R_TILEGX_*): New macros.
57784
57785 * scripts/firstversions.awk: Fix bug in version range handling.
57786
57787 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
57788
57789 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
57790
57791 * include/sys/epoll.h: New file.
57792 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
57793 libc_hidden_def.
57794
57795 2012-01-28 Ulrich Drepper <drepper@gmail.com>
57796
57797 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
57798 Avoid unnecessary __WORDSIZE == 64 test.
57799 (fmaxf): Use VEX format if possible.
57800 (fmax): Likewise.
57801 (fminf): Likewise.
57802 (fmin): Likewise.
57803
57804 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
57805 * math/math_private.h: Remove libc_fegetround* and
57806 libc_fesetround*.
57807 * sysdeps/i386/configure.in: Check for -msse2avx.
57808 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
57809 also if SSE2AVX is defined.
57810 Remove libc_fegetround* and libc_fesetround*.
57811 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
57812 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
57813 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
57814 of HAS_YMM_USABLE.
57815 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57816 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57817 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57818 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57819 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57820
57821 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
57822
57823 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57824
57825 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
57826 size is not set.
57827 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57828
57829 2012-01-27 Ulrich Drepper <drepper@gmail.com>
57830
57831 [BZ #13618]
57832 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
57833 relocation.
57834 * Makeconfig (libm): Define.
57835 * elf/Makefile: Add rules to build and run tst-relsort1.
57836 * elf/tst-relsort1.c: New file.
57837 * elf/tst-relsort1mod1.c: New file.
57838 * elf/tst-relsort1mod2.c: New file.
57839
57840 2012-01-27 Joseph Myers <joseph@codesourcery.com>
57841
57842 * math/s_ldexp.c: Remove __STDC__ conditionals.
57843 * math/s_ldexpf.c: Likewise.
57844 * math/s_ldexpl.c: Likewise.
57845 * math/s_nextafter.c: Likewise.
57846 * math/s_nexttowardf.c: Likewise.
57847 * math/s_significand.c: Likewise.
57848 * math/s_significandf.c: Likewise.
57849 * math/s_significandl.c: Likewise.
57850 * math/w_jnl.c: Likewise.
57851 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
57852 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
57853 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
57854 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
57855 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
57856 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57857 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
57858 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
57859 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57860 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
57861 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
57862 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57863 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57864 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
57865 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57866 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57867 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57868 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57869 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57870 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57871 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57872 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57873 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57874 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57875 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57876 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57877 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57878 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57879 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
57880 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57881 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57882 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
57883 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57884 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
57885 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
57886 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57887 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
57888 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
57889 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
57890 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
57891 * sysdeps/ieee754/k_standard.c: Likewise.
57892 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57893 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57894 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
57895 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
57896 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
57897 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
57898 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57899 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
57900 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
57901 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
57902 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
57903 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
57904 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
57905 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
57906 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
57907 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
57908 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
57909 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57910 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57911 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
57912 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57913 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57914 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
57915 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
57916 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57917 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
57918 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57919 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57920 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57921 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
57922 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
57923 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
57924 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
57925 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
57926 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
57927 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
57928 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
57929 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
57930 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
57931 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
57932 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
57933 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
57934 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
57935 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
57936 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
57937 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57938 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
57939 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57940 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57941 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
57942 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
57943 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57944 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57945 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57946 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57947 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57948 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
57949 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57950 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57951 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57952 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57953 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57954 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57955 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57956 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57957 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57958 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57959 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57960 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57961 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57962 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57963 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57964 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57965 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57966 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57967 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57968 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57969 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57970 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57971 * sysdeps/ieee754/s_matherr.c: Likewise.
57972 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57973 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57974 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57975 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57976
57977 2012-01-26 Joseph Myers <joseph@codesourcery.com>
57978
57979 * crypt/md5.h: Remove __STDC__ conditionals.
57980 * libio/libioP.h: Likewise.
57981 * locale/programs/config.h: Likewise.
57982 * sysdeps/generic/sysdep.h: Likewise.
57983 * sysdeps/i386/asm-syntax.h: Likewise.
57984 * sysdeps/s390/asm-syntax.h: Likewise.
57985 * sysdeps/unix/sysdep.h: Likewise.
57986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
57987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57988
57989 2012-01-26 Joseph Myers <joseph@codesourcery.com>
57990
57991 * libio/libio.h: Remove __STDC__ conditionals.
57992 * malloc/obstack.h: Likewise.
57993 * math/complex.h: Likewise.
57994 * math/math.h: Likewise.
57995 * sysdeps/generic/_G_config.h: Likewise.
57996 * sysdeps/gnu/_G_config.h: Likewise.
57997 * sysdeps/mach/hurd/_G_config.h: Likewise.
57998 * sysdeps/powerpc/bits/mathdef.h: Likewise.
57999 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
58000 * sysdeps/sparc/bits/mathdef.h: Likewise.
58001
58002 2012-01-26 Ulrich Drepper <drepper@gmail.com>
58003
58004 [BZ #13583]
58005 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
58006 Clean up HAS_* macros.
58007 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
58008 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
58009 possible.
58010 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
58011 HAS_AVX.
58012 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58013 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58014 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58015 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58016 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58017
58018 2012-01-25 Joseph Myers <joseph@codesourcery.com>
58019
58020 * elf/tst-unique3.cc (gets): Remove declaration.
58021 * elf/tst-unique3lib.cc (gets): Likewise.
58022 * elf/tst-unique3lib2.cc (gets): Likewise.
58023 * elf/tst-unique4.cc (gets): Likewise.
58024
58025 2012-01-24 Ulrich Drepper <drepper@gmail.com>
58026
58027 * include/stdio.h: Add C++ protection. Add gets declarations and
58028 definitions.
58029 * debug/tst-chk1.c: Don't declare gets here.
58030 * stdio-common/tst-gets.c: Likewise.
58031
58032 2012-01-24 Joseph Myers <joseph@codesourcery.com>
58033
58034 * posix/glob: Remove directory.
58035
58036 2012-01-24 Joseph Myers <joseph@codesourcery.com>
58037
58038 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
58039
58040 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
58041
58042 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
58043 of the non-standard EPFNOSUPPORT.
58044
58045 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
58046
58047 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
58048 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
58049 ANYWHERE set to 1 only on KERN_NO_SPACE error.
58050
58051 2012-01-21 Ulrich Drepper <drepper@gmail.com>
58052
58053 * wcsmbs/uchar.h: Test __STDC_VERSION__.
58054
58055 2012-01-20 Ulrich Drepper <drepper@gmail.com>
58056
58057 * nscd/aicache.c (addhstaiX): Do not cache negative results of
58058 transient errors.
58059 * nscd/grpcache.c (cache_addgr): Likewise.
58060 * nscd/hstcache.c (cache_addhst): Likewise.
58061 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58062 * nscd/pwdcache.c (cache_addpw): Likewise.
58063 * nscd/servicescache.c (cache_addserv): Likewise.
58064
58065 2012-01-16 Ulrich Drepper <drepper@gmail.com>
58066
58067 * malloc/malloc.c: Various cleanups.
58068 * malloc/hooks.c: Likewise.
58069
58070 * stdlib/Makefile (tests): Add bug-fmtmsg1.
58071 * stdlib/bug-fmtmsg1.c: New file.
58072
58073 * stdlib/fmtmsg.c (init): Add missing unlock.
58074 Patch by Peng Haitao <penght@cn.fujitsu.com>.
58075
58076 2012-01-12 Marek Polacek <polacek@redhat.com>
58077
58078 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
58079 and _GNU_SOURCE.
58080
58081 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
58082
58083 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
58084 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
58085 macro to ensure uniqueness of label name.
58086 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58087 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58088
58089 2012-01-11 Ulrich Drepper <drepper@gmail.com>
58090
58091 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
58092
58093 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
58094 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
58095 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
58096 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
58097
58098 2012-01-10 Ulrich Drepper <drepper@gmail.com>
58099
58100 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
58101
58102 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
58103 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
58104 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
58105
58106 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
58107
58108 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
58109 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
58110 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
58111 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
58112
58113 * math/bits/math-finite.h: Add ldexp support.
58114
58115 2012-01-10 Marek Polacek <polacek@redhat.com>
58116
58117 * locale/programs/localedef.h (show_archive_content): Add noreturn
58118 attribute.
58119
58120 2012-01-09 Ulrich Drepper <drepper@gmail.com>
58121
58122 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
58123
58124 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58125
58126 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
58127
58128 * io/Makefile (headers): Add bits/poll2.h.
58129
58130 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
58131
58132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
58133 typo #include statement.
58134
58135 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58136
58137 * include/sys/cdefs.h: Define __attribute_alloc_size.
58138 * catgets/gencat.c: Add alloc_size attribute and apply consistently
58139 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
58140 * elf/pldd.c: Likewise.
58141 * iconv/iconv_charmap.c: Likewise.
58142 * iconv/iconvconfig.c: Likewise.
58143 * iconv/strtab.c: Likewise.
58144 * locale/programs/locale.c: Likewise.
58145 * locale/programs/localedef.h: Likewise.
58146 * locale/programs/simple-hash.c: Likewise.
58147 * nscd/nscd.h: Likewise.
58148 * nss/makedb.c: Likewise.
58149 * sysdeps/generic/ldconfig.h: Likewise.
58150 * locale/programs/localedef.c: Remove xmalloc prototype.
58151 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
58152
58153 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
58154
58155 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
58156 appropriate.
58157
58158 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58159
58160 * math/Makefile (tests): Add tst-CMPLX.
58161 * math/tst-CMPLX.c: New file.
58162
58163 * math/complex.h (CMPLXL): Fix typo.
58164
58165 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
58166 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
58167 GLIBC_2.16.
58168 * debug/tst-chk1.c: Add poll and ppoll tests.
58169 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
58170 * include/sys/poll.h: Add hidden proto for ppoll.
58171 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
58172 * sysdeps/mach/hurd/ppoll.c: Likewise.
58173 * io/ppoll.c: Likewise.
58174 * debug/poll_chk.c: New file.
58175 * debug/ppoll_chk.c: New file.
58176 * include/bits/poll2.h: New file.
58177 * io/bits/poll2.h: New file.
58178
58179 [BZ #1350]
58180 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
58181
58182 * configure.in: static is always set to yes. Remove.
58183 * config.make.in: Don't set build-static.
58184 * Makeconfig: Remove use of build-static.
58185 * dlfcn/Makefile: Likewise.
58186 * elf/Makefile: Likewise.
58187 * math/Makefile: Likewise.
58188 * misc/Makefile: Likewise.
58189 * nptl/Makefile: Likewise.
58190 * sysdeps/mach/hurd/Makefile: Likewise.
58191
58192 * configure.in: PWD_P is not used anymore.
58193 * config.make.in: Remove PWD_P entry.
58194
58195 * configure.in: Remove last remnants of RANLIB.
58196 No need to check for signed size_t anymore.
58197 Don't set libc_commonpagesize and libc_relro_required here for Alpha
58198 and IA-64.
58199 Remove __builtin_expect test because we require at least gcc 3.4.
58200 * aclocal.m4: Likewise.
58201
58202 * wcsmbs/mbrtoc16.c: Implement using towc function.
58203 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
58204 * wcsmbs/wcsmbsload.c: Likewise.
58205 * iconv/gconv_simple.c: Likewise.
58206 * iconv/gconv_int.h: Likewise.
58207 * iconv/gconv_builtin.h: Likewise.
58208 * iconv/iconv_prog.c: Remove CHAR16 handling.
58209
58210 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
58211
58212 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
58213
58214 * configure.in: Remove --with-elf and --enable-bounded options.
58215 Dont set base_machine for ia64. More non-ELF conditions removed.
58216 Remove testing and setting of leading underscore information.
58217 * config.make.in (build-bounded): Set to no.
58218 * config.h.in: Remove NO_UNDERSCORES entry.
58219 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
58220 them.
58221 * csu/start.c: Remove !NO_UNDERSCORE code.
58222 * locale/localeinfo.h: Likewise.
58223 * sysdeps/generic/machine-gmon.h: Likewise.
58224 * sysdeps/generic/sysdep.h: Likewise.
58225 * sysdeps/i386/sysdep.h: Likewise.
58226 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58227 * sysdeps/mach/sysdep.h: Likewise.
58228 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58229 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58230 * sysdeps/sh/sysdep.h: Likewise.
58231 * sysdeps/sparc/sparc32/alloca.S: Likewise.
58232 * sysdeps/unix/i386/sysdep.S: Likewise.
58233 * sysdeps/unix/sparc/start.c: Likewise.
58234 * sysdeps/unix/sparc/sysdep.S: Likewise.
58235 * sysdeps/unix/sparc/sysdep.h: Likewise.
58236 * sysdeps/unix/start.c: Likewise.
58237 * sysdeps/unix/x86_64/sysdep.S: Likewise.
58238 * sysdeps/x86_64/sysdep.h: Likewise.
58239
58240 2012-01-07 Ulrich Drepper <drepper@gmail.com>
58241
58242 [BZ #13553]
58243 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
58244 for non-gcc.
58245 * argp/argp-fmtstream.h: Use const instead __const.
58246 * argp/argp.h: Likewise.
58247 * assert/assert.h: Likewise.
58248 * bits/fenv.h: Likewise.
58249 * bits/sched.h: Likewise.
58250 * bits/sigset.h: Likewise.
58251 * bits/sigthread.h: Likewise.
58252 * catgets/nl_types.h: Likewise.
58253 * conform/data/pthread.h-data: Likewise.
58254 * crypt/crypt-private.h: Likewise.
58255 * crypt/crypt.h: Likewise.
58256 * crypt/crypt_util.c: Likewise.
58257 * ctype/ctype.h: Likewise.
58258 * debug/execinfo.h: Likewise.
58259 * debug/mbsnrtowcs_chk.c: Likewise.
58260 * debug/mbsrtowcs_chk.c: Likewise.
58261 * debug/wcsnrtombs_chk.c: Likewise.
58262 * debug/wcsrtombs_chk.c: Likewise.
58263 * debug/wcstombs_chk.c: Likewise.
58264 * dirent/dirent.h: Likewise.
58265 * dlfcn/dlfcn.h: Likewise.
58266 * elf/neededtest4.c: Likewise.
58267 * grp/grp.h: Likewise.
58268 * gshadow/gshadow.h: Likewise.
58269 * iconv/gconv.h: Likewise.
58270 * iconv/gconv_int.h: Likewise.
58271 * iconv/gconv_simple.c: Likewise.
58272 * iconv/iconv.h: Likewise.
58273 * iconv/loop.c: Likewise.
58274 * iconv/skeleton.c: Likewise.
58275 * include/aio.h: Likewise.
58276 * include/aliases.h: Likewise.
58277 * include/argz.h: Likewise.
58278 * include/arpa/inet.h: Likewise.
58279 * include/assert.h: Likewise.
58280 * include/dirent.h: Likewise.
58281 * include/dlfcn.h: Likewise.
58282 * include/execinfo.h: Likewise.
58283 * include/fcntl.h: Likewise.
58284 * include/fenv.h: Likewise.
58285 * include/glob.h: Likewise.
58286 * include/grp.h: Likewise.
58287 * include/libintl.h: Likewise.
58288 * include/mntent.h: Likewise.
58289 * include/netdb.h: Likewise.
58290 * include/pwd.h: Likewise.
58291 * include/rpc/netdb.h: Likewise.
58292 * include/sched.h: Likewise.
58293 * include/search.h: Likewise.
58294 * include/shadow.h: Likewise.
58295 * include/signal.h: Likewise.
58296 * include/stdio.h: Likewise.
58297 * include/stdlib.h: Likewise.
58298 * include/string.h: Likewise.
58299 * include/sys/socket.h: Likewise.
58300 * include/sys/stat.h: Likewise.
58301 * include/sys/statfs.h: Likewise.
58302 * include/sys/statvfs.h: Likewise.
58303 * include/sys/syslog.h: Likewise.
58304 * include/sys/time.h: Likewise.
58305 * include/sys/uio.h: Likewise.
58306 * include/time.h: Likewise.
58307 * include/unistd.h: Likewise.
58308 * include/utmp.h: Likewise.
58309 * include/wchar.h: Likewise.
58310 * include/wctype.h: Likewise.
58311 * inet/aliases.h: Likewise.
58312 * inet/arpa/inet.h: Likewise.
58313 * inet/netinet/ether.h: Likewise.
58314 * inet/netinet/in.h: Likewise.
58315 * intl/libintl.h: Likewise.
58316 * io/bits/fcntl2.h: Likewise.
58317 * io/fcntl.h: Likewise.
58318 * io/ftw.h: Likewise.
58319 * io/sys/poll.h: Likewise.
58320 * io/sys/stat.h: Likewise.
58321 * io/sys/statfs.h: Likewise.
58322 * io/sys/statvfs.h: Likewise.
58323 * io/utime.h: Likewise.
58324 * libio/bits/stdio.h: Likewise.
58325 * libio/bits/stdio2.h: Likewise.
58326 * libio/libio.h: Likewise.
58327 * libio/libioP.h: Likewise.
58328 * libio/stdio.h: Likewise.
58329 * locale/lc-ctype.c: Likewise.
58330 * locale/locale.h: Likewise.
58331 * login/utmp.h: Likewise.
58332 * malloc/arena.c: Likewise.
58333 * malloc/malloc.c: Likewise.
58334 * malloc/malloc.h: Likewise.
58335 * malloc/mcheck.c: Likewise.
58336 * malloc/mtrace.c: Likewise.
58337 * math/bits/mathcalls.h: Likewise.
58338 * math/fenv.h: Likewise.
58339 * math/math_private.h: Likewise.
58340 * misc/bits/error.h: Likewise.
58341 * misc/bits/syslog.h: Likewise.
58342 * misc/err.h: Likewise.
58343 * misc/error.h: Likewise.
58344 * misc/fstab.h: Likewise.
58345 * misc/mntent.h: Likewise.
58346 * misc/regexp.h: Likewise.
58347 * misc/search.h: Likewise.
58348 * misc/sgtty.h: Likewise.
58349 * misc/sys/mman.h: Likewise.
58350 * misc/sys/syslog.h: Likewise.
58351 * misc/sys/uio.h: Likewise.
58352 * misc/sys/xattr.h: Likewise.
58353 * misc/ttyent.h: Likewise.
58354 * nis/rpcsvc/ypclnt.h: Likewise.
58355 * nss/nss.h: Likewise.
58356 * posix/bits/unistd.h: Likewise.
58357 * posix/fnmatch.h: Likewise.
58358 * posix/glob.h: Likewise.
58359 * posix/sched.h: Likewise.
58360 * posix/spawn.h: Likewise.
58361 * posix/sys/wait.h: Likewise.
58362 * posix/unistd.h: Likewise.
58363 * posix/wordexp.h: Likewise.
58364 * pwd/pwd.h: Likewise.
58365 * resolv/netdb.h: Likewise.
58366 * resource/sys/resource.h: Likewise.
58367 * rt/aio.h: Likewise.
58368 * rt/bits/mqueue2.h: Likewise.
58369 * rt/mqueue.h: Likewise.
58370 * shadow/shadow.h: Likewise.
58371 * signal/signal.h: Likewise.
58372 * socket/send.c: Likewise.
58373 * socket/sendto.c: Likewise.
58374 * socket/sys/socket.h: Likewise.
58375 * stdio-common/printf.h: Likewise.
58376 * stdlib/bits/stdlib.h: Likewise.
58377 * stdlib/fmtmsg.h: Likewise.
58378 * stdlib/monetary.h: Likewise.
58379 * stdlib/stdlib.h: Likewise.
58380 * stdlib/ucontext.h: Likewise.
58381 * streams/stropts.h: Likewise.
58382 * string/argz.h: Likewise.
58383 * string/bits/string2.h: Likewise.
58384 * string/string.h: Likewise.
58385 * string/strings.h: Likewise.
58386 * sunrpc/rpc/auth.h: Likewise.
58387 * sunrpc/rpc/auth_des.h: Likewise.
58388 * sunrpc/rpc/clnt.h: Likewise.
58389 * sunrpc/rpc/netdb.h: Likewise.
58390 * sunrpc/rpc/pmap_clnt.h: Likewise.
58391 * sunrpc/rpc/xdr.h: Likewise.
58392 * sysdeps/generic/inttypes.h: Likewise.
58393 * sysdeps/generic/net/if.h: Likewise.
58394 * sysdeps/generic/sys/swap.h: Likewise.
58395 * sysdeps/gnu/net/if.h: Likewise.
58396 * sysdeps/gnu/utmpx.h: Likewise.
58397 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
58398 * sysdeps/i386/i486/bits/string.h: Likewise.
58399 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
58400 * sysdeps/s390/bits/string.h: Likewise.
58401 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
58402 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
58403 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
58404 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
58405 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
58406 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
58407 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
58408 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
58409 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
58410 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
58411 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
58412 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
58413 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
58414 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
58415 * sysdeps/unix/sysv/linux/readv.c: Likewise.
58416 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
58417 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
58418 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58419 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
58420 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
58421 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58422 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
58423 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
58424 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
58425 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
58426 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
58427 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
58428 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58429 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
58430 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
58431 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
58432 * sysvipc/sys/ipc.h: Likewise.
58433 * sysvipc/sys/msg.h: Likewise.
58434 * sysvipc/sys/sem.h: Likewise.
58435 * sysvipc/sys/shm.h: Likewise.
58436 * termios/termios.h: Likewise.
58437 * time/sys/time.h: Likewise.
58438 * time/time.h: Likewise.
58439 * wcsmbs/bits/wchar2.h: Likewise.
58440 * wcsmbs/uchar.h: Likewise.
58441 * wcsmbs/wchar.h: Likewise.
58442 * wctype/wctype.h: Likewise.
58443
58444 [BZ #13551]
58445 * Makeconfig: Remove all but ELF support including AIX support.
58446 * Makerules: Likewise.
58447 * config.h.in: Likewise.
58448 * config.make.in: Likewise.
58449 * configure: Likewise.
58450 * configure.in: Likewise.
58451 * csu/Makefile: Likewise.
58452 * csu/version.c: Likewise.
58453 * debug/Makefile: Likewise.
58454 * dlfcn/Makefile: Likewise.
58455 * elf/Makefile: Likewise.
58456 * extra-lib.mk: Likewise.
58457 * iconv/Makefile: Likewise.
58458 * include/libc-symbols.h: Likewise.
58459 * include/shlib-compat.h: Likewise.
58460 * resolv/Makefile: Likewise.
58461 * resolv/res_libc.c: Likewise.
58462 * rt/Makefile: Likewise.
58463 * sysdeps/i386/asm-syntax.h: Likewise.
58464 * sysdeps/i386/sysdep.h: Likewise.
58465 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58466 * sysdeps/mach/sysdep.h: Likewise.
58467 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
58468 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
58469 * sysdeps/s390/asm-syntax.h: Likewise.
58470 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58471 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58472 * sysdeps/sh/sysdep.h: Likewise.
58473 * sysdeps/unix/sparc/sysdep.h: Likewise.
58474 * sysdeps/wordsize-32/divdi3.c: Likewise.
58475 * sysdeps/x86_64/sysdep.h: Likewise.
58476
58477 * argp/Versions: Remove _argp_unlock_xxx.
58478
58479 [BZ #13559]
58480 * abilist/ld.abilist: Update. Adjust for removal of tls option.
58481 * abilist/libBrokenLocale.abilist: Likewise.
58482 * abilist/libanl.abilist: Likewise.
58483 * abilist/libc.abilist: Likewise.
58484 * abilist/libcrypt.abilist: Likewise.
58485 * abilist/libdl.abilist: Likewise.
58486 * abilist/libm.abilist: Likewise.
58487 * abilist/libnsl.abilist: Likewise.
58488 * abilist/libpthread.abilist: Likewise.
58489 * abilist/libresolv.abilist: Likewise.
58490 * abilist/librt.abilist: Likewise.
58491 * abilist/libthread_db.abilist: Likewise.
58492 * abilist/libutil.abilist: Likewise.
58493 * abilist/libnss_db.abilist: New file.
58494
58495 * scripts/abilist.awk: Add support for indirect functions.
58496
58497 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
58498
58499 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
58500
58501 * shlib-versions: Remove entries for ports architectures.
58502
58503 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
58504 files in ports.
58505 * elf/stackguard-macros.h: Remove support for IA-64.
58506 * elf/tst-auditmod1.c: Likewise.
58507 * sysdeps/generic/ldsodefs.h: Likewise.
58508
58509 * sysdeps/unix/sysv/linux/configure.in: Ports should define
58510 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
58511 configure files.
58512
58513 [BZ #13552]
58514 * configure.in: Remove --enable-omitfp support.
58515 * FAQ.in: Adjust.
58516 * config.make.in: Likewise.
58517 * Makeconfig: Likewise.
58518 * manual/install.texi: Likewise.
58519
58520 In case anyone cares, the IA-64 architecture could move to ports.
58521 * sysdeps/ia64/*: Removed.
58522 * sysdeps/unix/sysv/linux/ia64/*: Removed.
58523 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
58524
58525 [BZ #13555]
58526 * configure.in: Remove entries for unsupported architectures.
58527
58528 [BZ #13533]
58529 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
58530 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
58531 routines.
58532 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
58533 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
58534 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
58535 fall back to using wcrtomb.
58536 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
58537 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
58538 renaming.
58539 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
58540 * wcsmbs/tst-c16c32-1.c: New file.
58541
58542 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
58543 local variable.
58544
58545 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
58546
58547 * elf/tst-unique3.cc: Add explicit declaration of gets.
58548 * elf/tst-unique3lib.cc: Likewise.
58549 * elf/tst-unique3lib2.cc: Likewise.
58550 * elf/tst-unique4.cc: Likewise.
58551
58552 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
58553
58554 2012-01-06 Joseph Myers <joseph@codesourcery.com>
58555
58556 [BZ #13566]
58557 * assert/assert.h (static_assert): Don't define for C++.
58558 * libio/stdio.h (gets): Do declare for C++ <= C++11.
58559 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
58560
58561 2012-01-03 Ulrich Drepper <drepper@gmail.com>
58562
58563 * iconv/loop.c (single loop): Fix assertion in storing of
58564 remaining bytes.
58565
58566 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
58567
58568 2012-01-01 Ulrich Drepper <drepper@gmail.com>
58569
58570 * posix/getconf.c: Update copyright year.
58571 * nss/getent.c: Likewise.
58572 * nss/makedb.c: Likewise.
58573 * iconv/iconvconfig.c: Likewise.
58574 * iconv/iconv_prog.c: Likewise.
58575 * elf/ldconfig.c: Likewise.
58576 * elf/pldd.c: Likewise.
58577 * elf/sotruss.ksh: Likewise.
58578 * catgets/gencat.c: Likewise.
58579 * csu/version.c: Likewise.
58580 * elf/ldd.bash.in: Likewise.
58581 * elf/sprof.c (print_version): Likewise.
58582 * locale/programs/locale.c: Likewise.
58583 * locale/programs/localedef.c: Likewise.
58584 * login/programs/pt_chown.c: Likewise.
58585 * nscd/nscd.c (print_version): Likewise.
58586 * debug/xtrace.sh: Likewise.
58587 * malloc/memusage.sh: Likewise.
58588 * malloc/mtrace.pl: Likewise.
58589 * debug/catchsegv.sh: Likewise.
58590
58591 2011-12-30 Jakub Jelinek <jakub@redhat.com>
58592
58593 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
58594 pure attribute.
58595
58596 2011-12-24 Ulrich Drepper <drepper@gmail.com>
58597
58598 [BZ #13533]
58599 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
58600 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
58601 transformations.
58602 * iconv/gconv_int.h: Likewise.
58603 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
58604 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
58605 from libc for GLIBC_2.16.
58606 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
58607 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
58608 * wcsmbs/uchar.h: Really define mbstate_t.
58609 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
58610 * wcsmbs/c16rtomb.c: New file.
58611 * wcsmbs/mbrtoc16.c: New file.
58612 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
58613 for C/POSIX locale.
58614 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
58615 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
58616
58617 * wcsmbs/wchar.h: Add missing __restrict.
58618
58619 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58620
58621 [BZ #13532]
58622 * time/Makefile (routines): Add timespec_get.
58623 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
58624 * time/time.h: Define TIME_UTC and declare timespec_get. Define
58625 timespec for ISO C11.
58626 * time/timespec_get.c: New file.
58627 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
58628 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
58629
58630 [BZ #13531]
58631 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
58632 * stdlib/stdlib.h: Declare aligned_alloc.
58633 * Versions.def: Add GLIBC_2.16 for libc.
58634 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
58635
58636 [BZ 13527]
58637 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
58638 ISO C11.
58639
58640 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
58641 code.
58642
58643 [BZ #13528]
58644 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
58645
58646 [BZ #13529]
58647 * assert/assert.h (static_assert): Define.
58648
58649 * version.h: Update for 2.16 development version.
58650
58651 [BZ #13526]
58652 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
58653 _ISOC11_SOURCE.
58654
58655 * version.h (RELEASE): Bump for 2.15 release.
58656 * include/features.h (__GLIBC_MINOR__): Bump to 15.
58657
58658 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
58659 Patch by Marek Polacek <mpolacek@redhat.com>.
58660
58661 * bits/byteswap.h: Protect long long constants with __extension__.
58662 * sysdeps/i386/bits/byteswap.h: Likewise.
58663 * sysdeps/ia64/bits/byteswap.h: Likewise.
58664 * sysdeps/s390/bits/byteswap.h: Likewise.
58665 * sysdeps/x86_64/bits/byteswap.h: Likewise.
58666
58667 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58668
58669 [BZ #13540]
58670 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
58671 destination buffer.
58672 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
58673
58674 2011-12-23 Marek Polacek <polacek@redhat.com>
58675
58676 * elf/dl-addr.c (determine_info): Add inline keyword.
58677 * elf/tst-auditmod4b.c (check_avx): Likewise.
58678 * elf/tst-auditmod6b.c (check_avx): Likewise.
58679 * elf/tst-auditmod6c.c (check_avx): Likewise.
58680 * elf/tst-auditmod7b.c (check_avx): Likewise.
58681
58682 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58683
58684 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
58685 !__SSE_MATH__.
58686
58687 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58688
58689 [BZ #13540]
58690 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
58691 processing for last bytes.
58692
58693 2011-08-06 Bruno Haible <bruno@clisp.org>
58694
58695 [BZ #13061]
58696 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
58697 U+0385, not to U+1FEE.
58698
58699 [BZ #13062]
58700 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
58701 entry for U+00A5 U+0301.
58702
58703 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58704
58705 [BZ #13166]
58706 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
58707 buffer for the output is too small.
58708
58709 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
58710 optimization.
58711
58712 [BZ #13185]
58713 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
58714 SSE flags if possible.
58715
58716 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58717
58718 [BZ #13540]
58719 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
58720 processing for last bytes.
58721
58722 2011-12-22 Joseph Myers <joseph@codesourcery.com>
58723
58724 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
58725 (syscall-list-default-options, syscall-list-default-condition)
58726 (syscall-list-includes): Define.
58727 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
58728 list of ABIs and options and #if conditions for each ABI. Do not
58729 handle common syscalls between ABIs specially.
58730 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
58731 Remove.
58732 (syscall-list-variants, syscall-list-32bit-options)
58733 (syscall-list-32bit-condition, syscall-list-64bit-options)
58734 (syscall-list-64bit-condition): Define.
58735 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
58736 (syscall-list-variants, syscall-list-32bit-options)
58737 (syscall-list-32bit-condition, syscall-list-64bit-options)
58738 (syscall-list-64bit-condition): Define.
58739 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
58740 Remove.
58741 (syscall-list-variants, syscall-list-32bit-options)
58742 (syscall-list-32bit-condition, syscall-list-64bit-options)
58743 (syscall-list-64bit-condition): Define.
58744 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
58745 Remove.
58746 (syscall-list-variants, syscall-list-32bit-options)
58747 (syscall-list-32bit-condition, syscall-list-64bit-options)
58748 (syscall-list-64bit-condition): Define.
58749
58750 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58751
58752 * locale/iso-639.def: Add brx entry.
58753
58754 [BZ #13328]
58755 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
58756 Proposed by Mariusz_Cukr <marcukr@op.pl>.
58757
58758 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
58759 __feraiseexcept_renamed.
58760
58761 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58762
58763 [BZ #13538]
58764 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
58765 EPOLLET with unsigned values.
58766 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58767 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58768
58769 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
58770 to large cancellation.
58771 * math/s_cacoshf.c: Likewise.
58772 * math/s_cacoshl.c: Likewise.
58773
58774 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
58775
58776 [BZ #13305]
58777 [BZ #12786]
58778 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
58779 * math/s_cacoshf.c: Likewise.
58780 * math/s_cacoshl.c: Likewise.
58781
58782 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58783
58784 [BZ #13439]
58785 * iconv/gconv.h: Define __GCONV_SWAP.
58786 * iconvdata/unicode.c: The swap bit must be stored in __flags.
58787 * iconvdata/utf-16.c: Likewise.
58788 * iconvdata/utf-32.c: Likewise.
58789
58790 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
58791
58792 [BZ #13524]
58793 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
58794 numerator after shifting it by one limb.
58795
58796 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
58797
58798 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
58799 under [__USE_EXTERN_INLINES].
58800
58801 2011-12-17 Ulrich Drepper <drepper@gmail.com>
58802
58803 [BZ #13446]
58804 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
58805
58806 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58807
58808 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
58809 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
58810 optimized code.
58811 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
58812 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
58813 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
58814 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
58815 for strncasecmp/strncasecmp_l compilation.
58816 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
58817 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
58818
58819 2011-12-08 Marek Polacek <mpolacek@redhat.com>
58820
58821 [BZ #13484]
58822 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
58823 of __asm__.
58824
58825 2011-12-17 Ulrich Drepper <drepper@gmail.com>
58826
58827 [BZ #13506]
58828 * time/tzfile.c (__tzfile_read): Check values from file header.
58829
58830 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
58831
58832 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
58833 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
58834 * powerpc/powerpc32/dl-start.S: Likewise.
58835 * powerpc/powerpc32/elf/start.S: Likewise.
58836 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
58837 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
58838 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
58839 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
58840 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
58841 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
58842 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
58843 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58844 * powerpc/powerpc32/fpu/s_round.S: Likewise.
58845 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
58846 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
58847 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
58848 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
58849 * powerpc/powerpc32/memset.S: Likewise.
58850 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
58851 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58852 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58853 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58854 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58855 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
58856 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
58857 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
58858 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
58859 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
58860 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
58861 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58862 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58863
58864 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58865
58866 * math/libm-test.inc: Added more nearbyint tests.
58867 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
58868 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
58869 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
58870 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
58871
58872 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
58873
58874 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
58875 FD_CLOEXEC.
58876
58877 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58878
58879 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
58880 Add wcscpy-ssse3 wcscpy-c.
58881 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
58882 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
58883 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
58884 * sysdeps/x86_64/wcschr.S: New file.
58885 * sysdeps/x86_64/wcsrchr.S: New file.
58886 * string/test-strcmp.c: Remove checking of wcscmp function for
58887 wrong alignments.
58888 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
58889 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
58890 wcsrchr-sse2 wcsrchr-c.
58891 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
58892 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
58893 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
58894 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
58895 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
58896 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
58897 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
58898 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
58899 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
58900 * wcsmbc/wcschr.c (WCSCHR): New macro.
58901
58902 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58903
58904 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
58905 * wcsmbs/test-wcsrchr.c: New file.
58906 * string/test-strrchr.c: Add wcsrchr support.
58907 (WIDE): New macro.
58908 * wcsmbs/test-wcscpy.c: New file.
58909 * string/test-strcpy.c: Add wcscpy support.
58910 (WIDE): New macro.
58911
58912 2011-12-10 Ulrich Drepper <drepper@gmail.com>
58913
58914 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
58915 the inner loop.
58916
58917 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
58918
58919 [BZ #13472]
58920 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
58921
58922 2011-12-04 Ulrich Drepper <drepper@gmail.com>
58923
58924 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
58925 Minor optimizations.
58926
58927 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
58928 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
58929 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
58930
58931 2011-12-03 Ulrich Drepper <drepper@gmail.com>
58932
58933 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
58934 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
58935 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
58936 for gcc to avoid warnings.
58937 * inet/Makefile (tests): Add tst-checks.
58938 * inet/tst-checks.c: New file.
58939
58940 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
58941 warning.
58942
58943 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
58944 __wmemcmp_sse2.
58945
58946 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
58947 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
58948
58949 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
58950
58951 2011-12-02 Ulrich Drepper <drepper@gmail.com>
58952
58953 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
58954 problem.
58955
58956 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
58957
58958 2011-11-29 Joseph Myers <joseph@codesourcery.com>
58959
58960 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
58961 conditional on GCC version.
58962 (__arch_compare_and_exchange_val_8_acq)
58963 (__arch_compare_and_exchange_val_16_acq)
58964 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
58965 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
58966 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
58967
58968 2011-12-02 Joseph Myers <joseph@codesourcery.com>
58969
58970 * sysdeps/sh/backtrace.c: New file.
58971
58972 2011-12-02 Andreas Schwab <schwab@redhat.com>
58973
58974 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
58975 parenthesis.
58976
58977 2011-12-01 Andreas Schwab <schwab@redhat.com>
58978
58979 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
58980 falling back to utime.
58981
58982 2011-11-30 Andreas Schwab <schwab@redhat.com>
58983
58984 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
58985 expectations for float.
58986
58987 2011-11-29 Andreas Schwab <schwab@redhat.com>
58988
58989 * locale/weight.h (findidx): Add parameter len.
58990 * locale/weightwc.h (findidx): Likewise.
58991 * posix/fnmatch_loop.c (FCT): Adjust caller.
58992 * posix/regcomp.c (build_equiv_class): Likewise.
58993 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
58994 * posix/regexec.c (check_node_accept_bytes): Likewise.
58995 * string/strcoll_l.c (STRCOLL): Likewise.
58996 * string/strxfrm_l.c (STRXFRM): Likewise.
58997
58998 2011-11-17 Ulrich Drepper <drepper@gmail.com>
58999
59000 * Makefile.in: Remove CVSOPT handling.
59001 * configure.in: Remove use of AC_REVISION.
59002 * iconvdata/Makefile (distribute): No need to filter out CVS.
59003 * scripts/list-sources.sh: Remove CVS, subversion and monotone
59004 handling.
59005
59006 2011-11-16 Andreas Schwab <schwab@redhat.com>
59007
59008 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
59009 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
59010 [USE_AS_STRNCASECMP_L]: Likewise.
59011 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
59012 NO_TLS_DIRECT_SEG_REFS.
59013 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
59014 Fix argument offsets for non-PIC.
59015 [USE_AS_STRNCASECMP_L]: Likewise.
59016 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
59017 NO_TLS_DIRECT_SEG_REFS.
59018
59019 2011-11-15 Ulrich Drepper <drepper@gmail.com>
59020
59021 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
59022 O_CLOEXEC.
59023 * locale/loadlocale.c (_nl_load_locale): Likewise.
59024
59025 2011-11-15 Andreas Schwab <schwab@redhat.com>
59026
59027 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
59028 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
59029 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
59030 (SYSCALL_GETTIME): Set errno on error.
59031
59032 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
59033 count references to noai6ai_cached.
59034
59035 2011-11-15 Ulrich Drepper <drepper@gmail.com>
59036
59037 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
59038
59039 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
59040 FD_CLOEXEC for /proc/self/maps.
59041
59042 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
59043 FD_CLOEXEC for /proc/meminfo.
59044
59045 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
59046 gai.conf.
59047
59048 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
59049 FD_CLOEXEC for given file.
59050
59051 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
59052
59053 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
59054 FD_CLOEXEC for /etc/hosts.
59055 (_gethtent): Likewise.
59056
59057 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
59058
59059 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
59060 cancellation and set FD_CLOEXEC for /etc/netgroup.
59061
59062 * nss/nss_files/files-key.c (search): Don't allow cancellation when
59063 reading /etc/publickey.
59064
59065 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
59066 allow cancellation when reading /etc/group.
59067
59068 * nss/nss_files/files-alias.c (internal_setent): Don't allow
59069 cancellation.
59070 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
59071
59072 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
59073 when using data file.
59074
59075 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
59076
59077 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
59078 (write_nis_obj): Use "c" and "e" in fopen.
59079
59080 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
59081
59082 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
59083
59084 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
59085
59086 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
59087
59088 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
59089 locale.alias.
59090
59091 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
59092
59093 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
59094
59095 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
59096
59097 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
59098 file parsing and set FD_CLOEXEC.
59099
59100 2011-11-14 Ulrich Drepper <drepper@gmail.com>
59101
59102 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
59103
59104 2011-11-14 Andreas Schwab <schwab@redhat.com>
59105
59106 * malloc/arena.c (arena_get2): Don't call reused_arena when
59107 _int_new_arena failed.
59108
59109 2011-11-14 Ulrich Drepper <drepper@gmail.com>
59110
59111 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
59112 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
59113 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
59114 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59115 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59116 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
59117 to compile strcasecmp and strncasecmp.
59118 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
59119 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
59120
59121 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
59122
59123 2011-11-13 Ulrich Drepper <drepper@gmail.com>
59124
59125 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
59126 locale-defines.sym to gen-as-const-headers.
59127 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
59128 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
59129 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
59130 to compile strcasecmp and strncasecmp.
59131 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
59132 strcasecmp_l and strncasecmp_l.
59133 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
59134 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
59135 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
59136 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
59137 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
59138 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
59139 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
59140 * sysdeps/i386/i686/multiarch/strncase.S: New file.
59141 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
59142 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
59143 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
59144
59145 2011-11-12 Ulrich Drepper <drepper@gmail.com>
59146
59147 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
59148 result of SYSDEP_GETTIME_CPU to retval.
59149 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
59150 parameter list to macro. Remove trailing semicolon. Adjust users.
59151
59152 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
59153 variable.
59154
59155 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
59156 mantissa words.
59157 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
59158
59159 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
59160 from unused variable.
59161
59162 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
59163 DWARF definitions.
59164 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
59165 for assembling.
59166
59167 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
59168 over namespaces.
59169
59170 * sunrpc/rpc_prot.c (rejected): Fix case value.
59171
59172 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
59173 unsigned long long int to avoid warnings in shift.
59174
59175 * posix/regex_internal.c (re_string_reconstruct): Actually use result
59176 of use of trans.
59177 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
59178 variable tmp.
59179
59180 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
59181 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
59182 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
59183
59184 * nis/nis_table.c (nis_list): Use variable of correct type for
59185 result of __follow_path call.
59186
59187 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59188
59189 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
59190 of math functions ceil, trunc, floor, round, and sqrt, when
59191 avaliable on the platform.
59192 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
59193 name clash.
59194 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59195 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59196 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59197
59198 2011-10-30 Marek Polacek <mpolacek@redhat.com>
59199
59200 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
59201 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59202
59203 2011-11-11 Roland McGrath <roland@hack.frob.com>
59204
59205 * include/unistd.h: Fix __readlink return type.
59206 Reported by Chris Metcalf <cmetcalf@tilera.com>.
59207
59208 2011-11-11 Ulrich Drepper <drepper@gmail.com>
59209
59210 * stdlib/ucontext.h: Undo last change for makecontext.
59211
59212 2011-11-11 Andreas Schwab <schwab@redhat.com>
59213
59214 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
59215
59216 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
59217 * setjmp/setjmp.h: Mark functions as non-leaf.
59218 * setjmp/bits/setjmp2.h: Likewise.
59219 * stdlib/ucontext.h: Likewise.
59220
59221 2011-11-10 Andreas Schwab <schwab@redhat.com>
59222
59223 * malloc/arena.c (_int_new_arena): Don't increment narenas.
59224 (reused_arena): Don't check arena limit.
59225 (arena_get2): Atomically check arena limit.
59226
59227 2011-11-08 Ulrich Drepper <drepper@gmail.com>
59228
59229 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
59230 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
59231
59232 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
59233 instructions.
59234
59235 2011-11-07 Andreas Schwab <schwab@redhat.com>
59236
59237 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
59238 handler when locking.
59239
59240 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59241 Fix size of allocated buffer.
59242
59243 2011-11-04 Andreas Schwab <schwab@redhat.com>
59244
59245 [BZ #10103]
59246 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
59247 declarations for long double functions.
59248 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
59249
59250 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
59251
59252 2011-11-03 Andreas Schwab <schwab@redhat.com>
59253
59254 * nscd/nscd.c (main): Don't start AVC thread until credentials are
59255 installed.
59256
59257 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
59258 is disabled.
59259
59260 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
59261
59262 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
59263
59264 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
59265
59266 * include/alloca.h (stackinfo_alloca_round): Define.
59267 (extend_alloca): Use it.
59268 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
59269 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
59270 here.
59271
59272 * scripts/check-local-headers.sh: Ignore libaudit.h.
59273
59274 * nscd/Makefile (extra-objs): Make recursively expanded.
59275
59276 2011-11-01 Ulrich Drepper <drepper@gmail.com>
59277
59278 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
59279 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
59280
59281 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
59282 * posix/tst-rfc3484-2.c: Likewise.
59283 * posix/tst-rfc3484-3.c: Likewise.
59284
59285 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
59286 process_vm_writev.
59287 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
59288 process_vm_writev.
59289 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
59290 process_vm_writev from libc using GLIBC_2.15 version.
59291
59292 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
59293
59294 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
59295
59296 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
59297 stack usage.
59298
59299 2011-10-31 Ulrich Drepper <drepper@gmail.com>
59300
59301 [BZ #13367]
59302 * nss/getent.c (initgroups_keys): Show error message in case no group
59303 names are given.
59304
59305 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
59306 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
59307 __bump_nl_timestamp.
59308 * nscd/connections (nscd_init): When host database is served open
59309 netlink socket and request notification about configuration changes.
59310 (main_loop_poll): Track netlink file descriptor and bump timestamp
59311 in case data becomes available.
59312 (main_loop_epoll): Likewise.
59313 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
59314 (database_pers_head): Add extra_data fileds.
59315 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
59316 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
59317 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
59318 Adjust caller.
59319 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
59320 in6ai data, call __free_in6ai.
59321 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
59322 Add -DHAVE_NETLINK.
59323 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
59324 interface information. Reuse previous data if netlink timestamp
59325 is not changed.
59326 (__bump_nl_timestamp): New function.
59327 (__free_in6ai): New function.
59328
59329 2011-10-30 Ulrich Drepper <drepper@gmail.com>
59330
59331 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
59332 close_not_cancel_no_status here.
59333 (__check_pf): Reorganize code a bit to not call close twice if OOM.
59334
59335 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59336
59337 [BZ #13276]
59338 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
59339 return value.
59340
59341 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
59342 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
59343 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
59344
59345 2011-07-03 Andreas Jaeger <aj@suse.de>
59346
59347 [BZ #10709]
59348 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
59349 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
59350 * math/libm-test.inc (sin_test): Add test case.
59351
59352 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59353
59354 [BZ #13337]
59355 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
59356 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59357
59358 * elf/chroot_canon.c (chroot_canon): Cleanups.
59359
59360 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
59361
59362 [BZ #13335]
59363 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
59364 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59365
59366 * string/test-strchr.c: Make usable for strchrnul testing.
59367 * string/test-strchrnul.c: New file.
59368 * string/Makefile (strop-tests): Add strchrnul.
59369
59370 * po/it.po: Update from translation team.
59371 * po/es.po: Likewise.
59372
59373 2011-10-28 Ulrich Drepper <drepper@gmail.com>
59374
59375 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
59376 the three constants needed as parameters. Drop the others.
59377 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
59378 __m128i_strloadu_tolower.
59379 Create and initialize variable zero and use it in all the places
59380 where _mm_setzero_si128 was used.
59381
59382 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
59383 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
59384 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
59385 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
59386 anymore.
59387 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
59388 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
59389 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
59390 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
59391 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
59392 __mpranred, __mptan.
59393 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
59394 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
59395 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
59396 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
59397 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
59398 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
59399 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
59400 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
59401 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
59402
59403 2011-10-28 Andreas Schwab <schwab@redhat.com>
59404
59405 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
59406 redefine if SHARED.
59407 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
59408
59409 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
59410 wide char related routines to wcsmbs subdir.
59411
59412 2011-10-27 Andreas Schwab <schwab@redhat.com>
59413
59414 [BZ #13344]
59415 * misc/sys/cdefs.h (__THROWNL): Define.
59416 * posix/unistd.h: Use __THREADNL instead of __THREAD
59417 for memory synchronization functions.
59418
59419 2011-10-26 Roland McGrath <roland@hack.frob.com>
59420
59421 [BZ #13349]
59422 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
59423 doesn't exist.
59424 * manual/stdio.texi (Obstack Streams): Node removed.
59425
59426 2011-10-26 Andreas Schwab <schwab@redhat.com>
59427
59428 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
59429 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59430 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59431
59432 * math/math_private.h (math_force_eval): Allow non-addressable
59433 arguments.
59434 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
59435
59436 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59437
59438 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
59439 file is not needed.
59440
59441 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
59442 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
59443 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59444 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59445 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59446 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59447 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59448 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
59449 Add AVX variants.
59450 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
59451 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
59452 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
59453 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
59454 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
59455 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
59456 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
59457 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
59458 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
59459 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
59460 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
59461 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
59462 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
59463 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
59464 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
59465 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
59466 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
59467 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
59468 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
59469
59470 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
59471 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
59472
59473 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
59474 place. Use VEX encoding when compiling for AVX.
59475
59476 2011-10-25 Andreas Schwab <schwab@redhat.com>
59477
59478 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
59479 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
59480
59481 * string/test-strchr.c (do_test): Don't generate NUL bytes.
59482
59483 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59484
59485 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
59486 useless if() expression.
59487 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59488 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59489 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59490 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59491 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59492 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59493 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59494 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59495 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59496 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59497 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59498 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59499 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
59500 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59501 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
59502 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59503 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59504 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59505 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
59506
59507 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
59508
59509 2011-10-25 Andreas Schwab <schwab@redhat.com>
59510
59511 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
59512 condition.
59513 * elf/dl-fini.c (_dl_sort_fini): Likewise.
59514
59515 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59516
59517 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
59518 .text section. Avoid duplicate constants.
59519 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59520 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59521 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59522 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59523 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59524 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59525 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59526 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59527 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59528 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
59529 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59530 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59531 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
59532 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
59533 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
59534 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
59535 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
59536 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59537 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59538 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59539 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59540 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59541 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59542 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
59543 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
59544 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
59545 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
59546 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
59547 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
59548 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
59549 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
59550 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
59551 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59552 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
59553 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
59554 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
59555 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
59556 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
59557 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
59558 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
59559 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
59560 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
59561 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
59562 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
59563 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
59564
59565 2011-10-24 Ulrich Drepper <drepper@gmail.com>
59566
59567 * sysdeps/x86_64/dla.h: Move to ...
59568 * sysdeps/x86_64/fpu/dla.h: ...here.
59569 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
59570 situations. Use __builtin_fma only for gcc 4.6 and up.
59571
59572 * config.make.in: Add have-mfma4 entry.
59573 * configure.in: Substitute libc_cv_cc_fma4.
59574 * math/Makefile (dbl-only-routines): Add sincostab.
59575 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
59576 Use __sincostab not sincos.
59577 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
59578 name is a macro.
59579 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59580 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59581 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59582 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
59583 using __copysign.
59584 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
59585 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
59586 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
59587 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
59588 and __inv.
59589 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
59590 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
59591 __copysign.
59592 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
59593 define aliases when function name is a macro.
59594 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
59595 sysdeps/ieee754/dbl-64/sincos.tbl.
59596 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
59597 fma4-enabled routines.
59598 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
59599 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
59600 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
59601 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
59602 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
59603 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
59604 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
59605 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
59606 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
59607 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
59608 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
59609 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
59610 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
59611 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
59612 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
59613 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
59614 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
59615 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
59616 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
59617 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
59618 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
59619 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
59620 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
59621 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
59622 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
59623 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
59624 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
59625 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
59626 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
59627 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
59628
59629 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
59630 rename.
59631 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59632 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59633 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59634 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59635 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59636 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59637 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59638 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59639
59640 2011-10-24 Andreas Schwab <schwab@redhat.com>
59641
59642 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
59643
59644 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59645
59646 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
59647
59648 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
59649 prediction.
59650 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
59651
59652 * string/strnlen.c: Don't define STRNLEN, reverse logic.
59653 Remove unused variable magic_bits.
59654 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
59655
59656 * string/strnlen.c: Define and use STRNLEN macro.
59657 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
59658 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
59659 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
59660 * wcsmbs/wcslen.c: Define and use WCSLEN.
59661 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
59662 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
59663 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
59664 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
59665 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
59666 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
59667 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59668
59669 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59670
59671 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59672 strnlen-sse2-no-bsf.
59673 Rename strlen-no-bsf to strlen-sse2-no-bsf.
59674 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
59675 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
59676 Add strnlen support.
59677 (USE_AS_STRNLEN): New macro.
59678 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
59679 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
59680 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
59681 * sysdeps/x86_64/wcslen.S: New file.
59682
59683 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
59684
59685 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
59686 XMM-moves are used for copying on small sizes.
59687
59688 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59689
59690 * wcsmbs/Makefile (strop-tests): Add wcschr.
59691 * wcsmbs/test-wcschr.c: New file.
59692 * string/test-strchr.c: Update.
59693 Add wcschr support.
59694 (WIDE): New macro.
59695
59696 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59697
59698 * wcsmbs/Makefile (strop-tests): Add wcslen.
59699 * wcsmbs/test-wcslen.c: New file.
59700 * string/test-strlen.c: Update.
59701 Add wcslen support.
59702 (WIDE): New macro.
59703
59704 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59705
59706 * po/it.po: Update from translation team.
59707
59708 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59709
59710 * sysdeps/x86_64/wcscmp.S: Update.
59711 Fix wrong comparison semantics.
59712 wcscmp shall use signed comparison not unsigned.
59713 Don't use substraction to avoid overflow bug.
59714 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
59715 * wcsmbc/wcscmp.c: Likewise.
59716 * string/test-strcmp.c: Likewise.
59717 Add new tests to check cases with negative values.
59718
59719 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59720
59721 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
59722 * sysdeps/x86_64/dla.h: ...here. New file.
59723 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
59724 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59725 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59726 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59727 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59728 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59729 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59730 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59731 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59732
59733 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
59734
59735 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
59736 __ynl_finite aliases.
59737
59738 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59739
59740 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59741
59742 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
59743 define DLA_FMA.
59744 [DLA_FMA] (EMULV): Use DLA_FMA.
59745 [DLA_FMA] (MUL12): Use EMULV.
59746 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
59747 that are not needed.
59748 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59749 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59750 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59751 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59752 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59753 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59754 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59755
59756 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
59757
59758 * math/s_nan.c: Undef __nan.
59759 * math/s_nanf.c: Undef __nanf.
59760 * math/s_nanl.c: Undef __nanl.
59761 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
59762 "math_private.h".
59763
59764 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59765
59766 * math/s_catan.c: Add branch predictions.
59767 * math/s_catanf.c: Likewise.
59768 * math/s_catanh.c: Likewise.
59769 * math/s_catanhf.c: Likewise.
59770 * math/s_catanhl.c: Likewise.
59771 * math/s_catanl.c: Likewise.
59772 * math/s_cexp.c: Likewise.
59773 * math/s_cexpf.c: Likewise.
59774 * math/s_cexpl.c: Likewise.
59775 * math/s_clog.c: Likewise.
59776 * math/s_clog10.c: Likewise.
59777 * math/s_clog10f.c: Likewise.
59778 * math/s_clog10l.c: Likewise.
59779 * math/s_clogf.c: Likewise.
59780 * math/s_clogl.c: Likewise.
59781 * math/s_csqrt.c: Likewise.
59782 * math/s_csqrtf.c: Likewise.
59783 * math/s_csqrtl.c: Likewise.
59784 * math/s_ctanf.c: Likewise.
59785 * math/s_ctanh.c: Likewise.
59786 * math/s_ctanhf.c: Likewise.
59787 * math/s_ctanhl.c: Likewise.
59788 * math/s_ctanl.c: Likewise.
59789
59790 * math/math_private.h: Define __nan, __nanf, __nanl.
59791 * math/s_cacosh.c: Include <math_private.h>.
59792 * math/s_cacoshl.c: Likewise.
59793 * math/s_casinh.c: Likewise.
59794 * math/s_casinhf.c: Likewise.
59795 * math/s_casinhl.c: Likewise.
59796 * math/s_ccos.c: Rely entire on ccosh.
59797 * math/s_ccosf.c: Rely entire on ccoshf.
59798 * math/s_ccosl.c: Rely entirely on ccoshl.
59799 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
59800 Remove tests for FE_INVALID.
59801 * math/s_ccoshf.c: Likewise.
59802 * math/s_ccoshl.c: Likewise.
59803 * math/s_csin.c: Likewise.
59804 * math/s_csinf.c: Likewise.
59805 * math/s_csinh.c Likewise.
59806 * math/s_csinhf.c: Likewise.
59807 * math/s_csinhl.c: Likewise.
59808 * math/s_csinl.c: Likewise.
59809 * math/s_ctan.c: Likewise.
59810 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
59811 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
59812 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
59813
59814 2011-10-21 Ulrich Drepper <drepper@gmail.com>
59815
59816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
59817 compilation problems.
59818
59819 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
59820 __builtin_expect.
59821
59822 2011-10-20 Ulrich Drepper <drepper@gmail.com>
59823
59824 * sysdeps/i386/configure.in: Test for -mfma4 option.
59825 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
59826 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
59827 COMMON_CPUID_INDEX_80000001.
59828 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
59829 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
59830 use it if FMA3 is not supported.
59831 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
59832
59833 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
59834 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59835
59836 2011-10-20 Andreas Schwab <schwab@redhat.com>
59837
59838 [BZ #12892]
59839 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
59840 it would create a cycle with a link time dependency.
59841
59842 2011-10-19 Ulrich Drepper <drepper@gmail.com>
59843
59844 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
59845 instruction.
59846 * string/Makefile (strop-tests): Add rawmemchr.
59847 * string/test-rawmemchr.c: New file.
59848
59849 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
59850 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
59851 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
59852 when compiling str{,n}casecmp and when AVX is available. Hook up
59853 new optimized code in initializers.
59854
59855 2011-10-19 Andreas Schwab <schwab@redhat.com>
59856
59857 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
59858 __feraiseexcept instead of feraiseexcept.
59859
59860 2011-10-18 Ulrich Drepper <drepper@gmail.com>
59861
59862 * math/math_private.h: Define defaults for libc_fetestexcept and
59863 libc_feupdateenv.
59864 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
59865 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
59866 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59867 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59868 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
59869 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59870 libc_fetestexcept and libc_feupdateenv.
59871
59872 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
59873 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
59874 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
59875 * sysdeps/x86_64/fpu/math_private.h: Define special version of
59876 libc_feholdexcept_setround.
59877
59878 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
59879 Add s_nearbyint-c and s_nearbyintf-c.
59880 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
59881 nearbyintf inlines.
59882 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
59883 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
59884 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
59885 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
59886
59887 * math/math_private.h: Define defaults for libc_fegetround,
59888 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
59889 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
59890 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
59891 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
59892 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
59893 standard functions.
59894 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59895 Remove comments and hacks for old compiler versions.
59896 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59897 libc_fegetround, libc_fesetround, libc_feholdexcept, and
59898 libc_feholdexceptl.
59899
59900 2011-10-18 Andreas Schwab <schwab@redhat.com>
59901
59902 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
59903 (__feraiseexcept_renamed): Add __NTH.
59904 (feraiseexcept): Add __NTH. Rename local variables to fix
59905 namespace violations.
59906
59907 2011-10-17 Ulrich Drepper <drepper@gmail.com>
59908
59909 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
59910
59911 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
59912
59913 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
59914 recently added interfaces.
59915 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
59916
59917 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
59918 about macro parameter expansion.
59919
59920 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
59921 __NO_MATH_INLINES is defined. Cleanups.
59922
59923 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
59924 and __floorf is target has SSE4.1.
59925 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
59926 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
59927 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
59928 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
59929
59930 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
59931 name.
59932 (floorf): Likewise.
59933
59934 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
59935
59936 2011-10-17 Andreas Schwab <schwab@redhat.com>
59937
59938 * misc/sys/cdefs.h: Fix last change.
59939
59940 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
59941 database lookup.
59942
59943 2011-10-16 Ulrich Drepper <drepper@gmail.com>
59944
59945 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
59946
59947 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
59948 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59949 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59950 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59951 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59952 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
59953 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59954 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59955 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
59956 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
59957 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
59958 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
59959 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
59960 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
59961 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
59962 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
59963 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
59964 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
59965 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
59966 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
59967 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
59968 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
59969
59970 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
59971 ceil, ceilf, floor, floorf.
59972
59973 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
59974 Perform IRELATIVE relocations last.
59975
59976 * elf/do-rel.h: Add another parameter nrelative, replacing the
59977 local variable with the same name. Change name of the function
59978 to end in Rel or Rela (uppercase).
59979 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
59980 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
59981 elf_dynamic_do_##reloc function.
59982
59983 2011-10-15 Ulrich Drepper <drepper@gmail.com>
59984
59985 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
59986 is sufficient, at least on modern CPUs.
59987
59988 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
59989
59990 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
59991 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
59992
59993 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
59994 __expl_finite.
59995 * math/bits/math-finite.h: Add entries for exp.
59996 * math/e_expl.c: Add __*_finite alias.
59997 * sysdeps/i386/fpu/e_exp.S: Likewise.
59998 * sysdeps/i386/fpu/e_expf.S: Likewise.
59999 * sysdeps/i386/fpu/e_expl.c: Likewise.
60000 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60001 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60002 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
60003 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60004 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
60005 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
60006 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
60007
60008 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
60009 is sufficient, at least on modern CPUs.
60010
60011 * ctype/ctype-info.c (__ctype_init): Define.
60012 * include/ctype.h (__ctype_init): Declare.
60013 (__ctype_b_loc): The variable is always initialized.
60014 (__ctype_toupper_loc): Likewise.
60015 (__ctype_tolower_loc): Likewise.
60016 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
60017 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
60018
60019 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
60020
60021 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
60022
60023 * configure.in: Also look in $cxxmachine/include for C++ system
60024 headers.
60025
60026 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60027
60028 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
60029 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
60030 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
60031 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
60032 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
60033 (USE_AS_WMEMCMP): New macro.
60034 Fixing indents.
60035 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
60036 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
60037 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
60038 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
60039 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60040 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
60041 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
60042 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
60043 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
60044 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
60045 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
60046 (USE_AS_WMEMCMP): New macro.
60047 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
60048 * sysdeps/string/test-memcmp.c: Update.
60049 Fix simple_wmemcmp.
60050 Add new tests.
60051 * wcsmbs/wmemcmp.c: Update.
60052 (WMEMCMP): New macro.
60053 Fix overflow bug.
60054
60055 2011-10-12 Andreas Jaeger <aj@suse.de>
60056
60057 [BZ #13268]
60058 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
60059
60060 2011-10-15 Ulrich Drepper <drepper@gmail.com>
60061
60062 * libio/iofwide.c (do_length): Avoid warning.
60063
60064 * ctype/ctype.h (__isctype_f): Add missing __THROW.
60065
60066 2011-10-14 Ulrich Drepper <drepper@gmail.com>
60067
60068 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
60069
60070 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
60071 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
60072 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
60073 * sysdeps/i386/i686/fpu/e_log.S: New file.
60074 * sysdeps/i386/i686/fpu/e_logf.S: New file.
60075 * sysdeps/i386/i686/fpu/e_logl.S: New file.
60076
60077 * ctype/ctype.h: Add support for inlined isXXX functions when
60078 compiling C++ code.
60079
60080 2011-10-14 Andreas Schwab <schwab@redhat.com>
60081
60082 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60083
60084 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
60085
60086 2011-10-13 Roland McGrath <roland@hack.frob.com>
60087
60088 [BZ #13291]
60089 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
60090
60091 2011-10-13 Andreas Schwab <schwab@redhat.com>
60092
60093 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
60094 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
60095 feraiseexcept.
60096
60097 * sysdeps/x86_64/memrchr.S: Check for zero size.
60098
60099 * string/stratcliff.c: Add memrchr tests.
60100
60101 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60102
60103 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60104 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
60105 rawmemchr-sse2 rawmemchr-sse2-bsf.
60106 * sysdeps/i386/i686/multiarch/memchr.S: New file.
60107 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
60108 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
60109 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
60110 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
60111 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
60112 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
60113 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
60114 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
60115 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
60116 * string/memrchr.c (MEMRCHR): New macro.
60117
60118 2011-10-12 Ulrich Drepper <drepper@gmail.com>
60119
60120 Add integration with gcc's -ffinite-math-only and optimize wrapper
60121 functions in libm.
60122 * Versions.def: Define GLIBC_2.15 version for libm.
60123 * math/Makefile (headers): Add bits/math-finite.h.
60124 * math/bits/math-finite.h: New file.
60125 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
60126 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
60127 * math/e_acoshl.c: Add __*_finite alias.
60128 * math/e_acosl.c: Likewise.
60129 * math/e_asinl.c: Likewise.
60130 * math/e_atan2l.c: Likewise.
60131 * math/e_atanhl.c: Likewise.
60132 * math/e_coshl.c: Likewise.
60133 * math/e_exp10.c: Likewise.
60134 * math/e_exp10f.c: Likewise.
60135 * math/e_exp10l.c: Likewise.
60136 * math/e_exp2l.c: Likewise.
60137 * math/e_fmodl.c: Likewise.
60138 * math/e_gammal_r.c: Likewise.
60139 * math/e_hypotl.c: Likewise.
60140 * math/e_j0l.c: Likewise.
60141 * math/e_j1l.c: Likewise.
60142 * math/e_jnl.c: Likewise.
60143 * math/e_lgammal_r.c: Likewise.
60144 * math/e_log10l.c: Likewise.
60145 * math/e_log2l.c: Likewise.
60146 * math/e_logl.c: Likewise.
60147 * math/e_powl.c: Likewise.
60148 * math/e_sinhl.c: Likewise.
60149 * math/e_sqrtl.c: Likewise.
60150 * math/e_scalb.c: Completely rewritten and optimized.
60151 * math/e_scalbf.c: Likewise.
60152 * math/e_scalbl.c: Likewise.
60153 * math/w_acos.c: Likewise.
60154 * math/w_acosf.c: Likewise.
60155 * math/w_acosl.c: Likewise.
60156 * math/w_acosh.c: Likewise.
60157 * math/w_acoshf.c: Likewise.
60158 * math/w_acoshl.c: Likewise.
60159 * math/w_asin.c: Likewise.
60160 * math/w_asinf.c: Likewise.
60161 * math/w_asinl.c: Likewise.
60162 * math/w_atan2.c: Likewise.
60163 * math/w_atan2f.c: Likewise.
60164 * math/w_atan2l.c: Likewise.
60165 * math/w_atanh.c: Likewise.
60166 * math/w_atanhf.c: Likewise.
60167 * math/w_atanhl.c: Likewise.
60168 * math/w_exp10.c: Likewise.
60169 * math/w_exp10f.c: Likewise.
60170 * math/w_exp10l.c: Likewise.
60171 * math/w_fmod.c: Likewise.
60172 * math/w_fmodf.c: Likewise.
60173 * math/w_fmodl.c: Likewise.
60174 * math/w_j0.c: Likewise.
60175 * math/w_j0f.c: Likewise.
60176 * math/w_j0l.c: Likewise.
60177 * math/w_j1.c: Likewise.
60178 * math/w_j1f.c: Likewise.
60179 * math/w_j1l.c: Likewise.
60180 * math/w_jn.c: Likewise.
60181 * math/w_jnf.c: Likewise.
60182 * math/w_log.c: Likewise.
60183 * math/w_logf.c: Likewise.
60184 * math/w_logl.c: Likewise.
60185 * math/w_log10.c: Likewise.
60186 * math/w_log10f.c: Likewise.
60187 * math/w_log10l.c: Likewise.
60188 * math/w_log2.c: Likewise.
60189 * math/w_log2f.c: Likewise.
60190 * math/w_log2l.c: Likewise.
60191 * math/w_pow.c: Likewise.
60192 * math/w_powf.c: Likewise.
60193 * math/w_powl.c: Likewise.
60194 * math/w_remainder.c: Likewise.
60195 * math/w_remainderf.c: Likewise.
60196 * math/w_remainderl.c: Likewise.
60197 * math/w_scalb.c: Likewise.
60198 * math/w_scalbf.c: Likewise.
60199 * math/w_scalbl.c: Likewise.
60200 * math/w_sqrt.c: Likewise.
60201 * math/w_sqrtf.c: Likewise.
60202 * math/w_sqrtl.c: Likewise.
60203 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
60204 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
60205 used.
60206 * math/math_private.h: Declare __kernel_standard_f.
60207 * math/w_cosh.c: Remove cruft and optimize a bit.
60208 * math/w_coshf.c: Likewise.
60209 * math/w_coshl.c: Likewise.
60210 * math/w_exp2.c: Likewise.
60211 * math/w_exp2f.c: Likewise.
60212 * math/w_exp2l.c: Likewise.
60213 * math/w_hypot.c: Likewise.
60214 * math/w_hypotf.c: Likewise.
60215 * math/w_hypotl.c: Likewise.
60216 * math/w_lgamma.c: Likewise.
60217 * math/w_lgamma_r.c: Likewise.
60218 * math/w_lgammaf.c: Likewise.
60219 * math/w_lgammaf_r.c: Likewise.
60220 * math/w_lgammal.c: Likewise.
60221 * math/w_lgammal_r.c: Likewise.
60222 * math/w_sinh.c: Likewise.
60223 * math/w_sinhf.c: Likewise.
60224 * math/w_sinhl.c: Likewise.
60225 * math/w_tgamma.c: Likewise.
60226 * math/w_tgammaf.c: Likewise.
60227 * math/w_tgammal.c: Likewise.
60228 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60229 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60230 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
60231 Minor optimizations. Pretty printing. Remove cruft.
60232 * sysdeps/i386/fpu/e_acosf.S: Likewise.
60233 * sysdeps/i386/fpu/e_acosh.S: Likewise.
60234 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60235 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60236 * sysdeps/i386/fpu/e_acosl.c: Likewise.
60237 * sysdeps/i386/fpu/e_asin.S: Likewise.
60238 * sysdeps/i386/fpu/e_asinf.S: Likewise.
60239 * sysdeps/i386/fpu/e_atan2.S: Likewise.
60240 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
60241 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
60242 * sysdeps/i386/fpu/e_atanh.S: Likewise.
60243 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60244 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60245 * sysdeps/i386/fpu/e_exp10.S: Likewise.
60246 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
60247 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
60248 * sysdeps/i386/fpu/e_exp2.S: Likewise.
60249 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
60250 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
60251 * sysdeps/i386/fpu/e_fmod.S: Likewise.
60252 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
60253 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
60254 * sysdeps/i386/fpu/e_hypot.S: Likewise.
60255 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
60256 * sysdeps/i386/fpu/e_log.S: Likewise.
60257 * sysdeps/i386/fpu/e_log10.S: Likewise.
60258 * sysdeps/i386/fpu/e_log10f.S: Likewise.
60259 * sysdeps/i386/fpu/e_log10l.S: Likewise.
60260 * sysdeps/i386/fpu/e_log2.S: Likewise.
60261 * sysdeps/i386/fpu/e_log2f.S: Likewise.
60262 * sysdeps/i386/fpu/e_log2l.S: Likewise.
60263 * sysdeps/i386/fpu/e_logf.S: Likewise.
60264 * sysdeps/i386/fpu/e_logl.S: Likewise.
60265 * sysdeps/i386/fpu/e_pow.S: Likewise.
60266 * sysdeps/i386/fpu/e_powf.S: Likewise.
60267 * sysdeps/i386/fpu/e_powl.S: Likewise.
60268 * sysdeps/i386/fpu/e_remainder.S: Likewise.
60269 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
60270 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
60271 * sysdeps/i386/fpu/e_scalb.S: Likewise.
60272 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60273 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60274 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
60275 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
60276 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
60277 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60278 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60279 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60280 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60281 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60282 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60283 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
60284 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60285 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60286 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60287 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60288 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60289 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60290 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60291 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60292 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60293 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60294 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60295 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60296 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60297 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60298 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60299 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60300 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60301 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60302 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60303 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60304 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60305 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
60306 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60307 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60308 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60309 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60310 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60311 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60312 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60313 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60314 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60315 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60316 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60317 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60318 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60319 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
60320 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
60321 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60322 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
60323 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
60324 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
60325 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
60326 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
60327 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
60328 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
60329 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
60330 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60331 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
60332 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
60333 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
60334 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
60335 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
60336 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
60337 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
60338 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
60339 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
60340 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
60341 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
60342 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
60343 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
60344 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
60345 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
60346 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
60347 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
60348 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
60349 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
60350 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
60351 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
60352 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60353 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
60354 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
60355 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
60356 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
60357 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60358 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
60359 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
60360 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
60361 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60362 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
60363 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60364 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
60365 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60366 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
60367 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
60368 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60369 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60370 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
60371 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60372 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60373 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60374 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
60375 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
60376 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
60377 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
60378 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
60379 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
60380 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
60381 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60382 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60383 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60384 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60385 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
60386 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60387 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
60388 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
60389 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
60390 (__isnanf): Likewise.
60391 (__isinf_ns): Likewise.
60392 (__isinf_nsf): Likewise.
60393 (__finite): Likewise.
60394 (__finitef): Likewise.
60395 (__ieee754_sqrt): Define as macro.
60396 (__ieee754_sqrtf): Define as macro.
60397 (__ieee754_sqrtl): Define as macro.
60398 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
60399 inlined copy.
60400 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
60401 __FINITE_MATH_ONLY__ consistent.
60402 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
60403
60404 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
60405
60406 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
60407 of rawmemchr.
60408
60409 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
60410
60411 2011-10-09 Ulrich Drepper <drepper@gmail.com>
60412
60413 * po/ja.po: Update from translation team.
60414
60415 2011-10-08 Roland McGrath <roland@hack.frob.com>
60416
60417 * locale/programs/locarchive.c (prepare_address_space): New function.
60418 (create_archive, enlarge_archive, open_archive): Use it.
60419
60420 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
60421 inside [SHARED], where it is used.
60422
60423 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
60424
60425 * nss/getent.c (netgroup_keys): Remove unused variable.
60426 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
60427
60428 2011-10-08 Ulrich Drepper <drepper@gmail.com>
60429
60430 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
60431 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
60432 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
60433 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
60434 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
60435 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
60436 * math/Makefile (libm-calls): Add s_isinf_ns.
60437 * math/divtc3.c: Use __isinf_nsl instead of isinf.
60438 * math/multc3.c: Likewise.
60439 * math/s_casin.c: Likewise.
60440 * math/s_casinf.c: Likewise.
60441 * math/s_casinl.c: Likewise.
60442 * math/s_ccos.c: Likewise.
60443 * math/s_ccosf.c: Likewise.
60444 * math/s_ccosl.c: Likewise.
60445 * math/s_ctan.c: Likewise.
60446 * math/s_ctanf.c: Likewise.
60447 * math/s_ctanh.c: Likewise.
60448 * math/s_ctanhf.c: Likewise.
60449 * math/s_ctanhl.c: Likewise.
60450 * math/s_ctanl.c: Likewise.
60451 * math/w_fmod.c: Likewise.
60452 * math/w_fmodf.c: Likewise.
60453 * math/w_fmodl.c: Likewise.
60454 * math/w_remainder.c: Likewise.
60455 * math/w_remainderf.c: Likewise.
60456 * math/w_remainderl.c: Likewise.
60457 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
60458 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
60459 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
60460 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
60461 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
60462 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
60463 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
60464 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
60465
60466 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
60467 of the number.
60468 * stdio-common/printf_fphex.c: Likewise.
60469 * stdio-common/printf_size.c: Likewise.
60470
60471 * math/e_exp10.c: Include math_private.h using <...> not "...".
60472 * math/e_exp10f.c: Likewise.
60473 * math/e_exp10l.c: Likewise.
60474 * math/e_exp2l.c: Likewise.
60475 * math/e_j0l.c: Likewise.
60476 * math/e_j1l.c: Likewise.
60477 * math/e_jnl.c: Likewise.
60478 * math/e_lgammal_r.c: Likewise.
60479 * math/e_rem_pio2l.c: Likewise.
60480 * math/e_scalb.c: Likewise.
60481 * math/e_scalbf.c: Likewise.
60482 * math/e_scalbl.c: Likewise.
60483 * math/k_cosl.c: Likewise.
60484 * math/k_sinl.c: Likewise.
60485 * math/k_tanl.c: Likewise.
60486 * math/s_cacoshf.c: Likewise.
60487 * math/s_catan.c: Likewise.
60488 * math/s_catanf.c: Likewise.
60489 * math/s_catanh.c: Likewise.
60490 * math/s_catanhf.c: Likewise.
60491 * math/s_catanhl.c: Likewise.
60492 * math/s_catanl.c: Likewise.
60493 * math/s_ccosh.c: Likewise.
60494 * math/s_ccoshf.c: Likewise.
60495 * math/s_ccoshl.c: Likewise.
60496 * math/s_cexp.c: Likewise.
60497 * math/s_cexpf.c: Likewise.
60498 * math/s_cexpl.c: Likewise.
60499 * math/s_clog.c: Likewise.
60500 * math/s_clog10.c: Likewise.
60501 * math/s_clog10f.c: Likewise.
60502 * math/s_clog10l.c: Likewise.
60503 * math/s_clogf.c: Likewise.
60504 * math/s_clogl.c: Likewise.
60505 * math/s_csin.c: Likewise.
60506 * math/s_csinf.c: Likewise.
60507 * math/s_csinh.c: Likewise.
60508 * math/s_csinhf.c: Likewise.
60509 * math/s_csinhl.c: Likewise.
60510 * math/s_csinl.c: Likewise.
60511 * math/s_csqrt.c: Likewise.
60512 * math/s_csqrtf.c: Likewise.
60513 * math/s_csqrtl.c: Likewise.
60514 * math/s_ctan.c: Likewise.
60515 * math/s_ctanf.c: Likewise.
60516 * math/s_ctanh.c: Likewise.
60517 * math/s_ctanhf.c: Likewise.
60518 * math/s_ctanhl.c: Likewise.
60519 * math/s_ctanl.c: Likewise.
60520 * math/s_ldexp.c: Likewise.
60521 * math/s_ldexpf.c: Likewise.
60522 * math/s_ldexpl.c: Likewise.
60523 * math/s_significand.c: Likewise.
60524 * math/s_significandf.c: Likewise.
60525 * math/s_significandl.c: Likewise.
60526 * math/w_acos.c: Likewise.
60527 * math/w_acosf.c: Likewise.
60528 * math/w_acosh.c: Likewise.
60529 * math/w_acoshf.c: Likewise.
60530 * math/w_acoshl.c: Likewise.
60531 * math/w_acosl.c: Likewise.
60532 * math/w_asin.c: Likewise.
60533 * math/w_asinf.c: Likewise.
60534 * math/w_asinl.c: Likewise.
60535 * math/w_atan2.c: Likewise.
60536 * math/w_atan2f.c: Likewise.
60537 * math/w_atan2l.c: Likewise.
60538 * math/w_atanh.c: Likewise.
60539 * math/w_atanhf.c: Likewise.
60540 * math/w_atanhl.c: Likewise.
60541 * math/w_cosh.c: Likewise.
60542 * math/w_coshf.c: Likewise.
60543 * math/w_coshl.c: Likewise.
60544 * math/w_dremf.c: Likewise.
60545 * math/w_exp10.c: Likewise.
60546 * math/w_exp10f.c: Likewise.
60547 * math/w_exp10l.c: Likewise.
60548 * math/w_exp2.c: Likewise.
60549 * math/w_exp2f.c: Likewise.
60550 * math/w_fmod.c: Likewise.
60551 * math/w_fmodf.c: Likewise.
60552 * math/w_fmodl.c: Likewise.
60553 * math/w_hypot.c: Likewise.
60554 * math/w_hypotf.c: Likewise.
60555 * math/w_hypotl.c: Likewise.
60556 * math/w_j0.c: Likewise.
60557 * math/w_j0f.c: Likewise.
60558 * math/w_j0l.c: Likewise.
60559 * math/w_j1.c: Likewise.
60560 * math/w_j1f.c: Likewise.
60561 * math/w_j1l.c: Likewise.
60562 * math/w_jn.c: Likewise.
60563 * math/w_jnf.c: Likewise.
60564 * math/w_jnl.c: Likewise.
60565 * math/w_lgamma.c: Likewise.
60566 * math/w_lgamma_r.c: Likewise.
60567 * math/w_lgammaf.c: Likewise.
60568 * math/w_lgammaf_r.c: Likewise.
60569 * math/w_lgammal.c: Likewise.
60570 * math/w_lgammal_r.c: Likewise.
60571 * math/w_log.c: Likewise.
60572 * math/w_log10.c: Likewise.
60573 * math/w_log10f.c: Likewise.
60574 * math/w_log10l.c: Likewise.
60575 * math/w_log2.c: Likewise.
60576 * math/w_log2f.c: Likewise.
60577 * math/w_log2l.c: Likewise.
60578 * math/w_logf.c: Likewise.
60579 * math/w_logl.c: Likewise.
60580 * math/w_pow.c: Likewise.
60581 * math/w_powf.c: Likewise.
60582 * math/w_powl.c: Likewise.
60583 * math/w_remainder.c: Likewise.
60584 * math/w_remainderf.c: Likewise.
60585 * math/w_remainderl.c: Likewise.
60586 * math/w_scalb.c: Likewise.
60587 * math/w_scalbf.c: Likewise.
60588 * math/w_scalbl.c: Likewise.
60589 * math/w_sinh.c: Likewise.
60590 * math/w_sinhf.c: Likewise.
60591 * math/w_sinhl.c: Likewise.
60592 * math/w_sqrt.c: Likewise.
60593 * math/w_sqrtf.c: Likewise.
60594 * math/w_sqrtl.c: Likewise.
60595 * math/w_tgamma.c: Likewise.
60596 * math/w_tgammaf.c: Likewise.
60597 * math/w_tgammal.c: Likewise.
60598
60599 * po/ja.po: Update from translation team.
60600
60601 2011-09-29 Andreas Jaeger <aj@suse.de>
60602
60603 [BZ #13179]
60604 * sunrpc/netname.c (netname2host): Fix logic.
60605
60606 [BZ #6779]
60607 [BZ #6783]
60608 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
60609 correctly.
60610 * math/w_remainder.c (__remainder): Likewise.
60611 * math/w_remainderf.c (__remainderf): Likewise.
60612 * math/libm-test.inc (remainder_test): Add test cases.
60613
60614 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60615
60616 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
60617 sdiv_qrnnd.
60618
60619 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60620
60621 * string/test-memcmp.c: Avoid unncessary #defines.
60622 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60623
60624 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60625
60626 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
60627 Use new sse2 version for core i3 - i7 as it's faster
60628 than sse42 version.
60629 (bit_Prefer_PMINUB_for_stringop): New.
60630 * sysdeps/x86_64/rawmemchr.S: Update.
60631 Replace with faster SSE2 version.
60632 * sysdeps/x86_64/memrchr.S: New file.
60633 * sysdeps/x86_64/memchr.S: Update.
60634 Replace with faster SSE2 version.
60635
60636 2011-09-12 Marek Polacek <mpolacek@redhat.com>
60637
60638 * elf/dl-load.c (lose): Add cast to avoid warning.
60639
60640 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60641
60642 * po/ca.po: Update from translation team.
60643
60644 * inet/getnetgrent_r.c: Hook up nscd.
60645 * nscd/Makefile (routines): Add nscd_netgroup.
60646 (nscd-modules): Add netgroupcache.
60647 (CFLAGS-netgroupcache.c): Define.
60648 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
60649 (cache_search): Add const to second parameter.
60650 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
60651 INNETGR.
60652 (dbs): Add netgrdb entry.
60653 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
60654 (verify_persistent_db): Handle netgrdb.
60655 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
60656 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
60657 GETFDNETGR.
60658 (netgroup_response_header): Define.
60659 (innetgroup_response_header): Define.
60660 (datahead): Add netgroup_response_header and innetgroup_response_header
60661 elements.
60662 * nscd/nscd.conf: Add entries for netgroup cache.
60663 * nscd/nscd.h (dbtype): Add netgrdb.
60664 (_PATH_NSCD_NETGROUP_DB): Define.
60665 (netgroup_iov_disabled): Declare.
60666 (xmalloc, xcalloc, xrealloc): Move declarations here.
60667 (cache_search): Adjust prototype.
60668 Add netgroup-related prototypes.
60669 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
60670 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
60671 (__nscd_innetgr): Declare.
60672 * nscd/selinux.c (perms): Use access_vector_t as element type and
60673 add netgroup-related initializers.
60674 * nscd/netgroupcache.c: New file.
60675 * nscd/nscd_netgroup.c: New file.
60676 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
60677 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
60678 For four parameters use innetgr.
60679 * nss/nss_files/files-init.c: Add definition and callback for netgr.
60680 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
60681 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
60682 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
60683
60684 * nscd/connections.c (register_traced_file): Don't register file
60685 for disabled databases.
60686
60687 2011-10-06 Ulrich Drepper <drepper@gmail.com>
60688
60689 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
60690
60691 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
60692 from tree and freeing node.
60693
60694 2011-09-25 Jiri Olsa <jolsa@redhat.com>
60695
60696 * nss/nsswitch.c (__nss_database_lookup): Handle
60697 nss_parse_service_list out of memory case.
60698
60699 2011-09-15 Jiri Olsa <jolsa@redhat.com>
60700
60701 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
60702 out of memory case.
60703
60704 2011-10-04 Andreas Schwab <schwab@redhat.com>
60705
60706 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
60707 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
60708 pass it down.
60709 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
60710 elf_machine_rela, elf_machine_lazy_rel.
60711 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
60712 (ELF_DYNAMIC_DO_REL): Likewise.
60713 (ELF_DYNAMIC_DO_RELA): Likewise.
60714 (ELF_DYNAMIC_RELOCATE): Likewise.
60715 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
60716 to ELF_DYNAMIC_DO_REL.
60717 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
60718 (dl_main): In trace mode always set __RTLD_NOIFUNC.
60719 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
60720 elf_machine_rela.
60721 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
60722 skip_ifunc, don't call ifunc function if non-zero.
60723 (elf_machine_rela): Likewise.
60724 (elf_machine_lazy_rel): Likewise.
60725 (elf_machine_lazy_rela): Likewise.
60726 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
60727 (elf_machine_lazy_rel): Likewise.
60728 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
60729 Likewise.
60730 (elf_machine_lazy_rel): Likewise.
60731 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60732 Likewise.
60733 (elf_machine_lazy_rel): Likewise.
60734 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
60735 (elf_machine_lazy_rel): Likewise.
60736 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
60737 (elf_machine_lazy_rel): Likewise.
60738 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
60739 (elf_machine_lazy_rel): Likewise.
60740 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
60741 (elf_machine_lazy_rel): Likewise.
60742 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
60743 (elf_machine_lazy_rel): Likewise.
60744 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
60745 (elf_machine_lazy_rel): Likewise.
60746
60747 2011-09-28 Ulrich Drepper <drepper@gmail.com>
60748
60749 * nss/nss_files/files-init.c (_nss_files_init): Use static
60750 initialization for all the *_traced_file variables.
60751
60752 2011-09-28 Andreas Schwab <schwab@redhat.com>
60753
60754 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60755
60756 2011-09-27 Roland McGrath <roland@hack.frob.com>
60757
60758 [BZ #13226]
60759 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
60760
60761 2011-09-27 Andreas Schwab <schwab@redhat.com>
60762
60763 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60764 Reread the line before reparsing it.
60765
60766 2011-09-26 Andreas Schwab <schwab@redhat.com>
60767
60768 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
60769
60770 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
60771 Maxim Kuvyrkov <maxim@codesourcery.com>
60772 Joseph Myers <joseph@codesourcery.com>
60773
60774 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
60775 if needed for __stack_chk_guard.
60776
60777 2011-09-19 Roland McGrath <roland@hack.frob.com>
60778
60779 * sysdeps/posix/spawni.c (script_execute): Always define it.
60780 It will be optimized away if unused.
60781 (maybe_script_execute): New function.
60782 (__spawni): Call it.
60783
60784 * Makerules: Don't include tls.make.
60785 (config-tls): Always set to thread.
60786 * tls.make.c: File removed.
60787
60788 2011-09-19 Mike Frysinger <vapier@gentoo.org>
60789
60790 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
60791 * config.make.in (CPPFLAGS-config): New substituted variable.
60792
60793 2011-09-15 Ulrich Drepper <drepper@gmail.com>
60794
60795 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
60796
60797 [BZ #13192]
60798 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
60799 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
60800
60801 2011-09-15 Roland McGrath <roland@hack.frob.com>
60802
60803 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
60804 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
60805 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60806 (CALL_FAIL): Likewise.
60807 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
60808 (CALL_FAIL): Macro removed.
60809 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
60810
60811 2011-09-15 Ulrich Drepper <drepper@gmail.com>
60812
60813 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
60814 for __FINITE_MATH_ONLY__ == 1.
60815
60816 2011-09-15 Andreas Schwab <schwab@redhat.com>
60817
60818 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
60819 __ieee754_sqrt instead of sqrt.
60820 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
60821 __ieee754_sqrtf instead of sqrtf.
60822 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
60823 __floorf instead of floorf.
60824 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
60825 __floorf, __truncf instead of floorf, truncf.
60826
60827 2011-09-14 Ulrich Drepper <drepper@gmail.com>
60828
60829 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
60830
60831 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
60832 __extern_always_inline.
60833 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
60834 32-bit.
60835
60836 2011-09-14 Andreas Schwab <schwab@redhat.com>
60837
60838 * elf/rtld.c (dl_main): Also relocate in dependency order when
60839 doing symbol dependency testing.
60840
60841 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
60842
60843 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60844 Always define `refsym'.
60845
60846 2011-09-13 Andreas Schwab <schwab@redhat.com>
60847
60848 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
60849 (__FD_ELT): Renamed from __FDELT.
60850 * misc/bits/select2.h (__FD_ELT): Likewise.
60851 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
60852 __FD_MASK instead of __FDELT, __FDMASK.
60853 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60854 Likewise.
60855 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60856 Likewise.
60857
60858 * elf/Makefile (gen-ldd): Fix pattern.
60859
60860 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
60861 (init_tls): Likewise.
60862
60863 2011-09-12 Ulrich Drepper <drepper@gmail.com>
60864
60865 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
60866
60867 2011-09-12 Andreas Schwab <schwab@redhat.com>
60868
60869 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
60870 `struct cmsghdr *' instead of `void *'.
60871 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
60872 Likewise.
60873
60874 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
60875
60876 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
60877 if non-absolute.
60878 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
60879 ldd_rewrite_script.
60880
60881 2011-09-11 Ulrich Drepper <drepper@gmail.com>
60882
60883 * configure.in: Remove --with-tls option.
60884 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
60885 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
60886 out in case it is missing.
60887 * sysdeps/ia64/elf/configure.in: Likewise.
60888 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
60889 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
60890 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
60891 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
60892 * sysdeps/sh/elf/configure.in: Likewise.
60893 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
60894 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
60895 * sysdeps/x86_64/elf/configure.in: Likewise.
60896 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
60897 * sysdeps/mach/hurd/tls.h: Likewise.
60898
60899 [BZ #13067]
60900 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
60901
60902 [BZ #13090]
60903 * configure.in: Fix use of AC_INIT.
60904
60905 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
60906
60907 2011-09-10 Ulrich Drepper <drepper@gmail.com>
60908
60909 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
60910 __set_errno.
60911 * malloc/hooks.c: Likewise.
60912
60913 [BZ #11929]
60914 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
60915 variables statically.
60916 (narenas): Initialize.
60917 (list_lock): Initialize.
60918 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
60919 initializtion of main_arena and list_lock. Small cleanups.
60920 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
60921 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
60922 Add initializers to main_arena and mp_.
60923 (malloc_state): Remove pagesize member. Change all users to use
60924 GLRO(dl_pagesize).
60925
60926 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
60927 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
60928 is always initialized.
60929
60930 * malloc/malloc.c: Removed unused configurations and dead code.
60931 * malloc/arena.c: Likewise.
60932 * malloc/hooks.c: Likewise.
60933 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
60934
60935 * include/tls.h: Removed. USE___THREAD must always be defined.
60936 * bits/libc-tsd.h: Don't handle !USE___THREAD.
60937 * elf/dl-libc.c: Likewise.
60938 * elf/dl-tsd.c: Likewise.
60939 * include/errno.h: Likewise.
60940 * include/netdb.h: Likewise.
60941 * include/resolv.h: Likewise.
60942 * inet/herrno-loc.c: Likewise.
60943 * inet/herrno.c: Likewise.
60944 * malloc/arena.c: Likewise.
60945 * malloc/hooks.c: Likewise.
60946 * malloc/malloc.c: Likewise.
60947 * resolv/res-state.c: Likewise.
60948 * resolv/res_libc.c: Likewise.
60949 * sysdeps/i386/dl-machine.h: Likewise.
60950 * sysdeps/ia64/dl-machine.h: Likewise.
60951 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
60952 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
60953 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
60954 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
60955 * sysdeps/sh/dl-machine.h: Likewise.
60956 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
60957 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
60958 * sysdeps/unix/i386/sysdep.S: Likewise.
60959 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
60960 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
60961 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
60962 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
60963 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
60964 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
60965 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
60966 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
60967 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60968 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
60969 * sysdeps/unix/x86_64/sysdep.S: Likewise.
60970 * sysdeps/x86_64/dl-machine.h: Likewise.
60971 * tls.make.c: Likewise.
60972
60973 * configure.in: Remove --with-__thread option. Make tests for
60974 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
60975 tls_model attribute fail if no support is available. Remove
60976 USE_IN_LIBIO.
60977 * Makeconfig: Adjust for dropped configure option. All features are
60978 now mandatory.
60979 * Makerules: Likewise.
60980 * Versions.def: Likewise.
60981 * argp/argp-fmtstream.c: Likewise.
60982 * argp/argp-fmtstream.h: Likewise.
60983 * argp/argp-help.c: Likewise.
60984 * assert/assert.c: Likewise.
60985 * config.h.in: Likewise.
60986 * config.make.in: Likewise.
60987 * configure: Likewise.
60988 * configure.in: Likewise.
60989 * csu/Versions: Likewise.
60990 * csu/init.c: Likewise.
60991 * elf/tst-audit2.c: Likewise.
60992 * elf/tst-tls10.c: Likewise.
60993 * elf/tst-tls10.h: Likewise.
60994 * elf/tst-tls11.c: Likewise.
60995 * elf/tst-tls12.c: Likewise.
60996 * elf/tst-tls14.c: Likewise.
60997 * elf/tst-tlsmod11.c: Likewise.
60998 * elf/tst-tlsmod12.c: Likewise.
60999 * elf/tst-tlsmod13.c: Likewise.
61000 * elf/tst-tlsmod13a.c: Likewise.
61001 * elf/tst-tlsmod14a.c: Likewise.
61002 * elf/tst-tlsmod15b.c: Likewise.
61003 * elf/tst-tlsmod16a.c: Likewise.
61004 * elf/tst-tlsmod16b.c: Likewise.
61005 * elf/tst-tlsmod7.c: Likewise.
61006 * elf/tst-tlsmod8.c: Likewise.
61007 * elf/tst-tlsmod9.c: Likewise.
61008 * gmon/gmon.c: Likewise.
61009 * grp/fgetgrent_r.c: Likewise.
61010 * grp/putgrent.c: Likewise.
61011 * hurd/fopenport.c: Likewise.
61012 * include/libc-symbols.h: Likewise.
61013 * include/tls.h: Likewise.
61014 * intl/gettextP.h: Likewise.
61015 * intl/loadinfo.h: Likewise.
61016 * locale/global-locale.c: Likewise.
61017 * locale/localeinfo.h: Likewise.
61018 * mach/devstream.c: Likewise.
61019 * malloc/arena.c: Likewise.
61020 * malloc/set-freeres.c: Likewise.
61021 * misc/err.c: Likewise.
61022 * misc/getttyent.c: Likewise.
61023 * misc/mntent_r.c: Likewise.
61024 * posix/getopt.c: Likewise.
61025 * posix/wordexp.c: Likewise.
61026 * pwd/fgetpwent_r.c: Likewise.
61027 * resolv/Versions: Likewise.
61028 * resolv/res_hconf.c: Likewise.
61029 * shadow/fgetspent_r.c: Likewise.
61030 * shadow/putspent.c: Likewise.
61031 * stdio-common/printf_fphex.c: Likewise.
61032 * stdio-common/tmpfile.c: Likewise.
61033 * stdlib/abort.c: Likewise.
61034 * stdlib/fmtmsg.c: Likewise.
61035 * sunrpc/auth_unix.c: Likewise.
61036 * sunrpc/clnt_perr.c: Likewise.
61037 * sunrpc/clnt_tcp.c: Likewise.
61038 * sunrpc/clnt_udp.c: Likewise.
61039 * sunrpc/clnt_unix.c: Likewise.
61040 * sunrpc/openchild.c: Likewise.
61041 * sunrpc/svc_simple.c: Likewise.
61042 * sunrpc/svc_tcp.c: Likewise.
61043 * sunrpc/svc_udp.c: Likewise.
61044 * sunrpc/svc_unix.c: Likewise.
61045 * sunrpc/xdr.c: Likewise.
61046 * sunrpc/xdr_array.c: Likewise.
61047 * sunrpc/xdr_rec.c: Likewise.
61048 * sunrpc/xdr_ref.c: Likewise.
61049 * sunrpc/xdr_stdio.c: Likewise.
61050
61051 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61052
61053 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61054
61055 2011-07-03 Andreas Jaeger <aj@suse.de>
61056
61057 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
61058 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
61059 regenerate with gen-libm-tests.pl.
61060
61061 2010-05-12 Petr Baudis <pasky@suse.cz>
61062
61063 [BZ #11589]
61064 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
61065 around j0() zero points by switching to j1().
61066 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61067 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61068 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61069 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61070
61071 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61072
61073 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
61074 instead of 0.
61075 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
61076 instead of 0.
61077 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61078 Patch in part by Pavel Roskin <proski@gnu.org>.
61079
61080 [BZ #13138]
61081 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
61082 realloc.
61083 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
61084 Free memory block if necessary.
61085
61086 [BZ #12847]
61087 * libio/genops.c (INTDEF): For string streams the _lock pointer can
61088 be NULL. Don't lock in this case.
61089
61090 2011-09-09 Roland McGrath <roland@hack.frob.com>
61091
61092 * elf/elf.h (ELFOSABI_GNU): New macro.
61093 (ELFOSABI_LINUX): Define to that.
61094
61095 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
61096
61097 * string/strncat.c (strncat): Undef the symbol in case it has been
61098 defined in bits/string.h.
61099
61100 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61101
61102 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
61103
61104 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
61105 link map.
61106
61107 2011-08-17 Andreas Jaeger <aj@suse.de>
61108
61109 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
61110
61111 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
61112 Ian Lance Taylor <iant@google.com>
61113
61114 * math/libm-test.inc (lround_test): New testcase.
61115 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
61116
61117 2011-09-08 Ulrich Drepper <drepper@gmail.com>
61118
61119 * Makefile: Remove support for automatic cvs check-ins.
61120 * Makerules: Likewise.
61121 * config.make.in: Likewise.
61122 * configure.in: Likewise.
61123 * intl/Makefile: Likewise.
61124 * locale/Makefile: Likewise.
61125 * po/Makefile: Likewise.
61126 * posix/Makefile: Likewise.
61127 * sysdeps/gnu/Makefile: Likewise.
61128 * sysdeps/mach/hurd/Makefile: Likewise.
61129 * sysdeps/sparc/sparc32/Makefile: Likewise.
61130
61131 [BZ #13118]
61132 * posix/Makefile (bug-regex32-ENV): Define.
61133 Patch by John Stanley <jpsinthemix@verizon.net>.
61134
61135 * misc/Makefile (headers): Add bits/select2.h.
61136 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
61137 * misc/bits/select2.h: New file.
61138 * include/bits/select2.h: New file.
61139 * debug/Makefile (routines): Add fdelt_chk.
61140 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
61141 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
61142 FD_ISSET.
61143 * debug/fdelt_chk.c: New file.
61144
61145 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
61146 * wcsmbs/test-wmemcmp.c: Likewise.
61147 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
61148 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
61149
61150 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61151
61152 * string/Makefile (strop-tests): Add memcmp.
61153 * string/test-wmemcmp.c: New file.
61154 * string/test-memcmp.c: Add wmemcmp support.
61155
61156 2011-09-08 Roland McGrath <roland@hack.frob.com>
61157
61158 [BZ #13153]
61159 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
61160 2011-07-19 change.
61161
61162 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
61163 garbage value in a __mach_port_mod_refs call in the cases of the
61164 task-self and thread-self ports.
61165
61166 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
61167
61168 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
61169
61170 2011-09-08 Andreas Schwab <schwab@redhat.com>
61171
61172 * elf/dl-load.c (lose): Check for non-null L.
61173
61174 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61175
61176 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
61177
61178 * elf/dl-libc.c (dlerror_run): Pass back error code from
61179 dl_catch_error.
61180
61181 [BZ #13123]
61182 * elf/dl-load.c (lose): Free l_origin if it is valid.
61183
61184 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
61185 names.
61186 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
61187 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61188 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61189 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61190 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
61191 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
61192
61193 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61194
61195 * sysdeps/powerpc/fpu/e_hypot.c: New file.
61196 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
61197 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
61198 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
61199 * sysdeps/powerpc/fpu/k_cosf.c: New file.
61200 * sysdeps/powerpc/fpu/k_sinf.c: New file.
61201 * sysdeps/powerpc/fpu/s_cosf.c: New file.
61202 * sysdeps/powerpc/fpu/s_sinf.c: New file.
61203 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
61204 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
61205
61206 2011-08-15 Alan Modra <amodra@gmail.com>
61207
61208 [BZ #13092]
61209 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
61210 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
61211 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
61212 ppc_mcount to static-only-routines.
61213 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
61214 __mcount_internal.
61215 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
61216 __mcount_internal with usual JUMPTARGET. Remove useless nop.
61217
61218 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
61219
61220 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
61221 for finite and infinity parameters.
61222
61223 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
61224
61225 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
61226 and add nop instructions for throughput optimization.
61227 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61228
61229 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
61230
61231 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
61232 aligned copy for power7 with vector-scalar instructions.
61233 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
61234
61235 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
61236
61237 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
61238 AVX check.
61239
61240 2011-09-07 Andreas Schwab <schwab@redhat.com>
61241
61242 [BZ #13144]
61243 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
61244 last change.
61245
61246 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61247
61248 * sysdeps/unix/sysv/linux/x86_64/init-first.c
61249 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
61250 syscall wrapper around clock_gettime in __vdso_clock_gettime.
61251 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
61252 clock_gettime.
61253
61254 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61255
61256 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
61257 Forgot to demangle the pointer.
61258
61259 * sysdeps/i386/sysdep.h: Define atom_text_section.
61260 * sysdeps/x86_64/sysdep.h: Likewise.
61261 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
61262 section with atom_text_section.
61263 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61264 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61265 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
61266 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61267 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
61268
61269 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
61270 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
61271 already be defined. Change to take two parameters and don't assign
61272 result to variable. Adjust all users.
61273 Define INTERNAL_GETTIME if not already defined.
61274 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
61275 call.
61276 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
61277 HAVE_CLOCK_GETTIME_VSYSCALL.
61278 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
61279
61280 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
61281 gettimeofday vsyscall, just use time.
61282
61283 2011-09-06 Andreas Schwab <schwab@redhat.com>
61284
61285 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
61286 <errno.h>.
61287
61288 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61289
61290 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
61291 syscall on x86-64.
61292 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
61293 syscall.
61294 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
61295 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
61296 syscall if possible.
61297
61298 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61299
61300 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
61301 e_ident. Don't pass to find_mapsXX.
61302 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
61303
61304 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61305
61306 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61307 strchr-sse2-no-bsf strrchr-sse2-no-bsf
61308 * sysdeps/x86_64/multiarch/strchr.S: Update.
61309 Check bit_slow_BSF bit.
61310 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61311 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
61312 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
61313
61314 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61315
61316 [BZ #13134]
61317 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
61318 before glibc 2.15.
61319 (tryshell): Define.
61320 (__spawni): Change last parameter to be flag. Test
61321 SPAWN_XFLAGS_USE_PATH flag to use path or not.
61322 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
61323 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
61324 * posix/spawni.c: Likewise.
61325 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
61326 * posix/spawnp.c: Likewise. Change normal version to use
61327 SPAWN_XFLAGS_USE_PATH.
61328 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
61329 SPAWN_XFLAGS_TRY_SHELL.
61330
61331 [BZ #13150]
61332 * posix/glob.h: Remove gcc 1.x support.
61333
61334 [BZ #13068]
61335 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
61336
61337 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61338
61339 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61340 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
61341 strrchr-sse2-bsf
61342 * sysdeps/i386/i686/multiarch/strchr.S: New file.
61343 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
61344 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
61345 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
61346 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
61347 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
61348
61349 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61350
61351 * sysdeps/x86_64/wcscmp.S: New file.
61352
61353 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
61354 wcscmp-c wcscmp-sse2
61355 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
61356 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
61357 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
61358 * wcsmbs/wcscmp.c: Allow renaming.
61359
61360 2011-09-05 David S. Miller <davem@davemloft.net>
61361
61362 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
61363 stack slot, rather than the struct return pointer slot.
61364 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
61365 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
61366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
61367 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
61368
61369 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61370
61371 * po/ja.po: Update from translation team.
61372
61373 [BZ #13144]
61374 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
61375 kernel in 64-bit binaries.
61376
61377 2011-09-01 David S. Miller <davem@davemloft.net>
61378
61379 * elf/elf.h (HWCAP_SPARC_*): Move to..
61380 * sysdeps/sparc/sysdep.h: this new file and add new values.
61381 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
61382 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
61383 _DL_HWCAP_COUNT to 24.
61384 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61385 entries.
61386 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
61387 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
61388 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
61389 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
61390 instead of magic constants.
61391 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61392
61393 2011-08-31 David S. Miller <davem@davemloft.net>
61394
61395 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
61396 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
61397 Reimplement to do errno handling inline.
61398 (SYSCALL_ERROR_HANDLER): New macro.
61399 (__SYSCALL_STRING): Do not do errno handling in asm.
61400 (__CLONE_SYSCALL_STRING): Delete.
61401 (__INTERNAL_SYSCALL_STRING): Delete.
61402 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
61403 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
61404 (PSEUDO): Reimplement to do errno handling inline.
61405 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
61406 (SYSCALL_ERROR_HANDLER): New macro.
61407 (__SYSCALL_STRING): Do not do errno handling in asm.
61408 (__CLONE_SYSCALL_STRING): Delete.
61409 (__INTERNAL_SYSCALL_STRING): Delete.
61410 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
61411 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
61412 i386.
61413 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
61414 (inline_syscall*): Add 'err' argument.
61415 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
61416 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
61417 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
61418 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
61419
61420 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
61421 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
61422
61423 2011-08-30 Andreas Schwab <schwab@redhat.com>
61424
61425 * elf/rtld.c (dl_main): Relocate objects in dependency order.
61426
61427 2011-08-29 Jiri Olsa <jolsa@redhat.com>
61428
61429 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
61430 directive.
61431
61432 2011-08-24 David S. Miller <davem@davemloft.net>
61433
61434 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
61435
61436 2011-08-24 Andreas Schwab <schwab@redhat.com>
61437
61438 * elf/Makefile: Add rules to build and run unload8 test.
61439 * elf/unload8.c: New file.
61440 * elf/unload8mod1.c: New file.
61441 * elf/unload8mod1x.c: New file.
61442 * elf/unload8mod2.c: New file.
61443 * elf/unload8mod3.c: New file.
61444
61445 * elf/dl-close.c (_dl_close_worker): Reset private search list if
61446 it wasn't used.
61447
61448 2011-08-23 David S. Miller <davem@davemloft.net>
61449
61450 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
61451 subtract stack bias.
61452 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
61453 %sp not %fp in calculations.
61454 (_JMPBUF_UNWINDS_ADJ): Likewise.
61455
61456 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
61457 (aio_suspend): Call it to force an exception region around the
61458 AIO_MISC_WAIT() invocation.
61459
61460 2011-08-23 Andreas Schwab <schwab@redhat.com>
61461
61462 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
61463 backslash.
61464
61465 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
61466
61467 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
61468 protection macro.
61469 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
61470 and <dl-machine.h>.
61471 (Elf64_FuncDesc): Remove.
61472
61473 2011-08-22 David S. Miller <davem@davemloft.net>
61474
61475 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
61476 sigaltstack check, add missing cfi directives.
61477 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
61478 missing cfi directives, and sigaltstack handling.
61479
61480 2011-08-16 Andreas Schwab <schwab@redhat.com>
61481
61482 [BZ #11724]
61483 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
61484 object is seen twice.
61485 * elf/dl-fini.c (_dl_sort_fini): Likewise.
61486
61487 * elf/Makefile (distribute): Add tst-initorder2.c.
61488 (tests): Add tst-initorder2.
61489 (modules-names): Add tst-initorder2a tst-initorder2b
61490 tst-initorder2c tst-initorder2d. Add rules to build them.
61491 ($(objpfx)tst-initorder2.out): New rule.
61492 * elf/tst-initorder2.c: New file.
61493 * elf/tst-initorder2.exp: New file.
61494
61495 2011-08-22 Andreas Schwab <schwab@redhat.com>
61496
61497 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
61498
61499 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
61500 dependencies back to end of function.
61501
61502 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61503 $(elfobjdir)/ld.so.
61504
61505 2011-08-21 Ulrich Drepper <drepper@gmail.com>
61506
61507 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
61508 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
61509 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
61510 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
61511 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
61512 of __vdso_gettimeofday.
61513 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
61514 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
61515 attribute_hidden.
61516 (_libc_vdso_platform_setup): Remove initialization of
61517 __vdso_gettimeofday and __vdso_time.
61518
61519 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61520
61521 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
61522 and fgetc_unlocked.
61523 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
61524 getc_unlocked.
61525
61526 * elf/dl-open.c (add_to_global): Report additions to the global scope
61527 for LD_DEBUG=scopes.
61528 (dl_open_worker): Also print scope of newly loaded dependencies.
61529 (_dl_show_scope): Indicate if there is no scope.
61530
61531 [BZ #13114]
61532 * stdio-common/Makefile (tests): Add bug24.
61533 * stdio-common/bug24.c: New file.
61534
61535 2011-08-19 Andreas Jaeger <aj@suse.de>
61536
61537 [BZ #13114]
61538 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
61539 non-existant file when using close-on-exec mode.
61540
61541 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61542
61543 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
61544 the very first instruction.
61545
61546 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
61547 the CFI state in the end.
61548 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
61549 inclusion of dl-trampoline.h.
61550 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
61551
61552 2011-08-19 Andreas Schwab <schwab@redhat.com>
61553
61554 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
61555 expectations for long double.
61556
61557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
61558 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
61559
61560 2011-08-14 David S. Miller <davem@davemloft.net>
61561
61562 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
61563 artificual limit depends upon the system page size.
61564
61565 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61566
61567 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
61568 * resolv/Makefile: Define CFLAGS-libresolv.
61569
61570 2011-08-17 Andreas Schwab <schwab@redhat.com>
61571
61572 * nss/makedb.c (compute_tables): Make variables used in nested
61573 function static.
61574
61575 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61576
61577 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
61578 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
61579 if buffer was too small.
61580
61581 * elf/pldd.c (main): Attach to all threads in the process.
61582 Rewrite /proc handling to use *at functions.
61583
61584 2011-08-16 Ulrich Drepper <drepper@gmail.com>
61585
61586 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
61587 specifies first scope to show.
61588 (dl_open_worker): Update callers. Move printing scope of new
61589 object to before the relocation.
61590 * elf/rtld.c (dl_main): Update _dl_show_scope call.
61591 * sysdeps/generic/ldsodefs.h: Update declaration.
61592
61593 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
61594 string for the scope number.
61595
61596 2011-08-14 Ulrich Drepper <drepper@gmail.com>
61597
61598 * nscd/servicescache.c (cache_addserv): Make sure written is always
61599 initialized.
61600
61601 2011-08-14 Roland McGrath <roland@hack.frob.com>
61602
61603 * sysdeps/i386/i486/bits/atomic.h
61604 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
61605 statement expression, so as to suppress "set but not used" warning.
61606 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
61607
61608 * string/strncat.c (STRNCAT): Use prototype definition.
61609
61610 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
61611 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
61612 -Iprograms here.
61613 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
61614 (localedef-modules): Add localedef.
61615 (locale-modules): Add locale.
61616
61617 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
61618 * elf/rtld.c (dl_main): Invert order of assignment in last change,
61619 to avoid a warning.
61620
61621 2011-08-14 David S. Miller <davem@davemloft.net>
61622
61623 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
61624 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
61625
61626 2011-08-13 Ulrich Drepper <drepper@gmail.com>
61627
61628 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
61629 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
61630 * elf/rtld.c (dl_main): Set l_name of vDSO.
61631 Call _dl_show_scope when DL_DEBUG_SCOPES.
61632 (process_dl_debug): Recognize scopes flag and also set it for all.
61633 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
61634 Declare _dl_show_scope.
61635
61636 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
61637 (do_dlopen): Pass caller_dlopen to dl_open.
61638 (__libc_dlopen_mode): Initialize caller_dlopen.
61639
61640 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
61641 of libc. Make tolower call locale-independent. Optimize a bit by
61642 using isdigit instead of isalnum.
61643 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
61644
61645 2011-08-12 Ulrich Drepper <drepper@gmail.com>
61646
61647 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
61648 was a dependency or dynamically loaded.
61649
61650 2011-08-11 Ulrich Drepper <drepper@gmail.com>
61651
61652 * intl/l10nflist.c: Allow architecture-specific pop function.
61653 * sysdeps/x86_64/l10nflist.c: New file.
61654
61655 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
61656 classification.
61657
61658 2011-08-10 Andreas Schwab <schwab@redhat.com>
61659
61660 * include/dirent.h: Add libc_hidden_proto for scandirat and
61661 scandirat64. Don't declare __scandirat64.
61662 * dirent/scandirat.c: Add libc_hidden_def.
61663 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
61664 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
61665
61666 2011-08-10 David S. Miller <davem@davemloft.net>
61667
61668 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
61669 enum.
61670 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61671 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61672 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61673
61674 2011-08-09 Ulrich Drepper <drepper@gmail.com>
61675
61676 * Versions.def [libc]: Add GLIBC_2.15.
61677 * dirent/Makefile (routines): Add scandirat and scandirat64.
61678 * dirent/Versions [libc]: Export scandirat and scandirat64 for
61679 GLIBC_2.15.
61680 * dirent/dirent.h: Declare scandirat and scandirat64.
61681 * dirent/scandirat.c: New file.
61682 * dirent/scandirat64.c: New file.
61683 * sysdeps/wordsize-64/scandirat.c: New file.
61684 * sysdeps/wordsize-64/scandirat64.c: New file.
61685 * dirent/opendir.c: Define opendirat.
61686 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
61687 using scandirat.
61688 * dirent/scandir64.c: Adjust for scandir.c change.
61689 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
61690 __scandirat64, and __scandir_cancel_handler.
61691 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
61692 additional parameter and use openat instead of open (outside of ld.so).
61693 Add new __opendir as wrapper around __opendirat.
61694 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
61695 here without requiring old scandirat implementation.
61696
61697 2011-08-08 Ulrich Drepper <drepper@gmail.com>
61698
61699 * dirent/scandir.c (cancel_handler): Renamed to
61700 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
61701 defined. Adjust users.
61702 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
61703 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
61704
61705 2011-08-04 Ulrich Drepper <drepper@gmail.com>
61706
61707 * string/test-string.h (IMPL): Use __STRING to expand name and then
61708 stringify it.
61709
61710 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
61711 of cleanups.
61712
61713 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61714
61715 * string/Makefile: Update.
61716 (strop-tests): Append strncat.
61717 * string/test-wcscmp.c: New file.
61718 New comprehensive test for wcscmp.
61719 * string/test-strcmp.c: Update.
61720 (WIDE): New define.
61721
61722 2011-07-22 Andreas Schwab <schwab@redhat.com>
61723
61724 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
61725 line.
61726
61727 2011-07-26 Andreas Schwab <schwab@redhat.com>
61728
61729 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61730 encoding to ACE if AI_IDN.
61731
61732 2011-08-01 Jakub Jelinek <jakub@redhat.com>
61733
61734 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
61735 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
61736
61737 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61738
61739 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
61740 Fix overflow bug in strncat.
61741 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
61742
61743 * string/test-strncat.c: Update.
61744 Add new tests for checking overflow bugs.
61745
61746 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61747
61748 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61749 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
61750 * sysdeps/i386/i686/multiarch/strcat.S: New file.
61751 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
61752 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
61753 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
61754 * sysdeps/i386/i686/multiarch/strncat.S: New file.
61755 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
61756 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
61757
61758 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
61759 (USE_AS_STRCAT): Define.
61760 Add strcat and strncat support.
61761 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61762
61763 2011-07-25 Andreas Schwab <schwab@redhat.com>
61764
61765 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
61766 __n bigger than INT_MAX+1.
61767 (__strncmp_g): Likewise.
61768
61769 2011-07-23 Ulrich Drepper <drepper@gmail.com>
61770
61771 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
61772 * libio/stido.h: Likewise.
61773
61774 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
61775 (AF_NFC): Define.
61776 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
61777 (AF_NFC): Define.
61778
61779 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
61780 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61781 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61782 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
61783 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61784
61785 [BZ #13021]
61786 * scripts/test-installation.pl: Don't expect libnss_test1 to be
61787 installed.
61788
61789 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
61790 typo.
61791 (_dl_x86_64_save_sse): Likewise.
61792
61793 2011-07-22 Ulrich Drepper <drepper@gmail.com>
61794
61795 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
61796 OSXSAVE.
61797 (_dl_x86_64_save_sse): Likewise.
61798
61799 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
61800
61801 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
61802
61803 2011-07-21 Andreas Schwab <schwab@redhat.com>
61804
61805 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
61806 change.
61807 (_dl_x86_64_save_sse): Use correct AVX check.
61808
61809 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61810
61811 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
61812 bug in strncpy/strncat.
61813 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
61814
61815 2011-07-21 Ulrich Drepper <drepper@gmail.com>
61816
61817 * string/tester.c (test_strcat): Add tests for different alignments
61818 of source and destination.
61819 (test_strncat): Likewise.
61820
61821 2011-07-20 Ulrich Drepper <drepper@gmail.com>
61822
61823 [BZ #12852]
61824 * posix/glob.c (glob): Check passed in values before using them in
61825 expressions to avoid some overflows.
61826 (glob_in_dir): Likewise.
61827
61828 [BZ #13007]
61829 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
61830 check for AVX enablement so that we don't crash with old kernels and
61831 new hardware.
61832 * elf/tst-audit4.c: Add same checks here.
61833 * elf/tst-audit6.c: Likewise.
61834
61835 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
61836
61837 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
61838
61839 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
61840
61841 2011-07-20 Ulrich Drepper <drepper@gmail.com>
61842
61843 * po/cs.po: Update from translation team.
61844 * po/bg.po: Likewise.
61845
61846 2011-07-12 Marek Polacek <mpolacek@redhat.com>
61847
61848 * misc/sys/cdefs.h: Add support for const attribute.
61849 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
61850 to gnu_dev_{major,minor,makedev} functions.
61851
61852 2011-07-20 Marek Polacek <mpolacek@redhat.com>
61853
61854 * intl/dcigettext.c (get_output_charset): Add missing bracket.
61855
61856 2011-07-20 Andreas Schwab <schwab@redhat.com>
61857
61858 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
61859 strlen results.
61860
61861 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61862
61863 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
61864 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
61865 register in order to avoid conflicts with the soft frame pointer
61866 being held in r11 when necessary.
61867 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
61868 (INTERNAL_VSYSCALL_NCS): Likewise.
61869
61870 2011-07-14 Marek Polacek <mpolacek@redhat.com>
61871
61872 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
61873 * elf/dl-fini.c (_dl_fini): Adjust caller.
61874 * elf/dl-close.c (_dl_close_worker): Likewise.
61875 * sysdeps/generic/ldsodefs.h: Adjust declaration.
61876
61877 2011-07-15 Marek Polacek <mpolacek@redhat.com>
61878
61879 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
61880 "aux_cache->nlibs < 0".
61881
61882 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
61883 in the reload-count case.
61884
61885 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61886
61887 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61888 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
61889 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
61890 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
61891 * sysdeps/x86_64/multiarch/strcat.S: New file.
61892 * sysdeps/x86_64/multiarch/strncat.S: New file.
61893 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
61894 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
61895 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
61896 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
61897 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
61898 (USE_AS_STRCAT): Define.
61899 Add strcat and strncat support.
61900 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61901 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
61902 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
61903 * string/strncat.c: Update.
61904 (USE_AS_STRNCAT): Define.
61905 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61906 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
61907 and i7.
61908 * sysdeps/x86_64/multiarch/init-arch.h
61909 (bit_Prefer_PMINUB_for_stringop): New.
61910 (index_Prefer_PMINUB_for_stringop): Likewise.
61911 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
61912 bit_Prefer_PMINUB_for_stringop.
61913
61914 2011-07-19 Ulrich Drepper <drepper@gmail.com>
61915
61916 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
61917 buffer64.
61918 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
61919 of casting of buffer.
61920 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
61921 buffer32 and buffer64.
61922 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
61923 writes instead of casting of buffer.
61924 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
61925 buffer32.
61926 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
61927 casting of buffer.
61928
61929 2011-07-19 Andreas Schwab <schwab@redhat.com>
61930
61931 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
61932
61933 2011-07-19 Ulrich Drepper <drepper@gmail.com>
61934
61935 * nscd/nscd.c (termination_handler): Don't do anything for a database
61936 if it has not yet been initialized.
61937
61938 2011-07-18 Ulrich Drepper <drepper@gmail.com>
61939
61940 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61941
61942 2011-07-15 Marek Polacek <mpolacek@redhat.com>
61943
61944 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61945
61946 2011-07-18 Ulrich Drepper <drepper@gmail.com>
61947
61948 * po/nl.po: Update from translation team.
61949 * po/sv.po: Likewise.
61950
61951 2011-07-16 Roland McGrath <roland@hack.frob.com>
61952
61953 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
61954 now disallowed by GCC.
61955
61956 * configure.in (use-default-link): Default to yes if a test -shared
61957 link meets our qualifications.
61958 * configure: Regenerated.
61959
61960 * config.make.in (output-format): New variable.
61961 * configure.in: Check for ld --print-output-format support.
61962 * configure: Regenerated.
61963 * Makerules ($(common-objpfx)format.lds)
61964 [$(output-format) != unknown]: Just use $(output-format),
61965 instead of the linker-script munging.
61966
61967 2011-07-14 Roland McGrath <roland@hack.frob.com>
61968
61969 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
61970 of $(common-objpfx)shlib.lds.
61971 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
61972
61973 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
61974 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
61975
61976 * configure.in (-z relro check): Adjust test code to add a large
61977 writable data section after it.
61978 * configure: Regenerated.
61979
61980 2011-07-11 Roland McGrath <roland@hack.frob.com>
61981
61982 * configure.in (-z relro check): Fix test code to make the variable
61983 truly const.
61984 * configure: Regenerated.
61985
61986 2011-07-11 Ulrich Drepper <drepper@gmail.com>
61987
61988 * nscd/nscd.h (struct traced_file): Define.
61989 (struct database_dyn): Remove inotify_descr, reset_res, and filename
61990 elements. Add traced_files.
61991 (inotify_fd): Declare.
61992 (register_traced_file): Declare.
61993 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
61994 (inotify_fd): Export.
61995 (resolv_conf_descr): Remove.
61996 (nscd_init): Move inotify descriptor creation to main.
61997 Don't register files for notification here.
61998 (register_traced_file): New function.
61999 (invalidate_cache): Don't use reset_res to determine whether to call
62000 res_init, go through the list of registered files.
62001 (main_loop_poll): The inotify descriptors are now stored in the
62002 structures for the traced files.
62003 (main_loop_epoll): Likewise
62004 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
62005 to __nss_disable_nscd.
62006 * nscd/cache.c (prune_cache): There is no single inotify descriptor
62007 for a database anymore. Check the records for all the registered
62008 files instead.
62009 * nss/Makefile (libnss_files-routines): Add files-init.
62010 (libnss_db-routines): Add db-init.
62011 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
62012 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
62013 * nss/nss_db/db-init.c: New file.
62014 * nss/nss_files/files-init.c: New file.
62015 * nss/nsswitch.c (nss_load_library): New function. Broken out of
62016 __nss_lookup_function.
62017 (__nss_lookup_function): Call nss_load_library.
62018 (nss_load_all_libraries): New function.
62019 (__nss_disable_nscd): Take parameter with callback function for files
62020 to register. Set is_nscd. Load all the DSOs for the NSS modules
62021 used for the cached services.
62022 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
62023 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
62024 options for features to all the files in nscd.
62025
62026 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
62027
62028 2011-07-10 Roland McGrath <roland@hack.frob.com>
62029
62030 * csu/elf-init.c (__libc_csu_init): Comment typo.
62031
62032 2011-07-09 Ulrich Drepper <drepper@gmail.com>
62033
62034 * po/pl.po: Update from translation team.
62035 * po/ja.po: Likewise.
62036 * po/ru.po: Likewise.
62037 * po/ko.po: Likewise.
62038 * po/fr.po: Likewise.
62039
62040 2011-07-09 Roland McGrath <roland@hack.frob.com>
62041
62042 * configure.in (.ctors/.dtors header and trailer check):
62043 Use an empirical test on a built program.
62044 * configure: Regenerated.
62045
62046 * configure.in (-z relro check): Use an empirical test on a built DSO.
62047 Detect, but do not require, on ia64.
62048 * configure: Regenerated.
62049
62050 * configure.in (READELF): Find it with AC_CHECK_TOOL.
62051 Update tests that use readelf to use $READELF instead.
62052 * configure: Regenerated.
62053
62054 2011-07-08 Ulrich Drepper <drepper@gmail.com>
62055
62056 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
62057 if the result is not used.
62058
62059 2011-07-05 Andreas Jaeger <aj@suse.de>
62060
62061 [BZ#9696]
62062 * stdlib/tst-strtod.c: Add testcase.
62063
62064 2011-07-07 Ulrich Drepper <drepper@gmail.com>
62065
62066 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
62067 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
62068 The latter has a higher limit. Take additional parameter to pass to
62069 the new function.
62070 (__pathconf): Pass file to __statfs_link_max.
62071 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
62072 __statfs_link_max.
62073 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
62074 __statfs_link_max.
62075
62076 [BZ #12868]
62077 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
62078 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62079 Handle Lustre.
62080 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
62081 (__statfs_filesize_max): Likewise.
62082 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
62083
62084 2011-07-05 Andreas Jaeger <aj@suse.de>
62085
62086 * resolv/res_comp.c (dn_skipname): Remove unused variable.
62087
62088 2011-07-06 Marek Polacek <mpolacek@redhat.com>
62089
62090 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
62091 `status' variable.
62092 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
62093 Likewise.
62094
62095 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
62096
62097 * Makefile (strop-tests): Add strncat.
62098 * string/test-strncat.c: New file.
62099
62100 2011-06-30 Marek Polacek <mpolacek@redhat.com>
62101
62102 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
62103
62104 2011-06-21 Andreas Jaeger <aj@suse.de>
62105
62106 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
62107 Copy rule from iconvdata/Makefile.
62108
62109 2011-07-06 Ulrich Drepper <drepper@gmail.com>
62110
62111 [BZ #12922]
62112 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
62113 but no long options are defined, just return 'W'.
62114
62115 2011-06-22 Marek Polacek <mpolacek@redhat.com>
62116
62117 [BZ #9696]
62118 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
62119
62120 2011-07-06 Ulrich Drepper <drepper@gmail.com>
62121
62122 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
62123 netgroups to read.
62124 (innetgr): Likewise.
62125
62126 2011-07-05 Roland McGrath <roland@hack.frob.com>
62127
62128 * config.make.in (install_root): Default to $(DESTDIR).
62129
62130 2011-07-05 Ulrich Drepper <drepper@gmail.com>
62131
62132 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
62133
62134 2011-07-02 Roland McGrath <roland@hack.frob.com>
62135
62136 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
62137
62138 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
62139 containing directory rather than embedding absolute directory names.
62140
62141 * scripts/check-local-headers.sh: Rewritten using awk.
62142 Match by word, not by line. Print error messages for matches.
62143 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
62144
62145 * Makerules [shlib-lds-flags empty]:
62146 ($(common-objpfx)libc_pic.opts): New target.
62147 ($(common-objpfx)libc_pic.os.clean): New target.
62148 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
62149
62150 * config.make.in (OBJCOPY): New variable.
62151 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
62152 * configure: Regenerated.
62153
62154 * config.make.in (use-default-link): New variable.
62155 * configure.in (use_default_link): Grok --with-default-link to set it.
62156 * configure: Regenerated.
62157 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
62158 (shlib-lds, shlib-lds-flags): Define to empty.
62159
62160 * Makerules (shlib-lds): New variable.
62161 (shlib-lds-flags): New variable.
62162 (build-shlib, build-moduile, build-module-asneeded): Use it.
62163 ($(common-objpfx)libc.so): Use $(shlib-lds).
62164 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
62165 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
62166
62167 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
62168 DT_FLAGS/DT_FLAGS_1 with zero flags.
62169
62170 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
62171 linker script munging.
62172
62173 2011-07-02 Ulrich Drepper <drepper@gmail.com>
62174
62175 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
62176 as 128-bit value.
62177 * crypt/sha512.c (sha512_process_block): Perform total addition using
62178 128-bit if possible.
62179 (__sha512_finish_ctx): Likewise.
62180 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
62181 as 64-bit value.
62182 * crypt/sha256.c (SWAP64): Define.
62183 (sha256_process_block): Perform total addition using 64-bit if
62184 possible.
62185 (__sha256_finish_ctx): Likewise.
62186
62187 2011-07-01 Ulrich Drepper <drepper@gmail.com>
62188
62189 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
62190 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62191 * nscd/hstcache.c (cache_addhst): Likewise.
62192 * nscd/grpcache.c (cache_addgr): Likewise.
62193 * nscd/aicache.c (addhstaiX): Likewise
62194 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
62195
62196 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
62197
62198 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
62199 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62200 * nscd/hstcache.c (cache_addhst): Likewise.
62201 * nscd/grpcache.c (cache_addgr): Likewise.
62202 * nscd/aicache.c (addhstaiX): Likewise
62203
62204 2011-07-01 Andreas Schwab <schwab@redhat.com>
62205
62206 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
62207 domain only when needed.
62208
62209 2011-06-30 Andreas Schwab <schwab@redhat.com>
62210
62211 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
62212 is always restored.
62213
62214 2011-06-29 Ulrich Drepper <drepper@gmail.com>
62215
62216 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
62217 are re-adding the entry.
62218 * nscd/servicescache.c (cache_addserv): Likewise.
62219
62220 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
62221
62222 * sysdeps/generic/dl-irel.h: fix protection against multiple
62223 inclusions.
62224 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
62225
62226 2011-06-28 Ulrich Drepper <drepper@gmail.com>
62227
62228 [BZ #12935]
62229 * malloc/memusage.sh: Fix quoting in message.
62230 * debug/xtrace.sh: Likewise.
62231
62232 * configure.in: Remove support for --experimental-malloc option, make
62233 it the default.
62234 * config.make.in: Likewise.
62235 * malloc/Makefile: Likewise.
62236
62237 2011-06-27 Andreas Schwab <schwab@redhat.com>
62238
62239 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
62240 two-byte characters.
62241
62242 2011-06-27 Roland McGrath <roland@hack.frob.com>
62243
62244 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
62245 AC_CACHE_CHECK invocation.
62246 * configure: Regenerated.
62247
62248 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
62249
62250 2011-06-27 Ulrich Drepper <drepper@gmail.com>
62251
62252 [BZ #12350]
62253 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
62254 bit from old_res_options.
62255
62256 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
62257
62258 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
62259 value type for setfct.
62260
62261 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
62262
62263 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62264 __gettimeofday instead of gettimeofday.
62265
62266 2011-06-26 Ulrich Drepper <drepper@gmail.com>
62267
62268 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
62269
62270 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
62271
62272 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
62273
62274 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
62275 info.
62276
62277 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62278
62279 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62280 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62281 strcpy-sse2-unaligned strncpy-sse2-unaligned
62282 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
62283 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
62284 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
62285 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
62286 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
62287 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
62288 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
62289 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
62290 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
62291 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
62292 (STRCPY): Support SSE2 and SSSE3 versions.
62293
62294 2011-06-24 Ulrich Drepper <drepper@gmail.com>
62295
62296 [BZ #12874]
62297 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
62298 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
62299 kernels which artificially limit size of requests.
62300
62301 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62302
62303 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62304 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62305 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
62306 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
62307 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
62308 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
62309 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
62310 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
62311 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
62312 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
62313 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
62314 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
62315 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
62316 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
62317 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
62318 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62319 Enable unaligned load optimization for Intel Core i3, i5 and i7
62320 processors.
62321 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
62322 Define.
62323 (index_Fast_Unaligned_Load): Define.
62324 (HAS_FAST_UNALIGNED_LOAD): Define.
62325
62326 2011-06-23 Marek Polacek <mpolacek@redhat.com>
62327
62328 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
62329
62330 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62331
62332 [BZ #12907]
62333 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
62334 until it is clear that the information is realy needed.
62335 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
62336
62337 2011-06-22 Andreas Schwab <schwab@redhat.com>
62338
62339 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
62340
62341 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62342
62343 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62344 /sys/devices/system/cpu/online if it is usable.
62345
62346 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
62347 reading the information from the /proc filesystem to once a second.
62348
62349 2011-06-21 Andreas Jaeger <aj@suse.de>
62350
62351 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
62352 NULL after inclusion of kernel headers.
62353
62354 2011-06-21 Ulrich Drepper <drepper@gmail.com>
62355
62356 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
62357 calls to internal_setent.
62358
62359 [BZ #12885]
62360 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
62361 addresses using gethostbyname4_r ignore IPv4 addresses.
62362
62363 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
62364 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
62365
62366 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
62367
62368 2011-06-20 David S. Miller <davem@davemloft.net>
62369
62370 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
62371 inclusions.
62372 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
62373
62374 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
62375 (elf_irel): Use it.
62376 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
62377 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
62378 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
62379 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
62380 * sysdeps/x86_64/dl-irel.h: Likewise.
62381
62382 * elf/dl-runtime.c: Use elf_ifunc_invoke.
62383 * elf/dl-sym.c: Likewise.
62384
62385 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62386
62387 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
62388 need to dereference resplen2.
62389
62390 2011-06-14 Andreas Schwab <schwab@redhat.com>
62391
62392 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
62393
62394 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62395
62396 * Makeconfig: Define vardbdir and inst_vardbdir.
62397 * nss/Makefile: Add rules to install db-Makefile.
62398
62399 * nss/nss_db/db-XXX.c: Cleanup.
62400
62401 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
62402 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
62403 GLIBC_PRIVATE.
62404 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
62405 * nss/makedb.c: Implement -g option to specify that value strings
62406 are generated and should not be added to table iterated over for
62407 get*ent calls.
62408 * nss/nss_db/db-initgroups.c: New file.
62409
62410 * nss/getent.c: Add support for initgroups lookups through getgrouplist
62411 interface.
62412
62413 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
62414 (internal_getgrouplist): Adjust to name change.
62415 Update use_initgroups_entry if this is not the first call.
62416 * nss/databases.def: Add initgroups entry.
62417
62418 * nss/makedb.c (compute_tables): Check result of multiple hash table
62419 sizes to minimize maximum chain length.
62420
62421 2011-06-14 Ulrich Drepper <drepper@gmail.com>
62422
62423 * Versions.def: Add entry for libnss_db.
62424 * shlib-versions: Likewise.
62425 * nss/Makefile: Add rules to build libnss_db.
62426 * nss/Versions: Add libnss_db information. Organize libnss_files
62427 entries better.
62428 * nss/db-Makefile: Add gshadow support. Change rules for the new
62429 makedb progra. Some minor improvements to generate smaller files.
62430 * nss/nss_db/nss_db.h: Move NSS database header data structures to
62431 here from...
62432 * nss/makedb.c: ...here.
62433 Improve database format to be smaller and require less memory at
62434 runtime.
62435 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
62436 db anymore.
62437 * nss/nss_db/db-netgrp.c: Likewise.
62438 * nss/nss_db/db-open.c: Likewise.
62439 * nss/nss_files/flies-XXX.x: Adjust comments.
62440 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
62441 * nss/nss_files/files-grp.c: Likewise.
62442 * nss/nss_files/files-hosts.c: Likewise.
62443 * nss/nss_files/files-network.c: Likewise.
62444 * nss/nss_files/files-proto.c: Likewise.
62445 * nss/nss_files/files-pwd.c: Likewise.
62446 * nss/nss_files/files-rpc.c: Likewise.
62447 * nss/nss_files/files-service.c: Likewise.
62448 * nss/nss_files/files-sgrp.c: Likewise.
62449 * nss/nss_files/files-spwd.c: Likewise.
62450 * nss/nss_db/db-alias.c: Removed.
62451 * nss/nss_db/dummy-db.h: Removed.
62452
62453 2011-06-02 Ulrich Drepper <drepper@gmail.com>
62454
62455 * nss/makedb.c: Rewritten to not use database library.
62456 * nss/Makefile: Update to build new makedb program.
62457
62458 2011-06-14 Andreas Jaeger <aj@suse.de>
62459
62460 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
62461 memset declaration.
62462
62463 2011-06-10 Andreas Schwab <schwab@redhat.com>
62464
62465 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
62466 tmpbuf.
62467
62468 2011-06-10 Roland McGrath <roland@hack.frob.com>
62469
62470 * Makerules (shlib.lds): Fail if the linker script comes out empty.
62471 * elf/Makefile ($(objpfx)ld.so): Likewise.
62472
62473 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
62474 Don't list ld.so twice in dependencies.
62475
62476 * posix/bug-regex31.c: Include <stdlib.h>.
62477
62478 * nscd/hstcache.c (cache_addhst): Remove unused variable.
62479
62480 * nis/nss_compat/compat-spwd.c
62481 (getspent_next_nss_netgr): Remove unused variable.
62482 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
62483
62484 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
62485 nonmembers" output to use the right array.
62486
62487 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
62488
62489 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
62490
62491 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
62492 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
62493 * catgets/gencat.c (read_input_file): Likewise.
62494 * locale/programs/locarchive.c (enlarge_archive): Likewise.
62495
62496 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
62497 variable definition inside #if's controlling its use.
62498
62499 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
62500
62501 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
62502
62503 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
62504
62505 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
62506 unreachable code.
62507
62508 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
62509
62510 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
62511 * configure: Regenerated.
62512
62513 * Makerules: Revert last change.
62514 * elf/Makefile: Likewise.
62515
62516 2011-06-09 Roland McGrath <roland@hack.frob.com>
62517
62518 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
62519 * elf/Makefile ($(objpfx)librtld.os): Likewise.
62520 (reloc-link): Likewise.
62521
62522 2011-06-09 Ulrich Drepper <drepper@gmail.com>
62523
62524 * elf/Makefile: Add rules to build pldd.
62525 * elf/pldd.c: New file.
62526 * elf/pldd-xx.c: New file.
62527
62528 2011-06-07 Ulrich Drepper <drepper@gmail.com>
62529
62530 * version.h: Update for 2.15 development version.
62531
62532 2011-06-07 David S. Miller <davem@davemloft.net>
62533
62534 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
62535 ifuncs.
62536 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
62537 elf_machine_lazy_rel): Likewise.
62538 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
62539 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
62540 elf_machine_lazy_rel): Likewise.
62541 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
62542 dl_hwcap via passed in argument.
62543 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
62544 Likewise.
62545
62546 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62547
62548 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
62549
62550 2011-06-06 Roland McGrath <roland@hack.frob.com>
62551
62552 [BZ #12849]
62553 * manual/fdl-1.1.texi: New file, verbatim from:
62554 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
62555 * manual/lgpl-2.1.texi: New file, verbatim from:
62556 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
62557 * manual/Makefile (licenses): New variable, list those new file names.
62558 (texis): Use it.
62559 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
62560
62561 * manual/fdl.texi: File removed.
62562 * manual/lesser.texi: File removed.
62563 * manual/libc.texinfo (Copying, Documentation License):
62564 Use new @include file names, put @appendix directive before @include.
62565
62566 2011-06-04 Jakub Jelinek <jakub@redhat.com>
62567
62568 [BZ #12841]
62569 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
62570 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
62571 (mq_open): Add __NTH.
62572
62573 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
62574
62575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62576 Assume Intel Core i3/i5/i7 processor if AVX is available.
62577
62578 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62579
62580 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62581 typo.
62582
62583 2011-05-31 Andreas Schwab <schwab@redhat.com>
62584
62585 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
62586 memory. Use alloca_account. Fix memory leak when retrying.
62587
62588 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62589
62590 * version.h (RELEASE): Bump for 2.14 release.
62591 * include/features.h (__GLIBC_MINOR__): Bump to 14.
62592
62593 * config.make.in (RANLIB): Remove entry.
62594
62595 2011-05-30 Ulrich Drepper <drepper@gmail.com>
62596
62597 * po/Makefile (po-sed-cmd): Add ksh to extensions.
62598 (libc.pot): Work around missing support for .ksh extension in xgettext.
62599
62600 [BZ #12684]
62601 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
62602 if both request failed.
62603 (send_dg): In case of server errors clear resplen or *resplen2.
62604
62605 [BZ #12454]
62606 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
62607 when there are multiple maps.
62608 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
62609 (_dl_fini): Remove test here.
62610
62611 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
62612
62613 2011-05-29 Ulrich Drepper <drepper@gmail.com>
62614
62615 [BZ #12350]
62616 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
62617 bit from old_res_options.
62618 (gaih_inet): Likewise.
62619
62620 [BZ #11099]
62621 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
62622 as signed.
62623
62624 * resolv/res_init.c (res_setoptions): Make the code more compact.
62625
62626 [BZ #11558]
62627 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
62628 set RES_USEVC.
62629
62630 [BZ #11634]
62631 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
62632
62633 * malloc/malloc.h: Mark malloc hook variables as deprecated.
62634
62635 [BZ #11781]
62636 * malloc/malloc.h: Declare malloc hook variables as volatile.
62637
62638 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
62639 in last patch.
62640
62641 [BZ #11799]
62642 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
62643 raise in the comment.
62644 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
62645 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62646 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
62647
62648 2011-05-28 Ulrich Drepper <drepper@gmail.com>
62649
62650 [BZ #12811]
62651 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
62652 grow the buffers more if it already has to be sufficient.
62653 (build_wcs_upper_buffer): Likewise.
62654 * posix/regexec.c (check_matching): Likewise.
62655 (clean_state_log_if_needed): Likewise.
62656 (extend_buffers): Don't enlarge buffers beyond size of the input
62657 buffer.
62658 Patches mostly by Emil Wojak <emil@wojak.eu>.
62659 * posix/bug-regex32.c: New file.
62660 * posix/Makefile (tests): Add bug-regex32.
62661
62662 * locale/findlocale.c (_nl_find_locale): Return right away if
62663 _nl_explode_name failed.
62664 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
62665
62666 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
62667
62668 * debug/xtrace.sh: Unify messages.
62669 * malloc/memusage.sh: Likewise.
62670
62671 [BZ #12813]
62672 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
62673 time symbol from vDSO. Substitute with vsyscall if not available.
62674 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
62675 __vdso_time.
62676
62677 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
62678 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
62679 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
62680 Add sendmmsg and internal_sendmmsg.
62681 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
62682 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
62683 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
62684
62685 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
62686 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
62687 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
62688
62689 2011-05-27 Ulrich Drepper <drepper@gmail.com>
62690
62691 [BZ #12813]
62692 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
62693 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
62694 available.
62695 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
62696 __vdso_getcpu.
62697
62698 [BZ #12814]
62699 * iconvdata/Makefile (tests): Add bug-iconv9.
62700 * iconvdata/bug-iconv9.c: New file.
62701
62702 2011-05-27 Andreas Schwab <schwab@redhat.com>
62703
62704 [BZ #12814]
62705 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
62706
62707 2011-05-25 Jakub Jelinek <jakub@redhat.com>
62708
62709 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62710 (struct user_regs_struct): Change intcs field back to cs.
62711
62712 2011-05-25 Ulrich Drepper <drepper@gmail.com>
62713
62714 * po/ja.po: Update from translation team.
62715
62716 2011-05-23 Ulrich Drepper <drepper@gmail.com>
62717
62718 [BZ #12795]
62719 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
62720 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
62721
62722 2011-05-20 Andreas Schwab <schwab@redhat.com>
62723
62724 * stdlib/longlong.h: Update from GCC.
62725
62726 2011-05-23 Andreas Schwab <schwab@redhat.com>
62727
62728 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
62729 parameter name.
62730 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
62731 Add parameter name.
62732 (__sysconf): Pass it down.
62733
62734 2011-05-22 Ulrich Drepper <drepper@gmail.com>
62735
62736 [BZ #12671]
62737 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
62738 some situations.
62739 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
62740 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
62741 add in in __libc_use_alloca calls. Adjust callers.
62742 (glob): Use malloc in some situations.
62743
62744 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
62745 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
62746 pltexit.
62747
62748 2011-05-21 Ulrich Drepper <drepper@gmail.com>
62749
62750 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
62751 and CLOCK_BOOTTIME_ALARM.
62752
62753 [BZ #12782]
62754 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
62755 is returned.
62756
62757 * string/_strerror.c (__strerror_r): Print negative errors as signed
62758 numbers.
62759
62760 [BZ #12777]
62761 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
62762 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
62763 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
62764
62765 * configure.in: Fix typo in redirection and correct removal of test
62766 files in two cases.
62767
62768 [BZ #12788]
62769 * locale/setlocale.c (new_composite_name): Fix test to check for
62770 identical name of all categories.
62771
62772 [BZ #12792]
62773 * libio/filedoalloc.c (local_isatty): New function.
62774 (_IO_file_doallocate): Use local_isatty.
62775 * stdio-common/perror.c (perror): In case a new stream is used
62776 forward the stream error.
62777 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
62778 error flag.
62779
62780 2011-05-20 Ulrich Drepper <drepper@gmail.com>
62781
62782 [BZ #11869]
62783 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
62784 alloca.
62785 * include/alloca.h (extend_alloca_account): Define.
62786
62787 [BZ #11857]
62788 * posix/regex.h: Fix comments with documentation of user-accessible
62789 fields after compilation and describe correct free'ing of pattern
62790 after re_compile_pattern.
62791 Patch by Reuben Thomas <rrt@sc3d.org>.
62792
62793 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
62794
62795 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
62796 and -mno-altivec to prevent the compiler from using Altivec and/or
62797 VSX instructions when the corresponding registers are not available.
62798
62799 2011-05-19 Andreas Schwab <schwab@redhat.com>
62800
62801 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
62802
62803 2011-05-19 Ulrich Drepper <drepper@gmail.com>
62804
62805 * libio/freopen.c (freopen): Use __dup2, not dup2.
62806 * libio/freopen64.c (freopen64): Likewise.
62807
62808 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
62809
62810 [BZ #12775]
62811 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
62812 * math/Makefile (tests): Add test-powl.
62813 (CFLAGS-test-powl.c): Define.
62814 * math/test-powl.c: New file.
62815
62816 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
62817
62818 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
62819
62820 2011-05-17 Ulrich Drepper <drepper@gmail.com>
62821
62822 [BZ #11837]
62823 * iconvdata/gb18030.c: Update to GB18020-2005.
62824
62825 2011-05-16 Ulrich Drepper <drepper@gmail.com>
62826
62827 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
62828 RE_SYNTAX_POSIX_AWK): Update to match recent development.
62829 Patch by Aharon Robbins <arnold@skeeve.com>.
62830
62831 [BZ #11892]
62832 * stdlib/putenv.c (putenv): Don't always create copy of the variable
62833 on the stack.
62834
62835 [BZ #11895]
62836 * misc/pselect.c (__pselect): Handle timeout value errors hidden
62837 through underflows.
62838
62839 [BZ #12766]
62840 * misc/error.c (error_at_line): Ensure file_name and old_file_name
62841 point to strings before performing equality test for error_one_per_line
62842 mode.
62843
62844 [BZ #11697]
62845 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
62846
62847 [BZ #11820]
62848 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62849 (struct user_fpregs_struct): Avoid __uint*_t types.
62850
62851 [BZ #6420]
62852 * malloc/mtrace.c (tr_where): Add additional parameter to point to
62853 symbol info. Use it instead of calling _dl_addr locally.
62854 (lock_and_info): New function.
62855 (tr_freehook): Call lock_and_info and pass symbol info as additional
62856 parameter to tr_where.
62857 (tr_mallochook): Likewise.
62858 (tr_reallochook): Likewise.
62859 (tr_memalignhook): Likewise.
62860
62861 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
62862 used and couldn't be at all thread-safe.
62863
62864 2011-05-15 Ulrich Drepper <drepper@gmail.com>
62865
62866 * libio/freopen.c (freopen): Don't close old file descriptor
62867 before the new one is opened. Instead dup the new file descriptor
62868 to the old one after the new stream is created.
62869 * libio/freopen64.c (freopen64): Likewise.
62870 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
62871 * libio/fileops.c (_IO_new_file_close_it): Handle new
62872 _IO_FLAGS2_NOCLOSE flag.
62873 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
62874 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
62875 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
62876 _IO_FLAGS2_NOCLOSE flag.
62877 * include/unistd.h: Add hidden_proto for dup3.
62878 Define __have_dup3.
62879 * io/dup3.c: Define hidden symbol.
62880 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
62881
62882 [BZ #7101]
62883 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
62884 when an incomplete long option is used.
62885 * posix/tst-getopt_long1.c: New file.
62886 * posix/Makefile (tests): Add tst-getopt_long1.
62887
62888 [BZ #10138]
62889 * scripts/config.guess: Update from autoconf-2.68.
62890 * scripts/config.sub: Likewise.
62891
62892 [BZ #10157]
62893 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
62894 tests into ...
62895 (has_cpuclock): ...this. New function.
62896 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
62897 macro here based on has_cpuclock code.
62898
62899 [BZ #10149]
62900 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62901 First byte (not low byte) is now always NUL.
62902 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
62903
62904 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62905 Use non-cancelable interfaces.
62906
62907 [BZ #9809]
62908 * locale/iso-639.def: Add entry for Sorani.
62909
62910 [BZ #11901]
62911 * include/stdlib.h: Move include protection to the right place.
62912 Define abort_msg_s. Declare __abort_msg with it.
62913 * stdlib/abort.c (__abort_msg): Adjust type.
62914 * assert/assert.c (__assert_fail_base): New function. Majority
62915 of code from __assert_fail. Allocate memory for __abort_msg with
62916 mmap.
62917 (__assert_fail): Now call __assert_fail_base.
62918 * assert/assert-perr.c: Remove bulk of implementation. Use
62919 __assert_fail_base.
62920 * include/assert.hL Declare __assert_fail_base.
62921 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
62922 mmap.
62923 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
62924
62925 2011-05-14 Ulrich Drepper <drepper@gmail.com>
62926
62927 [BZ #11952]
62928 [BZ #12453]
62929 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
62930 until all modules are registered in the DTV.
62931 * elf/Makefile: Add rules to build and run tst-tls19.
62932 * elf/tst-tls19.c: New file.
62933 * elf/tst-tls19mod1.c: New file.
62934 * elf/tst-tls19mod2.c: New file.
62935 * elf/tst-tls19mod3.c: New file.
62936 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
62937
62938 [BZ #12083]
62939 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
62940 correctly.
62941
62942 [BZ #12601]
62943 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
62944 two-byte sequence errors.
62945 * iconvdata/Makefile (tests): Add bug-iconv8.
62946 * iconvdata/bug-iconv8.c: New file.
62947
62948 [BZ #12626]
62949 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
62950 buf2 definition.
62951
62952 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
62953
62954 [BZ #12432]
62955 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
62956 (dummy_getcfa): New function.
62957 (init): Get _Unwind_GetCFA address, use dummy if not found.
62958 (backtrace_helper): In recursion check, also check whether CFA changes.
62959 (__backtrace): Completely initialize arg.
62960
62961 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
62962 storing incomplete byte sequence in state object. Avoid testing for
62963 guaranteed too small input if we know there is enough data available.
62964
62965 2011-05-11 Andreas Schwab <schwab@redhat.com>
62966
62967 * Makeconfig (+link-pie): Indent.
62968 * Rules (binaries-pie): Define if $(have-fpie) and
62969 $(build-shared).
62970 (binaries-shared): Also filter out $(binaries-pie).
62971 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
62972 * nscd/Makefile (others-pie): Add nscd.
62973 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
62974 ($(objpfx)nscd): Remove command override.
62975 * login/Makefile (others-pie): Add pt_chown.
62976 ($(objpfx)pt_chown): Remove command override.
62977 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
62978 remove command overrides.
62979
62980 2011-05-13 Ulrich Drepper <drepper@gmail.com>
62981
62982 * libio/tst_putwc.c: Fix error messages.
62983
62984 [BZ #12724]
62985 * libio/fileops.c (_IO_new_file_close_it): Always flush when
62986 currently writing and seek to current position when not.
62987 * libio/Makefile (tests): Add bug-fclose1.
62988 * libio/bug-fclose1.c: New file.
62989
62990 2011-05-12 Ulrich Drepper <drepper@gmail.com>
62991
62992 [BZ #12511]
62993 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
62994 don't set DF_1_NODELETE here.
62995 (do_lookup_x): When entering new entry test for copy relocation
62996 and if necessary set DF_1_NODELETE flag.
62997 * elf/tst-unique4.cc: New file.
62998 * elf/tst-unique4.h: New file.
62999 * elf/tst-unique4lib.cc: New file.
63000 * elf/Makefile: Add rules to build and run tst-unique4.
63001 Patch by Piotr Bury <pbury@goahead.com>.
63002
63003 2011-05-11 Ulrich Drepper <drepper@gmail.com>
63004
63005 [BZ #12052]
63006 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
63007
63008 [BZ #12625]
63009 * misc/mntent_r.c (addmntent): Flush the stream after the output
63010
63011 [BZ #12393]
63012 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
63013 (is_trusted_path_normalize): Skip initial colon. Append slash
63014 to empty buffer. Duplicate is_trusted_path code but allow
63015 constructed patch to be prefix.
63016 (is_dst): Allow $ORIGIN followed by /.
63017 (_dl_dst_substitute): Correct clearing of check_for_trusted.
63018 Correct testing of result of is_trusted_path_normalize
63019 (decompose_rpath): Fix warning.
63020
63021 2011-05-10 Ulrich Drepper <drepper@gmail.com>
63022
63023 [BZ #11257]
63024 * grp/initgroups.c (internal_getgrouplist): When we found the service
63025 list through the initgroups entry in nsswitch.conf do not always
63026 continue on a successful lookup. Don't always use the
63027 __nss_group_database value if it is set.
63028 * nss/nsswitch.conf (initgroups): Change action for successful db
63029 lookup to continue for compatibility.
63030
63031 2011-05-09 Ulrich Drepper <drepper@gmail.com>
63032
63033 [BZ #11532]
63034 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
63035 and CP774 modules.
63036 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
63037 and CP774 modules.
63038 * iconvdata/tst-tables.sh: Likewise.
63039 * iconvdata/cp770.c: New file.
63040 * iconvdata/cp771.c: New file.
63041 * iconvdata/cp772.c: New file.
63042 * iconvdata/cp773.c: New file.
63043 * iconvdata/cp774.c: New file.
63044 * iconvdata/testdata/CP770: New file.
63045 * iconvdata/testdata/CP770..UTF8: New file.
63046 * iconvdata/testdata/CP771: New file.
63047 * iconvdata/testdata/CP771..UTF8: New file.
63048 * iconvdata/testdata/CP772: New file.
63049 * iconvdata/testdata/CP772..UTF8: New file.
63050 * iconvdata/testdata/CP773: New file.
63051 * iconvdata/testdata/CP773..UTF8: New file.
63052 * iconvdata/testdata/CP774: New file.
63053 * iconvdata/testdata/CP774..UTF8: New file.
63054
63055 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
63056 END CHARMAP line.
63057 * iconvdata/gen-8bit-gap.sh: Likewise.
63058 * iconvdata/gen-8bit.sh: Likewise.
63059
63060 * locale/iso-639.def: Add ary entry.
63061
63062 [BZ #11258]
63063 * locale/C-translit.h.in: Add U20A1 transliteration.
63064
63065 [BZ #12178]
63066 * locale/iso-639.def: Add wae entry.
63067 Patch by Kevin Bortis <bortis@translate-wae.ch>.
63068
63069 [BZ #12545]
63070 * locale/programs/localedef.c (construct_output_path): Use ssize_t
63071 for n.
63072
63073 [BZ #12711]
63074 * locale/C-translit.h.in: Add entry for U20B9.
63075 Patch by pravin.d.s@gmail.com.
63076
63077 2011-05-08 Ulrich Drepper <drepper@gmail.com>
63078
63079 [BZ #12713]
63080 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
63081 ENAMETOOLONG use generic getcwd.
63082 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
63083 in rtld. Use *stat64.
63084 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
63085 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
63086 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
63087 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
63088 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
63089 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
63090 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
63091 __fstatat64 macros.
63092 * include/dirent.h: Add libc_hidden_proto for rewinddir.
63093 * dirent/rewinddir.c: Add libc_hidden_def.
63094 * sysdeps/mach/hurd/rewinddir.c: Likewise.
63095 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
63096
63097 * include/dirent.h (__alloc_dir): Add flags parameter.
63098 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
63099 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
63100 __alloc_dir.
63101 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
63102 from fdopendir if O_CLOEXEC is already set.
63103
63104 2011-03-15 Alan Modra <amodra@gmail.com>
63105
63106 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
63107 l_tls_firstbyte_offset non-zero. Save padding offset in
63108 l_tls_firstbyte_offset for later use.
63109 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
63110 freeing static tls block.
63111
63112 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
63113
63114 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
63115 where #ifdef was intended. The intent is to prevent ARG_MAX from
63116 being defined by the kernel headers.
63117
63118 2011-05-07 Ulrich Drepper <drepper@gmail.com>
63119
63120 [BZ #12734]
63121 * resolv/resolv.h: Define RES_NOTLDQUERY.
63122 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
63123 no-tld-query and set RES_NOTLDQUERY.
63124 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
63125 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
63126 modern BIND to search name as TLD unless forbidden.
63127
63128 2011-05-07 Petr Baudis <pasky@suse.cz>
63129 Ulrich Drepper <drepper@gmail.com>
63130
63131 [BZ #12393]
63132 * elf/dl-load.c (fillin_rpath): Move trusted path check...
63133 (is_trusted_path): ...to here.
63134 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
63135 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
63136 using is_trusted_path_normalize() in setuid scripts.
63137
63138 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
63139
63140 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
63141 __BEGIN/__END_DECLS.
63142
63143 2011-05-06 Ulrich Drepper <drepper@gmail.com>
63144
63145 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
63146 NSS_STATUS_NOTFOUND if no record was found.
63147
63148 2011-05-05 Andreas Schwab <schwab@redhat.com>
63149
63150 * sunrpc/Makefile (headers): Add rpc/netdb.h.
63151 (headers-not-in-tirpc): Remove rpc/netdb.h
63152 * resolv/netdb.h: Revert last change.
63153
63154 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
63155
63156 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
63157 circular dependency between libgcc.a and libc.a.
63158
63159 2011-05-05 Andreas Schwab <schwab@redhat.com>
63160
63161 * resolv/netdb.h: Don't include <rpc/netdb.h>.
63162 * nis/Makefile: Don't install rpcsvc/*.
63163 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
63164 instead of <rpc/types.h>.
63165 (MAXHOSTNAMELEN): Define.
63166
63167 2011-05-03 Andreas Schwab <schwab@redhat.com>
63168
63169 * elf/ldconfig.c (add_dir): Don't crash on empty path.
63170
63171 2011-04-28 Maciej Babinski <mbabinski@google.com>
63172
63173 [BZ #12714]
63174 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
63175 gethostbyname4_r when IPv6 results are possible.
63176
63177 2011-05-02 Ulrich Drepper <drepper@gmail.com>
63178
63179 [BZ #12723]
63180 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
63181 _PC_PIPE_BUF handling.
63182
63183 2011-04-30 Bruno Haible <bruno@clisp.org>
63184
63185 [BZ #12717]
63186 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
63187 * resolv/netdb.h (getnameinfo): Change type of flags parameter
63188 to 'int'.
63189 * inet/getnameinfo.c (getnameinfo): Likewise.
63190
63191 2011-04-29 Ulrich Drepper <drepper@gmail.com>
63192
63193 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
63194 to groups setting in database lookup.
63195 * nss/nsswitch.conf: Add initgroups entry.
63196
63197 2011-04-22 Ulrich Drepper <drepper@gmail.com>
63198
63199 [BZ #12685]
63200 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
63201 mode string.
63202 Patch by Eric Blake <eblake@redhat.com>.
63203
63204 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
63205
63206 * sunrpc/Makefile (need-export-routines): Add svc_run.
63207 (routines): Remove svc_run.
63208 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
63209 * sunrpc/clnt_perr.c (clnt_perrno): Export.
63210 * sunrpc/svc_run.c (svc_run): Likewise.
63211 * sunrpc/svc_udp.c (svcudp_create): Likewise.
63212
63213 2011-04-21 Ulrich Drepper <drepper@gmail.com>
63214
63215 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
63216 problem in reallocation in last patch.
63217
63218 2011-04-20 Ulrich Drepper <drepper@gmail.com>
63219
63220 * sunrpc/Makefile: Move inclusion of Rules.
63221
63222 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63223
63224 * nss/nss_files/files-initgroups.c: New file.
63225 * nss/Makefile (libnss_files-routines): Add files-initgroups.
63226 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
63227 _nss_files_initgroups_dyn.
63228
63229 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
63230
63231 * elf/elf.h (R_ARM_IRELATIVE): Define.
63232
63233 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63234
63235 * po/ru.po: Update from translation team.
63236
63237 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63238
63239 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
63240 dependencies.
63241
63242 2011-02-06 Mike Frysinger <vapier@gentoo.org>
63243
63244 [BZ #12653]
63245 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
63246 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
63247 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
63248 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
63249 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
63250
63251 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
63252
63253 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
63254 differing bytes.
63255 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
63256 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
63257 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63258
63259 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63260
63261 [BZ #12420]
63262 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
63263 storing it.
63264 * stdlib/bug-getcontext.c: New file.
63265 * stdlib/Makefile: Add rules to build and run bug-getcontext.
63266
63267 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63268
63269 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
63270 instructions into .machine "z9-109".
63271 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
63272 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
63273
63274 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63275
63276 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
63277 between environment variables and auxiliary vector.
63278
63279 2011-04-16 Ulrich Drepper <drepper@gmail.com>
63280
63281 * Makefile: Add rules to build linkobj/libc.so.
63282 * include/libc-symbols.h: Define libc_hidden_nolink.
63283 * include/rpc/auth.h: Mark functions which are to be hidden.
63284 * include/rpc/auth_des.h: Likewise.
63285 * include/rpc/auth_unix.h: Likewise.
63286 * include/rpc/clnt.h: Likewise.
63287 * include/rpc/des_crypt.h: Likewise.
63288 * include/rpc/key_prot.h: Likewise.
63289 * include/rpc/pmap_clnt.h: Likewise.
63290 * include/rpc/pmap_prot.h: Likewise.
63291 * include/rpc/pmap_rmt.h: Likewise.
63292 * include/rpc/rpc_msg.h: Likewise.
63293 * include/rpc/svc.h: Likewise.
63294 * include/rpc/svc_auth.h: Likewise.
63295 * include/rpc/xdr.h: Likewise.
63296 * nis/Makefile: Link all DSOs against linkobj/libc.so.
63297 * nss/Makefile: Likewise.
63298 * sunrpc/Makefile: Don't install headers. Build library with normal
63299 entry points. Don't build rpcinfo. Link RPC tests appropriately.
63300 * sunrpc/auth_des.c: Hide exported symbols by default, export some
63301 for the compat linking library. Remove use of INTDEF/INTUSE.
63302 * sunrpc/auth_none.c: Likewise.
63303 * sunrpc/auth_unix.c: Likewise.
63304 * sunrpc/authdes_prot.c: Likewise.
63305 * sunrpc/authuxprot.c: Likewise.
63306 * sunrpc/clnt_gen.c: Likewise.
63307 * sunrpc/clnt_perr.c: Likewise.
63308 * sunrpc/clnt_raw.c: Likewise.
63309 * sunrpc/clnt_simp.c: Likewise.
63310 * sunrpc/clnt_tcp.c: Likewise.
63311 * sunrpc/clnt_udp.c: Likewise.
63312 * sunrpc/clnt_unix.c: Likewise.
63313 * sunrpc/des_crypt.c: Likewise.
63314 * sunrpc/des_soft.c: Likewise.
63315 * sunrpc/get_myaddr.c: Likewise.
63316 * sunrpc/key_call.c: Likewise.
63317 * sunrpc/key_prot.c: Likewise.
63318 * sunrpc/netname.c: Likewise.
63319 * sunrpc/pm_getmaps.c: Likewise.
63320 * sunrpc/pm_getport.c: Likewise.
63321 * sunrpc/pmap_clnt.c: Likewise.
63322 * sunrpc/pmap_prot.c: Likewise.
63323 * sunrpc/pmap_prot2.c: Likewise.
63324 * sunrpc/pmap_rmt.c: Likewise.
63325 * sunrpc/publickey.c: Likewise.
63326 * sunrpc/rpc_cmsg.c: Likewise.
63327 * sunrpc/rpc_common.c: Likewise.
63328 * sunrpc/rpc_dtable.c: Likewise.
63329 * sunrpc/rpc_prot.c: Likewise.
63330 * sunrpc/rpc_thread.c: Likewise.
63331 * sunrpc/rtime.c: Likewise.
63332 * sunrpc/svc.c: Likewise.
63333 * sunrpc/svc_auth.c: Likewise.
63334 * sunrpc/svc_authux.c: Likewise.
63335 * sunrpc/svc_raw.c: Likewise.
63336 * sunrpc/svc_run.c: Likewise.
63337 * sunrpc/svc_simple.c: Likewise.
63338 * sunrpc/svc_tcp.c: Likewise.
63339 * sunrpc/svc_udp.c: Likewise.
63340 * sunrpc/svc_unix.c: Likewise.
63341 * sunrpc/svcauth_des.c: Likewise.
63342 * sunrpc/xcrypt.c: Likewise.
63343 * sunrpc/xdr.c: Likewise.
63344 * sunrpc/xdr_array.c: Likewise.
63345 * sunrpc/xdr_float.c: Likewise.
63346 * sunrpc/xdr_intXX_t.c: Likewise.
63347 * sunrpc/xdr_mem.c: Likewise.
63348 * sunrpc/xdr_rec.c: Likewise.
63349 * sunrpc/xdr_ref.c: Likewise.
63350 * sunrpc/xdr_sizeof.c: Likewise.
63351 * sunrpc/xdr_stdio.c: Likewise.
63352
63353 2011-04-10 Ulrich Drepper <drepper@gmail.com>
63354
63355 [BZ #12650]
63356 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
63357 * sysdeps/ia64/dl-tls.h: Likewise.
63358 * sysdeps/powerpc/dl-tls.h: Likewise.
63359 * sysdeps/s390/dl-tls.h: Likewise.
63360 * sysdeps/sh/dl-tls.h: Likewise.
63361 * sysdeps/sparc/dl-tls.h: Likewise.
63362 * sysdeps/x86_64/dl-tls.h: Likewise.
63363 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
63364
63365 2011-03-14 Andreas Schwab <schwab@redhat.com>
63366
63367 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
63368 rpath element also skip the following colon.
63369 (expand_dynamic_string_token): Add is_path parameter and pass
63370 down to DL_DST_REQUIRED and _dl_dst_substitute.
63371 (decompose_rpath): Call expand_dynamic_string_token with
63372 non-zero is_path. Ignore empty rpaths.
63373 (_dl_map_object_from_fd): Call expand_dynamic_string_token
63374 with zero is_path.
63375
63376 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
63377
63378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63379 Make cancelable.
63380
63381 2011-04-09 Ulrich Drepper <drepper@gmail.com>
63382
63383 [BZ #12655]
63384 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
63385 Patch by Filipe David Manana <fdmanana@apache.org>.
63386
63387 2011-04-07 Andreas Schwab <schwab@redhat.com>
63388
63389 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
63390 Maintain aligned stack.
63391 (CHECK_RSP): Remove unused macro.
63392
63393 2011-04-03 Ulrich Drepper <drepper@gmail.com>
63394
63395 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
63396 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
63397
63398 2011-04-02 Ulrich Drepper <drepper@gmail.com>
63399
63400 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
63401
63402 * include/features.h: Mention __USE_XOPEN2K8 in comment.
63403
63404 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
63405
63406 [BZ #12518]
63407 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
63408 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
63409 * sysdeps/x86_64/memmove.c: New file.
63410 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
63411 (memcpy): Renamed to ...
63412 (__new_memcpy): This.
63413 (memcpy): Provide GLIBC_2_14 memcpy.
63414 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
63415 (memcpy): Provide GLIBC_2_2_5 memcpy.
63416
63417 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63418
63419 [BZ #12631]
63420 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
63421
63422 2011-03-30 Andreas Schwab <schwab@redhat.com>
63423
63424 * misc/syncfs.c: New file.
63425 * misc/Makefile (routines): Add syncfs.
63426 * posix/unistd.h: Declare syncfs.
63427 * sysdeps/unix/syscalls.list: Add syncfs.
63428
63429 2011-04-01 Andreas Schwab <schwab@redhat.com>
63430
63431 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
63432 open_by_handle_at.
63433 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63434 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63435 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63436 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63437 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63438 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
63439 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63440
63441 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63442
63443 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
63444 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63445 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
63446 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63447 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63448 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63449 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63450
63451 * io/Makefile: Compile fallocate.c, fallocate64.c, and
63452 sync_file_range.c with -fexceptions.
63453 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
63454 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
63455 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
63456 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
63457 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
63458 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
63459 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
63460 sync_file_range as cancellation point
63461 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
63462 now a wrapper around __call_sync_file_range with cancellation handling.
63463 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
63464 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
63465 function name to __call_sync_file_range.
63466 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
63467 Add call_sync_file_range.
63468
63469 2011-04-01 Andreas Schwab <schwab@redhat.com>
63470
63471 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63472 bits/timex.h.
63473
63474 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63475
63476 * iconv/iconv.h: Fix typo in comment.
63477 * io/fcntl.h: Likewise.
63478 * libio/stdio.h: Likewise.
63479 * posix/spawn.h: Likewise.
63480 * posix/unistd.h: Likewise.
63481 * stdlib/stdlib.h: Likewise.
63482 * time/time.h: Likewise.
63483 * wcsmbs/wchar.h: Likewise.
63484
63485 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
63486 open_by_handle): Add.
63487 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
63488 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
63489 Augment a few comments.
63490 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63491 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63492 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63493 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63494 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63495 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
63496 open_by_handle.
63497
63498 * io/fcntl.h (AT_EMPTY_PATH): Define.
63499
63500 2011-03-30 Ulrich Drepper <drepper@gmail.com>
63501
63502 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
63503 * sysdeps/unix/sysv/linux/bits/time.h: New file.
63504 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
63505 to...
63506 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
63507 * Versions.def: Add GLIBC_2.14.
63508 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
63509 Export.
63510
63511 2011-03-22 Ulrich Drepper <drepper@gmail.com>
63512
63513 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
63514 round counter.
63515 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63516
63517 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
63518
63519 [BZ #12597]
63520 * string/test-strncmp.c (do_page_test): New function.
63521 (check2): Likewise.
63522 (test_main): Call check2.
63523 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
63524
63525 2011-03-20 Ulrich Drepper <drepper@gmail.com>
63526
63527 [BZ #12587]
63528 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
63529 Handle cache information in CPU leaf 4.
63530 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63531
63532 2011-03-18 Ulrich Drepper <drepper@gmail.com>
63533
63534 [BZ #12583]
63535 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
63536 character representation.
63537 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
63538
63539 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
63540
63541 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
63542 END(__isnan) to END(__isnanf) to match function entry point/label
63543 EALIGN(__isnanf,...).
63544
63545 2011-03-10 Jakub Jelinek <jakub@redhat.com>
63546
63547 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
63548
63549 2011-03-10 Ulrich Drepper <drepper@gmail.com>
63550
63551 [BZ #12510]
63552 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
63553 copy from the symbol referenced in the relocation to initialize the
63554 used variable.
63555 Patch by Piotr Bury <pbury@goahead.com>.
63556 * elf/Makefile: Add rules to build and tst-unique3.
63557 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
63558 * elf/tst-unique3.cc: New file.
63559 * elf/tst-unique3.h: New file.
63560 * elf/tst-unique3lib.cc: New file.
63561 * elf/tst-unique3lib2.cc: New file.
63562
63563 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
63564
63565 2011-03-10 Mike Frysinger <vapier@gentoo.org>
63566
63567 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
63568 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
63569 to _start.
63570
63571 2011-03-06 Ulrich Drepper <drepper@gmail.com>
63572
63573 * elf/dl-load.c (_dl_map_object): If we are looking for the first
63574 to-be-loaded object along a path to loader is ld.so.
63575
63576 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63577 Ulrich Drepper <drepper@gmail.com>
63578
63579 * sysdeps/x86_64/memset.S: After aligning destination, code
63580 branches to different locations depending on the value of
63581 misalignment, when multiarch is enabled. Fix this.
63582
63583 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63584
63585 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
63586 Set _x86_64_preferred_memory_instruction for AMD processsors.
63587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63588 Set bit_Prefer_SSE_for_memop for AMD processors.
63589
63590 2011-03-04 Ulrich Drepper <drepper@gmail.com>
63591
63592 * libio/fmemopen.c (fmemopen): Optimize a bit.
63593
63594 2011-03-03 Andreas Schwab <schwab@redhat.com>
63595
63596 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
63597
63598 2011-03-03 Roland McGrath <roland@redhat.com>
63599
63600 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
63601
63602 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
63603
63604 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
63605 __bzero_ultra1 instead of __memset_ultra1.
63606
63607 2011-02-23 Andreas Schwab <schwab@redhat.com>
63608 Ulrich Drepper <drepper@gmail.com>
63609
63610 [BZ #12509]
63611 * include/link.h (struct link_map): Add l_orig_initfini.
63612 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
63613 returning unsuccessfully.
63614 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
63615 close of a file loaded at startup, restore the original l_initfini
63616 list.
63617 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
63618 list, store the pointer.
63619 * elf/Makefile ($(objpfx)noload-mem): New rule.
63620 (noload-ENV): Define.
63621 (tests): Add $(objpfx)noload-mem.
63622 * elf/noload.c: Include <memcheck.h>.
63623 (main): Call mtrace. Close all opened handles.
63624
63625 2011-02-17 Andreas Schwab <schwab@redhat.com>
63626
63627 [BZ #12454]
63628 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
63629 dependencies are missing.
63630
63631 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
63632
63633 Fix __if_freereq crash: Unlike the generic version which uses free,
63634 Hurd needs munmap.
63635 * sysdeps/mach/hurd/ifreq.h: New file.
63636
63637 2011-01-27 Petr Baudis <pasky@suse.cz>
63638 Ulrich Drepper <drepper@gmail.com>
63639
63640 [BZ 12445]#
63641 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
63642 to extend_alloca().
63643 * stdio-common/bug23.c: New file.
63644 * stdio-common/Makefile (tests): Add bug23.
63645
63646 2010-09-28 Andreas Schwab <schwab@redhat.com>
63647 Ulrich Drepper <drepper@gmail.com>
63648
63649 [BZ #12489]
63650 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
63651 before performing relro protection. At old place add assertion
63652 to make sure nothing changed.
63653
63654 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
63655 Glauber de Oliveira Costa <glommer@gmail.com>
63656
63657 * elf/elf.h: Add new ARM TLS relocs.
63658
63659 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
63660
63661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63662 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
63663 cast from r3.
63664 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
63665 'tests' variable.
63666 * sysdeps/wordsize-64/tst-writev.c: New file.
63667
63668 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
63669
63670 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
63671 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
63672 insns in _dl_start to prevent a TOC reference before relocs are
63673 resolved.
63674
63675 2011-02-15 Ulrich Drepper <drepper@gmail.com>
63676
63677 [BZ #12469]
63678 * Makeconfig: Remove RANLIB definition.
63679 * Makerules: Don't use RANLIB.
63680 * aclocal.m4: Remove ranlib test.
63681 * configure.in: No need to check for ranlib.
63682 * elf/rtld-Rules: Don't use RANLIB.
63683
63684 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
63685
63686 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
63687 protection macro.
63688 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
63689 inclusion protection macro.
63690
63691 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
63692 SIGRTMIN and SIGRTMAX and print information in that case only when
63693 SIGRTMIN is defined.
63694
63695 2011-02-11 Jakub Jelinek <jakub@redhat.com>
63696
63697 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
63698 arginfo fn returning -1.
63699
63700 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
63701 and thousands string is zero terminated.
63702
63703 2011-02-03 Andreas Schwab <schwab@redhat.com>
63704
63705 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
63706 sysdeps/unix/sysv/linux/bits/socket.h.
63707
63708 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
63709
63710 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
63711 (__CPU_COUNT): Remove old macros.
63712 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
63713 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
63714 (__CPU_ALLOC, __CPU_FREE): Add macros.
63715 (__sched_cpualloc, __sched_cpufree): Add declarations.
63716
63717 2011-02-05 Ulrich Drepper <drepper@gmail.com>
63718
63719 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
63720 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
63721 * nscd/aicache.c (addhstaiX): Return timeout of added value.
63722 (readdhstai): Return value of addhstaiX call.
63723 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
63724 (addgrbyX): Return value returned by cache_addgr.
63725 (readdgrbyname): Return value returned by addgrbyX.
63726 (readdgrbygid): Likewise.
63727 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
63728 (addpwbyX): Return value returned by cache_addpw.
63729 (readdpwbyname): Return value returned by addhstbyX.
63730 (readdpwbyuid): Likewise.
63731 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
63732 (addservbyX): Return value returned by cache_addserv.
63733 (readdservbyname): Return value returned by addservbyX:
63734 (readdservbyport): Likewise.
63735 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
63736 (addhstbyX): Return value returned by cache_addhst.
63737 (readdhstbyname): Return value returned by addhstbyX.
63738 (readdhstbyaddr): Likewise.
63739 (readdhstbynamev6): Likewise.
63740 (readdhstbyaddrv6): Likewise.
63741 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
63742 (readdinitgroups): Return value returned by addinitgroupsX.
63743 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
63744 (prune_cache): Keep track of timeout value of re-added entries.
63745 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
63746 * nscd/nscd.h: Adjust prototypes of readd* functions.
63747
63748 2011-02-04 Roland McGrath <roland@redhat.com>
63749
63750 * nis/nis_server.c (nis_servstate): Use the right name for 0.
63751 (nis_stats): Likewise.
63752 * nis/nis_modify.c (nis_modify): Likewise.
63753 * nis/nis_remove.c (nis_remove): Likewise.
63754 * nis/nis_add.c (nis_add): Likewise.
63755
63756 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
63757
63758 * posix/fnmatch_loop.c: Add some consts.
63759
63760 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
63761
63762 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
63763
63764 [BZ #12460]
63765 * config.make.in (config-cflags-novzeroupper): Define.
63766 * configure.in: Substitute libc_cv_cc_novzeroupper.
63767 * elf/Makefile (AVX-CFLAGS): Define.
63768 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
63769 (CFLAGS-tst-auditmod4a.c): Likewise.
63770 (CFLAGS-tst-auditmod4b.c): Likewise.
63771 (CFLAGS-tst-auditmod6b.c): Likewise.
63772 (CFLAGS-tst-auditmod6c.c): Likewise.
63773 (CFLAGS-tst-auditmod7b.c): Likewise.
63774 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
63775
63776 2011-02-02 Ulrich Drepper <drepper@gmail.com>
63777
63778 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
63779 function to the callback.
63780 Patch partly by Jiri Olsa <jolsa@redhat.com>.
63781
63782 2011-02-02 Andreas Schwab <schwab@redhat.com>
63783
63784 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
63785 of errno.
63786
63787 2011-01-19 Ulrich Drepper <drepper@gmail.com>
63788
63789 [BZ #11724]
63790 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
63791 of constructors.
63792 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
63793 of destructors.
63794 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
63795
63796 [BZ #11724]
63797 * elf/Makefile: Add rules to build and run new test.
63798 * elf/tst-initorder.c: New file.
63799 * elf/tst-initorder.exp: New file.
63800 * elf/tst-initordera1.c: New file.
63801 * elf/tst-initordera2.c: New file.
63802 * elf/tst-initordera3.c: New file.
63803 * elf/tst-initordera4.c: New file.
63804 * elf/tst-initorderb1.c: New file.
63805 * elf/tst-initorderb2.c: New file.
63806 * elf/tst-order-a1.c: New file.
63807 * elf/tst-order-a2.c: New file.
63808 * elf/tst-order-a3.c: New file.
63809 * elf/tst-order-a4.c: New file.
63810 * elf/tst-order-b1.c: New file.
63811 * elf/tst-order-b2.c: New file.
63812 * elf/tst-order-main.c: New file.
63813 New test case by George Gensure <werkt0@gmail.com>.
63814
63815 2010-10-01 Andreas Schwab <schwab@redhat.com>
63816
63817 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
63818 decoding ACE if AI_CANONIDN.
63819
63820 2011-01-18 Ulrich Drepper <drepper@gmail.com>
63821
63822 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
63823
63824 2011-01-17 Ulrich Drepper <drepper@gmail.com>
63825
63826 * version.h (RELEASE): Bump for 2.13 release.
63827 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
63828
63829 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
63830
63831 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
63832 MADV_NOHUGEPAGE.
63833 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
63834 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63835 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63836 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
63837 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63838 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63839
63840 * posix/getconf.c: Update copyright year.
63841 * catgets/gencat.c: Likewise.
63842 * csu/version.c: Likewise.
63843 * debug/catchsegv.sh: Likewise.
63844 * debug/xtrace.sh: Likewise.
63845 * elf/ldconfig.c: Likewise.
63846 * elf/ldd.bash.in: Likewise.
63847 * elf/sprof.c (print_version): Likewise.
63848 * iconv/iconv_prog.c: Likewise.
63849 * iconv/iconvconfig.c: Likewise.
63850 * locale/programs/locale.c: Likewise.
63851 * locale/programs/localedef.c: Likewise.
63852 * malloc/memusage.sh: Likewise.
63853 * malloc/mtrace.pl: Likewise.
63854 * nscd/nscd.c (print_version): Likewise.
63855 * nss/getent.c: Likewise.
63856
63857 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
63858 PF_CAIF, and PF_ALG.
63859 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63860
63861 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
63862
63863 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
63864 (modules-names): Use them.
63865 (ifunc-test-modules, ifunc-pie-tests): Define.
63866 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
63867 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
63868 (test-extras): Likewise.
63869 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
63870 $(compile-command.c).
63871 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
63872 (all-built-dso): Define.
63873 (check-textrel.out, check-execstack.out): Depend on it.
63874
63875 * configure.in: Don't override --enable-multi-arch.
63876
63877 2011-01-15 Ulrich Drepper <drepper@gmail.com>
63878
63879 [BZ #6812]
63880 * nscd/hstcache.c (tryagain): Define.
63881 (cache_addhst): Return tryagain not notfound for temporary errors.
63882 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
63883 failed.
63884
63885 2011-01-14 Ulrich Drepper <drepper@gmail.com>
63886
63887 [BZ #10563]
63888 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
63889 to make the syscall.
63890 * sysdeps/unix/sysv/linux/setgroups.c: New file.
63891
63892 [BZ #12378]
63893 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
63894 and fall back to matching as normal character if the string ends before
63895 the matching ']' is found. This is what POSIX requires.
63896 * posix/testfnm.c: Adjust test result.
63897 * posix/globtest.sh: Adjust test result. Add new test.
63898 * posix/tst-fnmatch.input: Likewise.
63899 * posix/tst-fnmatch2.c: Add new test.
63900
63901 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
63902
63903 * elf/Makefile (check-execstack): Revert last change. Depend on
63904 check-execstack.h.
63905 (check-execstack.h): New target.
63906 (generated): Add check-execstack.h.
63907 * elf/check-execstack.c: Include "check-execstack.h".
63908 (main): Revert last change.
63909 (handle_file): Return zero if GNU_STACK is absent and
63910 DEFAULT_STACK_PERMS doesn't include PF_X.
63911
63912 2011-01-13 Ulrich Drepper <drepper@gmail.com>
63913
63914 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
63915 in child fails because the descriptor is already closed.
63916 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
63917 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
63918 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
63919
63920 [BZ #12397]
63921 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
63922 syscall.
63923
63924 [BZ #10484]
63925 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
63926 temporary buffer used to handle multi lookups locally.
63927 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
63928
63929 2011-01-12 Ulrich Drepper <drepper@gmail.com>
63930
63931 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
63932 loader is ld.so.
63933
63934 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
63935
63936 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
63937 alignment for SSE2.
63938
63939 2011-01-12 Ulrich Drepper <drepper@gmail.com>
63940
63941 [BZ #12394]
63942 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
63943 characters. When rounding increased number of integer digits recompute
63944 number of groups.
63945 * stdio-common/tst-grouping.c: New file.
63946 * stdio-common/Makefile: Add rules to build and run tst-grouping.
63947
63948 2011-01-09 Ulrich Drepper <drepper@gmail.com>
63949
63950 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
63951 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
63952
63953 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
63954 void.
63955 * bits/select.h: Likewise.
63956
63957 2011-01-08 Ulrich Drepper <drepper@gmail.com>
63958
63959 * po/ja.po: Update from translation team.
63960
63961 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
63962
63963 [BZ #11155]
63964 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
63965 implementation just like for lxstat, fxstatat, et al.
63966
63967 2010-12-27 Jim Meyering <meyering@redhat.com>
63968
63969 [BZ #12348]
63970 * posix/regexec.c (build_trtable): Return failure indication upon
63971 calloc failure. Otherwise, re_search_internal could infloop on OOM.
63972
63973 2010-12-25 Ulrich Drepper <drepper@gmail.com>
63974
63975 [BZ #12201]
63976 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
63977 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
63978 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
63979 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
63980
63981 [BZ #12207]
63982 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
63983
63984 [BZ #12204]
63985 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
63986 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
63987
63988 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
63989
63990 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
63991 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
63992 script has SORT_BY_INIT_PRIORITY.
63993 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
63994 NO_CTORS_DTORS_SECTIONS is defined.
63995 * elf/soinit.c: Likewise.
63996 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
63997 NO_CTORS_DTORS_SECTIONS is defined.
63998 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
63999 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
64000 * sysdeps/sh/init-first.c: Likewise.
64001 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
64002
64003 2010-12-24 Ulrich Drepper <drepper@gmail.com>
64004
64005 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
64006 always use the slow path.
64007
64008 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
64009
64010 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
64011 similar rule which adds the sysdep directories to the header search in
64012 order to pick up the correct platform stackinfo.h.
64013 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
64014 perform test if it is, otherwise return successfully without testing.
64015 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
64016 DEFAULT_STACK_PERMS define in stackinfo.h.
64017 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
64018 defined in stackinfo.h.
64019 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
64020 DEFAULT_STACK_PERMS defined in stackinfo.h.
64021 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
64022 * sysdeps/ia64/stackinfo.h: Likewise.
64023 * sysdeps/s390/stackinfo.h: Likewise.
64024 * sysdeps/sh/stackinfo.h: Likewise.
64025 * sysdeps/sparc/stackinfo.h: Likewise.
64026 * sysdeps/x86_64/stackinfo.h: Likewise.
64027 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
64028 PF_X for powerpc64. Retain PF_X for powerpc32.
64029
64030 2010-12-19 Ulrich Drepper <drepper@gmail.com>
64031
64032 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
64033 accurately.
64034 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
64035 GETDENTS_64BIT_ALIGNED.
64036
64037 2010-12-14 Ulrich Drepper <dreper@gmail.com>
64038
64039 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
64040
64041 2010-12-10 Andreas Schwab <schwab@redhat.com>
64042
64043 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
64044 _GNU_SOURCE.
64045
64046 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
64047 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
64048 Remove __restrict.
64049 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
64050 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
64051
64052 2010-12-09 Ulrich Drepper <drepper@gmail.com>
64053
64054 [BZ #11655]
64055 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
64056 are initialized.
64057
64058 2010-12-09 Jakub Jelinek <jakub@redhat.com>
64059
64060 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
64061
64062 2010-12-03 Ulrich Drepper <drepper@gmail.com>
64063
64064 * po/it.po: Update from translation team.
64065
64066 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
64067
64068 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
64069 unused codes.
64070
64071 2010-11-30 Ulrich Drepper <drepper@gmail.com>
64072
64073 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
64074
64075 2010-11-24 Andreas Schwab <schwab@redhat.com>
64076
64077 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
64078 specially.
64079 (gaih_getanswer_slice): Likewise.
64080
64081 2010-10-20 Jakub Jelinek <jakub@redhat.com>
64082
64083 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
64084
64085 2010-05-31 Petr Baudis <pasky@suse.cz>
64086
64087 [BZ #11149]
64088 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
64089 silently even in the chroot mode.
64090
64091 2010-11-22 Ulrich Drepper <drepper@gmail.com>
64092
64093 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
64094 last patch a bit. Pretty printing
64095
64096 2010-05-31 Petr Baudis <pasky@suse.cz>
64097
64098 [BZ #10085]
64099 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
64100 initialization of skip_initgroups_dyn.
64101
64102 2010-11-19 Ulrich Drepper <drepper@gmail.com>
64103
64104 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
64105 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64106
64107 2010-11-16 Ulrich Drepper <drepper@gmail.com>
64108
64109 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
64110
64111 2010-11-11 Andreas Schwab <schwab@redhat.com>
64112
64113 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
64114 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
64115 (tst-fnmatch-ENV): Set MALLOC_TRACE.
64116 ($(objpfx)tst-fnmatch-mem): New rule.
64117 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
64118 * posix/tst-fnmatch.c (main): Call mtrace.
64119
64120 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
64121
64122 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64123 Support Intel processor model 6 and model 0x2c.
64124
64125 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
64126
64127 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
64128 signed comparison.
64129
64130 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
64131
64132 [BZ #12205]
64133 * string/test-strncasecmp.c (check_result): New function.
64134 (do_one_test): Use it.
64135 (check1): New function.
64136 (test_main): Use it.
64137 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
64138 Support strcasecmp and strncasecmp.
64139
64140 2010-11-08 Ulrich Drepper <drepper@gmail.com>
64141
64142 [BZ #12194]
64143 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
64144 * sysdeps/x86_64/bits/byteswap.h: Likewise.
64145
64146 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
64147
64148 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
64149 IFUNC support.
64150 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64151 memset-x86-64.
64152 * sysdeps/x86_64/multiarch/bzero.S: New file.
64153 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
64154 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
64155 * sysdeps/x86_64/multiarch/memset.S: New file.
64156 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
64157 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64158 Set bit_Prefer_SSE_for_memop for Intel processors.
64159 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
64160 Define.
64161 (index_Prefer_SSE_for_memop): Define.
64162 (HAS_PREFER_SSE_FOR_MEMOP): Define.
64163
64164 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
64165
64166 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
64167 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
64168
64169 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
64170
64171 [BZ #12191]
64172 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64173 (__x86_64_raw_data_cache_size_half): Likewise.
64174 (__x86_64_raw_shared_cache_size): Likewise.
64175 (__x86_64_raw_shared_cache_size_half): Likewise.
64176
64177 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64178 (__x86_64_raw_data_cache_size_half): Likewise.
64179 (__x86_64_raw_shared_cache_size): Likewise.
64180 (__x86_64_raw_shared_cache_size_half): Likewise.
64181 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
64182 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
64183 and __x86_64_raw_shared_cache_size_half. Round
64184 __x86_64_data_cache_size_half, __x86_64_data_cache_size
64185 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
64186 to multiple of 256 bytes.
64187
64188 2010-11-03 Ulrich Drepper <drepper@gmail.com>
64189
64190 [BZ #12167]
64191 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
64192 of inacessible symlinks. Verify result of symlink before returning it.
64193 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
64194 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
64195
64196 2010-10-28 Erich Ritz <erichritz@gmail.com>
64197
64198 * math/math.h (isinf): Fix typo in comment.
64199
64200 2010-11-01 Ulrich Drepper <drepper@gmail.com>
64201
64202 * po/da.po: Update from translation team.
64203
64204 2010-10-26 Ulrich Drepper <drepper@gmail.com>
64205
64206 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
64207 is added to the list.
64208
64209 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64210 Ulrich Drepper <drepper@gmail.com>
64211
64212 * elf/dl-object.c (_dl_new_object): Don't append the new object to
64213 the global list here. Move code to...
64214 (_dl_add_to_namespace_list): ...here. New function.
64215 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
64216 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
64217 * elf/dl-load.c (lose): Don't remove the element from the list.
64218 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
64219 (_dl_map_object): Likewise.
64220
64221 2010-10-25 Ulrich Drepper <drepper@gmail.com>
64222
64223 [BZ #12159]
64224 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
64225 into all bytes of SSE register.
64226 Patch by Richard Li <richardpku@gmail.com>.
64227
64228 2010-10-24 Ulrich Drepper <drepper@gmail.com>
64229
64230 [BZ #12140]
64231 * malloc/malloc.c (_int_free): Fill correct number of bytes when
64232 perturbing.
64233
64234 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
64235
64236 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
64237 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
64238 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
64239 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
64241 submachine.
64242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
64243
64244 2010-10-22 Andreas Schwab <schwab@redhat.com>
64245
64246 * include/dlfcn.h (__RTLD_SECURE): Define.
64247 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
64248 mode & __RTLD_SECURE instead.
64249 (open_path): Rename preloaded parameter to secure.
64250 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
64251 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
64252 * elf/dl-deps.c (openaux): Likewise.
64253 * elf/rtld.c (struct map_args): Remove is_preloaded.
64254 (map_doit): Don't use it.
64255 (dl_main): Likewise.
64256 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
64257 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
64258
64259 2010-09-09 Andreas Schwab <schwab@redhat.com>
64260
64261 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
64262 (sysd-rules-targets): Remove duplicates.
64263 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
64264 rtld-%.$o dependency.
64265
64266 2010-10-18 Andreas Schwab <schwab@redhat.com>
64267
64268 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
64269 _dl_map_object do it.
64270
64271 2010-10-19 Ulrich Drepper <drepper@gmail.com>
64272
64273 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
64274 fast fma builtins, define the macros in the C99 standard.
64275 (FP_FAST_FMAF): Likewise.
64276 (FP_FAST_FMAL): Likewise.
64277 * sysdeps/x86_64/bits/mathdef.h: Likewise.
64278
64279 * bits/mathdef.h: Update copyright year.
64280 * sysdeps/powerpc/bits/mathdef.h: Likewise.
64281
64282 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
64283
64284 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
64285 builtins, define the macros in the C99 standard.
64286 (FP_FAST_FMAF): Likewise.
64287 (FP_FAST_FMAL): Likewise.
64288 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
64289 multiply/add.
64290 (FP_FAST_FMAF): Likewise.
64291
64292 2010-10-15 Jakub Jelinek <jakub@redhat.com>
64293
64294 [BZ #3268]
64295 * math/libm-test.inc (fma_test): Some new testcases.
64296 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
64297 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
64298 y and infinite z. Do multiplication by C already in long double.
64299 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
64300 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
64301 y and infinite z. Do bitwise or of inexact bit into u.d.
64302 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
64303 * sysdeps/i386/fpu/s_fmaf.S: Removed.
64304 * sysdeps/i386/fpu/s_fma.S: Removed.
64305 * sysdeps/i386/fpu/s_fmal.S: Removed.
64306
64307 2010-10-16 Jakub Jelinek <jakub@redhat.com>
64308
64309 [BZ #3268]
64310 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
64311 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
64312 computation is not scheduled after fetestexcept. Fix value
64313 of minimum denormal long double.
64314
64315 2010-10-14 Jakub Jelinek <jakub@redhat.com>
64316
64317 [BZ #3268]
64318 * math/libm-test.inc (fma_test): Add some more tests.
64319 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
64320 correctly.
64321
64322 2010-10-15 Andreas Schwab <schwab@redhat.com>
64323
64324 * scripts/data/localplt-s390-linux-gnu.data: New file.
64325 * scripts/data/localplt-s390x-linux-gnu.data: New file.
64326
64327 2010-10-13 Jakub Jelinek <jakub@redhat.com>
64328
64329 [BZ #3268]
64330 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
64331 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
64332 instead of dbl-64.
64333 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
64334 inlines.
64335 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
64336 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
64337 if one of x and y is very large and the other is subnormal.
64338 * sysdeps/s390/fpu/s_fmaf.c: New file.
64339 * sysdeps/s390/fpu/s_fma.c: New file.
64340 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
64341 * sysdeps/powerpc/fpu/s_fma.S: New file.
64342 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
64343 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
64344 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
64345
64346 2010-10-12 Jakub Jelinek <jakub@redhat.com>
64347
64348 [BZ #3268]
64349 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
64350 fma tests.
64351 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
64352 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
64353 * sysdeps/i386/i686/multiarch/s_fma.c: Include
64354 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
64355 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
64356 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
64357 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
64358
64359 2010-10-12 Ulrich Drepper <drepper@redhat.com>
64360
64361 [BZ #12078]
64362 * posix/regcomp.c (parse_branch): One more memory leak plugged.
64363 * posix/bug-regex31.input: Add test case.
64364
64365 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64366
64367 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
64368 * posix/bug-regex31.input: New file.
64369
64370 [BZ #12078]
64371 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
64372 (parse_sub_exp): Fix last change, use postorder.
64373
64374 * posix/bug-regex31.c: New file.
64375 * posix/Makefile: Add rules to build and run bug-regex31.
64376
64377 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
64378
64379 [BZ #12078]
64380 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
64381
64382 [BZ #12108]
64383 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
64384 to have entries in sys_siglist.
64385
64386 [BZ #12093]
64387 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
64388 be NULL.
64389
64390 2010-10-07 Jakub Jelinek <jakub@redhat.com>
64391
64392 [BZ #3268]
64393 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
64394 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
64395 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
64396 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
64397 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
64398 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
64399 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
64400 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
64401 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
64402 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
64403 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
64404 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
64405 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
64406 * math/ftestexcept.c (fetestexcept): Likewise.
64407 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
64408 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
64409 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
64410 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
64411 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
64412 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
64413 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64414
64415 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64416
64417 [BZ #12107]
64418 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
64419 newline.
64420
64421 2010-10-06 Ulrich Drepper <drepper@gmail.com>
64422
64423 * string/bug-strstr1.c: New file.
64424 * string/Makefile: Add rules to build and run bug-strstr1.
64425
64426 2010-10-05 Eric Blake <eblake@redhat.com>
64427
64428 [BZ #12092]
64429 * string/str-two-way.h (two_way_long_needle): Always clear memory
64430 when skipping input due to the shift table.
64431
64432 2010-10-03 Ulrich Drepper <drepper@gmail.com>
64433
64434 [BZ #12005]
64435 * malloc/mcheck.c: Handle large requests.
64436
64437 [BZ #12077]
64438 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
64439 for strncmp and strncasecmp.
64440 * string/stratcliff.c: Add tests for strcmp and strncmp.
64441 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
64442
64443 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
64444
64445 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
64446 __set_fpscr.
64447
64448 2010-09-30 Andreas Jaeger <aj@suse.de>
64449
64450 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
64451 (CGROUP_SUPER_MAGIC): Define.
64452 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64453 Handle btrfs and cgroup file systems.
64454 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
64455 Likewise.
64456
64457 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
64458
64459 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
64460 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
64461
64462 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64463
64464 [BZ #12067]
64465 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
64466 trying to locate the ELF header.
64467
64468 2010-09-27 Andreas Schwab <schwab@redhat.com>
64469
64470 [BZ #11611]
64471 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
64472 Mask out sign-bit copies when constructing f_fsid.
64473
64474 2010-09-24 Petr Baudis <pasky@suse.cz>
64475
64476 * debug/stack_chk_fail_local.c: Add missing licence exception.
64477 * debug/warning-nop.c: Likewise.
64478
64479 2010-09-15 Joseph Myers <joseph@codesourcery.com>
64480
64481 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
64482 implementing getdents64 using getdents syscall, set d_type if
64483 __ASSUME_GETDENTS32_D_TYPE.
64484
64485 2010-09-16 Andreas Schwab <schwab@redhat.com>
64486
64487 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
64488 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
64489
64490 2010-09-21 Ulrich Drepper <drepper@redhat.com>
64491
64492 [BZ #12037]
64493 * posix/unistd.h: Undo change of feature selection for ftruncate from
64494 2010-01-11.
64495
64496 2010-09-20 Ulrich Drepper <drepper@redhat.com>
64497
64498 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
64499 detection.
64500
64501 2010-09-20 Andreas Schwab <schwab@redhat.com>
64502
64503 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
64504 fanotify_mark.
64505 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64506
64507 2010-09-14 Andreas Schwab <schwab@redhat.com>
64508
64509 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
64510 variables after CHECK_SP call.
64511 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
64512
64513 2010-09-13 Andreas Schwab <schwab@redhat.com>
64514 Ulrich Drepper <drepper@redhat.com>
64515
64516 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
64517 re-relocationg ld.so.
64518 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
64519 _dl_init_paths call.
64520 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
64521 here anymore.
64522
64523 2010-09-14 Ulrich Drepper <drepper@redhat.com>
64524
64525 * resolv/res_init.c (__res_vinit): Count the default server we added.
64526
64527 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
64528 Ulrich Drepper <drepper@redhat.com>
64529
64530 [BZ #11968]
64531 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
64532 (____longjmp_chk): Use %ebx for saving value across system call.
64533 Add unwind info.
64534
64535 2010-09-06 Andreas Schwab <schwab@redhat.com>
64536
64537 * manual/Makefile: Don't mix pattern rules with normal rules.
64538
64539 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
64540
64541 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
64542 operation.
64543 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
64544 * libio/iofopncook.c (_IO_cookie_init): Likewise.
64545 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
64546 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
64547 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64548 Likewise.
64549
64550 2010-09-04 Ulrich Drepper <drepper@redhat.com>
64551
64552 [BZ #11979]
64553 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
64554 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
64555
64556 2010-09-02 Ulrich Drepper <drepper@redhat.com>
64557
64558 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
64559 * sysdeps/x86_64/addmul_1.S: Likewise.
64560 * sysdeps/x86_64/lshift.S: Likewise.
64561 * sysdeps/x86_64/mul_1.S: Likewise.
64562 * sysdeps/x86_64/rshift.S: Likewise.
64563 * sysdeps/x86_64/sub_n.S: Likewise.
64564 * sysdeps/x86_64/submul_1.S: Likewise.
64565
64566 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
64567
64568 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
64569 Define __sched_param instead of SCHED_* and sched_param when
64570 <bits/sched.h> is included with __need_schedparam defined.
64571 * bits/sched.h [__need_schedparam]
64572 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
64573 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
64574 (__defined_schedparam): Define to 1.
64575 (__sched_param): New structure, identical to sched_param.
64576 (__need_schedparam): Undefine.
64577
64578 2010-08-31 Mike Frysinger <vapier@gentoo.org>
64579
64580 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
64581 (epoll_create1): Declare.
64582
64583 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
64584
64585 2010-08-31 Andreas Schwab <schwab@redhat.com>
64586
64587 [BZ #7066]
64588 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
64589 shifting retval into place.
64590
64591 2010-09-01 Ulrich Drepper <drepper@redhat.com>
64592
64593 * nis/rpcsvc/nis.h: Update copyright notice.
64594 * nis/rpcsvc/nis.x: Likewise.
64595 * nis/rpcsvc/nis_callback.h: Likewise.
64596 * nis/rpcsvc/nis_callback.x: Likewise.
64597 * nis/rpcsvc/nis_object.x: Likewise.
64598 * nis/rpcsvc/nis_tags.h: Likewise.
64599 * nis/rpcsvc/yp.h: Likewise.
64600 * nis/rpcsvc/yp.x: Likewise.
64601 * nis/rpcsvc/ypupd.h: Likewise.
64602 * nis/yp_xdr.c: Likewise.
64603 * nis/ypupdate_xdr.c: Likewise.
64604
64605 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
64606 mainly the body of pmap_getport. Add parameters to specify timeouts.
64607 (pmap_getport): Use __libc_rpc_getport.
64608 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
64609 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
64610 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
64611
64612 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
64613
64614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
64615 fanotify_mark.
64616
64617 2010-08-27 Roland McGrath <roland@redhat.com>
64618
64619 * sysdeps/i386/i686/multiarch/Makefile
64620 (CFLAGS-varshift.c): New variable.
64621
64622 2010-08-27 Ulrich Drepper <drepper@redhat.com>
64623
64624 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
64625 * sysdeps/i386/i686/multiarch/varshift.c: New file.
64626
64627 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
64628
64629 * sysdeps/x86_64/strlen.S: Minimal code improvement.
64630
64631 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
64632
64633 * sysdeps/x86_64/strlen.S: Unroll the loop.
64634 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64635 strlen-sse2 strlen-sse2-bsf.
64636 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
64637 __strlen_no_bsf if bit_Slow_BSF is set.
64638 (__strlen_sse42): Removed.
64639 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
64640 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
64641
64642 2010-08-25 Roland McGrath <roland@redhat.com>
64643
64644 * sysdeps/x86_64/multiarch/varshift.S: File removed.
64645 * sysdeps/x86_64/multiarch/varshift.c: New file.
64646 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
64647 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
64648 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
64649 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
64650
64651 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
64652
64653 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64654 strlen-sse2 strlen-sse2-bsf.
64655 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
64656 __strlen_sse2_bsf if bit_Slow_BSF is unset.
64657 (__strlen_sse2): Removed.
64658 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
64659 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
64660 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64661 bit_Slow_BSF for Atom.
64662 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
64663 (index_Slow_BSF): Define.
64664 (HAS_SLOW_BSF): Define.
64665
64666 2010-08-25 Ulrich Drepper <drepper@redhat.com>
64667
64668 [BZ #10851]
64669 * resolv/res_init.c (__res_vinit): When no server address at all
64670 is given default to loopback.
64671
64672 2010-08-24 Roland McGrath <roland@redhat.com>
64673
64674 * configure.in: Remove config-name.h generation.
64675 * configure: Regenerated.
64676 * config-name.in: File removed.
64677 * scripts/config-uname.sh: New file.
64678 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
64679 ($(objdir)config-name.h): New target.
64680
64681 * sunrpc/rpc_parse.h: Avoid nested comment.
64682
64683 2010-08-24 Richard Henderson <rth@redhat.com>
64684 Ulrich Drepper <drepper@redhat.com>
64685 H.J. Lu <hongjiu.lu@intel.com>
64686
64687 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
64688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
64689 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
64690 Replace _mm_srli_si128 with __m128i_shift_right. Replace
64691 _mm_alignr_epi8 with _mm_loadu_si128.
64692 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
64693 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
64694 (__m128i_shift_right): Removed.
64695 * sysdeps/i386/i686/multiarch/varshift.h: New file.
64696 * sysdeps/i386/i686/multiarch/varshift.S: New file.
64697 * sysdeps/x86_64/multiarch/varshift.h: New file.
64698 * sysdeps/x86_64/multiarch/varshift.S: New file.
64699
64700 2010-08-21 Mike Frysinger <vapier@gentoo.org>
64701
64702 * configure.in: Move assembler checks to before sysdep dir checking.
64703
64704 2010-08-20 Petr Baudis <pasky@suse.cz>
64705
64706 * LICENSES: Sync the sunrpc license.
64707
64708 2010-08-19 Ulrich Drepper <drepper@redhat.com>
64709
64710 * sunrpc/auth_des.c: Update copyright notice once again.
64711 * sunrpc/auth_none.c: Likewise.
64712 * sunrpc/auth_unix.c: Likewise.
64713 * sunrpc/authdes_prot.c: Likewise.
64714 * sunrpc/authuxprot.c: Likewise.
64715 * sunrpc/bindrsvprt.c: Likewise.
64716 * sunrpc/clnt_gen.c: Likewise.
64717 * sunrpc/clnt_perr.c: Likewise.
64718 * sunrpc/clnt_raw.c: Likewise.
64719 * sunrpc/clnt_simp.c: Likewise.
64720 * sunrpc/clnt_tcp.c: Likewise.
64721 * sunrpc/clnt_udp.c: Likewise.
64722 * sunrpc/clnt_unix.c: Likewise.
64723 * sunrpc/des_crypt.c: Likewise.
64724 * sunrpc/des_soft.c: Likewise.
64725 * sunrpc/get_myaddr.c: Likewise.
64726 * sunrpc/getrpcport.c: Likewise.
64727 * sunrpc/key_call.c: Likewise.
64728 * sunrpc/key_prot.c: Likewise.
64729 * sunrpc/openchild.c: Likewise.
64730 * sunrpc/pm_getmaps.c: Likewise.
64731 * sunrpc/pm_getport.c: Likewise.
64732 * sunrpc/pmap_clnt.c: Likewise.
64733 * sunrpc/pmap_prot.c: Likewise.
64734 * sunrpc/pmap_prot2.c: Likewise.
64735 * sunrpc/pmap_rmt.c: Likewise.
64736 * sunrpc/rpc/auth.h: Likewise.
64737 * sunrpc/rpc/auth_unix.h: Likewise.
64738 * sunrpc/rpc/clnt.h: Likewise.
64739 * sunrpc/rpc/des_crypt.h: Likewise.
64740 * sunrpc/rpc/key_prot.h: Likewise.
64741 * sunrpc/rpc/netdb.h: Likewise.
64742 * sunrpc/rpc/pmap_clnt.h: Likewise.
64743 * sunrpc/rpc/pmap_prot.h: Likewise.
64744 * sunrpc/rpc/pmap_rmt.h: Likewise.
64745 * sunrpc/rpc/rpc.h: Likewise.
64746 * sunrpc/rpc/rpc_des.h: Likewise.
64747 * sunrpc/rpc/rpc_msg.h: Likewise.
64748 * sunrpc/rpc/svc.h: Likewise.
64749 * sunrpc/rpc/svc_auth.h: Likewise.
64750 * sunrpc/rpc/types.h: Likewise.
64751 * sunrpc/rpc/xdr.h: Likewise.
64752 * sunrpc/rpc_clntout.c: Likewise.
64753 * sunrpc/rpc_cmsg.c: Likewise.
64754 * sunrpc/rpc_common.c: Likewise.
64755 * sunrpc/rpc_cout.c: Likewise.
64756 * sunrpc/rpc_dtable.c: Likewise.
64757 * sunrpc/rpc_hout.c: Likewise.
64758 * sunrpc/rpc_main.c: Likewise.
64759 * sunrpc/rpc_parse.c: Likewise.
64760 * sunrpc/rpc_parse.h: Likewise.
64761 * sunrpc/rpc_prot.c: Likewise.
64762 * sunrpc/rpc_sample.c: Likewise.
64763 * sunrpc/rpc_scan.c: Likewise.
64764 * sunrpc/rpc_scan.h: Likewise.
64765 * sunrpc/rpc_svcout.c: Likewise.
64766 * sunrpc/rpc_tblout.c: Likewise.
64767 * sunrpc/rpc_util.c: Likewise.
64768 * sunrpc/rpc_util.h: Likewise.
64769 * sunrpc/rpcinfo.c: Likewise.
64770 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
64771 * sunrpc/rpcsvc/key_prot.x: Likewise.
64772 * sunrpc/rpcsvc/klm_prot.x: Likewise.
64773 * sunrpc/rpcsvc/mount.x: Likewise.
64774 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
64775 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
64776 * sunrpc/rpcsvc/rex.x: Likewise.
64777 * sunrpc/rpcsvc/rstat.x: Likewise.
64778 * sunrpc/rpcsvc/rusers.x: Likewise.
64779 * sunrpc/rpcsvc/sm_inter.x: Likewise.
64780 * sunrpc/rpcsvc/spray.x: Likewise.
64781 * sunrpc/rpcsvc/yppasswd.x: Likewise.
64782 * sunrpc/rtime.c: Likewise.
64783 * sunrpc/svc.c: Likewise.
64784 * sunrpc/svc_auth.c: Likewise.
64785 * sunrpc/svc_authux.c: Likewise.
64786 * sunrpc/svc_raw.c: Likewise.
64787 * sunrpc/svc_run.c: Likewise.
64788 * sunrpc/svc_simple.c: Likewise.
64789 * sunrpc/svc_tcp.c: Likewise.
64790 * sunrpc/svc_udp.c: Likewise.
64791 * sunrpc/svc_unix.c: Likewise.
64792 * sunrpc/svcauth_des.c: Likewise.
64793 * sunrpc/xcrypt.c: Likewise.
64794 * sunrpc/xdr.c: Likewise.
64795 * sunrpc/xdr_array.c: Likewise.
64796 * sunrpc/xdr_float.c: Likewise.
64797 * sunrpc/xdr_mem.c: Likewise.
64798 * sunrpc/xdr_rec.c: Likewise.
64799 * sunrpc/xdr_ref.c: Likewise.
64800 * sunrpc/xdr_sizeof.c: Likewise.
64801 * sunrpc/xdr_stdio.c: Likewise.
64802
64803 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
64804 handling.
64805
64806 2010-08-19 Andreas Schwab <schwab@redhat.com>
64807
64808 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
64809
64810 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
64811
64812 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
64813 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
64814 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
64815 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
64816 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
64817 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
64818 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
64819 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
64820 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
64821 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
64822 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
64823 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
64824 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
64825 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
64826
64827 2010-07-26 Anton Blanchard <anton@samba.org>
64828
64829 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
64830 * malloc/arena.c (heap_trim): Likewise.
64831
64832 2010-08-16 Ulrich Drepper <drepper@redhat.com>
64833
64834 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
64835 here. Not...
64836 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
64837 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
64838
64839 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
64840
64841 * sysdeps/i386/elf/Makefile: New file.
64842
64843 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
64844
64845 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
64846 from fanotify_init.
64847 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
64848 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64849
64850 2010-08-15 Ulrich Drepper <drepper@redhat.com>
64851
64852 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
64853 of strncasecmp_l.
64854 * sysdeps/multiarch/strcmp.S: Likewise.
64855
64856 2010-08-14 Ulrich Drepper <drepper@redhat.com>
64857
64858 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64859 strncase_l-nonascii.
64860 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64861 Add strncase_l-ssse3.
64862 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
64863 * sysdeps/x86_64/strcmp.S: Likewise.
64864 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
64865 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
64866 * sysdeps/x86_64/strncase.S: New file.
64867 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
64868 * sysdeps/x86_64/strncase_l.S: New file.
64869 * string/Makefile (strop-tests): Add strncasecmp.
64870 * string/test-strncasecmp.c: New file.
64871
64872 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
64873 warning.
64874
64875 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
64876 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
64877
64878 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
64879
64880 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
64881
64882 2010-08-12 Ulrich Drepper <drepper@redhat.com>
64883
64884 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
64885 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
64886 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
64887
64888 2010-05-01 Alan Modra <amodra@gmail.com>
64889
64890 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
64891 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
64892 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
64893 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
64894 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
64895 tidying. Don't tail-call __sigjmp_save for static lib.
64896 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
64897 save location.
64898 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
64899 (CALL_MCOUNT): Add eh info, and nop after bl.
64900 (TAIL_CALL_SYSCALL_ERROR): New macro.
64901 (PSEUDO_RET): Use it.
64902 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
64903 Correct save location of integer regs and cr.
64904 (_dl_profile_resolve): Correct cr save location. Delete nops
64905 after bl when SHARED. Reduce cfi size a little by better
64906 placement of cfi directives.
64907 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
64908 make a stack frame. Instead use parm save area as a temp.
64909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
64910 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
64911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
64912 Don't make a stack frame for parent, use parm save area.
64913 Increase child stack frame to 112 bytes. Don't save unused reg,
64914 and adjust reg usage. Set up cfi on error recovery and
64915 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
64916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
64917 (__makecontext): Add dummy nop after jump to exit.
64918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
64919 Use correct parm save area and cr save, reduce stack frame.
64920 Correct cfi for possible PSEUDO_RET frame setup.
64921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
64922 Branch to local label emitted by PSEUDO_RET rather than
64923 __syscall_error.
64924
64925 2010-08-12 Andreas Schwab <schwab@redhat.com>
64926
64927 [BZ #11904]
64928 * locale/programs/locale.c (print_assignment): New function.
64929 (show_locale_vars): Use it.
64930
64931 2010-08-11 Ulrich Drepper <drepper@redhat.com>
64932
64933 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
64934 field.
64935 (struct statfs64): Likewise.
64936 (_STATFS_F_FLAGS): Define.
64937 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
64938 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64939 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
64940 (ST_VALID): Define locally.
64941 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
64942 __statvfs_getflags, use the provided value.
64943 * sysdeps/unix/sysv/linux/kernel-features.h: Define
64944 __ASSUME_STATFS_F_FLAGS.
64945
64946 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
64947
64948 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
64949 Add sys/fanotify.h.
64950 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
64951 fanotify_mask for GLIBC_2.13.
64952 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
64953 fanotify_init and fanotify_mark.
64954 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64955 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
64956
64957 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
64958 Add prlimit.
64959 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
64960 prlimit64 for GLIBC_2.13.
64961 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
64962 prlimit64.
64963 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
64964 syscall.
64965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
64966 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64967 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
64968 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
64969 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
64970 add prlimit alias.
64971 * sysdeps/unix/sysv/linux/prlimit.c: New file.
64972
64973 [BZ #11903]
64974 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
64975 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
64976
64977 * nss/Makefile: Add rules to build and run tst-nss-test1.
64978 * shlib-versions: Add entry for libnss_test1.
64979 * nss/nss_test1.c: New file.
64980 * nss/tst-nss-test1.c: New file.
64981
64982 * nss/nsswitch.c (__nss_database_custom): Define new variable.
64983 (__nss_configure_lookup): Set appropriate entry in
64984 __nss_configure_lookup to true.
64985 * nss/nsswitch.h: Define enum with indeces of databases in
64986 databases and __nss_database_custom arrays. Declare
64987 __nss_database_custom.
64988 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
64989 to avoid using nscd when custom rules are installed.
64990 * nss/getXXbyYY_r.c: Likewise.
64991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64992
64993 * nss/nss_files/files-parse.c: Whitespace fixes.
64994
64995 2010-08-09 Ulrich Drepper <drepper@redhat.com>
64996
64997 [BZ #11883]
64998 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
64999 * posix/fnmatch_loop.c: Likewise.
65000
65001 2010-07-17 Andi Kleen <ak@linux.intel.com>
65002
65003 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
65004 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
65005 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
65006 * Versions.def [GLIBC_2.13]: Add.
65007
65008 2010-08-06 Ulrich Drepper <drepper@redhat.com>
65009
65010 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65011 Also fail if tpwd after pwuid call is NULL.
65012
65013 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
65014
65015 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
65016 when converting to ms.
65017
65018 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
65019
65020 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
65021 EOPNOTSUPP errors with ENOTTY.
65022 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
65023 EOPNOTSUPP errors with ENOTTY.
65024
65025 2010-07-31 Ulrich Drepper <drepper@redhat.com>
65026
65027 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65028 Add strcasecmp_l-ssse3.
65029 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
65030 strcasecmp.
65031 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
65032 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
65033 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
65034
65035 2010-07-30 Ulrich Drepper <drepper@redhat.com>
65036
65037 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
65038
65039 * string/Makefile (strop-tests): Add strcasecmp.
65040 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65041 strcasecmp_l-nonascii.
65042 (gen-as-const-headers): Add locale-defines.sym.
65043 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
65044 * sysdeps/x86_64/strcasecmp.S: New file.
65045 * sysdeps/x86_64/strcasecmp_l.S: New file.
65046 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
65047 * sysdeps/x86_64/locale-defines.sym: New file.
65048 * string/test-strcasecmp.c: New file.
65049
65050 * string/test-strcasestr.c: Test both ends of the range of characters.
65051 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
65052
65053 2010-07-29 Roland McGrath <roland@redhat.com>
65054
65055 [BZ #11856]
65056 * manual/locale.texi (Yes-or-No Questions): Fix example code.
65057
65058 2010-07-27 Ulrich Drepper <drepper@redhat.com>
65059
65060 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
65061 for ld.so.
65062
65063 2010-07-27 Andreas Schwab <schwab@redhat.com>
65064
65065 * manual/memory.texi (Malloc Tunable Parameters): Document
65066 M_PERTURB.
65067
65068 2010-07-26 Roland McGrath <roland@redhat.com>
65069
65070 [BZ #11840]
65071 * configure.in (-fgnu89-inline check): Set and substitute
65072 gnu89_inline, not libc_cv_gnu89_inline.
65073 * configure: Regenerated.
65074 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
65075
65076 2010-07-26 Ulrich Drepper <drepper@redhat.com>
65077
65078 * string/test-strnlen.c: New file.
65079 * string/Makefile (strop-tests): Add strnlen.
65080 * string/tester.c (test_strnlen): Add a few more test cases.
65081 * string/tst-strlen.c: Better error reporting.
65082
65083 * sysdeps/x86_64/strnlen.S: New file.
65084
65085 2010-07-24 Ulrich Drepper <drepper@redhat.com>
65086
65087 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
65088 lower-latency instructions.
65089
65090 2010-07-23 Ulrich Drepper <drepper@redhat.com>
65091
65092 * string/test-strcasestr.c: New file.
65093 * string/test-strstr.c: New file.
65094 * string/Makefile (strop-tests): Add strstr and strcasestr.
65095 * string/str-two-way.h: Don't undefine MAX.
65096 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
65097
65098 2010-07-21 Andreas Schwab <schwab@redhat.com>
65099
65100 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65101 strcasestr-nonascii.
65102 (CFLAGS-strcasestr-nonascii.c): Define.
65103 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
65104 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
65105 Remove unused attribute.
65106
65107 2010-07-20 Roland McGrath <roland@redhat.com>
65108
65109 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
65110 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
65111 ld.so.cache was broken. With it, there is no way to disable dsocaps
65112 like LD_HWCAP_MASK can disable hwcaps.
65113
65114 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65115
65116 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
65117
65118 2010-07-16 Ulrich Drepper <drepper@redhat.com>
65119
65120 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
65121 call in strcasestr.
65122 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
65123 __strcasestr_sse42_nonascii.
65124 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
65125 strcasestr-nonascii.c.
65126 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
65127
65128 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
65129
65130 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
65131 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
65132 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
65133 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
65134
65135 2010-07-09 Ulrich Drepper <drepper@redhat.com>
65136
65137 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
65138 fcntl.
65139
65140 2010-07-06 Andreas Schwab <schwab@redhat.com>
65141
65142 [BZ #11577]
65143 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
65144 dl_signal_cerror.
65145
65146 2010-07-06 Ulrich Drepper <drepper@redhat.com>
65147
65148 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
65149 _PC_PIPE_BUF using F_GETPIPE_SZ.
65150
65151 2010-07-05 Roland McGrath <roland@redhat.com>
65152
65153 * manual/arith.texi (Rounding Functions): Fix rint description
65154 implicit in round description.
65155
65156 2010-07-02 Ulrich Drepper <drepper@redhat.com>
65157
65158 * elf/Makefile: Fix linking for a few tests to make recent linker
65159 happy.
65160
65161 2010-06-30 Andreas Schwab <schwab@redhat.com>
65162
65163 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
65164 $(common-objpfx)libc_nonshared.a.
65165
65166 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
65167
65168 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
65169 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
65170 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65171 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65172 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
65173 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
65174 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65175 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
65177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
65178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
65179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
65181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
65183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
65184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
65185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
65186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
65188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
65190 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
65191 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
65192 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
65193 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
65194 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
65195 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
65196 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
65197 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
65198 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
65199 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
65200 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
65201 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
65202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
65203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
65204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
65205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
65206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
65207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
65208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
65209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
65210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
65211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
65212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
65213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
65214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
65215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
65216
65217 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
65218
65219 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
65220 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
65221 * string/memmove.c (memmove): Renamed to ...
65222 (MEMMOVE): ...this. Default to memmove.
65223 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
65224 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
65225 (END_CHK): Define.
65226 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65227 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
65228 mempcpy-ssse3-back memmove-ssse3-back.
65229 * sysdeps/x86_64/multiarch/bcopy.S: New file .
65230 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
65231 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
65232 * sysdeps/x86_64/multiarch/memcpy.S: New file.
65233 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
65234 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
65235 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
65236 * sysdeps/x86_64/multiarch/memmove.c: New file.
65237 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
65238 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
65239 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
65240 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
65241 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
65242 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
65243 Define.
65244 (index_Fast_Copy_Backward): Define.
65245 (HAS_ARCH_FEATURE): Define.
65246 (HAS_FAST_REP_STRING): Define.
65247 (HAS_FAST_COPY_BACKWARD): Define.
65248
65249 2010-06-21 Andreas Schwab <schwab@redhat.com>
65250
65251 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65252 Restore proper fallback handling.
65253
65254 2010-06-19 Ulrich Drepper <drepper@redhat.com>
65255
65256 [BZ #11701]
65257 * posix/group_member.c (__group_member): Correct checking loop.
65258
65259 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
65260 OOM in getpwuid_r correctly. Return error number when the caller
65261 should return, otherwise -1.
65262 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
65263 call returning > 0 value.
65264 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
65265
65266 2010-06-07 Andreas Schwab <schwab@redhat.com>
65267
65268 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
65269 libc_nonshared.a from targets in modules-names.
65270
65271 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
65272
65273 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
65274 requires it.
65275
65276 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
65277
65278 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
65279 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
65280 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
65281 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
65282
65283 2010-06-02 Andreas Schwab <schwab@redhat.com>
65284
65285 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
65286
65287 2010-06-14 Ulrich Drepper <drepper@redhat.com>
65288
65289 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
65290 and F_GETPIPE_SZ.
65291 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
65292 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
65293 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65294 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65295 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
65296 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
65297
65298 2010-06-14 Roland McGrath <roland@redhat.com>
65299
65300 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
65301
65302 2010-06-07 Jakub Jelinek <jakub@redhat.com>
65303
65304 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
65305 __REDIRECT followed by __THROW.
65306 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
65307 * posix/getopt.h (getopt): Likewise.
65308
65309 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65310
65311 * hurd/lookup-at.c (__file_name_lookup_at): Accept
65312 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
65313 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
65314 in AT_FLAGS.
65315 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
65316 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
65317
65318 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
65319
65320 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
65321
65322 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
65323
65324 [BZ #11640]
65325 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65326 Properly check family and model.
65327
65328 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
65329
65330 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
65331
65332 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
65333
65334 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
65335
65336 2010-05-21 Ulrich Drepper <drepper@redhat.com>
65337
65338 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
65339 symbol reference.
65340
65341 2010-05-19 Andreas Schwab <schwab@redhat.com>
65342
65343 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
65344 symbol reference.
65345
65346 2010-05-21 Andreas Schwab <schwab@redhat.com>
65347
65348 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
65349 and internal_recvmmsg.
65350 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
65351 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
65352 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
65353 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
65354
65355 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
65356 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65357 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65358
65359 2010-05-20 Andreas Schwab <schwab@redhat.com>
65360
65361 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
65362
65363 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
65364
65365 POWER7 optimizations.
65366 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
65367 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
65368
65369 2010-05-19 Ulrich Drepper <drepper@redhat.com>
65370
65371 * version.h: Update for 2.13 development version.
65372
65373 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
65374
65375 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
65376 exceptions. Return 0.
65377
65378 2010-05-07 Roland McGrath <roland@redhat.com>
65379
65380 * elf/ldconfig.c (main): Add a const.
65381
65382 2010-05-06 Ulrich Drepper <drepper@redhat.com>
65383
65384 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
65385 (args_options): Add no-idn option.
65386 (ahosts_keys_int): Add idn_flags to ai_flags.
65387 (parse_option): Handle 'i' option to clear idn_flags.
65388
65389 * malloc/malloc.c (_int_free): Possible race in the most recently
65390 added check. Only act on the data if no current modification
65391 happened.
65392
65393 See ChangeLog.17 for earlier changes.